Hi Team,
Thanks for the response. I tried it with the patch[0] and it works fine.
Except for one additional change, where I had to change the path of the files "run_shipyard.sh" and "pegleg.sh" because the path mentioned in the script "airship-in-a-bottle/manifests/common/deploy-airship.sh" is not the same as the paths generated in the local environment.
After this change, the deployment went smoothly and I'm able to access the dashboard.
Regards,
Soujanya R M
-------- Original Message --------
Subject: Re: [Airship-discuss] Unable to install airship-in-a-bottle
Date: Wednesday, July 10, 2019 09:03 PM IST
From: Roman Gorshunov <paye600@gmail.com>
To: airship-discuss@lists.airshipit.org
References:
Hi,
Sorry, here is the link to the patch which could help:
https://review.opendev.org/#/c/664426/
On Wed, Jul 10, 2019 at 9:58 AM Soujanya R M <soujanya@atsgen.com> wrote:
>
> Hi Roman,
>
> Thank you for your response.
> I am not able to view the link of the patch that you are referring to. I tried following this deployment: https://github.com/airshipit/treasuremap/tree/master/tools/deployment/aiab
> Even then I am facing an error:
>
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller [-] [chart=ucp-keystone]: Error while testing release airship-ucp-keystone: grpc._ch
> annel._Rendezvous: <_Rendezvous of RPC that terminated with:
> status = StatusCode.DEADLINE_EXCEEDED
> details = "Deadline Exceeded"
> debug_error_string = "{"created":"@1562743212.057730337","description":"Error received from peer","file":"src/core/lib/surface/call.cc"
> ,"file_line":1017,"grpc_message":"Deadline Exceeded","grpc_status":4}"
> >
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller Traceback (most recent call last):
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller File "/usr/local/lib/python3.5/dist-packages/armada/handlers/tiller.py", line 509,
> in test_release
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller for test_message in test_message_stream:
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller File "/usr/local/lib/python3.5/dist-packages/grpc/_channel.py", line 364, in __nex
> t__
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller return self._next()
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller File "/usr/local/lib/python3.5/dist-packages/grpc/_channel.py", line 358, in _next
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller raise self
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller status = StatusCode.DEADLINE_EXCEEDED
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller details = "Deadline Exceeded"
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller debug_error_string = "{"created":"@1562743212.057730337","description":"Error r
> eceived from peer","file":"src/core/lib/surface/call.cc","file_line":1017,"grpc_message":"Deadline Exceeded","grpc_status":4}"
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller >
> 2019-07-10 07:20:12.059 12502 ERROR armada.handlers.tiller
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada [-] Chart deploy [ucp-keystone] failed: armada.exceptions.tiller_exceptions.ReleaseE
> xception: Failed to Test release: airship-ucp-keystone - Tiller Message: b'Install complete'
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada Traceback (most recent call last):
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/tiller.py", line 509,
> in test_release
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada for test_message in test_message_stream:
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/grpc/_channel.py", line 364, in __nex
> t__
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada return self._next()
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/grpc/_channel.py", line 358, in _next
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada raise self
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada status = StatusCode.DEADLINE_EXCEEDED
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada details = "Deadline Exceeded"
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada debug_error_string = "{"created":"@1562743212.057730337","description":"Error r
> eceived from peer","file":"src/core/lib/surface/call.cc","file_line":1017,"grpc_message":"Deadline Exceeded","grpc_status":4}"
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada >
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada During handling of the above exception, another exception occurred:
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada Traceback (most recent call last):
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/armada.py", line 223, in handle_result
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada result = get_result()
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/lib/python3.5/concurrent/futures/_base.py", line 398, in result
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada return self.__get_result()
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada raise self._exception
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada result = self.fn(*self.args, **self.kwargs)
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/armada.py", line 212, in deploy_chart
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada prefix, known_releases)
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/chart_deploy.py", line 257, in execute
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada self._test_chart(release_name, test_handler)
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/chart_deploy.py", line 268, in _test_chart
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada success = test_handler.test_release_for_success()
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/test.py", line 120, in test_release_for_success
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada self.release_name, timeout=self.timeout, cleanup=self.cleanup)
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada File "/usr/local/lib/python3.5/dist-packages/armada/handlers/tiller.py", line 522, in test_release
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada raise ex.ReleaseException(release, status, 'Test')
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada armada.exceptions.tiller_exceptions.ReleaseException: Failed to Test release: airship-ucp-keystone - Tiller Message: b'Install complete'
> 2019-07-10 07:20:12.374 12502 ERROR armada.handlers.armada
> 2019-07-10 07:20:12.379 12502 ERROR armada.handlers.armada [-] Chart deploy(s) failed: ['ucp-keystone']
> 2019-07-10 07:20:13.127 12502 INFO armada.handlers.lock [-] Releasing lock
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli [-] Caught internal exception: armada.exceptions.armada_exceptions.ChartDeployException: Exception deploying charts: ['ucp-keystone']
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli Traceback (most recent call last):
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/local/lib/python3.5/dist-packages/armada/cli/__init__.py", line 39, in safe_invoke
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli self.invoke()
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/local/lib/python3.5/dist-packages/armada/cli/apply.py", line 209, in invoke
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli resp = self.handle(documents, tiller)
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/local/lib/python3.5/dist-packages/armada/handlers/lock.py", line 63, in func_wrapper
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli return future.result()
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/lib/python3.5/concurrent/futures/_base.py", line 398, in result
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli return self.__get_result()
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli raise self._exception
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli result = self.fn(*self.args, **self.kwargs)
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/local/lib/python3.5/dist-packages/armada/cli/apply.py", line 252, in handle
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli return armada.sync()
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli File "/usr/local/lib/python3.5/dist-packages/armada/handlers/armada.py", line 250, in sync
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli raise armada_exceptions.ChartDeployException(failures)
> 2019-07-10 07:20:13.140 12502 ERROR armada.cli armada.exceptions.armada_exceptions.ChartDeployException: Exception deploying charts: ['ucp-keystone']
>
> Please help me if you know anything about this.
>
> Thank you and Regards,
> Soujanya R M
>
> On Tuesday, July 09, 2019 08:58 EDT, Roman Gorshunov <paye600@gmail.com> wrote:
>
>
> Hello Soujanya,
>
> Seems that a change related to this [0] patch has not been applied to
> the AIAB environment. Try to change site documents accordingly and
> re-run deployment.
>
> Best regards,
> --
> Roman Gorshunov
>
> On Tue, Jul 9, 2019 at 12:19 PM Soujanya R M <soujanya@atsgen.com> wrote:
> >
> > Hi Everyone,
> >
> > I am facing an issue while installing airship-in-a-bottle dev_single_node. This is the error that appears.
> >
> > 2019-07-09 09:10:09,683 ERROR req_id=- ctx=- end_user=- user=- promenade.renderer:renderer.py: 78:render_template_into_bundler Error rendering template (/opt/promenade/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml)
> > Traceback (most recent call last):
> > File "/opt/promenade/promenade/renderer.py", line 76, in render_template_into_bundler
> > data = template.render(config=config, now=now)
> > File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
> > return original_render(self, *args, **kwargs)
> > File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
> > return self.environment.handle_exception(exc_info, True)
> > File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
> > reraise(exc_type, exc_value, tb)
> > File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
> > raise value.with_traceback(tb)
> > File "<template>", line 120, in top-level template code
> > jinja2.exceptions.UndefinedError: No match found for path HostSystem:images.monitoring_image
> > 2019-07-09 09:10:09,684 ERROR req_id=- ctx=- end_user=- user=- promenade.exceptions:exceptions.py:222:display Error rendering template (/opt/promenade/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml): No match found for path HostSystem:images.monitoring_image
> > + error 'generating genesis'
> > + set +x
> > Error when generating genesis.
> > + exit 1
> > + clean
> > + set +x
> > To remove files generated during this script's execution, delete /root/deploy.
> > This VM is disposable. Re-deployment in this same VM will lead to unpredictable results.
> >
> > A similar issue has been called out previously here: http://lists.airshipit.org/pipermail/airship-discuss/2019-June/000492.html
> >
> > Can someone help me fix this?
> >
> > Regards,
> > Soujanya RM _______________________________________________
> > Airship-discuss mailing list
> > Airship-discuss@lists.airshipit.org
> > http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss
>
>
>
>
>
_______________________________________________
Airship-discuss mailing list
Airship-discuss@lists.airshipit.org
http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss