Hi Pawan, can you please try again with the latest airship-in-a-bottle code?  It should work now.  Sorry for the hiccup, and let us know if you see any further issues.

 

Thanks to the folks who contributed fixes!

 

Matt

 

From: Pawan Singh Pal <pawan.pal@imaginea.com>
Sent: Wednesday, October 31, 2018 4:22 AM
To: airship-discuss@lists.airshipit.org
Subject: [Airship-discuss] Fwd: Issue with setting up airship-in-a-bottle on single node

 

Hi,

 

I'm facing an issue while setting up airship-in-a-bottle on single node. Below is the error log.

 

=== Generating updated certificates ===

+ cp /root/deploy/collected/deployment_files.yaml /root/deploy/genesis

++ ls /root/deploy/genesis

+ docker run --rm -t -e http_proxy= -e https_proxy= -e no_proxy= -w /target -e PROMENADE_DEBUG=false -v /root/deploy/genesis:/target quay.io/airshipit/promenade:cfb8aa498c294c2adbc369ba5aaee19b49550d22 promenade generate-certs -o /target deployment_files.yaml

Status: Downloaded newer image for quay.io/airshipit/promenade:cfb8aa498c294c2adbc369ba5aaee19b49550d22

+ PORT=9000

+ UWSGI_TIMEOUT=300

+ PROMENADE_THREADS=1

+ PROMENADE_WORKERS=4

+ '[' promenade = server ']'

+ exec promenade generate-certs -o /target deployment_files.yaml

/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!

  RequestsDependencyWarning)

Traceback (most recent call last):

  File "/usr/local/bin/promenade", line 10, in <module>

    sys.exit(promenade())

  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__

    return self.main(*args, **kwargs)

  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main

    rv = self.invoke(ctx)

  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

    return _process_result(sub_ctx.command.invoke(sub_ctx))

  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke

    return ctx.invoke(self.callback, **ctx.params)

  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke

    return callback(*args, **kwargs)

  File "/opt/promenade/promenade/cli.py", line 67, in genereate_certs

    validate=False)

  File "/opt/promenade/promenade/config.py", line 60, in from_streams

    return cls(documents=documents, **kwargs)

  File "/opt/promenade/promenade/config.py", line 31, in __init__

    fail_on_missing_sub_src=not allow_missing_substitutions)

  File "/usr/local/lib/python3.6/site-packages/deckhand/engine/layering.py", line 426, in __init__

    self._pre_validate_documents(documents)

  File "/usr/local/lib/python3.6/site-packages/deckhand/engine/layering.py", line 369, in _pre_validate_documents

    'error: %s.', e['schema'], e['layer'], e['name'],

KeyError: 'schema'

+ cp /root/deploy/genesis/certificates.yaml /root/deploy/airship-in-a-bottle/deployment_files/site/demo/secrets

cp: cannot stat '/root/deploy/genesis/certificates.yaml': No such file or directory

+ error 'setting up certs with Promenade'

+ set +x

Error when setting up certs with Promenade.

+ exit 1

+ clean

+ set +x

To remove files generated during this script's execution, delete /root/deploy.

 

Could someone please help me out with the issue. Thanks in advance.

 

Regards,

Pawan


Disclaimer:
The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof.