Advertisement
ioggstream

openstack_stack_update_issue

Jul 24th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.85 KB | None | 0 0
  1. $ openstack stack --version
  2. openstack 3.11.0
  3. usage: openstack stack update [-h] [-f {json,shell,table,value,yaml}]
  4. [-c COLUMN] [--max-width <integer>]
  5. [--fit-width] [--print-empty] [--noindent]
  6. [--prefix PREFIX] [-t <template>]
  7. [-e <environment>] [--pre-update <resource>]
  8. [--timeout <timeout>] [--rollback <value>]
  9. [--dry-run] [--parameter <key=value>]
  10. [--parameter-file <key=file>] [--existing]
  11. [--clear-parameter <parameter>]
  12. [--tags <tag1,tag2...>] [--wait]
  13. <stack>
  14.  
  15. $ openstack stack update --help
  16.  
  17. Update a stack.
  18.  
  19. positional arguments:
  20. <stack> Name or ID of stack to update
  21.  
  22. optional arguments:
  23. -h, --help show this help message and exit
  24. -t <template>, --template <template>
  25. Path to the template
  26. -e <environment>, --environment <environment>
  27. Path to the environment. Can be specified multiple
  28. times
  29. --pre-update <resource>
  30. Name of a resource to set a pre-update hook to.
  31. Resources in nested stacks can be set using slash as a
  32. separator: nested_stack/another/my_resource. You can
  33. use wildcards to match multiple stacks or resources:
  34. nested_stack/an*/*_resource. This can be specified
  35. multiple times
  36. --timeout <timeout> Stack update timeout in minutes
  37. --rollback <value> Set rollback on update failure. Value "enabled" sets
  38. rollback to enabled. Value "disabled" sets rollback to
  39. disabled. Value "keep" uses the value of existing
  40. stack to be updated (default)
  41. --dry-run Do not actually perform the stack update, but show
  42. what would be changed
  43. --parameter <key=value>
  44. Parameter values used to create the stack. This can be
  45. specified multiple times
  46. --parameter-file <key=file>
  47. Parameter values from file used to create the stack.
  48. This can be specified multiple times. Parameter value
  49. would be the content of the file
  50. --existing Re-use the template, parameters and environment of the
  51. current stack. If the template argument is omitted
  52. then the existing template is used. If no
  53. --environment is specified then the existing
  54. environment is used. Parameters specified in
  55. --parameter will patch over the existing values in the
  56. current stack. Parameters omitted will keep the
  57. existing values
  58. --clear-parameter <parameter>
  59. Remove the parameters from the set of parameters of
  60. current stack for the stack-update. The default value
  61. in the template will be used. This can be specified
  62. multiple times
  63. --tags <tag1,tag2...>
  64. An updated list of tags to associate with the stack
  65. --wait Wait until stack goes to UPDATE_COMPLETE or
  66. UPDATE_FAILED
  67.  
  68. output formatters:
  69. output formatter options
  70.  
  71. -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}
  72. the output format, defaults to table
  73. -c COLUMN, --column COLUMN
  74. specify the column(s) to include, can be repeated
  75.  
  76. table formatter:
  77. --max-width <integer>
  78. Maximum display width, <1 to disable. You can also use
  79. the CLIFF_MAX_TERM_WIDTH environment variable, but the
  80. parameter takes precedence.
  81. --fit-width Fit the table to the display width. Implied if --max-
  82. width greater than 0. Set the environment variable
  83. CLIFF_FIT_WIDTH=1 to always enable
  84. --print-empty Print empty table if there is no data to show.
  85.  
  86. json formatter:
  87. --noindent whether to disable indenting the JSON
  88.  
  89. shell formatter:
  90. a format a UNIX shell can parse (variable="value")
  91.  
  92. --prefix PREFIX add a prefix to all variable names
  93.  
  94.  
  95. $ heat stack-update shift-33 --dry-run -x -n
  96. WARNING (shell) "heat stack-update" is deprecated, please use "openstack stack update" instead
  97. ERROR: Property fixed_subnet not assigned
  98.  
  99.  
  100. --- heat logs ---
  101. /var/log/heat/heat-engine.log:2017-07-24 16:38:48.834 709567 WARNING heat.engine.resources.openstack.neutron.port [req-aad30deb-c22d-4e8d-ae80-d179ea299750 - - - - -] Failed to fetch resource attributes: The resource could not be foun
  102. d.<br /><br />
  103. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server [req-7f8f2864-c0c6-4852-913a-3b711d726389 - - - - -] Exception during message handling
  104. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  105. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
  106. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
  107. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
  108. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
  109. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
  110. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
  111. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 154, in wrapper
  112. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server return f(*args, **kwargs)
  113. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/heat/common/context.py", line 424, in wrapped
  114. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server return func(self, ctx, *args, **kwargs)
  115. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 1097, in preview_update_stack
  116. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server nested_fmt_actions(current_stack, updated_stack, actions)
  117. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 1091, in nested_fmt_actions
  118. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server current_nested, updated_nested, n_actions)
  119. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 1036, in fmt_action_map
  120. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server 'added': map(fmt_updated_res, act.get('added', [])),
  121. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/heat/engine/service.py", line 1027, in fmt_updated_res
  122. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server return api.format_stack_resource(updated.resources.get(k))
  123. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/heat/engine/api.py", line 349, in format_stack_resource
  124. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server res[rpc_api.RES_NESTED_STACK_ID] = dict(resource.nested_identifier())
  125. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server TypeError: 'NoneType' object is not iterable
  126. /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement