talk@lists.collectionspace.org

Targeted discussion among implementers and between implementers and the CollectionSpace development team

View all threads

Ansible install fails - expired certificate?

SD
stuart.dennis@eawag.ch
Thu, Feb 17, 2022 3:09 PM

Hi,

I am trying to install CS via ansible, but it continually fails during maven install:

ENV: vagrant vm  OS: Ubuntu20.04


org.collectionspace.services.common
Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.common:jar:7.0.2: Failed to collect dependencies at org.restlet:org.restlet:jar:1.0.7: Failed to read artifact descriptor for org.restlet:org.restlet:jar:1.0.7: Could not transfer artifact org.restlet:org.restlet:pom:1.0.7 from/to nuxeo-public-releases (https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases): Transfer failed for https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/org/restlet/org.restlet/1.0.7/org.restlet-1.0.7.pom: PKIX path validation failed

This suggests to me that the certificate for maven-eu.nuxeo has expired.
Is anyone else experiencing the same? or am I doing something wrong?

thanks

Hi, I am trying to install CS via ansible, but it continually fails during maven install: ENV: vagrant vm OS: Ubuntu20.04 \ org.collectionspace.services.common\ Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.common:jar:7.0.2: Failed to collect dependencies at org.restlet:org.restlet:jar:1.0.7: Failed to read artifact descriptor for org.restlet:org.restlet:jar:1.0.7: Could not transfer artifact org.restlet:org.restlet:pom:1.0.7 from/to nuxeo-public-releases (https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases): Transfer failed for https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/org/restlet/org.restlet/1.0.7/org.restlet-1.0.7.pom: PKIX path validation failed This suggests to me that the certificate for maven-eu.nuxeo has expired.\ Is anyone else experiencing the same? or am I doing something wrong?\ \ thanks
MF
Megan Forbes
Fri, Feb 18, 2022 7:28 PM

Stuart,

Thanks for getting in touch. It's not you! The CSpace platform is built on Nuxeo, an OSS content management system, and they are the ones with the expired certificate. We (and others) have reached out to their support to see if we can get it renewed so our builds will build again.

We'll send a note out to this list once we're all set.

In the meantime, you're welcome to test out our demo sites to see if CSpace might be right for your project - which we'd be happy to hear more about! You can do so via core.collectionspace.org, with the login admin@core.collectionspace.org and the password Administrator.

Best regards,
Megan

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
800.999.8558 x2917

The 2022 LYRASIS Catalyst Fundhttps://www.lyrasis.org/Leadership/Pages/Catalyst-Fund.aspx application cycle is now open and we are accepting

Proposals and ideas through February 18. More Questions? Email us at catalystfund@lyrasis.orgmailto:catalystfund@lyrasis.org%20%3ccatalystfund@lyrasis.org%3e?subject=2021%20LYRASIS%20Catalyst%20Fund%20Inquiry.


From: stuart.dennis@eawag.ch stuart.dennis@eawag.ch
Sent: Thursday, February 17, 2022 10:09 AM
To: talk@lists.collectionspace.org talk@lists.collectionspace.org
Subject: [Talk] Ansible install fails - expired certificate?

Hi,

I am trying to install CS via ansible, but it continually fails during maven install:

ENV: vagrant vm OS: Ubuntu20.04

org.collectionspace.services.common
Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.common:jar:7.0.2: Failed to collect dependencies at org.restlet:org.restlet:jar:1.0.7: Failed to read artifact descriptor for org.restlet:org.restlet:jar:1.0.7: Could not transfer artifact org.restlet:org.restlet:pom:1.0.7 from/to nuxeo-public-releases (https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases): Transfer failed for https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/org/restlet/org.restlet/1.0.7/org.restlet-1.0.7.pom: PKIX path validation failed

This suggests to me that the certificate for maven-eu.nuxeo has expired.
Is anyone else experiencing the same? or am I doing something wrong?

thanks

Stuart, Thanks for getting in touch. It's not you! The CSpace platform is built on Nuxeo, an OSS content management system, and they are the ones with the expired certificate. We (and others) have reached out to their support to see if we can get it renewed so our builds will build again. We'll send a note out to this list once we're all set. In the meantime, you're welcome to test out our demo sites to see if CSpace might be right for your project - which we'd be happy to hear more about! You can do so via core.collectionspace.org, with the login admin@core.collectionspace.org and the password Administrator. Best regards, Megan Megan Forbes CollectionSpace Program Manager megan.forbes@lyrasis.org 800.999.8558 x2917 The 2022 LYRASIS Catalyst Fund<https://www.lyrasis.org/Leadership/Pages/Catalyst-Fund.aspx> application cycle is now open and we are accepting Proposals and ideas through February 18. More Questions? Email us at catalystfund@lyrasis.org<mailto:catalystfund@lyrasis.org%20%3ccatalystfund@lyrasis.org%3e?subject=2021%20LYRASIS%20Catalyst%20Fund%20Inquiry>. ________________________________ From: stuart.dennis@eawag.ch <stuart.dennis@eawag.ch> Sent: Thursday, February 17, 2022 10:09 AM To: talk@lists.collectionspace.org <talk@lists.collectionspace.org> Subject: [Talk] Ansible install fails - expired certificate? Hi, I am trying to install CS via ansible, but it continually fails during maven install: ENV: vagrant vm OS: Ubuntu20.04 org.collectionspace.services.common Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.common:jar:7.0.2: Failed to collect dependencies at org.restlet:org.restlet:jar:1.0.7: Failed to read artifact descriptor for org.restlet:org.restlet:jar:1.0.7: Could not transfer artifact org.restlet:org.restlet:pom:1.0.7 from/to nuxeo-public-releases (https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases): Transfer failed for https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/org/restlet/org.restlet/1.0.7/org.restlet-1.0.7.pom: PKIX path validation failed This suggests to me that the certificate for maven-eu.nuxeo has expired. Is anyone else experiencing the same? or am I doing something wrong? thanks
RL
Ray Lee
Sat, Feb 19, 2022 1:19 AM

Hi All,
We're now temporarily using http to retrieve artifacts from Nuxeo's maven repository (maven-eu.nuxeo.org). If you've had build failures using the automated installer, please try again now. We'll change back to https once Nuxeo has sorted out their certificate.

Thanks,
Ray


From: Megan Forbes megan.forbes@lyrasis.org
Sent: Friday, February 18, 2022 2:28 PM
To: stuart.dennis@eawag.ch; talk@lists.collectionspace.org
Subject: [Talk] Re: Ansible install fails - expired certificate?

Stuart,

Thanks for getting in touch. It's not you! The CSpace platform is built on Nuxeo, an OSS content management system, and they are the ones with the expired certificate. We (and others) have reached out to their support to see if we can get it renewed so our builds will build again.

We'll send a note out to this list once we're all set.

In the meantime, you're welcome to test out our demo sites to see if CSpace might be right for your project - which we'd be happy to hear more about! You can do so via core.collectionspace.org, with the login admin@core.collectionspace.org and the password Administrator.

Best regards,
Megan

Megan Forbes
CollectionSpace Program Manager
megan.forbes@lyrasis.org
800.999.8558 x2917

The 2022 LYRASIS Catalyst Fundhttps://www.lyrasis.org/Leadership/Pages/Catalyst-Fund.aspx application cycle is now open and we are accepting

Proposals and ideas through February 18. More Questions? Email us at catalystfund@lyrasis.orgmailto:catalystfund@lyrasis.org%20%3ccatalystfund@lyrasis.org%3e?subject=2021%20LYRASIS%20Catalyst%20Fund%20Inquiry.


From: stuart.dennis@eawag.ch stuart.dennis@eawag.ch
Sent: Thursday, February 17, 2022 10:09 AM
To: talk@lists.collectionspace.org talk@lists.collectionspace.org
Subject: [Talk] Ansible install fails - expired certificate?

Hi,

I am trying to install CS via ansible, but it continually fails during maven install:

ENV: vagrant vm OS: Ubuntu20.04

org.collectionspace.services.common
Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.common:jar:7.0.2: Failed to collect dependencies at org.restlet:org.restlet:jar:1.0.7: Failed to read artifact descriptor for org.restlet:org.restlet:jar:1.0.7: Could not transfer artifact org.restlet:org.restlet:pom:1.0.7 from/to nuxeo-public-releases (https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases): Transfer failed for https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/org/restlet/org.restlet/1.0.7/org.restlet-1.0.7.pom: PKIX path validation failed

This suggests to me that the certificate for maven-eu.nuxeo has expired.
Is anyone else experiencing the same? or am I doing something wrong?

thanks

Hi All, We're now temporarily using http to retrieve artifacts from Nuxeo's maven repository (maven-eu.nuxeo.org). If you've had build failures using the automated installer, please try again now. We'll change back to https once Nuxeo has sorted out their certificate. Thanks, Ray ________________________________________ From: Megan Forbes <megan.forbes@lyrasis.org> Sent: Friday, February 18, 2022 2:28 PM To: stuart.dennis@eawag.ch; talk@lists.collectionspace.org Subject: [Talk] Re: Ansible install fails - expired certificate? Stuart, Thanks for getting in touch. It's not you! The CSpace platform is built on Nuxeo, an OSS content management system, and they are the ones with the expired certificate. We (and others) have reached out to their support to see if we can get it renewed so our builds will build again. We'll send a note out to this list once we're all set. In the meantime, you're welcome to test out our demo sites to see if CSpace might be right for your project - which we'd be happy to hear more about! You can do so via core.collectionspace.org, with the login admin@core.collectionspace.org and the password Administrator. Best regards, Megan Megan Forbes CollectionSpace Program Manager megan.forbes@lyrasis.org 800.999.8558 x2917 The 2022 LYRASIS Catalyst Fund<https://www.lyrasis.org/Leadership/Pages/Catalyst-Fund.aspx> application cycle is now open and we are accepting Proposals and ideas through February 18. More Questions? Email us at catalystfund@lyrasis.org<mailto:catalystfund@lyrasis.org%20%3ccatalystfund@lyrasis.org%3e?subject=2021%20LYRASIS%20Catalyst%20Fund%20Inquiry>. ________________________________ From: stuart.dennis@eawag.ch <stuart.dennis@eawag.ch> Sent: Thursday, February 17, 2022 10:09 AM To: talk@lists.collectionspace.org <talk@lists.collectionspace.org> Subject: [Talk] Ansible install fails - expired certificate? Hi, I am trying to install CS via ansible, but it continually fails during maven install: ENV: vagrant vm OS: Ubuntu20.04 org.collectionspace.services.common Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.common:jar:7.0.2: Failed to collect dependencies at org.restlet:org.restlet:jar:1.0.7: Failed to read artifact descriptor for org.restlet:org.restlet:jar:1.0.7: Could not transfer artifact org.restlet:org.restlet:pom:1.0.7 from/to nuxeo-public-releases (https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases): Transfer failed for https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/org/restlet/org.restlet/1.0.7/org.restlet-1.0.7.pom: PKIX path validation failed This suggests to me that the certificate for maven-eu.nuxeo has expired. Is anyone else experiencing the same? or am I doing something wrong? thanks
SD
stuart.dennis@eawag.ch
Mon, Feb 21, 2022 9:25 AM

Thanks Mark, Megan, and Ray for your help.

I can now get much further through the install process, but have found another issue:

the bulma_url is not being passed correctly during single page app construction.

Any insight?

The error arises during the TASK [collectionspace : Create public browser single page app].

Here’s the verbose error output

