As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: Ida165cbd294fe623772723cec5170e7069b60089
* Listing roles was failing due to a mismatch in returned data
and how it was being processed. Removed role id lookup for now,
so output only shows role names.
* Delete required json data, and this argument was missing.
Change-Id: I7b4ca739ae03443c0b2a885872f4b557a9998efb
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I56e1aa8da51b510db8a7845da98c39533feb8e90
* Replace .testr.conf by .stestr.conf for migration and update
.gitignore and test-requirements.txt file accordingly
* Use py3 as the default runtime for tox and 3.18.0 as the
minversion for tox, replace whitelist_externals
by allowlist_externals
Change-Id: I7747c4ce8d95ce94e0750a3f964f0264fe491fce
This repo still runs noop jobs. Need to update to actually run the
expected set of tests.
Change-Id: I9da7a30c6b942f736ccba00a6f0d65311fd8ecc4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I5ef5b684f4c666e6d9f1168477f5b6c7799e9850
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- This repo has no docs, remove releasenotes and docs building
infrastructure
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Remove Babel from requirements, it's not needed for running.
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
- Update to hacking 3.0, fix problems found
Change-Id: I9133baec6cb123440f34b8c4b31001cfe875919e
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: I9cf36db9e18d02238ebbfa6962f0ac76d694a43a
OpenStack is dropping the py2.7 support in ussuri cycle except
swift and sorlets which is exception approved in this goal.
Somehow this repo is left to remove the support of py2.7.
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: I0b8a896ce64a4b31c11444a2af45ae503ad089f1
old py3 issues on print, and some bad logic handling for canceling
a user invite when using the user (task) id.
Change-Id: Icf8de9483da4c43521d8837939dbc5c9847c1b5e
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I93adb1f95f751f7db6b6aa01ceeeb329035c2676
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Update README to use the session client
* If someone passes in username/password constructor it will
create the session and then return the session client
Change-Id: I6281bbaef18d21ac96999a4bf8a7dbf8a9b0bf52
openstack project quota show
- Shows overview of current quotas for all region
openstack project quota show --region REGIONNAME
- Shows details for specified region
openstack project quota tasks
- lists completed and in progress quota updates
openstack project quota sizes
- Shows details of sizes for quotas
openstack project quota update <size> --regions regionOne regionTwo
- Submits a quota update request for the specified sizes
- If regions are not specifed will default to all regions
stacktask quota - returns data from the get request, including all
quota sizes and the current quota values for all of the regions
stacktask quota --regions <RegionName> - returns data from the quota
get request but only returns quota data specific to the region
Change-Id: I506befd7749100ebf8b8cc2c11f444f067e200d3
* this fixes a regression caused by updating some code based on
changes in similar upstream clients.
Change-Id: I98be962cb0dcb2a0e5a04c3def88643db6d30bc0
* Renaming from StackTask to Adjutant.
* Cull unused or old elements of code originally
from heatclient.
* Remove old cli as deprecation is redundant with the
rename as well. Rename is now a blank slate for the cli
and the cli is entirely OSC based.
Change-Id: Ic548bdd0f5dadfe537ffe5e1eed7725358c13fce
All commands now available under the core openstack command and
deprecation warnings have been added to the older shell client.
Change-Id: If7b6a382a2a842a8c5085c944063544d01d58c1d
* Unauthenticated requests to sign-up require --bypass-url as we can not
use Openstack service catalog.
Change-Id: I1545e620e148bfffee46324bff9467f0cd6b6593
Client now doesn't sort by default and instead expects
sorting to come from the server.
Json formatting has been improved to correctly wrap for
long lines.
Added json formatter for newly added 'approved_by' field.
This will still work for older deployments without the
approved_by field.
Change-Id: I18adcccc36c9f71af8d4c90aacafdb5793e4999e
Also renaming OS_AUTH_TOKEN to OS_TOKEN
to be more consistent with OpenStackClient.
Minor formatting changes.
Added 'env/' to gitignore.
Change-Id: I2ef4e6920b75b0abe79c7fe3e1ac06d8230001e3
* Create a common helper function.
* Both specialised password and generic submit now use this.
* Provide more useful information for badly formatted json to token_submit.
* Added exception support for stacktasks' errors list.
Change-Id: Id6fd38ae79226aa9da2af3301f320129122eb2b3
* new function for cleaning up expired tokens
* new function to cancel a task directly
* lots of clean up
* reworked some functions to work with more than one item
Change-Id: I21683af24410c7a602c2d5a7fb93f7cbc1f605e5