Questions & Answers

cluster_deploy failed

0 votes
asked Apr 14 by yihli (260 points)
Resource CREATE failed: MessagingTimeout: resources.install_deployment: Timed out waiting for a reply to message ID 6ab54d93a1624dc7bb1518235744d57d

I checked  nova log, anyone know this issue?
2017-04-13 23:39:14.790 12747 ERROR nova.api.ec2 [req-53597750-8c0c-4abf-926e-2dde13468efa - - - - -] FaultWrapper error
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2 Traceback (most recent call last):
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/nova/api/ec2/__init__.py", line 93, in __c
all__
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     return req.get_response(self.application)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1317, in send
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     application, catch_exc_info=False)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1281, in call_appl
ication
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     app_iter = application(self.environ, start_response)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     resp = self.call_func(req, *args, **self.kwargs)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     return self.func(req, *args, **kwargs)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/nova/api/ec2/__init__.py", line 105, in __
call__
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     rv = req.get_response(self.application)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1317, in send
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     application, catch_exc_info=False)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1281, in call_appl
ication
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     app_iter = application(self.environ, start_response)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     resp = self.call_func(req, *args, **self.kwargs)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     return self.func(req, *args, **kwargs)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/nova/api/metadata/handler.py", line 137, i
n __call__
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     data = meta_data.lookup(req.path_info)
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/nova/api/metadata/base.py", line 420, in l
ookup
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     data = self.get_ec2_item(path_tokens[1:])
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/nova/api/metadata/base.py", line 292, in g
et_ec2_item
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     return find_path_in_tree(data, path_tokens[1:])
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2   File "/usr/lib/python2.7/site-packages/nova/api/metadata/base.py", line 565, in f
ind_path_in_tree
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2     data = data[path_tokens[i]]
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2 TypeError: string indices must be integers
2017-04-13 23:39:14.790 12747 TRACE nova.api.ec2

1 Answer

0 votes
answered Apr 19 by trsmith2 (1,740 points)

Hi there,

I would advise -

  • Ensure that you have obtained all the repositories at the same version e.g. master
  • Read the sections in the PNDA guide under Provisioning regarding your chosen platform.
  • Read the notes in the repository https://github.com/pndaproject/pnda on building PNDA components.

Very briefly, you will need to -

  • Build the PNDA components and stage them on an HTTP server in your target environment
  • Get the templates & create a YAML config referencing your target environment and the HTTP server you just created
  • Use the CLI to create PNDA using the templates at the version you're interested in
...