Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ openstack stack --version
- openstack 3.11.0
- usage: openstack stack update [-h] [-f {json,shell,table,value,yaml}]
- [-c COLUMN] [--max-width <integer>]
- [--fit-width] [--print-empty] [--noindent]
- [--prefix PREFIX] [-t <template>]
- [-e <environment>] [--pre-update <resource>]
- [--timeout <timeout>] [--rollback <value>]
- [--dry-run] [--parameter <key=value>]
- [--parameter-file <key=file>] [--existing]
- [--clear-parameter <parameter>]
- [--tags <tag1,tag2...>] [--wait]
- <stack>
- $ openstack stack update --help
- Update a stack.
- positional arguments:
- <stack> Name or ID of stack to update
- optional arguments:
- -h, --help show this help message and exit
- -t <template>, --template <template>
- Path to the template
- -e <environment>, --environment <environment>
- Path to the environment. Can be specified multiple
- times
- --pre-update <resource>
- Name of a resource to set a pre-update hook to.
- Resources in nested stacks can be set using slash as a
- separator: nested_stack/another/my_resource. You can
- use wildcards to match multiple stacks or resources:
- nested_stack/an*/*_resource. This can be specified
- multiple times
- --timeout <timeout> Stack update timeout in minutes
- --rollback <value> Set rollback on update failure. Value "enabled" sets
- rollback to enabled. Value "disabled" sets rollback to
- disabled. Value "keep" uses the value of existing
- stack to be updated (default)
- --dry-run Do not actually perform the stack update, but show
- what would be changed
- --parameter <key=value>
- Parameter values used to create the stack. This can be
- specified multiple times
- --parameter-file <key=file>
- Parameter values from file used to create the stack.
- This can be specified multiple times. Parameter value
- would be the content of the file
- --existing Re-use the template, parameters and environment of the
- current stack. If the template argument is omitted
- then the existing template is used. If no
- --environment is specified then the existing
- environment is used. Parameters specified in
- --parameter will patch over the existing values in the
- current stack. Parameters omitted will keep the
- existing values
- --clear-parameter <parameter>
- Remove the parameters from the set of parameters of
- current stack for the stack-update. The default value
- in the template will be used. This can be specified
- multiple times
- --tags <tag1,tag2...>
- An updated list of tags to associate with the stack
- --wait Wait until stack goes to UPDATE_COMPLETE or
- UPDATE_FAILED
- output formatters:
- output formatter options
- -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}
- the output format, defaults to table
- -c COLUMN, --column COLUMN
- specify the column(s) to include, can be repeated
- table formatter:
- --max-width <integer>
- Maximum display width, <1 to disable. You can also use
- the CLIFF_MAX_TERM_WIDTH environment variable, but the
- parameter takes precedence.
- --fit-width Fit the table to the display width. Implied if --max-
- width greater than 0. Set the environment variable
- CLIFF_FIT_WIDTH=1 to always enable
- --print-empty Print empty table if there is no data to show.
- json formatter:
- --noindent whether to disable indenting the JSON
- shell formatter:
- a format a UNIX shell can parse (variable="value")
- --prefix PREFIX add a prefix to all variable names
- $ heat stack-update shift-33 --dry-run -x -n
- WARNING (shell) "heat stack-update" is deprecated, please use "openstack stack update" instead
- ERROR: Property fixed_subnet not assigned
- --- heat logs ---
- /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
- d.<br /><br />
- /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
- /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
- /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
- /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
- /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
- /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)
- /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
- /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
- /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
- /var/log/heat/heat-engine.log:2017-07-24 16:38:52.831 709567 ERROR oslo_messaging.rpc.server return f(*args, **kwargs)
- /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
- /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)
- /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
- /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)
- /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
- /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)
- /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
- /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', [])),
- /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
- /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))
- /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
- /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())
- /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
- /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