summaryrefslogtreecommitdiff
path: root/heatclient/osc
Commit message (Collapse)AuthorAgeFilesLines
* Remove sixTakashi Kajinami2022-05-097-26/+19
| | | | | | | This library no longer supports Python 2, thus usage of six can be removed. Change-Id: I8d0c1cfd6dff375b3b7756a5b36c95a2df3f04c6
* Merge "Add files-container option for stack create and update"Zuul2020-02-212-6/+42
|\
| * Add files-container option for stack create and updaterabi2018-08-292-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If files-container option is specified: - All template/env files would be fetched by the heat engine relative to the files_container and no local files other than the root template would be sent to server. - Relative path of environment files would be sent in the environment_files list. Also adds the option to template validate. Change-Id: I1a703ab8798a003365be650886bb78be5af472b7 Story: #1755453 Task: 19319
* | Merge "Allow to set poll interval to OSC stack create"Zuul2020-02-211-1/+10
|\ \
| * | Allow to set poll interval to OSC stack createPavlo Shchelokovskyy2019-09-251-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In certain scenarios the default poll interval of 5s used by `openstack stack create --wait` command is too short. Setting the poll interval was supported in heat CLI with `heat stack-create --poll N` but is missing in OSC plugin. This patch adds an optional argument `--poll N` (N defaults to 5) to the `openstack stack create` command. Change-Id: Id279d92ea890032f280e453b795ede2818ffbb8c Story: 2004863 Task: 29106
* | | Cleanup of .keys() from dict_object.keys() *in* operatorjacky062019-12-051-1/+1
|/ / | | | | | | Change-Id: I49bb58e5dc2618ee02424315e4e3bf1057a77068
* | Merge "Load files from adopt file when adopt stack"Zuul2018-11-201-2/+5
|\ \ | |/ |/|
| * Load files from adopt file when adopt stackricolin2018-07-201-2/+5
| | | | | | | | | | | | | | | | | | Add files from adopt file into create fields. This allow us to adopt nested stack which the template defined in files. Story: #1700744 Task: #17263 Change-Id: I2b473791186949d49be59ee790185b3e394c7000
* | Handle token_endpoint auth type in osc pluginrabi2018-06-111-1/+3
|/ | | | | | | | | There can be situations where the auth_type=token_endpoint, we should use the appropriate attributes from the auth plugin when creating heatclient. Change-Id: Ic929f6ceaa92002eb2b3443934d1f541758e4dda Closes-Bug: #1632341
* Document osc CLIZane Bitter2018-01-251-9/+10
| | | | | Change-Id: Idafe730021f272360ac0588f8b35e7d392c96d4b Closes-Bug: #1735019
* Merge "Add `--converge` argument for osc stack update"Zuul2017-12-011-0/+8
|\
| * Add `--converge` argument for osc stack updatericolin2017-10-201-0/+8
| | | | | | | | | | | | | | | | | | This patch add `--converge` argument for osc stack update. This flag will be used as the trigger for observe on reality. implements bp get-reality-for-resources depends-on: I151b575b714dcc9a5971a1573c126152ecd7ea93 Change-Id: If35e1b9234cab173b3c46601bbd331aceebcbcb3
* | Merge "Add plug-in summary for osc doc"Zuul2017-11-291-0/+2
|\ \
| * | Add plug-in summary for osc docKATO Tomoyuki2017-06-011-0/+2
| |/ | | | | | | | | | | | | Stevedore Sphinx extension handles this comment. http://docs.openstack.org/developer/python-openstackclient/plugin-commands.html Change-Id: I4958ec1dfda96f54b75963a04b5a4fc9eec09d84
* | Don't preformat stack output show list/map valuesSteven Hardy2017-11-211-5/+0
| | | | | | | | | | | | | | This breaks the built-in --format json and --format yaml options Change-Id: I01d46ace380756ae57c8c7c9f65c5a686a06818f Closes-Bug: #1733664
* | Allow cancelling create_in_progress stacks with --no-rollbackrabi2017-11-081-3/+5
| | | | | | | | | | Change-Id: Ib107c82f341f4d271859ca7681d65f7ce4c5d0b1 Related-Bug: #1709041
* | Add --no-rollback option for stack cancelrabi2017-11-081-4/+14
| | | | | | | | | | | | | | | | | | This adds a new --no-rollback option for stack cancel. Usage: openstack stack cancel --no-rollback <stack_name> Change-Id: I46252823701779e3a3c6867bc470d5532cf9d7a7 Related-Bug: #1709041
* | Support --show-nested in openstack stack update --dry-runRoberto Polli2017-09-281-0/+7
| | | | | | | | | | | | | | | | Added --show-nested support in `openstack stack update`. The work is based on `heat stack-update` implementation. Closes-Bug: #1720085 Change-Id: I50c8f5ac9ba4cb7e478af03ff4c1f099270ae226
* | Fixing read before prompt bugJoe Borg2017-07-261-3/+3
|/ | | | | | | | Due to Python buffering sys.stdin and sys.stdout, the read can be shown before text prompt. Change-Id: I86d9ec62f7791da276585ce74a48162315effa7b Signed-off-by: Joe Borg <joe@josephb.org>
* Merge "Pass event filters to the server side"Jenkins2017-05-191-6/+14
|\
| * Pass event filters to the server sideThomas Herve2017-03-281-6/+14
| | | | | | | | | | | | | | | | This passes event filters to the server side. It only matters for event_time with limit now, but this fixes that case, and the case for resource_type as well. Change-Id: Ide8f0481cf031cc61d4bb43d1d92109d42326e95
* | Merge "Add '--yes' for openstack stack snapshot delete"Jenkins2017-05-171-0/+24
|\ \ | |/ |/|
| * Add '--yes' for openstack stack snapshot deletericolin2017-04-261-0/+24
| | | | | | | | | | | | | | | | | | Add optional arguments '--yes' or '-y' in osc cli `openstack stack snapshot delete`. There is no judgement before use that cli So propose to add it in case that we delete the snapshot unintentionally. Closes-Bug: #1642874 Change-Id: If7b515dff64a18f56046b890279c2c59b0ab9dc7
* | Merge "Fix error message when deployment not found"Jenkins2017-03-271-1/+3
|\ \
| * | Fix error message when deployment not foundThomas Herve2017-03-241-1/+3
| | | | | | | | | | | | | | | | | | | | | This fixes the error messages when trying to do a openstack software deployment show with a wrong id. Change-Id: I23c427e33b28b327563769106fcadd20ff599454
* | | Remove log translationsliyi2017-03-231-7/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: I601eee9f1fca65d5fb53e6b75482b74283908a29
* | Merge "Support openstack stack export"Jenkins2017-03-161-0/+44
|\ \
| * | Support openstack stack exporthuangtianhua2017-02-141-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | Heat supports exporting data of stack preparing for abandon stack. This change supports 'openstack stack export' in client. Change-Id: I5d3778f307d10174dbb738548282f7495bd9c825
* | | Merge "Handle log message interpolation by the logger"Jenkins2017-02-141-5/+5
|\ \ \ | |/ / |/| |
| * | Handle log message interpolation by the loggerGábor Antal2017-02-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to OpenStack Guideline[1], logged string message should be interpolated by the logger. [1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages Change-Id: Icbf550eecc0108e928aeb9e39dd28dfe482abe4b Closes-Bug: #1661262
* | | Merge "Show 'project' info if heat server returns"Jenkins2017-02-131-2/+5
|\ \ \ | |/ / |/| |
| * | Show 'project' info if heat server returnshuangtianhua2017-01-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Show 'project'/'Project' info in heatclient if heat server returns 'project' info of stacks. Change-Id: I7d95ae96a678ef41bcd3d5379f204db83e4b585c Closes-Bug: #1652412
* | | Don't always resolve outputs when showing a stackCrag Wolfe2017-01-281-9/+17
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Whenever a stack is created/updated/adopted, a call to show the stack is made. Do not resolve the outputs when showing the stack in this case because: * If we are not waiting (there is no --wait arg) for the stack to complete after a create/update/adopt command and immediately showing the stack, resolving the outputs is just incurring a pointless processing hit on the server (ultimately heat-engine) and delaying a response to the client. * Whether we --wait or or not, we only show "short" stack info which doesn't include outputs anyway. So, let's avoid the processing/time overhead of resolving the outputs. (In theory, with --wait we might want to show "long" output with stack outputs afterwards, but that would be additional functionality that should be handled in a different patch) * Add the --no-resolve-outputs option to "stack show" which already exists in the legacy heat stack-show command. Change-Id: Id0661b11fd3cece0df3981488de6976219556d7e Closes-Bug: #1659896 Closes-Bug: #1659899
* | Support -y for --yes.Russell Bryant2017-01-121-1/+1
| | | | | | | | | | | | | | Add short form '-y' for '--yes', mainly because I'm lazy. Change-Id: Ia82f64246a191a1615ba1d886f80caa5f52cc835 Signed-off-by: Russell Bryant <rbryant@redhat.com>
* | Add aliases to orchestration template version listSteven Hardy2016-12-141-5/+16
| | | | | | | | | | | | | | Recently we added aliases to the API response, so display these if they exist. Change-Id: Iadd499d59acf3bf8cee3e208372340ff1a29112a
* | Merge "User server side env merging with osc plugin"Jenkins2016-12-141-2/+14
|\ \
| * | User server side env merging with osc pluginrabi2016-12-141-2/+14
| |/ | | | | | | | | | | | | | | | | | | | | With osc client plugin, we don't seem to use server side env merging for stack create and update. However, it's there for template validation. This patch brings it in sync with heat cli. Change-Id: I8973fa499c51ca5f789efa6fb5c07bb6302324d7 Related-Bug: #1645686
* | Merge "Update headers for the Openstack Orchestration commands"Jenkins2016-12-132-4/+4
|\ \
| * | Update headers for the Openstack Orchestration commandsVijendra Soni2016-11-222-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | Updated headers for the following commands openstack orchestration service list, openstack orchestration template version list, and openstack orchestration template function list to keep syncronized with other Openstack commands headers Change-Id: I57f03369a501080356e5292582654cd703803b96 Closes-Bug: #1643492
* | Fix event list helpThomas Herve2016-12-021-2/+3
|/ | | | | | | | argparse doesn't like the formatting of the sort metavar in event list, so restore the previous format and explain it instead. Change-Id: I3e1881ffe3d5af281369f6513e1ef2f04d18fe57 Closes-Bug: #1646773
* Merge "Change property option into append action"1.6.0Jenkins2016-11-151-2/+1
|\
| * Change property option into append actiongong yong sheng2016-11-041-2/+1
| | | | | | | | | | | | | | | | | | Heat's other openstack commands are using append for such feature. This patch changes property option from KeyValueAction into append to make them consistent. Change-Id: I34ef34c8fa1ece4e12e20a328a70fa8b389c29d2 Closes-bug: #1639107
* | Merge "Graduate to oslo.i18n and cleanup incubator usage"Jenkins2016-11-096-7/+7
|\ \ | |/ |/|
| * Graduate to oslo.i18n and cleanup incubator usageChuck Short2016-11-086-7/+7
| | | | | | | | | | | | | | | | | | Graduate from Oslo Incubator to oslo.i18n library. Cleanup of unused Oslo Incubator utils. Added optional enable_lazy() usage. Change-Id: I5ec02477f3f52f4d7097669120581e82cced3748 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | Return condition functions based on the filter paramhuangtianhua2016-10-201-1/+8
|/ | | | | | | | | Add 'with_condition_func' filter param for API template-function-list, if the param set to true, the response will include the condition functions. Change-Id: Ia7b4da71ed5c3da105dd23917e4921a96e445026 Closes-Bug: #1625505
* Merge "Use region_name and interface with session"Jenkins2016-10-171-12/+11
|\
| * Use region_name and interface with sessionrabi2016-10-131-12/+11
| | | | | | | | | | | | | | Use region_name and interface with session. Also use public attributes of ClientManager for them. Change-Id: Id836f503ff4d5189f90c4eaf68769bfbaa9dbd2f
* | Fix help string for osc resource show <resource>Peter Razumovsky2016-10-121-1/+1
|/ | | | | | | | Currently help string of <resource> tells "Name or ID of resource" which is wrong - resource-show doesn't accepts ID's of resources. Change-Id: I8b8f6c937e1119c90c0ef473c3784c0523593481 Related-bug: #1620291
* Use event_time as default event sort key in OSCJason Dunsmore2016-09-281-3/+13
| | | | | Closes-Bug: #1599568 Change-Id: Id1e6e7669b03f5dd4a66a1e786a08eb9ade79307
* Don't use endpoint_override with sessiontamilhce2016-09-091-14/+15
| | | | | | | | | | | | | We should not use endpoint_override by default and rather use service_type with session. This also refactors some of the associated code. However, if one wants to override the endpoint they can pass endpoint_override to the client constructor along with session. Change-Id: I7c27d8ff827de3b4bb3e70457c0b6a3f47b6d7bb Co-Authored-By: Rabi Mishra <ramishra@redhat.com> Closes-Bug: #1621505