| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Since swiftclient 4.0.1, sha256 is used when generating tempurl
signature[1].
This change extends the regex pattern to assert signatues so that it
can accept both sha1(old) and sha256(current).
[1] https://review.opendev.org/c/openstack/python-swiftclient/+/845157
Change-Id: I1589adbe4501b1c678f197b9c0f67b716c341b2d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This library no longer supports Python 2, thus usage of six can be
removed.
Change-Id: I8d0c1cfd6dff375b3b7756a5b36c95a2df3f04c6
|
|/
|
|
|
|
|
|
| |
currently several unit tests are failing when path from where
they run contains url-quotable characters like '@', which apparently is
possile in e.g. Jenkins.
Change-Id: I44eab3f4a384a27f34e4066651baafa6a9489f49
|
|
|
|
|
|
|
|
| |
ABCs in collections should be imported from collections.abc and direct
import from collections is deprecated since Python 3.3.
Closes-Bug: #1936667
Change-Id: Ie312cb884537ec541bf2111fe8a647e939b6519e
|
|
|
|
|
|
|
| |
This fixes failures for PyYAML new version and
lower constraints.
Change-Id: Iba863242365c4be63495600b741513c2ca0ea9b0
|
|
|
|
|
|
|
|
|
|
|
| |
The oslo_utils.fnmatch module was added to solve an issue in py2.7 but
it is no longer required because py2.7 is no longer supported.
The module was deprecated since oslo.utils 4.9.1[1] and the stdlib's
fnmatch module should be used instead.
[1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b
Change-Id: I95535adeb45363500b3ed9729bb61cb4308d23b9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.
We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.
Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]
[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328
Change-Id: Ifbca4f0b72663e026a92061c213e728cf755772c
|
| |
| |
| |
| |
| |
| |
| | |
We should use base64.encodebytes instead, which is avaiable since
Python 3.2.
Change-Id: Ic945aff08d00bf2e602964cb1e25ea045e645b17
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pretty straightforward conversion, and remove the old scripts
which are not needed anymore.
Also, even though OS_TENANT_NAME is still exported,
read OS_PROJECT_NAME as first choice.
Depends-On: https://review.opendev.org/746235
Change-Id: I51314da6d6bf0467308f3598fa9e666655e286d0
|
|/
|
|
|
|
|
| |
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I5cf252c1a22977d3c87898e723e5001cc87a0d87
|
|
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I82c745f5b1236844deec4538be84037a64eebeee
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I49bb58e5dc2618ee02424315e4e3bf1057a77068
|
| | |
| | |
| | |
| | | |
Change-Id: Ie6017be8293b36d1aedfb5cce7b76c85a8b95b63
|
| | |
| | |
| | |
| | | |
Change-Id: I4e1dbb55dbc01ebf18ca80aa63ae492a1a8f47ae
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the smaller of the two.
Change-Id: I2a483698209e7c4ba2da074ffd7b9466f17937e2
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Move some stuff around in order to make the later migration easier to
parse.
Change-Id: I1404a5b23fd1852be9d04661c2a0ba12c4bb78ec
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ignore not found when delete stack or stack snapshot in tests.
Story: #1737100
Task: #19354
Change-Id: I6c980b68023b33dc318c5d9506c2cac5866c4924
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
most of our client major function require stack_id. We should
provide more specific information (at lest in function description)
to clearify that it's allowed to feed in stack name to `stack_id`
too. For example, both `heat.stacks.get($Stack_UUID)` and
`heat.stacks.get($Stack_Name)` works.
Change-Id: I4428097140e0391a77679f5c69e00966f249efd7
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I44bbafa95d6eeb3550aac5b480391a3fc7ddaef5
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is to:
1. Add missing print format for "%(hook_type)".
2. Add ws between words in log message "notavailable".
Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SessionClient is subclassed from keystoneauth LegacyJsonAdapter.
LegacyJsonAdapter does not set the Content-Type explicitly
and results in decodeing issues in some cases.
Change-Id: Idf23022b394607c332490331fc4b216de6ff1313
Story: 2005237
Task: 30027
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We don't seem to set the header for region name when using session
client. It's used to look for service endpoints in the catalog.
Change-Id: I10cfdfb88b3f09e4ceb69b1020e82c4eba733804
Story: #2003806
Task: 26550
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
decodestring() is deprecated alias of decodebytes()
https://docs.python.org/3/library/base64.html#base64.decodestring
The same has been done for nova:
https://review.openstack.org/#/c/610401/
Change-Id: Ie069aaaff1646a70f3717fc6f9c7252949c4e5fd
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When an application load heatclient, the default pyyaml behavior change.
This ensures only heatclient use it's custom pyyaml stuffs.
This currently breaks the telemetry gate if the tempest heat plugin is
loaded with the telemetry.
Change-Id: I5d7d1a1999e762f2285a0effc081252570f24de8
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
Change-Id: I815f189258356cb911d1e232b6f53c864e53c602
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | | |
Change-Id: I35b17be14438e6de6fffd0396bab9989ef812a2a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I043f90541c8d2d604f3edb4e7ea082ec8adb4b25
Closes-Bug: #1746669
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch is proposed according to the Direction 10 of doc
migration.
https://etherpad.openstack.org/p/doc-migration-tracking
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: I9675af92149ab126534f541534b50a02688e5337
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When calling stacks.get, mark the returning stacks as loaded, so that
attribute retrieval works right away. If not, any getattr on the Stack
will call get() which will request the stack again (and ignore things
like resolve_outputs).
Change-Id: I3a3f25aa0c6f88e7e4274107c0578fd30dc9f155
Related-Bug: #1774958
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
In Python3, assertRegexpMatches & assertNotRegexpMatches
are deprecated in favor of assertRegex and assertNotRegex
Change-Id: Ied56eda65800d72105ef2e2b683c6ce71cda6c4c
|
|\ \ \ |
|