summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Deprecate cells v1 and extension commands and APIs"Zuul2019-07-158-13/+109
|\
| * Deprecate cells v1 and extension commands and APIsTakashi NATSUME2019-07-108-13/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API extension has been deprecated since 12.0.0 Liberty release (*1) and the cells v1 has been deprecated since 16.0.0 Pike release (*2) in the nova side. The API extension has already been removed (merged into main controllers and schema) since 19.0.0 Stein release (*3) and the cells v1 APIs has already been removed since Iddb519008515f591cf1d884872a5887afbe766f2. In the python-novaclient side, deprecate commands and API bindings related to the API extension and the cells v1 at first. Then the CLIs and API bindings will be removed in the first major release after Nova 20.0.0 Train is released. *1: I084444b11dceda7cf8f88c157aa67d36490fce49 *2: I1a173f7ce0715e684850e030c358e8175fa8724c *3: https://review.opendev.org/#/q/topic:bp/api-extensions-merge-stein Change-Id: I8dc4df95ac7f6974c5280e4107e449d04cd1402e Closes-Bug: #1835699
* | Merge "Remove deprecated methods and properties"Zuul2019-07-155-115/+27
|\ \
| * | Remove deprecated methods and propertiesTakashi NATSUME2019-07-045-115/+27
| |/ | | | | | | | | | | Remove deprecated methods, properties and unused classes. Change-Id: I16e0b6e55a9c9da04c4582f9be672018d37bf368
* | Merge "Add host and hypervisor_hostname to create servers"14.2.0Zuul2019-07-127-4/+242
|\ \
| * | Add host and hypervisor_hostname to create serverszhu.boxiang2019-07-087-4/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the --host and --hypervisor-hostname options to the nova boot command and related python API bindings. Depends-On: https://review.opendev.org/#/c/645520/ Change-Id: If16d00b75f4d5f2b96aa6e3f32a973108049d928 Blueprint: add-host-and-hypervisor-hostname-flag-to-create-server
* | | Merge "Add irrelevant files in dsvm job again"Zuul2019-07-101-0/+4
|\ \ \ | |_|/ |/| |
| * | Add irrelevant files in dsvm job againTakashi NATSUME2019-06-301-0/+4
| |/ | | | | | | | | Change-Id: I0338ea22cce6435cfebfabc117f4613d0b4de33d Closes-Bug: #1833338
* | Merge "Modify the url of upper_constraints_file"Zuul2019-07-031-4/+4
|\ \
| * | Modify the url of upper_constraints_file翟小君2019-07-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | As described at [1]. [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I76c9f982ff6cf46db25f626575257af483e3434e
* | | Merge "Add Python 3 Train unit tests"Zuul2019-07-023-3/+3
|\ \ \
| * | | Add Python 3 Train unit testspengyuesheng2019-07-023-3/+3
| | |/ | |/| | | | | | | | | | | | | | | | See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I691d7994070012af62d20d15809b7c4f143909a8
* | | Blacklist sphinx 2.1.0 (autodoc bug)pengyuesheng2019-07-011-1/+1
|/ / | | | | | | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details Depend-On: https://review.opendev.org/#/c/663060/ Change-Id: I3594f05a2eb189395d4b691c47e1e0764fa0fe44
* | Revert "Add irrelevant files in dsvm job"Matt Riedemann2019-06-241-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 52ae954bd09bbb1536bc03b0be334d02e66fe93c. The change ignored way too many things that should be run through the functional dsvm job, such as changes to the functional tests themselves, requirements, setup.cfg and tox.ini changes. The bug was about not running the dsvm functional job on docs changes and then went much further and clearly not much thought was put into what was being ignored and if it should have been, so let's just revert and have a do-over. Change-Id: Ie78badfeed7e51f1786eb5041010c7d17b02e412
* | Add irrelevant files in dsvm jobTakashi NATSUME2019-06-191-0/+9
| | | | | | | | | | Change-Id: I25235eae93d2be6c83fbe9676304a03cfe187865 Closes-Bug: #1833338
* | Fix duplicate object description errorTakashi NATSUME2019-06-191-0/+1
|/ | | | | | | | Add a directive option flag :noindex: in reference/api/index.rst. Change-Id: Ifa5cf9820be29f498c218105272837cac50cb643 Closes-Bug: #1833327
* Merge "Blacklist python-cinderclient 4.0.0"Zuul2019-06-051-1/+1
|\
| * Blacklist python-cinderclient 4.0.0翟小君2019-06-041-1/+1
| | | | | | | | | | | | | | | | This release of the Cinder client broke support for the v3 volume-transfer APIs unless microversion 3.55 or higher was requested. Depends-On https://review.opendev.org/#/c/587877/ Change-Id: I917b0a47896fcac3edab4b8e55bde71a0aa55632
* | Bump openstackdocstheme to 1.30.0翟小君2019-06-041-1/+1
|/ | | | | | ...to pick up many improvements, including the return of table borders. Change-Id: I59c62ad129462c94bc4cc815101fb31ff062d2e3
* Merge "Add a description of --on-shared-storage"Zuul2019-05-281-1/+5
|\
| * Add a description of --on-shared-storageTakashi NATSUME2019-05-271-1/+5
| | | | | | | | | | | | | | | | Add a description of --on-shared-storage option in the 'nova evacuate' command in the CLI reference. Change-Id: I4069b804b434b70ee6d0098831af748e47913ce3 Closes-Bug: #1829932
* | Merge "Allow searching for hypervisors and getting back details"14.1.0Zuul2019-05-274-3/+56
|\ \ | |/ |/|
| * Allow searching for hypervisors and getting back detailsMatt Riedemann2019-05-184-3/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The 2.53 microversion allows listing hypervisors with details and filtering on a hypervisor_hostname substring pattern match. This makes the python API binding HypervisorManager.search method allow that as well by adding a new 'detailed' boolean kwarg which defaults to False for backward compatibility for the /search and /servers routes before 2.53, but allows searching and getting detailed results back as well. Change-Id: I81fa4520af3cc7f1298c262f4fdc4e15fbc6d7ba
* | Merge "Set the lower limit of api_version for volume_type"Zuul2019-05-232-1/+29
|\ \
| * | Set the lower limit of api_version for volume_typezhangbailin2019-05-232-1/+29
| |/ | | | | | | | | | | | | | | | | | | | | In boot server API, the volume_type is supported by microversion 2.67. Therefore, the lower limit of the volume_type should be added to the CLI command, otherwise an exception will occur. Co-Authored-By: Eric Xie <eric_xiett@163.com> Closes-Bug: #1829854 Change-Id: Ie909c16568b017ca0acc802194140da7bece76c5
* | Merge "Allow passing negative values for the locked search_opt in ↵Zuul2019-05-232-2/+24
|\ \ | |/ |/| | | cs.servers.list"
| * Allow passing negative values for the locked search_opt in cs.servers.listSurya Seetharaman2019-05-222-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for novaclient to pass the "locked" search_opts with a "False" value upto the server side. This is required for the OSC change[1] to support the "unlocked" filter parameter. [1] https://review.opendev.org/#/c/659124/ Related to blueprint add-locked-reason Change-Id: I0907f4ad2decb308c9db8b0cf9e7962bf1b517b5
* | Merge "Optimize limit option docs string description for novaclient"Zuul2019-05-178-2/+31
|\ \
| * | Optimize limit option docs string description for novaclientchenke2019-05-178-2/+31
| | | | | | | | | | | | Change-Id: I85ee36b0447869771782d1059957a46447940b59
* | | Cap sphinx for py2 and drop keyring dependency14.0.0zhangbailin2019-05-153-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sphinx 2.0.0 dropped Python 2.7 support. This is aligned with [1] in requirements project. [1]Change-Id If558f184c959e4b63b56dec3ca1571d1034cfe5c keyring is also removed since it hasn't been used since change I62188e73a48f6878ce920a3b4724dba101564aef. Change-Id: Ib632c327637ba1161a8c07605fd3ef327f5606ee
* | | Merge "[Docs] Update client docs to add reason and locked options"Zuul2019-05-142-2/+19
|\ \ \ | | |/ | |/|
| * | [Docs] Update client docs to add reason and locked optionsSurya Seetharaman2019-05-142-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds information about the ``locked`` filter/sorting key and the ``reason`` options that were added in https://review.opendev.org/#/c/648659/. Related to blueprint add-locked-reason Change-Id: I11cc4bd7cee0f03d4398f91bb3790c4c681061f4
* | | Merge "Microversion 2.73: Support adding the reason behind a server lock"Zuul2019-05-138-3/+135
|\ \ \ | |/ /
| * | Microversion 2.73: Support adding the reason behind a server lockSurya Seetharaman2019-05-138-3/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new parameter ``--reason`` to ``nova lock`` command and ``--locked`` filtering/sorting parameter to ``nova list`` command. This can help users to provide a reason when locking the server and to filter/sort instances based on their locked or value from 2.73 microversion. Implements blueprint add-locked-reason Depends-On: https://review.opendev.org/#/c/648662/ Change-Id: I438e6db2dd5000ba388d0a0f1c8ab74b96b47a71
* | | Merge "Tiny fix of documentation"Zuul2019-05-131-1/+1
|\ \ \
| * | | Tiny fix of documentationchenxing2019-05-071-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ida6e6ec6919e4c2303200ff66fdc0a094c7d90d1
* | | | Use SHA256 instead of MD5 in completion cacheArtom Lifshitz2019-05-091-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FIPS 140 are U.S. government computer security standards that specify requirements for cryptography modules. MD5 is not FIPS compliant [1]. Previously, MD5 was used as the hash algorithm for the bash completion cache. Hosts running in FIPS mode [2] block execution of the MD5 hash. This makes python-novaclient unusable on FIPS-enabled machines. This patch replaces MD5 with SHA256, which is FIPS compliant. [1] https://csrc.nist.gov/projects/hash-functions [2] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/chap-federal_standards_and_regulations Change-Id: Ia8750bc27aa9a2cfafb6f4f49252f5bd81bc1a40
* | | Merge "Drop py35 tests"Zuul2019-04-264-10/+7
|\ \ \ | |/ / |/| |
| * | Drop py35 testszhangyangyang2019-04-224-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop py35 tests because all the integration testing has been moved to Bionic. See the following URL for more details. http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp> Change-Id: Ied64e92d5833ed11e1213c42994cfebeaa2ace6a Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
* | | Updates for OpenDev transitionTakashi NATSUME2019-04-238-13/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Replace 'git.openstack.org' with 'opendev.org' in contributor/index.rst. Update URLs in other places as well though there are redirects. See the following URLs for more details: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Change-Id: Ifb9f4274d2fd0fa81e7501fe176eeead3acd0e3e
* | OpenDev Migration PatchOpenDev Sysadmins2019-04-193-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* | Add test for console-log and docs for bug 1746534Matt Riedemann2019-04-112-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had no unit test coverage for the console-log command so this adds a simple test. It unfortunately does not recreate the original UnicodeEncodeError bug though, but it gives us some test coverage anyway. This change also adds docs on how to resolve bug 1746534 by configuring the environment for UTF-8 as noted in the revert change Iaeec1e74262a35f3de3c81f7013835a6aa6f9029. The documentation added here is shamelessly copied from Click [1] which was found via the PEP 538 docs [2]. [1] https://click.palletsprojects.com/en/5.x/python3/#python-3-surrogate-handling [2] https://www.python.org/dev/peps/pep-0538/ Change-Id: Ic7059260dfc031ea1b08d2b8a7cec684bbe7dfa5 Related-Bug: #1823287 Related-Bug: #1746534
* | Revert "Fix crashing console-log"Stephen Finucane2019-04-051-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d272d6f3df2610a62f81e2ca26798ea8a6674b06. This worked around a misconfigured environment by forcing stdout to use UTF-8. This is kind of a hack and it only works in Python 2, breaking Python 3 [1]. The correct solution to this issue and all Python 2 unicode print issues is to correctly configuring LC_ALL to use a UTF-8 locale. [1] https://stackoverflow.com/q/4374455 Change-Id: Iaeec1e74262a35f3de3c81f7013835a6aa6f9029 Closes-Bug: #1823287
* | Replace openstack.org git:// URLs with https://Ian Wienand2019-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I6423995b71d918efe9af67d293effabdd531d72c
* | Remove deprecated optionsTakashi NATSUME2019-03-214-37/+11
| | | | | | | | | | | | | | | | | | Remove the following deprecated options. * --endpoint-override * --instance-name ('nova list' command) Change-Id: Ic6a78f04a98c1616750e6ecd6225f2750c214dd7
* | Update master for stable/steinOpenStack Release Bot2019-03-182-0/+7
|/ | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: I9c0b81a3ef8c1604128c0dd55ba0c39a070e90e5 Sem-Ver: feature
* Add support for microversion v2.7213.0.0Lajos Katona2019-03-065-1/+20
| | | | | | | | | | | | | This microversion in Nova is added to support Neutron ports having resource request during server create to guarantee minimum bandwidth QoS. This is a behavior-only change in the compute API, there are no changes to the server create request or response schema. Change-Id: I1a39390015acd8703e8bab55af13f5c75ae226db Depends-On: https://review.openstack.org/636360 Partial-Bug: #1578989 See-Also: https://review.openstack.org/502306 (nova spec) See-Also: https://review.openstack.org/508149 (neutron spec)
* Microversion 2.71 - show server groupTakashi NATSUME2019-03-044-3/+67
| | | | | | | | | | | | | | | | | | Add support microversion 2.71 which adds server group information in the output of the following commands. * nova show * nova rebuild The 'nova update' command does not output its result when it is successful. So there is no change for the command. The patch for microversion 2.71 in the nova side is I4a2a584df56ece7beb8b12c0ce9b0e6b30237120. Change-Id: Id324486b5ef32615881085cd46772aa55c245ac6 Implements: blueprint show-server-group
* Remove unnecessary if statementTakashi NATSUME2019-03-011-4/+4
| | | | | | | | | | | | The interface_list method of the novaclient.v2.server.Server class always returns an object of the novaclient.base.ListWithMeta class which is a sub class of list. So 'if' statement that check whether it is an instance of list is not necessary when printing the return value of the method. Change-Id: I5dc5bfc6a783bb59c3aec2cce626bb00de633754
* Merge "Add support for microversion 2.70 - expose device tags"Zuul2019-02-285-22/+96
|\