Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # reproduce
- $ heat stack-update shift --dry-run -x -n
- DEBUG (session) REQ: curl -g -i -X PATCH https://10.20.3.250:13004/v1/b388603a40d74015bef046a0148ab1df/stacks/shift/f9ecb28f-fbaf-46ad-bf4f-5f220dc4c346/preview?show_nested=True [...] -d '{"files": {}, "parameters": {}, "environment": {}, "template": null}'
- DEBUG (connectionpool) "PATCH /v1/b388603a40d74015bef046a0148ab1df/stacks/shift/f9ecb28f-fbaf-46ad-bf4f-5f220dc4c346/preview?show_nested=True HTTP/1.1" 400 254
- ...
- RESP BODY: {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "Property fixed_subnet not assigned", "traceback": null, "type": "ValueError"}, "title": "Bad Request"}
- Traceback (most recent call last):
- File "/usr/bin/heat", line 10, in <module>
- sys.exit(main())
- File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 612, in main
- HeatShell().main(args)
- File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 562, in main
- args.func(client, args)
- File "/usr/lib/python2.7/site-packages/heatclient/v1/shell.py", line 556, in do_stack_update
- resource_changes = hc.stacks.preview_update(**fields)
- File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 194, in preview_update
- resp = self.client.patch(path, data=kwargs, headers=headers)
- File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 199, in patch
- return self.request(url, 'PATCH', **kwargs)
- File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 318, in request
- raise exc.from_response(resp)
- heatclient.exc.HTTPBadRequest: ERROR: Property fixed_subnet not assigned
- # controller exception
- 2017-07-24 17:40:25.200 706668 INFO eventlet.wsgi.server [req-8ef30e2d-7687-4b2f-83e4-5cd223bcc4d7 c2ad5e18d0cc4c17ad7254160590311e b388603a40d74015bef046a0148ab1df - default default] 1.1.1.1 - - [24/Jul/2017 17:40:25] "GET /v1/f
- 3d86d3a4cd74015bef046a0148ab1df/stacks/shift HTTP/1.1" 302 681 0.556682
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi [req-65fd1bd9-cd90-4a02-9ccc-0f3a00e28399 c2ad5e18d0cc4c17ad7254160590311e b388603a40d74015bef046a0148ab1df - default default] Unexpected error occurred serving API: Property fixed_subnet not assigned
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi Traceback (most recent call last):
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/common/wsgi.py", line 842, in __call__
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi request, **action_args)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/common/wsgi.py", line 916, in dispatch
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return method(*args, **kwargs)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/api/openstack/v1/util.py", line 38, in handle_stack_method
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return handler(controller, req, **kwargs)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/api/openstack/v1/util.py", line 54, in handle_stack_method
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return handler(controller, req, dict(stack_identity), **kwargs)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/api/openstack/v1/stacks.py", line 553, in preview_update_patch
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi environment_files=data.environment_files())
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/rpc/client.py", line 352, in preview_update_stack
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi version='1.23')
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/rpc/client.py", line 84, in call
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return client.call(ctxt, method, **kwargs)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi retry=self.retry)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi timeout=timeout, retry=retry)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 464, in send
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi retry=retry)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 455, in _send
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi raise result
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi ValueError: Property fixed_subnet not assigned
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi Traceback (most recent call last):
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi res = self.dispatcher.dispatch(message)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return self._do_dispatch(endpoint, method, ctxt, args)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi result = func(ctxt, **new_args)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 154, in wrapper
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return f(*args, **kwargs)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/common/context.py", line 424, in wrapped
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return func(self, ctx, *args, **kwargs)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 1097, in preview_update_stack
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi nested_fmt_actions(current_stack, updated_stack, actions)
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 1089, in nested_fmt_actions
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi n_actions = update_task.preview()
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi File "/usr/lib/python2.7/site-packages/heat/engine/update.py", line 274, in preview
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi None):
- 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
Advertisement
Add Comment
Please, Sign In to add comment