task path: /path/to/cspace-installer/roles/collectionspace/tasks/gateway.yml:12

Monday 21 February 2022  10:10:46 +0100 (0:00:00.316)      0:00:40.645 *******

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'echo ~vagrant && sleep 0'"'"''

<mycs.test.box> (0, b'/home/vagrant\n', b'')

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp `"&& mkdir "` echo /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576 `" && echo ansible-tmp-1645434646.3918505-232766-1344370897576="` echo /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576 `" ) && sleep 0'"'"''

<mycs.test.box> (0, b'ansible-tmp-1645434646.3918505-232766-1344370897576=/home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576\n', b'')

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576/ > /dev/null 2>&1 && sleep 0'"'"''

<mycs.test.box> (0, b'', b'')

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'echo ~vagrant && sleep 0'"'"''

The full traceback is:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/ansible/template/init.py", line 1139, in do_template

res = j2_concat(rf)

File "<template>", line 15, in root

File "/usr/lib/python3/dist-packages/jinja2/runtime.py", line 747, in _fail_with_undefined_error

raise self._undefined_exception(self._undefined_message)

jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'bulma_url'

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/ansible/plugins/action/template.py", line 150, in run

resultant = templar.do_template(template_data, preserve_trailing_newlines=True, escape_backslashes=False)

File "/usr/lib/python3/dist-packages/ansible/template/init.py", line 1176, in do_template

raise AnsibleUndefinedVariable(e)

ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'bulma_url'

failed: [mycs.test.com] (item=/opt/collectionspace/browser/index.html) => {

"ansible_loop_var": "item",

"changed": false,

"item": "/opt/collectionspace/browser/index.html",

"msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'bulma_url'"

}

Thanks Mark, Megan, and Ray for your help. I can now get much further through the install process, but have found another issue: the bulma_url is not being passed correctly during single page app construction. Any insight? The error arises during the TASK \[collectionspace : Create public browser single page app\]. Here’s the verbose error output task path: /path/to/cspace-installer/roles/collectionspace/tasks/gateway.yml:12 Monday 21 February 2022 10:10:46 +0100 (0:00:00.316) 0:00:40.645 \*\*\*\*\*\*\* <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant <mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'echo \~vagrant && sleep 0'"'"'' <mycs.test.box> (0, b'/home/vagrant\\n', b'') <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant <mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'( umask 77 && mkdir -p "\` echo /home/vagrant/.ansible/tmp \`"&& mkdir "\` echo /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576 \`" && echo ansible-tmp-1645434646.3918505-232766-1344370897576="\` echo /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576 \`" ) && sleep 0'"'"'' <mycs.test.box> (0, b'ansible-tmp-1645434646.3918505-232766-1344370897576=/home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576\\n', b'') <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant <mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'rm -f -r /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576/ > /dev/null 2>&1 && sleep 0'"'"'' <mycs.test.box> (0, b'', b'') <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant <mycs.test.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c '"'"'echo \~vagrant && sleep 0'"'"'' The full traceback is: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ansible/template/__init__.py", line 1139, in do_template res = j2_concat(rf) File "<template>", line 15, in root File "/usr/lib/python3/dist-packages/jinja2/runtime.py", line 747, in _fail_with_undefined_error raise self._undefined_exception(self._undefined_message) jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'bulma_url' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ansible/plugins/action/template.py", line 150, in run resultant = templar.do_template(template_data, preserve_trailing_newlines=True, escape_backslashes=False) File "/usr/lib/python3/dist-packages/ansible/template/__init__.py", line 1176, in do_template raise AnsibleUndefinedVariable(e) ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'bulma_url' failed: \[mycs.test.com\] (item=/opt/collectionspace/browser/index.html) => { "ansible_loop_var": "item", "changed": false, "item": "/opt/collectionspace/browser/index.html", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'bulma_url'" }
MT
Ming Tsai
Tue, Feb 22, 2022 2:12 PM

Hi Megan and Stuart,

I likely got to the exact same spot running the second ansible command:

ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute
'bulma_url'

Hope you can give us an idea on how to proceed.

Thanks & best wishes,
Ming

--
Ming-Yi Tsai, PhD
Conservation Director
Tsai Art and Science Foundation
565 Broadway #6E
New York, NY 10012 USA
www.tsaifoundation.org

Gärtnerstrasse 46
CH-4057 Basel
Switzerland

On Tue, Feb 22, 2022 at 2:00 PM stuart.dennis@eawag.ch wrote:

Thanks Mark, Megan, and Ray for your help.

I can now get much further through the install process, but have found
another issue:

the bulma_url is not being passed correctly during single page app
construction.

Any insight?

The error arises during the TASK [collectionspace : Create public browser
single page app].

Here’s the verbose error output

task path:
/path/to/cspace-installer/roles/collectionspace/tasks/gateway.yml:12

Monday 21 February 2022 10:10:46 +0100 (0:00:00.316) 0:00:40.645 *******

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o StrictHostKeyChecking=no -o
KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
-o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o
'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c
'"'"'echo ~vagrant && sleep 0'"'"''

<mycs.test.box> (0, b'/home/vagrant\n', b'')

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o StrictHostKeyChecking=no -o
KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
-o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o
'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c
'"'"'( umask 77 && mkdir -p "echo /home/vagrant/.ansible/tmp"&& mkdir
"echo /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576" && echo ansible-tmp-1645434646.3918505-232766-1344370897576="echo /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576" ) && sleep 0'"'"''

<mycs.test.box> (0,
b'ansible-tmp-1645434646.3918505-232766-1344370897576=/home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576\n',
b'')

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o StrictHostKeyChecking=no -o
KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
-o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o
'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c
'"'"'rm -f -r
/home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576/

/dev/null 2>&1 && sleep 0'"'"''

<mycs.test.box> (0, b'', b'')

<mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant

<mycs.test.com> SSH: EXEC ssh -C -o ControlMaster=auto -o
ControlPersist=60s -o StrictHostKeyChecking=no -o
KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
-o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o
'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c
'"'"'echo ~vagrant && sleep 0'"'"''

The full traceback is:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/ansible/template/init.py", line
1139, in do_template

res = j2_concat(rf)

File "<template>", line 15, in root

File "/usr/lib/python3/dist-packages/jinja2/runtime.py", line 747, in
_fail_with_undefined_error

raise self._undefined_exception(self._undefined_message)

jinja2.exceptions.UndefinedError: 'dict object' has no attribute
'bulma_url'

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/ansible/plugins/action/template.py",
line 150, in run

resultant = templar.do_template(template_data,
preserve_trailing_newlines=True, escape_backslashes=False)

File "/usr/lib/python3/dist-packages/ansible/template/init.py", line
1176, in do_template

raise AnsibleUndefinedVariable(e)

ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute
'bulma_url'

failed: [mycs.test.com] (item=/opt/collectionspace/browser/index.html) =>
{

"ansible_loop_var": "item",

"changed": false,

"item": "/opt/collectionspace/browser/index.html",

"msg": "AnsibleUndefinedVariable: 'dict object' has no attribute
'bulma_url'"

}


Talk mailing list -- talk@lists.collectionspace.org
To unsubscribe send an email to talk-leave@lists.collectionspace.org

Hi Megan and Stuart, I likely got to the exact same spot running the second ansible command: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'bulma_url' Hope you can give us an idea on how to proceed. Thanks & best wishes, Ming -- Ming-Yi Tsai, PhD Conservation Director Tsai Art and Science Foundation 565 Broadway #6E New York, NY 10012 USA www.tsaifoundation.org Gärtnerstrasse 46 CH-4057 Basel Switzerland On Tue, Feb 22, 2022 at 2:00 PM <stuart.dennis@eawag.ch> wrote: > Thanks Mark, Megan, and Ray for your help. > > I can now get much further through the install process, but have found > another issue: > > the bulma_url is not being passed correctly during single page app > construction. > > Any insight? > > > > > The error arises during the TASK [collectionspace : Create public browser > single page app]. > > Here’s the verbose error output > > > > task path: > /path/to/cspace-installer/roles/collectionspace/tasks/gateway.yml:12 > > Monday 21 February 2022 10:10:46 +0100 (0:00:00.316) 0:00:40.645 ******* > > <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant > > <mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o > ControlPersist=60s -o StrictHostKeyChecking=no -o > KbdInteractiveAuthentication=no -o > PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey > -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o > 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c > '"'"'echo ~vagrant && sleep 0'"'"'' > > <mycs.test.box> (0, b'/home/vagrant\n', b'') > > <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant > > <mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o > ControlPersist=60s -o StrictHostKeyChecking=no -o > KbdInteractiveAuthentication=no -o > PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey > -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o > 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c > '"'"'( umask 77 && mkdir -p "` echo /home/vagrant/.ansible/tmp `"&& mkdir > "` echo > /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576 > `" && echo ansible-tmp-1645434646.3918505-232766-1344370897576="` echo > /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576 > `" ) && sleep 0'"'"'' > > <mycs.test.box> (0, > b'ansible-tmp-1645434646.3918505-232766-1344370897576=/home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576\n', > b'') > > <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant > > <mycs.test.box> SSH: EXEC ssh -C -o ControlMaster=auto -o > ControlPersist=60s -o StrictHostKeyChecking=no -o > KbdInteractiveAuthentication=no -o > PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey > -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o > 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c > '"'"'rm -f -r > /home/vagrant/.ansible/tmp/ansible-tmp-1645434646.3918505-232766-1344370897576/ > > /dev/null 2>&1 && sleep 0'"'"'' > > <mycs.test.box> (0, b'', b'') > > <mycs.test.box> ESTABLISH SSH CONNECTION FOR USER: vagrant > > <mycs.test.com> SSH: EXEC ssh -C -o ControlMaster=auto -o > ControlPersist=60s -o StrictHostKeyChecking=no -o > KbdInteractiveAuthentication=no -o > PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey > -o PasswordAuthentication=no -o 'User="vagrant"' -o ConnectTimeout=10 -o > 'ControlPath="/path/to/.ansible/cp/093b11d2eb"' mycs.test.box '/bin/sh -c > '"'"'echo ~vagrant && sleep 0'"'"'' > > The full traceback is: > > Traceback (most recent call last): > > File "/usr/lib/python3/dist-packages/ansible/template/__init__.py", line > 1139, in do_template > > res = j2_concat(rf) > > File "<template>", line 15, in root > > File "/usr/lib/python3/dist-packages/jinja2/runtime.py", line 747, in > _fail_with_undefined_error > > raise self._undefined_exception(self._undefined_message) > > jinja2.exceptions.UndefinedError: 'dict object' has no attribute > 'bulma_url' > > > Traceback (most recent call last): > > File "/usr/lib/python3/dist-packages/ansible/plugins/action/template.py", > line 150, in run > > resultant = templar.do_template(template_data, > preserve_trailing_newlines=True, escape_backslashes=False) > > File "/usr/lib/python3/dist-packages/ansible/template/__init__.py", line > 1176, in do_template > > raise AnsibleUndefinedVariable(e) > > ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute > 'bulma_url' > > failed: [mycs.test.com] (item=/opt/collectionspace/browser/index.html) => > { > > "ansible_loop_var": "item", > > "changed": false, > > "item": "/opt/collectionspace/browser/index.html", > > "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute > 'bulma_url'" > > } > _______________________________________________ > Talk mailing list -- talk@lists.collectionspace.org > To unsubscribe send an email to talk-leave@lists.collectionspace.org >