summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Modify useful links to project resources in READMEMark Goddard2018-09-281-2/+2
| | | | | | | | | | | | | | | | | | Follows on from discussion in Ibd62c7bfc5ff77a16690cfa98f7164906a49abad. Change-Id: I91bc5cb0f3c69be5686e59fd8bb5b74d7d0ae6dc
* | | Fix a typo in the docstringmelissaml2018-10-051-1/+1
| | | | | | | | | | | | Change-Id: Ifc1891ada442b2046a3e967fc26104b4b5a77b8f
* | | Merge "Minor fixes to README.rst"Zuul2018-10-011-16/+17
|\ \ \ | |/ /
| * | Minor fixes to README.rstDmitry Tantsur2018-09-271-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Correct the title of README.rst (currently it's titled "Team and repository tags", which is obviously not the project name). * Move useful links to the top, so that they're easier to find (especially the link to the full documentation). * Link to api-ref instead of rarely updated wiki page when referring to the bare metal API. Change-Id: Ibd62c7bfc5ff77a16690cfa98f7164906a49abad
* | | Merge "fix typo"Zuul2018-09-271-1/+1
|\ \ \
| * | | fix typowu.chunyang2018-08-211-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ica22437497cd66c45c2439c02e747b3debc13378
* | | | Use templates for cover and lower-constraintsAndreas Jaeger2018-09-221-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small cleanups: * Use openstack-tox-cover template, this runs the cover job in the check queue only. Remove individual cover jobs. * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: I75bf468d7e59282377bd78f4d236f07e3c9c596f
* | | | Replace assertRaisesRegexp with assertRaisesRegexChuck Short2018-08-271-4/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | This replaces the deprecated (in python 3.2) unittest.TestCase method assertRaisesRegexp() with assertRaisesRegex(). Change-Id: Ibedff0f77b8f08fa30406586449b166e210409ce Signed-off-by: Chuck Short <chucks@redhat.com>
* | | add python 3.6 unit test jobDoug Hellmann2018-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I056b730d863c252943749bf43b63e9350ddde2d1 Story: #2002586 Task: #24302
* | | switch documentation job to new PTIDoug Hellmann2018-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I3f96bc846b8efccb115c24a7d27a1c89718f686e Story: #2002586 Task: #24302
* | | import zuul job settings from project-configDoug Hellmann2018-08-161-0/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ibb852ed4750f39d00ecaa5e69b73196fa287f412 Story: #2002586 Task: #24302
* | Update reno for stable/rockyOpenStack Release Bot2018-07-252-0/+7
|/ | | | Change-Id: I9d716016b4aca6eae82d0d80c4bfc27c1b31e080
* Add support for conductor groups2.5.0Dmitry Tantsur2018-07-238-90/+186
| | | | | | | | | | Implements support for conductor groups when creating, updating and listing nodes. Refactored some CLI code to avoid excessive copy-paste. Change-Id: I16559bc3bb6dcbac996c768aa4514676cf4a98a8 Depends-On: https://review.openstack.org/#/c/581391/ Story: #2001795 Task: #23117
* Add support for reset_interfaces in node's PATCHDmitry Tantsur2018-07-178-19/+109
| | | | | | | Change-Id: I52ee891d6549827d9a055f23d475fe42f422c4d2 Depends-On: https://review.openstack.org/582951 Story: #2002868 Task: #22822
* Support resetting interfaces to their default valuesDmitry Tantsur2018-07-173-126/+166
| | | | | | | | | | | | | This change extends the 'baremetal node set' command with a new family of arguments --reset-XXX-interface. They reset the XXX_interface field to its calculated default. This feature is primarily needed to make changing hardware types simpler, but is also useful on its own. Refactored the set command code to avoid excessive copy-paste. Change-Id: I7be88975cea4cae33e84c2b69e3a0cc4fb04ba22 Story: #2002868 Task: #22821
* Merge "Support node's deploy_step field"Zuul2018-07-168-3/+19
|\
| * Support node's deploy_step fieldRuby Loo2018-07-118-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | Adds support for a node's ``deploy_step`` (read-only) field. The deploy step indicates which step is being performed during the deployment/provisioning of a node. It is available starting with Bare Metal API version 1.44. Depends-On: https://review.openstack.org/#/c/579968/ Change-Id: I93ac628bca0822a9a359926389543f7db7fb3e56 Story: #1753128 Task: #22925
* | Merge "Fix lower-constraints.txt"Zuul2018-07-141-1/+1
|\ \
| * | Fix lower-constraints.txtTuan Do Anh2018-07-111-1/+1
| |/ | | | | | | | | | | | | | | During the change https://review.openstack.org/#/c/573216/ neutron-vpnaas lower-constraints.txt looks out-of-date. This commit fixes lower-constraints.txt. Change-Id: I0794ebad32db4219f179553cd9f05fb3a037c889
* | Merge "Remove testrepository"Zuul2018-07-132-2/+0
|\ \
| * | Remove testrepositoryVu Cong Tuan2018-07-112-2/+0
| |/ | | | | | | | | | | | | | | | | | | | | This commit is a follow-up of "switch to using stestr" which was merged already [1]. After switch to using stestr, testrepository is unnecessary and should be removed. [1] https://review.openstack.org/571721 Change-Id: I40eb85cae6027fe188264807212d41d9737f7452
* | Trivial fix typo of descriptionTuan Do Anh2018-07-101-1/+1
|/ | | | | | Corrected the typo of description in http.py Change-Id: Iac0dd3fa636c82bb6522f6c8351123f0e6aff13c
* Merge "Allow to use none auth in functional tests"2.4.0Zuul2018-06-182-12/+11
|\
| * Allow to use none auth in functional testsVladyslav Drok2018-05-182-12/+11
| | | | | | | | | | | | | | | | | | | | This change will make possible adding a new functional job running ironic in noauth mode, and accessing it with none auth plugin from the tests. There was no decision if such job is needed, but still seems to be a good thing to keep the code updated to correspond to what is the intended way of working with noauth ironic. Change-Id: I48cf37c87fdb74a3b38742a929698c9bd146d7d1
* | Merge "Add microversion override for get and list"Zuul2018-06-185-27/+128
|\ \
| * | Add microversion override for get and listJulia Kreger2018-06-125-27/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A continuation of previous patches adding support for node get and list calls to be able to overriden with an os_ironic_api_version keyword argument. Also adds a release note covering the prior patches in this series. Change-Id: I870540a23555e6ae37659452f727872d9d7882a3 Related-Bug: #1739440 Story: #2001870 Task: #14325
* | | Merge "BIOS Settings support"Zuul2018-06-1211-38/+250
|\ \ \ | |/ / |/| |
| * | BIOS Settings supportZenghui Shi2018-06-1211-38/+250
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for the BIOS Setting APIs in the openstackclient plugin. Also bump the last known API version to 1.40 to get access to new API. Change-Id: I1b4185e53818686c895d1fe526ba3fe5540873b3
* | | Merge "Support per-call version: set_provision_state"Zuul2018-06-123-5/+28
|\ \ \ | |/ / |/| |
| * | Support per-call version: set_provision_stateEric Fried2018-06-063-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of (hopefully) many patches to enable API version overrides to be passed into ironicclient methods. This one plumbs .update() to accept an os_ironic_api_version kwarg and, if specified, stuff it in the appropriate header for the call. It also sets up node.set_provision_state to use that framework. This was brought about by the ugliness necessary to make [1] work in Nova. [1] https://review.openstack.org/#/c/554762/ Related-Bug: #1739440 Task: #14326 Story: #2001870 Change-Id: Ic772ada7e562bc845045736cb18c17d7117818f7
* | | Merge "Switch to using stestr"Zuul2018-06-112-3/+3
|\ \ \
| * | | Switch to using stestrCharles Short2018-06-052-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Openstack summit session [1] stestr is maintained project to which all Openstack projects should migrate. Let's switch it then. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: Idf7736fb455d0a13da5a8b6140f5eaa7fa44cb99 Signed-off-by: Charles Short <zulcss@gmail.com>
* | | | Merge "fix tox python3 overrides"Zuul2018-06-111-0/+5
|\ \ \ \
| * | | | fix tox python3 overridesDoug Hellmann2018-06-061-0/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I77dfc7cc757befdc988016f5f90e4dddada5cc69 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | Merge "Power fault recovery: client support"Zuul2018-06-117-9/+56
|\ \ \ \
| * | | | Power fault recovery: client supportKaifeng Wang2018-06-077-9/+56
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds codes to support the fault field exposed from ironic API. Querying nodes with specified fault is also supported as well. Story: #1596107 Task: #10469 Partial-Bug: #1596107 Depends-On: https://review.openstack.org/556015/ Change-Id: I429df0ab5ea39140a2b988d5dfdacb24a67b955e
* | | | Switch functional tests to the fake-hardware hardware typeDmitry Tantsur2018-06-117-11/+12
| |/ / |/| | | | | | | | | | | | | | The OSC plugin tests are also refactored to use one driver_name variable. Change-Id: I5cc6976b306d866c0d84706581ddf235e05dc322
* | | Merge "Wire in header microversion into negotiation"Zuul2018-06-043-24/+98
|\ \ \
| * | | Wire in header microversion into negotiationJulia Kreger2018-05-313-24/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to properly error and prevent a user defined override version from being saved, we need to explicitly check and fail accordingly. Related-Bug: #1739440 Story: #2001870 Task: #14324 Change-Id: I281224b3de33b7c0c00ed777870df8002e23c4ea
* | | | Merge "Do not abort wait_for_provision_state of last_errors becomes non-empty"Zuul2018-06-013-2/+12
|\ \ \ \ | |_|_|/ |/| | |
| * | | Do not abort wait_for_provision_state of last_errors becomes non-emptyDmitry Tantsur2018-05-243-2/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | It can happen if one of heartbeats encounteres "node locked" error, which is normal, because the next heartbeat will succeed. Change-Id: Iaed9b83e199761eac4e0e2157c16ea1efa564c24 Story: #2002094 Task: #19772
* | | Include python API reference in docsVladyslav Drok2018-05-313-1/+10
|/ / | | | | | | | | | | Also move the autogenerated docs to the reference folder. Change-Id: I3e5a34c8a486bf022a940967fec9d5fc939c4489
* | Merge "Stop double json decoding API error messages"Zuul2018-05-151-16/+16
|\ \
| * | Stop double json decoding API error messagesSam Betts2018-05-141-16/+16
| |/ | | | | | | | | | | | | | | | | This patch adds support for the fixed error messages that aren't double JSON encoded. Change-Id: Ib39f65c89e3e96efddd9fa3b648145ae3d6159d3 Story: #1662228 Task: #19644
* | Merge "Switch to none auth for standalone mode"Zuul2018-05-1413-357/+520
|\ \ | |/ |/|
| * Switch to none auth for standalone modeVladyslav Drok2018-05-0713-357/+520
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, during the ironic shell client construction, if only os_auth_token and endpoint arguments are passed, custom HTTPClient class based on requests' sessions is used. This is unnecessary, as there is admin_token auth type in keystoneauth that does basically the same, eliminating the need for our custom implementation. Apart from that, there is a none auth, which requires only passing the desired endpoint to use, so we can use it too without having to specify fake token strings anymore. Let's use these auth methods instead and deprecate HTTPClient. Also this patch deprecates a bunch of arguments to client.get_client function, changing them to the standard keystoneauth naming. DocImpact Story: 1696791 Task: 11836 Depends-On: https://review.openstack.org/559116 Change-Id: Ifc7b45d047c8882a41021e1604b74d17eac2e6e8
* | Gate fix: Cap hacking to avoid gate failureghanshyam2018-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hacking is not capped in g-r and it is in blacklist for requirement as hacking new version can break the gate jobs. Hacking can break gate jobs because of various reasons: - There might be new rule addition in hacking - Some rules becomes default from non-default - Updates in pycodestyle etc That was the main reason it was not added in g-r auto sync also. Most of the project maintained the compatible and cap the hacking version in test-requirements.txt and update to new version when project is ready. Bumping new version might need code fix also on project side depends on what new in that version. If project does not have cap the hacking version then, there is possibility of gate failure whenever new hacking version is released by QA team. Example of such failure in recent release of hacking 1.1.0 - http://lists.openstack.org/pipermail/openstack-dev/2018-May/130282.html Change-Id: I904a85633198436acbb0d4a7bba89bbe006736a2
* | Do not run functional (API) tests in the CIDmitry Tantsur2018-04-301-1/+1
| | | | | | | | | | | | | | These tests exercise Ironic API with the fake driver, thus they provide no coverage for ironicclient and can be excluded. Change-Id: Ie9713354c5d1a4d7503bb3cb548208ed7ce78299
* | Follow the new PTI for document buildNguyen Hai2018-04-196-24/+32
| | | | | | | | | | | | | | | | | | | | | | | | - Follow new PTI for docs build - Add sphinxcontrib.apidoc to replace pbr autodoc REF: https://governance.openstack.org/tc/reference/project-testing-interface.html http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: I76e8ec019ef30fdc2d34a25a99e849407f586459
* | Fix incompatible requirement in lower-constraintsNguyen Hai2018-04-061-3/+3
|/ | | | | | | | | | | Fix lower-constraints don't match the lower bounds in the requirements file(s). It causes fail in requirements-check. REF: http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html Change-Id: Ia2e64266442c014600af338986199d4f3258832d