ioggstream

heat_stack_update_nested_bug_2

Jul 24th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.52 KB | None | 0 0
  1. # reproduce
  2.  
  3. $ heat stack-update shift --dry-run -x -n
  4. 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}'
  5. DEBUG (connectionpool) "PATCH /v1/b388603a40d74015bef046a0148ab1df/stacks/shift/f9ecb28f-fbaf-46ad-bf4f-5f220dc4c346/preview?show_nested=True HTTP/1.1" 400 254
  6. ...
  7. 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"}
  8.  
  9. Traceback (most recent call last):
  10. File "/usr/bin/heat", line 10, in <module>
  11. sys.exit(main())
  12. File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 612, in main
  13. HeatShell().main(args)
  14. File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 562, in main
  15. args.func(client, args)
  16. File "/usr/lib/python2.7/site-packages/heatclient/v1/shell.py", line 556, in do_stack_update
  17. resource_changes = hc.stacks.preview_update(**fields)
  18. File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 194, in preview_update
  19. resp = self.client.patch(path, data=kwargs, headers=headers)
  20. File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 199, in patch
  21. return self.request(url, 'PATCH', **kwargs)
  22. File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 318, in request
  23. raise exc.from_response(resp)
  24. heatclient.exc.HTTPBadRequest: ERROR: Property fixed_subnet not assigned
  25.  
  26.  
  27. # controller exception
  28.  
  29. 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
  30. 3d86d3a4cd74015bef046a0148ab1df/stacks/shift HTTP/1.1" 302 681 0.556682
  31. 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
  32. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi Traceback (most recent call last):
  33. 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__
  34. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi request, **action_args)
  35. 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
  36. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return method(*args, **kwargs)
  37. 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
  38. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return handler(controller, req, **kwargs)
  39. 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
  40. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return handler(controller, req, dict(stack_identity), **kwargs)
  41. 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
  42. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi environment_files=data.environment_files())
  43. 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
  44. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi version='1.23')
  45. 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
  46. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return client.call(ctxt, method, **kwargs)
  47. 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
  48. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi retry=self.retry)
  49. 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
  50. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi timeout=timeout, retry=retry)
  51. 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
  52. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi retry=retry)
  53. 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
  54. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi raise result
  55. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi ValueError: Property fixed_subnet not assigned
  56. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi Traceback (most recent call last):
  57. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  58. 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
  59. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi res = self.dispatcher.dispatch(message)
  60. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  61. 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
  62. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return self._do_dispatch(endpoint, method, ctxt, args)
  63. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  64. 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
  65. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi result = func(ctxt, **new_args)
  66. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  67. 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
  68. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return f(*args, **kwargs)
  69. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  70. 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
  71. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi return func(self, ctx, *args, **kwargs)
  72. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  73. 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
  74. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi nested_fmt_actions(current_stack, updated_stack, actions)
  75. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  76. 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
  77. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi n_actions = update_task.preview()
  78. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
  79. 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
  80. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi None):
  81. 2017-07-24 17:41:49.257 706606 ERROR heat.common.wsgi
Advertisement
Add Comment
Please, Sign In to add comment