| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This library no longer supports Python 2, thus usage of six can be
removed.
Change-Id: I8d0c1cfd6dff375b3b7756a5b36c95a2df3f04c6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.
- noqa for pep8 C901 check.
Closes-Bug: #1886298
Story: #2007865
Task: #40186
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
Change-Id: I67b4957cea1ccbd5cdc0314d2eaddef0c24f7dfc
|
| |
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I82c745f5b1236844deec4538be84037a64eebeee
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I49bb58e5dc2618ee02424315e4e3bf1057a77068
|
| |/
|
|
| |
Change-Id: I4e1dbb55dbc01ebf18ca80aa63ae492a1a8f47ae
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Now we also support get policy from policies in code.
Depends-On: I610115dc1974b2182ce673bb086a1da15b022de3
Change-Id: I46d03c3303b3116e749effeecefe48949473daeb
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
There is no judgement before use the cli: heat snapshot-delete.
So I add it.
Partial-Bug: #1642490
Depends-On: If7b515dff64a18f56046b890279c2c59b0ab9dc7
Change-Id: I6e82630816e54aa2d98c3653ab43b865f445e881
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Show 'project'/'Project' info in heatclient
if heat server returns 'project' info of stacks.
Change-Id: I7d95ae96a678ef41bcd3d5379f204db83e4b585c
Closes-Bug: #1652412
|
| |
|
|
|
|
|
|
|
| |
Starting with the Ocata release of Heat, users can now select a resource
using its physical resource ID.
Change-Id: I82711c50e9719a80eec68592ee36198ea47b9f1d
Depends-On: Ie28ed102665b2c6379d1f55b7a02b76d05e38ddd
Related-Bug: #1635295
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
So that it matches the equivalent OSC command's output. Also change
the default output-show format to 'raw' to maintain current behavior.
Closes-Bug: #1560087
Change-Id: Ia03b1633565881b4b4a7f95e7b0c5df472487f62
|
| |
|
|
|
|
|
|
|
| |
The stack-list help message for tags was not very helpful and was
confusing. So, changed the help message so that it is more
understandable for the user.
Change-Id: Ia49a40652a0c96ba257edb35bae4455be3373d0f
Closes-Bug: #1625011
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Ie6c03d56ab2f0aa14bc96028fd548e80987beeb1
|
| |/
|
|
|
|
|
| |
According to the rule in http://docs.openstack.org/developer/hacking/#imports
I modify some irregular import format in heatclinet.
Change-Id: I0200ddad88ee833d7de9d6df2c1519e4f4560db7
|
| |
|
|
|
| |
Change-Id: Ifeb3a2751e6a59092a639463806d45c683219bfa
Closes-Bug: #1602301
|
| |
|
|
|
|
|
|
|
| |
Add 'deletion_time' column in following cases:
1. if specify --show-deleted when list stack
2. show stack
Change-Id: I4348d03b3433c4962f51aa124ea27dc0c55c71c1
DependsOn: I8c55fe7f6a899ca66aa3fef15c93195c03c5aa11
|
| |
|
|
|
|
| |
Fix typo WRT physical_resource_id in help messages.
Change-Id: Ica89b13cc9cd2b355cf65c7ccb329518e5c745bd
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This changes:
1. Add "--pre-delete" argument for cmd "heat hook-clear" to
clear pre-delete hooks.
2. Add "--pre-delete" argument for osc cmd
"openstack stack hook clear" to clear pre-delete hooks.
3. Support to poll pre-delete hooks for "heat hook-poll" and
"openstack stack hook poll".
Change-Id: Ic5a6e1b7588e3f9ad49eaaf8085f18ec74fc629e
Closes-Bug: #1567814
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change implements "openstack orchestration template validate" command
Based from the existing heat commands:
heat template-validate
This is different from the stack create/update --dry-run
which used the preview api, this uses the validate api.
Change-Id: Icf5794ad6bb35574a060f095d7ef10e6a46ca2fe
Blueprint: heat-support-python-openstackclient
|
| |/
|
|
|
|
|
|
| |
the stack-delete operation is asynchronous, and should not return
anything.
Change-Id: I75287b612358c5e76e47a9e53200c23946f01d8f
Closes-Bug: #1556407
|
| |
|
|
|
|
|
| |
Users need to use openstack commands
instead of heat commands.
Change-Id: Ifc79dd3f81c7735ab61d8d072ff0fea1976eed98
|
| |
|
|
|
|
|
|
|
|
| |
When you delete multiple stacks like
'stackA stackB stackC' and you dont have enough
rights for deleting stackB, it throws 403.
In result stackA is deleted, but stackC is still
there.
Change-Id: If2795a4a7a6987da15b5f3f23ee066000e1f2a65
|
| |
|
|
|
| |
Change-Id: I4965bf4c24bbc9911837d8578d852b324f7645f7
Closes-bug: #1494058
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new command to set resource's health.
The command takes the following format:
heat resource-mark-unhealthy [--reset]
<NAME or ID> <RESOURCE>
reason
Change-Id: I4e0a127343e591c176f451172a1c8a59bf36f6eb
Partially-implements: blueprint mark-unhealthy
Depends-On: Ifa48b179723a2100fff548467db9e162bc669d13
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds support in template_utils to optionally produce an ordered list of
environment file names and include the environment file contents in the
files dict. This will be passed to the server to trigger the server-side
handling of resolving overrides for multiple environments.
The original behavior of merging the environments client-side is left in
for backward compatibility purposes. Both are sent to the server. For
mitaka and newer, the client-submitted environment is ignored and the
merging is done server-side. For liberty and older, the
environment_files list is ignored entirely and the passed in environment
is used.
Note that the merging, regardless if it is done client or server-side,
is handled by the same code; it has not been copied or duplicated in the
server.
Change-Id: If187c8ca3d80008c21e8f6066d335ab0c30315e6
Implements: blueprint multi-environments
Depends-On: Ibe46fd35de7988920c101a83259c06c8f8a3ed0b
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently only used by "heat stack-create --poll", moving this function
will allow all new openstack client commands to use for their --wait
implementation.
This change also adds unit tests for this function.
Change-Id: I642797b08cd13c0c50169071d998cf5ba8b397a3
Blueprint: heat-support-python-openstackclient
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Refactor existing hook helper fuctions into utilites.
based upon heat clis:
heat hook-poll
hest hook-clear
Change-Id: Ib46634cc62369fb5932dcd0967ae492446c79a88
Blueprint: heat-support-python-openstackclient
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
heat resource-list -f <filters>
implements blueprint heat-stack-resource-search
depends-on: Iaae88f3b32bc2ba7b41a4078ef3aa8ffc07079b7
Change-Id: I2d1f6ee68623e08bb9654dbcba28336364d14d6d
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
We recently introduced a new flag to output-show, while changing the
default behavior to display the key and the description. This removes
this recently added flag, and add a new flag used to do the new display.
Change-Id: Iafcfaad969356e5029e6a3ac51b52d7592146528
Closes-Bug: #1539783
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check if adopt-file has content and
if not then display error
Change-Id: I40efd6ae3ca36f0331a1e4239c5139e0af654272
Closes-Bug: #1299161
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
template-validate --ignore-errors <ERR1,ERR2>
implements blueprint heat-template-validate-improvements
Change-Id: Ice4f623bc06366ddd600d5cb72d236e5a4459e19
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently update preview provides no way to show the updates
for nested stack resources, so this adds a flag --show-nested,
which is similar to other interfaces e.g template-validate.
Closes-Bug: #1521971
Change-Id: I06f3b52d5d48dd5e6e266321e58ca8e6116d6017
|
| |\ \ \ \
| |_|/ /
|/| | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For heat command: heat stack-delete,config-delete and heat deployment-delete,
they will raise CommandError when *All* of them end up failed.
It is a strange behavior,this change is to raise CommandError
when *Any* of them failed.
Change-Id: I57b5efc9018e3f1f07858ecbf1ef9ffba21bf1aa
Closes-Bug: #1538862
|
| |/ /
| |
| |
| |
| |
| |
| | |
This change added json_formatter for 'tags' in method _do_stack_show.
Change-Id: Icdd3c90d237804926657103dcc846f48f4355fde
Closes-Bug: #1536492
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This change implements the "openstack stack create" command.
Blueprint: heat-support-python-openstackclient
Change-Id: I32289f53d482a817f7449724cfbabc2c154b1ffd
|
| |\ \ |
|