Added --show-nested support in `openstack stack update`.
The work is based on `heat stack-update` implementation.
Closes-Bug: #1720085
Change-Id: I50c8f5ac9ba4cb7e478af03ff4c1f099270ae226
This isn't actually used and is a leftover from a thing we did
seven years ago that survives today through copy-pasta.
Change-Id: Ic77d867ee1afaf4586a9fcbab5c36166e38604b6
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>
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I730996eb74d16ede3725494b561dc15493741c75
There is no judgement before use the cli: heat snapshot-delete.
So I add it.
Partial-Bug: #1642490
Depends-On: If7b515dff64a18f56046b890279c2c59b0ab9dc7
Change-Id: I6e82630816e54aa2d98c3653ab43b865f445e881
Encoding the path separators results in urls refused by by apache
with 404 unless AllowEncodedSlashes is turned on, which is not
the default.
The existing encoding of path separators seems unnecessary.
Change-Id: I3b77aafc6104119503363e5db36b0379964daba5
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: I3a2fc7779fa0c806827d9eda2ffdbc207788b22d
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
An upcoming release of pbr will require explicitly stating which
builders are requested, rather than defaulting to html and man. Head off
any potential impact this may cause by explicitly setting this
configuration now.
Change-Id: I3ebd7d2086a47bcedc6fb35ca90bc1bb6e077250
1.As mentioned in [1], we should avoid using six.iteritems to achieve
iterators. We can use dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible, see the
link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I3913e8876b34e112140788d7a405da6eedfb5f29
When retrieving events from nested stacks, we used to do a query per
stack and thus get the stack that way. We changed it to do only one API
call, but didn't fix the way the stack name was set. We need to use the
event links to retrieve the stack name, instead of the root stack.
Closes-Bug: #1676896
Change-Id: I09ab1cc2c6aaab02036b124b1dfa561dd6132083
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
This fixes the error messages when trying to do a openstack software
deployment show with a wrong id.
Change-Id: I23c427e33b28b327563769106fcadd20ff599454