Hello,
I have been working on creating an Airsloop two node instance. I’m able to build the Site documents (following the Airsloop document) but when I follow the instruction for “Deploying Behind a Proxy” I encounter errors generating the certs.
Running:
tools/airship promenade generate-certs -o /target/${NEW_SITE}_certs /target/${NEW_SITE}_collected/*.yaml
Gives these errors:
2019-10-09 14:32:32,180 ERROR req_id=- ctx=- end_user=- user=- promenade.config:config.py: 38:__init__ An unknown Deckhand exception occurred while trying to render documents.
Traceback (most recent call last):
File "/opt/promenade/promenade/config.py", line 34, in __init__
fail_on_missing_sub_src=not allow_missing_substitutions)
File "/usr/local/lib/python3.6/site-packages/deckhand/engine/layering.py", line 447, in __init__
d for d in self._documents_by_index.values()
File "/usr/local/lib/python3.6/site-packages/deckhand/engine/layering.py", line 97, in _calc_replacements_and_substitutions
replacement.check_only_one_level_of_replacement(src_ref)
File "/usr/local/lib/python3.6/site-packages/deckhand/engine/_replacement.py", line 82, in check_only_one_level_of_replacement
layer=src_ref.layer, reason=error_message)
deckhand.errors.InvalidDocumentReplacement: Replacement document [armada/Chart/v1, type] glance is invalid. Reason: A replacement document cannot itself be replaced by another document.
2019-10-09 14:32:32,181 ERROR req_id=- ctx=- end_user=- user=- promenade.exceptions:exceptions.py:222:display Replacement document [armada/Chart/v1, type] glance is invalid. Reason: A replacement document cannot itself be replaced by another document.
Again, when I run without applying the additional files/edit for “Deploying Behind a Proxy” the command completes successfully.
Thanks,
Paul