[Airship-discuss] Fwd: Issue with setting up airship-in-a-bottle on single node

Pawan Singh Pal pawan.pal at imaginea.com
Wed Oct 31 09:12:22 UTC 2018


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

Unable to find image '
quay.io/airshipit/promenade:cfb8aa498c294c2adbc369ba5aaee19b49550d22'
locally

cfb8aa498c294c2adbc369ba5aaee19b49550d22: Pulling from airshipit/promenade

bc9ab73e5b14: Pull complete

193a6306c92a: Pull complete

e5c3f8c317dc: Pull complete

a587a86c9dcb: Pull complete

72744d0a318b: Pull complete

6598fc9d11d1: Pull complete

770079cf7a7e: Pull complete

03c4d24b3523: Pull complete

aaa91e2585ce: Pull complete

99739bc56f08: Pull complete

ebf4ffabe0f5: Pull complete

9c5b1ffb043c: Pull complete

808f2d4b31db: Pull complete

c8d0313f5e53: Pull complete

c876a696c22b: Pull complete

Digest:
sha256:6e0177414405ee95d4b32b20089b326476cad245f534e26f15fda779d6ec8e17

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)

2018-10-30 16:28:47,968 INFO     - - - promenade.config:from_streams [ 53]
Loading documents from deployment_files.yaml

2018-10-30 16:28:49,857 INFO     - - - promenade.config:from_streams [ 57]
Successfully loaded 171 documents from deployment_files.yaml

2018-10-30 16:28:49,857 INFO     - - - promenade.config:__init__ [ 24]
Parsing document schemas.

2018-10-30 16:28:49,857 INFO     - - - promenade.config:__init__ [ 25]
Building config from 171 documents.

2018-10-30 16:28:49,857 INFO     - - - promenade.config:__init__ [ 27]
Rendering documents via Deckhand engine.

2018-10-30 16:28:49,886 INFO     - - -
deckhand.engine.document_validation:_validate_one [510] The provided
document schema deckhand/DataSchema/v1 is not registered. Registered
schemas include: ['metadata/Control/v1', 'metadata/Document/v1',
'deckhand/CertificateKey/v1', 'deckhand/Base/v1', 'deckhand/PrivateKey/v1',
'deckhand/CertificateAuthorityKey/v1', 'deckhand/PublicKey/v1',
'deckhand/Passphrase/v1', 'deckhand/CertificateAuthority/v1',
'deckhand/Certificate/v1', 'deckhand/ValidationPolicy/v1',
'deckhand/LayeringPolicy/v1']

2018-10-30 16:28:50,505 INFO     - - -
deckhand.engine.document_validation:_validate_one
[510] The provided document schema shipyard/DeploymentConfiguration/v1 is
not registered. Registered schemas include: ['metadata/Control/v1',
'metadata/Document/v1', 'deckhand/CertificateKey/v1', 'deckhand/Base/v1',
'deckhand/PrivateKey/v1', 'deckhand/CertificateAuthorityKey/v1',
'deckhand/PublicKey/v1', 'deckhand/Passphrase/v1',
'deckhand/CertificateAuthority/v1',
'deckhand/Certificate/v1', 'deckhand/ValidationPolicy/v1',
'deckhand/LayeringPolicy/v1']

2018-10-30 16:28:50,509 INFO     - - -
deckhand.engine.document_validation:_validate_one [510] The provided
document schema dev/Configurables/v1 is not registered. Registered schemas
include: ['metadata/Control/v1', 'metadata/Document/v1',
'deckhand/CertificateKey/v1', 'deckhand/Base/v1', 'deckhand/PrivateKey/v1',
'deckhand/CertificateAuthorityKey/v1', 'deckhand/PublicKey/v1',
'deckhand/Passphrase/v1', 'deckhand/CertificateAuthority/v1',
'deckhand/Certificate/v1', 'deckhand/ValidationPolicy/v1',
'deckhand/LayeringPolicy/v1']

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. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20181031/38909ac0/attachment-0001.html>


More information about the Airship-discuss mailing list