summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add missed 'Server ID' output in attachment-list" into stable/queensqueens-eolstable/queensZuul2020-02-193-9/+31
|\
| * Add missed 'Server ID' output in attachment-listMinmin Ren2020-01-213-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'server_id' is not Attachment attribute, should be set by 'instance' attribute. v3/attachments respond body: {"attachments": [{"status": "attached", "instance": INSTANCE_UUID, "id": ATTACHMENT_UUID, "volume_id": VOLUME_UUID, }, ... ] } Closes-Bug: #1860393 Change-Id: Ica5d278cb7455befe1db4be0ab65114fd606ea0a (cherry picked from commit 03f228c11e0d88dcc396b30b7544b5cfde894750) (cherry picked from commit 511224425804621550bf30403f7768eebe6f34ca) (cherry picked from commit 14547dfb1b9aced82d5d333ab329870461034565)
* | Explicitly use python2.7 for linters and basic jobsLuigi Toscano2020-01-241-0/+3
|/ | | | | | | | | | Queens is the last version before the introduction of the new PTI which switched the basic jobs to python3. Despite being EM, the pep8 job is failing because it tries to use python3 (now the default on the OpenDev-provided Zuul instances) but it is still worth fixing it. Change-Id: Ifa03268f3e062ee8e3b4453b48163cd5e504451d
* OpenDev Migration PatchOpenDev Sysadmins2019-04-194-9/+9
| | | | | | | | | | | | | | | 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.
* Replace openstack.org git:// URLs with https://Ian Wienand2019-03-242-2/+2
| | | | | | | | | | | | | | | | | 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: I113647eee812797c6e61756a6373d4dc2e58582b
* import zuul job settings from project-configDoug Hellmann2018-09-091-1/+12
| | | | | | | | | | | | | | | | | | | | 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: I8eb20303dd69e4815ee8cedc091f054a5a7cd1d8 Story: #2002586 Task: #24288
* Updated from global requirementsOpenStack Proposal Bot2018-02-131-1/+1
| | | | Change-Id: I93d94d26cce219e29fa35dc2466785fcbc64e5e8
* Update UPPER_CONSTRAINTS_FILE for stable/queensOpenStack Release Bot2018-01-241-4/+4
| | | | Change-Id: Id1e7c11db13b870031d35016e9e7153e96599ebc
* Update .gitreview for stable/queensOpenStack Release Bot2018-01-241-0/+1
| | | | Change-Id: I635e3cf6e947aba29564c4d0771c17b3653a0d10
* Merge "Add snapshot_id param note for backup-create"queens-em3.5.0Zuul2018-01-232-0/+9
|\
| * Add snapshot_id param note for backup-createzhengyin2018-01-112-0/+9
| | | | | | | | Change-Id: Id7c565629aeed6d915b21b8de514afcee42470cf
* | Merge "Bump API microversion to 3.50"Zuul2018-01-231-1/+1
|\ \
| * | Bump API microversion to 3.50Jay S. Bryant2018-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is to bump MAX_VERSION to 3.50 in api_version. This bump is necessary to keep cinderclient in sync with cinder which moved to 3.50 with change: f1bfd9790d2a7cac9a3e66417b11dc8e3edd8109 With MV 3.50 we are able to request multiple attachments for a single volume. Change-Id: Ic51b890b816112cecaedd68df8d13ec175623c66
* | | Merge "Removes unicode 'u' response for "cinder get-capabilities""Zuul2018-01-232-4/+5
|\ \ \
| * | | Removes unicode 'u' response for "cinder get-capabilities"Abijitha Nadagouda2018-01-232-4/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output of "cinder get-capabilities" command returns unicoded response. But it would appear from the utils class that setting formatters will go through the capabilities dict and make sure all values are properly string formatted. Therefore added formatters to return string formatted response. Added formatters=sorted(prop.keys()) line instead of static values as suggested by the reviewer, to avoid tying server knowledge to the client and also any update on the server side would easily reflect here. Closes-bug: #1680444 Change-Id: Ie38236db364d59ddab42cb925d0435777b0ffe86
* | | Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
|/ / | | | | | | Change-Id: I25be0e60459c2dc652b4ee8672984a65d3cf143e
* | Merge "Support for reporting backend state in service list"Zuul2018-01-184-1/+24
|\ \
| * | Support for reporting backend state in service listwanghao2018-01-094-1/+24
| |/ | | | | | | | | | | | | | | | | | | This patch will support the feature: report backend state in service list in client side. Depends-On: I561dca3ef7c1901401621bc112389dbd178a907e Change-Id: If15e1fa50b5feecd74c7394c918f4fc9d87bcf3e Implements: blueprint report-backend-state-in-service-list
* | Merge "Add api_version wraps for generic volume groups"Zuul2018-01-181-0/+10
|\ \
| * | Add api_version wraps for generic volume groupsjeremy.zhang2018-01-111-0/+10
| | | | | | | | | | | | | | | | | | This patch is mainly to add api_verion wraps for volume group APIs. Change-Id: I1f71ef67c482410b9a671226f68160afde98ae5d
* | | Merge "Migrate to keystoneauth identity cli opts."Zuul2018-01-172-133/+92
|\ \ \
| * | | Migrate to keystoneauth identity cli opts.Zhao Chao2018-01-162-133/+92
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use keystoneauth1 to parse keystone authentication arguments. Previously these arguments are parsed in the different service clients seperately. Use keystoneauth1 instead will make this consistent across projects and less error-prone. This change is inspired by NovaClient. Co-Authored-By: Morgan Fainberg <morgan.fainberg@gmail.com> Co-Authored-By: David Hu <david.hu@hp.com> Co-Authored-By: Monty Taylor <mordred@inaugust.com> Closes-Bug: #1734945 Change-Id: I3c5141eeddd3747ff542e95b04e4848470ad9508 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* | | Merge "Fix v2 volume unit tests"Zuul2018-01-161-17/+15
|\ \ \
| * | | Fix v2 volume unit testsjeremy.zhang2018-01-081-17/+15
| |/ / | | | | | | | | | | | | | | | | | | This patch is mainly to fix the wrongly used fake client in v2 volume unit tests. Change-Id: If0d0aa7a95b7d58886cc77e8a377ac2f17985f18
* | | Merge "Add service cleanup command"Zuul2018-01-166-0/+129
|\ \ \
| * | | Add service cleanup commandGorka Eguileor2017-10-036-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cinder volume services will perform cleanup on start, but when we have multiple volume services grouped in a cluster, we may want to trigger cleanup of services that are down. This patch adds command `work-cleanup` to trigger server cleanups and prints service nodes that will be cleaned and those that didn't have an alternative service in the cluster to do the cleanup. This command will only work on servers supporting API version 3.24 or higher. New command: cinder work-cleanup [--cluster <cluster-name>] [--host <hostname>] [--binary <binary>] [--is-up <True|true|False|false>] [--disabled <True|true|False|false>] [--resource-id <resource-id>] [--resource-type <Volume|Snapshot>] Specs: https://specs.openstack.org/openstack/cinder-specs/specs/newton/ha-aa-cleanup.html Change-Id: I1c33ffbffcb14f34ee2bda9042e706937b1147d7 Depends-On: If336b6569b171846954ed6eb73f5a4314c6c7e2e Implements: blueprint cinder-volume-active-active-support
* | | | Merge "Add cluster support in manage listings"Zuul2018-01-165-18/+86
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Add cluster support in manage listingsGorka Eguileor2017-10-035-18/+86
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for API microversion 3.17, which allows us to pass --cluster optional argument to volume and snapshot manage listings. Implements: blueprint cinder-volume-active-active-support Change-Id: I97b5f2e9960d5a1f140fc638804dbc631d63ff9d
* | | Fix 'cluster' paramter using for v3 volume managejeremy.zhang2018-01-053-2/+12
| |/ |/| | | | | | | | | | | The 'cluster' paramter is wrongly provided for v3 volume manage, as it should be included in the 'volume' object. Change-Id: I12440aa6ada9c0e058138e8da7f7bc12359847bb
* | Merge "Deprecate multiattach flag on volume create"3.4.0Zuul2018-01-033-2/+25
|\ \
| * | Deprecate multiattach flag on volume createSean McGinnis2017-12-213-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This form of multiattach was never fully supported and is now being replaced by the new mutliattach workflow with Nova. As part of this, volume type extra specs will be used to indicate multiattach ability and will allow retyping between volume types to change the flag after creation. That work is still in progress and has some potential to change. But we know we are not going to support this old style, so we should get that deprecated now so we can remove it and not cause any confusion. Change-Id: Icbb9c0ca89b25620cedff6cac7a4723e7126eca6
* | | Updated from global requirementsOpenStack Proposal Bot2018-01-021-0/+3
| | | | | | | | | | | | Change-Id: I4d4efd8f1713972164a6ede13f3aa7d62f8e9717
* | | Follow the new PTI for document buildjiansong2017-12-213-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I7615e33c0d00c56b3ee6cb856a0553e32a1664c6
* | | Merge "Remove setting of version/release from releasenotes"Zuul2017-12-221-10/+3
|\ \ \
| * | | Remove setting of version/release from releasenotesSean McGinnis2017-11-161-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes are version independent, so remove version/release values. We've found that most projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. Change-Id: Ia207f4c8d2e6134aed4dbee37ccfb7b7f58bab16 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
* | | | Merge "Updated from global requirements"Zuul2017-12-211-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Updated from global requirementsOpenStack Proposal Bot2017-12-191-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ib67cf573428146de735ec2e52d0697f37e14acef
* | | | Merge "Fix the way to get backup metadata"Zuul2017-12-202-5/+16
|\ \ \ \ | |/ / / |/| | |
| * | | Fix the way to get backup metadatalihaijing2017-12-132-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v3/shell.py do_backup_update(), the metadata through 'args.metadata' is a list, like this: 'metadata': [u'k1=v1']. But we need a metadata dict like this: 'metadata': {"k1": "v1"}. So call the right method shell_utils.extract_metadata() to get metadata from args. Change-Id: I82cb96b1f89b4009d4b3f4a0e64db076a7a04977
* | | | Merge "Backup create is not available from 3.0 to 3.42"Zuul2017-12-153-16/+69
|\ \ \ \
| * | | | Backup create is not available from 3.0 to 3.42TommyLike2017-12-143-16/+69
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backup create command is shielded by patch [1]. [1]: 2255fc99da9752737dcaa96ae4507b646074afb2 Change-Id: I100b8734ee2df4d81e16e2bfdafd81227c20d25e
* | | | Removed unnecessary parameters from group and group_snapshots create APIspooja jadhav2017-12-145-23/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per code, the 'status', 'user_id' and 'project_id' parameter is not required to be passed in the request body in case of group and group_snapshot create APIs. Even if you pass these parameter, it is silently ignored in the code. This patch removes those parameters passed in the request body. Change-Id: I29e7d4c8a3eee52f4ea7278d2edf2c7deec40628
* | | Merge "Remove 'end_version' parameter in backup update"Zuul2017-12-112-5/+2
|\ \ \
| * | | Remove 'end_version' parameter in backup updateTommyLike2017-12-042-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary 'end_version' which was added in patch [1]. [1]: 2255fc99da9752737dcaa96ae4507b646074afb2 Change-Id: If014ba9c12bf662ef23ebf17decfa59273c63944
* | | | Bump Max API version to 3.483.3.0John Griffith2017-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for Nova to be able to make use of the code for shared_targets that has gone into Cinder we need to bump to API Version to 3.48. This bumps to 3.48 to match the latest add to the Cinder side: https://review.openstack.org/#/c/524697/1 Change-Id: Icaa17654bd2810098d02f8074fedb35c5221cd55
* | | | Support create volume from backup in clientTommyLike2017-12-077-7/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds create volume from backup support in cinderclient. Change-Id: I01dbcf6b113d88732c174b848be2127ee7242b3c Implements: blueprint support-create-volume-from-backup Depends-On: 58d0fb327f9fc980e0c8b84dcd9f64c093285d13
* | | | Merge "Bump Max version to 3.46"Zuul2017-12-071-1/+1
|\ \ \ \
| * | | | Bump Max version to 3.46TommyLike2017-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump max version in client directly as the client changes are not needed. 1. 3.46: support create bootable volume from nova 0 size image. Change-Id: Ib0cf2d88e55006c10b873327ccc85dca2dd09769
* | | | | Merge "Updated from global requirements"Zuul2017-12-071-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Updated from global requirementsOpenStack Proposal Bot2017-12-051-1/+1
| |/ / / | | | | | | | | | | | | Change-Id: I87d4ef5b099793a049b361dcacf423a27282b12e