<div dir="ltr"><div dir="ltr"><div>Just FYI, I made it past this particular problem by editing the deploy script and setting more open permissions on that file. However, I then run into another issue. I will figure this out, but just wanted to mention it here. Thanks for all your work on this open source project, I think it's great and am looking forward to getting an all in one node up and running. :)<br></div><div><br></div><div>Current error message:</div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">2018-10-22 01:11:54,269 ERROR    - - - promenade.config:__init__ [ 35] An unknown Deckhand exception occurred while trying to render documents.<br>Traceback (most recent call last):<br>  File "/opt/promenade/promenade/config.py", line 32, in __init__<br>    documents = [dict(d) for d in deckhand_eng.render()]<br>  File "/usr/local/lib/python3.6/site-packages/deckhand/engine/layering.py", line 699, in render<br>    pass<br>  File "/usr/local/lib/python3.6/site-packages/oslo_utils/excutils.py", line 220, in __exit__<br>    self.force_reraise()<br>  File "/usr/local/lib/python3.6/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<br>    six.reraise(self.type_, self.value, self.tb)<br>  File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise<br>    raise value<br>  File "/usr/local/lib/python3.6/site-packages/deckhand/engine/layering.py", line 693, in render<br>    self.secrets_substitution.substitute_all(doc))<br>  File "/usr/local/lib/python3.6/site-packages/deckhand/engine/secrets_manager.py", line 307, in substitute_all<br>    src_doc, document)<br>  File "/usr/local/lib/python3.6/site-packages/deckhand/engine/secrets_manager.py", line 229, in _check_src_secret_is_not_none<br>    dest_name=<a href="http://dest_doc.name">dest_doc.name</a>)<br>deckhand.errors.SubstitutionSourceDataNotFound: Required substitution source secret was not found at path .dns.node_domain in source document [pegleg/CommonAddresses/v1, site] common-addresses which is referenced by destination document [promenade/Genesis/v1, global] genesis under its `metadata.substitutions`.<br>2018-10-22 01:11:54,270 ERROR    - - - promenade.exceptions:display [222] Required substitution source secret was not found at path .dns.node_domain in source document [pegleg/CommonAddresses/v1, site] common-addresses which is referenced by destination document [promenade/Genesis/v1, global] genesis under its `metadata.substitutions`.<br>+ error 'generating genesis'<br>+ set +x<br>Error when generating genesis.<br>+ exit 1<br>+ clean<br>+ set +x<br>To remove files generated during this script's execution, delete /root/deploy.<br>This VM is disposable. Re-deployment in this same VM will lead to unpredictable results.</span><br></div><div><br></div><div>Thanks,</div><div>Curtis<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 21, 2018 at 11:05 AM Curtis <<a href="mailto:serverascode@gmail.com">serverascode@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,<br><br>I looked around a fair bit and am not sure where to enter bugs in the airship project. This is probably my fault...I found some items in the stories application, but I'm not sure if that is the best place.<br><br>I tried airship-in-a-bottle this morning, but when promenade runs it fails with a file permission error.<br><br></div><div><span style="font-family:monospace,monospace">SNIP!<br></span></div><div dir="ltr"><span style="font-family:monospace,monospace">Status: Downloaded newer image for <a href="http://quay.io/airshipit/promenade:master" target="_blank">quay.io/airshipit/promenade:master</a><br>+ PORT=9000<br>+ UWSGI_TIMEOUT=300<br>+ PROMENADE_THREADS=1<br>+ PROMENADE_WORKERS=4<br>+ '[' promenade = server ']'<br>+ exec promenade generate-certs -o /target deployment_files.yaml<br>/usr/local/lib/python3.6/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!<br>  RequestsDependencyWarning)<br>Usage: promenade generate-certs [OPTIONS] [CONFIG_FILES]...<br><br>Error: Invalid value for "config_files": Could not open file: deployment_files.yaml: Permission denied<br>+ cp /root/deploy/genesis/certificates.yaml /root/deploy/airship-in-a-bottle/deployment_files/site/demo/secrets<br>cp: cannot stat '/root/deploy/genesis/certificates.yaml': No such file or directory<br>+ error 'setting up certs with Promenade'<br>+ set +x<br>Error when setting up certs with Promenade.<br>+ exit 1<br>+ clean<br>+ set +x<br>To remove files generated during this script's execution, delete /root/deploy.<br>This VM is disposable. Re-deployment in this same VM will lead to unpredictable results.</span><br><br>Looks like the promenade user can't access the deployment_files.yaml file.<br><br>If I exec in to a promenade container...<br><br><span style="font-family:monospace,monospace">promenade@acd8e1ec1b9d:/target$ cat deployment_files.yaml<br></span><div><span style="font-family:monospace,monospace">cat: deployment_files.yaml: Permission denied</span></div><div><span style="font-family:monospace,monospace">promenade@acd8e1ec1b9d:/target$ ls -la<br>total 328<br>drwxrwxrwx+  2 root root   4096 Oct 21 14:31 .<br>drwxr-xr-x+ 79 root root   4096 Oct 21 14:56 ..<br>-rw-------   1 root root 324269 Oct 21 14:31 deployment_files.yaml<br><br></span></div><div>Thanks,</div><div>Curtis<br></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Blog: <a href="http://serverascode.com" target="_blank">serverascode.com</a></div>