[openstackclient] python-openstackclient 3.13.0 (queens)
We are chuffed to announce the release of: python-openstackclient 3.13.0: OpenStack Command-line Client This release is part of the queens release series. The source is available from: https://git.openstack.org/cgit/openstack/python-openstackclient Download the package from: https://pypi.python.org/pypi/python-openstackclient Please report issues through launchpad: https://bugs.launchpad.net/python-openstackclient For more details, please see below. 3.13.0 ^^^^^^ New Features ************ * Support for creating, deleting, and listing implied roles has been added. This allows users to create an inference rule between two roles. The first, called the prior role is the role explicitly assigned to an individual. The second, called the implied role, is one that the user is assgined implicitly. Additionally, these rules can be chained, such that an implied role from the first inference rule can be the implied role in the second. Thus one explicitly assigned role can lead to multiple implied roles. "implied role create <role> --implied-role <implied-role>" creates an association between prior and implied roles. "implied role delete <role> --implied-role <implied-role>" removes an association between prior and implied roles. "implied role list" Lists all implied roles that currently exist. * Add "network qos rule type show" command. * Add "server add network" command. This command will create a neutron port from the specified neutron network and attach the port to the specified instance. * Add "server remove network" command. This command will remove all network ports from the specified network and instance. * Add "--use-prefix-delegation" option to the "subnet create" command to specify 'Prefix Delegation' as a subnetpool when creating subnets. [Bug 1513894 (https://bugs.launchpad.net/bugs/1513894)] * Add router interfaces info (as field "interfaces_info") to "router show" command. The information of router interface include port's ID, IP address, the subnet ID it belongs. [Bug 1675489 (https://bugs.launchpad.net/python-openstackclient/+bug/1675489)] * Add "any" as a "--protocol" option to "security group rule create" command. [Bug 1517134 (https://bugs.launchpad.net/bugs/1712242)] * Add "endpoint add project", "endpoint remove project" and "endpoint list" commands to manage endpoint filters in identity v3. Bug Fixes ********* * Add "--image" and "--password" options to the "server rescue" command. [Bug 1703278 (https://bugs.launchpad.net/python- openstackclient/+bug/1703278)] * Fix occurrences of the "network agent delete" command failing with newer releases of python-openstacksdk. [Bug 1711301 (https://bugs.launchpad.net/python-openstackclient/+bug/1711301)] * It is now possible to create a security rule without specifying protocol (using "--protocol any"), which skips sending the protocol to the API server entirely. Previously TCP was forced as default protocol when none was specified. * Fix the "project purge" command to correctly delete only images owned by the specified project ID when run by an administrative user. [Bug 1717130 (https://bugs.launchpad.net/python- openstackclient/+bug/1717130)] * Add "--no-fixed-ip" option to "port create" command. [Bug 1717829 (https://launchpad.net/bugs/1717829)] * Fix an issue with "endpoint list" working slow because it is issuing one GET request to /v3/services/<id> Keystone API for each endpoint. In case of HTTPS keystone endpoint and multiple regions it can take significant amount of time. [Bug 1719413 (https://bugs.launchpad.net /python-openstackclient/+bug/1719413)] * Accept "0" as a valid value in the "image set" "--min-disk" and "-- min-ram" options. .. _bug 1719499: https://bugs.launchpad.net /python-openstackclient/+bug/1719499 * Add "target-all-projects" option in "rbac create" command. [Bug 1728525 (https://bugs.launchpad.net/python- openstackclient/+bug/1728525)] * Remove the type value limit in credentials when do create, reset or list. Now 'totp' method is supported in keystone project and we could create credentials with 'totp' type. [Bug 1731848 (https://bugs.launchpad.net/bugs/1731848)] * Fix the operation of the "--changes-since" option to the "server list" command. [Bug 1732216 (https://bugs.launchpad.net/python- openstackclient/+bug/1732216)] * Remove the client-side check for valid "--policy" values in the "server group create" command. Specify "--os-compute-api-version 2.15" or higher for the "soft-affinity" or "soft-anti-affinity" policy. [Bug 1732938 (https://bugs.launchpad.net/python- openstackclient/+bug/1732938)] * "openstack subnet create" failed with a NoneType exception when there were no tags. [Bug 1735836 (https://bugs.launchpad.net/python- openstackclient/+bug/1735836)] * Add support to set "--icmp-type" and "--icmp-code" to 0 in the "security group rule" command. [Bug 1703704 (https://bugs.launchpad.net/python-openstackclient/+bug/1703704)] Changes in python-openstackclient 3.12.0..3.13.0 ------------------------------------------------ 1165262 Send 'changes-since' instead of 'changes_since' query parameter 1d914dd Fix SDK Connection creation alternative to Profile 0bf69a9 Remove -U from pip install dab49df openstack subnet create fails when tags is None 8b32b53 Avoid tox_install.sh for constraints support 01d3b42 Make py27 and py35 versions and template of unit-tips jobs b061b9c Add cliff and keystoneauth to tips jobs 2c2c16b Remove a bunch of things we promised to remove in 2H 2017 3a672ea Release note cleanup c778c7d Set correct designate endpoint in docs 5176951 Make osc-tox-unit-tips work on other repos 4cff01a Updated from global requirements cc52022 Fix file mode on network-topology.rst 12ee186 Add support for endpoing filter commands d0917cd Remove hard-coded policy choices for creating a server group 0f749ca Fix credentials in create, update and list. d7f906b Remove setting of version/release from releasenotes 7d85eca Prepare for os-clinet-config to go away 80da4d6 Add logic to handle old and new sdk constructor c0f910d Updated from global requirements e7ef9e8 Network: Add interfaces info in router show aafbb69 Updated from global requirements 8b31e2b Show detailed message of neutron exception 8093558 Add RemoveNetwork command to server 7ef2867 Replace %r with %s on printing string variable 4742d4d Updated from global requirements 6c8e517 Neutron agent delete: remove the wrong argument 07f0c7a Display Network QoS rule type details 9ca99b9 Network: Add supports rbac target-all-projects 7744046 Updated from global requirements a4d56e6 Rehome test units lib b7388dc Zuul: add file extension to playbook path 5b034ef Add python-rsdclient into plugin list 40976f0 Add server rescue unit tests 90230c3 Zuul job updates fd23ebf Add missing parameters on openstack server rescue e3ad821 Added AddNetwork command to server 21212ca Convert 'server' commands to use autoprogram 6761595 Native DevStack jobs ef595fc Add wrapper around ostestr 4464109 Accept 0 for --min-disk and --min-ram 161c79f Move more jobs in-repo c901620 Attempt to de-race qos policy 82f45d9 Allow creating security rules without protocol 4733621 Move base functional test job in-repo 358544d Switch to $USER in post_test_hooks 885b114 Avoid default mutable values in arguments 599fa78 Be robust on import plugin module 0d94a76 auto-generate docs for v3 identity resources a87bd58 Updated from global requirements de23ab8 Support creating unaddress neutron port f6f5ce0 Optimize getting endpoint list 221b705 Support icmp-type and icmp-code to be set as zero 254dbf3 Fix 'project purge' deletes ALL images problem 41352cb Update the documentation link for doc migration 953d74b Updated from global requirements 844623c Add "volume service list --host" functional test case edebe55 Add functional test cases for "volume qos associate/disassociate" 59bba7c Unroll the network qos policy functional tests e785570 Add python-zunclient plugin 949e0cb Attempt to work around chronically failing server issues with aggregates and qos 12552ce Fix subunit collection in functional tests with ostestr>=1.0.0 7274e8e Updates for stestr c7671dd Updated from global requirements 95378bb Updated from global requirements 760e91a Correct import of keystoneauth1 session ce46820 Skip Volume v1 functional tests if v1 not present 104d6d0 Fix output for subnet show 61025bf Useless line of code in shell.py 8f4440a Updated from global requirements de2af66 Updated from global requirements ff91e26 Update image cli doc and fix some typos e625876 Updated from global requirements c1404f1 Convert remaining network functional tests to JSON fe8a50b Convert network qos functional tests to JSON 95e2791 Convert network security group functional tests to JSON d33ab49 Fix "openstack image unset" command's help message typo ff85c62 flake8-import-order: Ensure to place project imports last 8cd3e25 Implied Roles 05c66f5 Updated from global requirements 4d7b4ef auto-generate object docs 0e20212 Revert "Disable karborclient until a fixed version is released" f3bbf52 Use flake8-import-order plugin 04ef8a4 Allow PD as Subnetpool during Subnet creations 53bea90 Imported Translations from Zanata b30f0f3 Convert network segment functional tests to JSON 88b31fc Update release/stable branch table in docs 48c7405 Update reno for stable/pike fd7b4f4 Add .htaccess for docs migration a1af343 Add new commands for karbor osc plugin a709c15 Updated from global requirements bd079e5 Replace guildelines with guidelines 6fdce13 Updated from global requirements 25e6c31 Updated from global requirements d25f68f Updated from global requirements 198a486 network functest: Remove condition for segment test 1134249 Use instance variables for subnet tests 022fdb1 Skip object-store functional tests when Swift is not available 37998ad Update the documentation link for doc migration a98d369 Use *_as_ids instead *_as_list Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + .stestr.conf | 4 + .zuul.yaml | 211 + HACKING.rst | 2 +- README.rst | 10 +- .../cli/command-objects/federation-protocol.rst | 116 +- .../cli/command-objects/identity-provider.rst | 137 +- .../cli/command-objects/network-qos-rule-type.rst | 15 + .../cli/command-objects/object-store-account.rst | 46 +- .../cli/command-objects/service-provider.rst | 135 +- openstackclient/api/auth.py | 28 - openstackclient/common/clientmanager.py | 12 +- openstackclient/common/command.py | 29 - openstackclient/common/exceptions.py | 28 - openstackclient/common/logs.py | 29 - openstackclient/common/parseractions.py | 28 - openstackclient/common/project_purge.py | 9 +- openstackclient/common/session.py | 50 - openstackclient/common/timing.py | 28 - openstackclient/common/utils.py | 28 - openstackclient/compute/v2/server.py | 110 +- openstackclient/compute/v2/server_event.py | 2 +- openstackclient/compute/v2/server_group.py | 5 +- openstackclient/identity/common.py | 10 + openstackclient/identity/v3/credential.py | 9 +- openstackclient/identity/v3/endpoint.py | 146 +- openstackclient/identity/v3/implied_role.py | 129 + openstackclient/identity/v3/project.py | 11 +- openstackclient/image/v1/image.py | 6 +- openstackclient/image/v2/image.py | 10 +- .../locale/de/LC_MESSAGES/openstackclient.po | 541 -- .../locale/tr_TR/LC_MESSAGES/openstackclient.po | 6805 ++++++++++++++++++++ .../locale/zh_TW/LC_MESSAGES/openstackclient.po | 423 -- openstackclient/network/client.py | 32 +- openstackclient/network/common.py | 2 + openstackclient/network/sdk_utils.py | 3 +- openstackclient/network/v2/_tag.py | 4 +- openstackclient/network/v2/network_agent.py | 3 +- .../network/v2/network_qos_rule_type.py | 31 + openstackclient/network/v2/network_rbac.py | 23 +- openstackclient/network/v2/port.py | 10 +- openstackclient/network/v2/router.py | 21 +- openstackclient/network/v2/security_group_rule.py | 12 +- openstackclient/network/v2/subnet.py | 9 +- openstackclient/shell.py | 3 - .../identity/v3/test_service_provider.py | 3 +- .../network/v2/test_network_qos_policy.py | 106 +- .../functional/network/v2/test_network_qos_rule.py | 339 +- .../network/v2/test_network_qos_rule_type.py | 14 +- .../functional/network/v2/test_network_rbac.py | 85 +- .../functional/network/v2/test_network_segment.py | 154 +- .../network/v2/test_network_service_provider.py | 9 +- .../functional/network/v2/test_security_group.py | 70 +- .../network/v2/test_security_group_rule.py | 88 +- .../unit/identity/v2_0/test_role_assignment.py | 2 +- .../unit/identity/v3/test_identity_provider.py | 1 + .../unit/network/v2/test_network_qos_rule_type.py | 55 + .../network/v2/test_security_group_rule_network.py | 200 + playbooks/osc-devstack/post.yaml | 4 + playbooks/osc-devstack/pre.yaml | 8 + playbooks/osc-devstack/run.yaml | 3 + .../notes/add-implied-role-0cdafb131fbd7453.yaml | 16 + ...etwork-qos-rule-type-show-57a714a1d428726e.yaml | 4 + .../add-server-add-network-98ede8ff6079eb23.yaml | 6 + ...add-server-remove-network-fb09c53d5b0c0068.yaml | 5 + .../notes/bug-1513894-6d2f05db6e1df744.yaml | 6 + .../notes/bug-1675489-a1d226f2ee911420.yaml | 6 + .../notes/bug-1703278-5e45a92e43552dec.yaml | 5 + .../notes/bug-1711301-472b577f074edd43.yaml | 6 + .../notes/bug-1712242-934bbe2f2378f5bd.yaml | 12 + .../notes/bug-1717130-029211b60f74b4c4.yaml | 6 + .../notes/bug-1717829-c1de1d777d3abaf9.yaml | 5 + .../notes/bug-1719413-0401d05c91cc9094.yaml | 8 + .../notes/bug-1719499-d67d80b0da0bc30a.yaml | 5 + .../notes/bug-1728525-2c40f0c19adbd0e8.yaml | 5 + .../notes/bug-1731848-71d0a5fdb1a34a8b.yaml | 7 + .../notes/bug-1732216-b41bfedebff911e1.yaml | 5 + .../notes/bug-1732938-e4d91732ef777f9a.yaml | 7 + .../notes/bug-1735836-9be6d777a6e6410b.yaml | 6 + .../keystone-endpoint-filter-e930a7b72276fa2c.yaml | 5 + ...pport-icmp-type-code-zero-cbef0a36db2b8123.yaml | 5 + releasenotes/source/conf.py | 13 +- releasenotes/source/index.rst | 2 + releasenotes/source/pike.rst | 6 + requirements.txt | 18 +- setup.cfg | 13 +- test-requirements.txt | 31 +- tools/tox_install.sh | 55 - tox.ini | 38 +- 186 files changed, 10078 insertions(+), 3819 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 24e4672..9299891 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -six>=1.9.0 # MIT +six>=1.10.0 # MIT @@ -8,3 +8,3 @@ Babel!=2.4.0,>=2.3.4 # BSD -cliff>=2.8.0 # Apache-2.0 -keystoneauth1>=3.0.1 # Apache-2.0 -openstacksdk>=0.9.17 # Apache-2.0 +cliff!=2.9.0,>=2.8.0 # Apache-2.0 +keystoneauth1>=3.2.0 # Apache-2.0 +openstacksdk>=0.9.19 # Apache-2.0 @@ -12,3 +12,3 @@ osc-lib>=1.7.0 # Apache-2.0 -oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0 -oslo.utils>=3.20.0 # Apache-2.0 -python-glanceclient>=2.7.0 # Apache-2.0 +oslo.i18n>=3.15.3 # Apache-2.0 +oslo.utils>=3.31.0 # Apache-2.0 +python-glanceclient>=2.8.0 # Apache-2.0 @@ -16,2 +16,2 @@ python-keystoneclient>=3.8.0 # Apache-2.0 -python-novaclient>=9.0.0 # Apache-2.0 -python-cinderclient>=3.0.0 # Apache-2.0 +python-novaclient>=9.1.0 # Apache-2.0 +python-cinderclient>=3.2.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index e384861..fcd7bc7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,2 +8,3 @@ fixtures>=3.0.0 # Apache-2.0/BSD -mock>=2.0 # BSD -openstackdocstheme>=1.11.0 # Apache-2.0 +flake8-import-order==0.13 # LGPLv3 +mock>=2.0.0 # BSD +openstackdocstheme>=1.17.0 # Apache-2.0 @@ -11 +12 @@ oslotest>=1.10.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 @@ -13 +14 @@ requests>=2.14.2 # Apache-2.0 -requests-mock>=1.1 # Apache-2.0 +requests-mock>=1.1.0 # Apache-2.0 @@ -17 +18 @@ os-client-config>=1.28.0 # Apache-2.0 -os-testr>=0.8.0 # Apache-2.0 +os-testr>=1.0.0 # Apache-2.0 @@ -19,2 +20,2 @@ testrepository>=0.0.18 # Apache-2.0/BSD -testtools>=1.4.0 # MIT -tempest>=16.1.0 # Apache-2.0 +testtools>=2.2.0 # MIT +tempest>=17.1.0 # Apache-2.0 @@ -26,3 +27,3 @@ wrapt>=1.7.0 # BSD License -aodhclient>=0.7.0 # Apache-2.0 -gnocchiclient>=2.7.0 # Apache-2.0 -python-barbicanclient>=4.0.0 # Apache-2.0 +aodhclient>=0.9.0 # Apache-2.0 +gnocchiclient>=3.3.1 # Apache-2.0 +python-barbicanclient!=4.5.0,!=4.5.1,>=4.0.0 # Apache-2.0 @@ -30,2 +31,2 @@ python-congressclient<2000,>=1.3.0 # Apache-2.0 -python-designateclient>=1.5.0 # Apache-2.0 -python-heatclient>=1.6.1 # Apache-2.0 +python-designateclient>=2.7.0 # Apache-2.0 +python-heatclient>=1.10.0 # Apache-2.0 @@ -34 +35 @@ python-ironic-inspector-client>=1.5.0 # Apache-2.0 -python-karborclient>=0.2.0 # Apache-2.0 +python-karborclient>=0.6.0 # Apache-2.0 @@ -39 +40,2 @@ python-octaviaclient>=1.0.0 # Apache-2.0 -python-saharaclient>=1.1.0 # Apache-2.0 +python-rsdclient>=0.1.0 # Apache-2.0 +python-saharaclient>=1.4.0 # Apache-2.0 @@ -43,0 +46 @@ python-zaqarclient>=1.0.0 # Apache-2.0 +python-zunclient>=0.2.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org