Commit Graph

1352 Commits

Author SHA1 Message Date
Brian Rosmaita baddc063a1 Add release note for glanceclient 2.17.0
Change-Id: Ib5cc95d4faad4847297c62ed6943dbc357a64234
2019-09-12 12:34:17 -04:00
Zuul 7547179351 Merge "Add upper-constraints.txt to releasenotes tox environment" 2019-08-21 16:32:08 +00:00
Zuul 31f2fdae94 Merge "Modify the url of upper_constraints_file" 2019-07-31 08:12:49 +00:00
Zuul 2b5090f049 Merge "Trivial: fix image format typo" 2019-07-31 08:10:10 +00:00
Lucian Petrut a56106092e Trivial: fix image format typo
The Glance V1 image format list contains "VDHX", which is a typo.
This change fixes it, using the correct format name, which is "VHDX".

Luckily, this seems to be used only as part of a help string.

Change-Id: I392f25b3ee0ee9ac6024e1670053191e4bba937a
2019-07-30 13:42:18 +03:00
root c246598789 Correcting typo in shell.py - enviroment to environment.
There is a typographical error in glanceclient/v2/shell.py. Correcting
spelling from enviroment to environment.

Change-Id: Ia19a4417cd05d228adc26f9d7c82f4aa3c24488c
2019-07-30 01:11:09 +05:30
Zuul 68cb66b5d0 Merge "Bump openstackdocstheme to 1.20.0" 2019-07-17 14:52:26 +00:00
翟小君 b79429aec6 Bump openstackdocstheme to 1.20.0
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I2577ca452a014402f1377474457095176d422b42
2019-07-02 09:45:33 +08:00
Corey Bryant fec518a6a3 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I4f689ee8b9534952ca30db944e547cb7ca74a17f
Story: #2005924
Task: #34208
2019-06-25 13:32:16 +00:00
Zuul 155e540ebf Merge "Update hacking version" 2019-06-24 08:23:35 +00:00
pengyuesheng 69ef9d81ce Modify the url of upper_constraints_file
Depends-On: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I63be5a18a8221f0ca2b1f2a96367288833e4a096
2019-06-19 12:22:51 +08:00
pengyuesheng 039fa4c045 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: I8a96eea9d3d8f6d8beae9d86f307f0edd075392c
2019-06-10 11:12:44 +08:00
pengyuesheng 43e6338748 Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7, so we need to start capping
it there as well
depend on https://review.opendev.org/#/c/657890/

Change-Id: Ic77e0db24ab7d7f068faf3e237beefa8856a710a
2019-05-28 15:17:25 +08:00
Zuul 83a2dac21c Merge "HTTPClient: actually set a timeout for requests" 2019-05-15 13:07:20 +00:00
OpenDev Sysadmins bfec0e2083 OpenDev Migration Patch
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.
2019-04-19 19:39:30 +00:00
Cyril Roelandt d589aa257d HTTPClient: actually set a timeout for requests
The 'timeout' attribute was previously left unused.

Change-Id: If615c390302425fe5a646b4651ec6f56aa08fd22
Closes-Bug: #1822052
2019-04-09 18:42:52 +02:00
jacky06 b8ecb0bc03 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Ifc3b96d98c1a7feff187f953d487e12135887fb9
2019-03-27 09:06:39 +00:00
OpenStack Release Bot 60a707e73a Update master for stable/stein
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: Iefe298a0e35fb2d92f3e4a15f32955ebd6e560ca
Sem-Ver: feature
2019-03-18 14:51:02 +00:00
Erno Kuvaja 44a4dbd6ce Release notes for 2.16.0
Change-Id: Icd4dc29d6492053b90944f5a57435fc29c6147f2
2019-03-07 17:38:59 +00:00
Zuul 8b9dc5635e Merge "Embed validation data when adding location" 2019-03-07 16:46:55 +00:00
Zuul 68adb8ccb4 Merge "Remove redundant information from error message" 2019-03-06 11:28:50 +00:00
Zuul 73f4a80029 Merge "add python 3.7 unit test job" 2019-03-06 10:37:29 +00:00
bhagyashris ae4355be01 Remove redundant information from error message
Currently user get redundant HTTP error code in error message.
Removed redundant HTTP error code from the message.

For Example:
Error message display when user trying to get the non existing image:
$ glance image-show f433471a-53a8-4d31-bf8f-f0b6b594dfc
Error message:
404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc (HTTP 404)

After this fix:
HTTP 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc

Closes-Bug: #1598714
Change-Id: I33971a2a16416c8538158299325471c2a69dbb3e
2019-03-06 16:33:54 +09:00
Zuul efc9704bc6 Merge "Update min tox version to 2.0" 2019-03-04 16:07:22 +00:00
huang.zhiping e3f4858094 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: Ic477c7af3687535d54d779cce071f3eb1fb5490c
Closes-Bug:  #1801676
2019-03-04 13:02:59 +00:00
Brian Rosmaita fab575d987 Update irrelevant-files for dsvm-functional tests
Update the irrelevant files so the expensive dsvm-functional
test jobs are not run for documentation, release note, or other
minor non-code changes.

Change-Id: Ifbac5e891131b3f66d9332a33d818437fa67c0cc
2019-02-28 15:39:05 -05:00
Corey Bryant 332cc18169 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I4f764b17155bc6cbaf9f03bd9f295de178ed0272
Story: #2004073
Task: #27415
2019-02-14 22:40:49 -05:00
Zuul 31f7708b94 Merge "Add Python 3.6 classifier to setup.cfg" 2019-02-14 19:25:50 +00:00
Zuul b08351cf0d Merge "Add image-list filter for multihash" 2019-01-18 07:26:02 +00:00
Brian Rosmaita 4511a445d0 Add image-list filter for multihash
This was missed when multihash support was added to the glanceclient.
The os_hash_value is an indexed field in the API.

Includes a release note.

Closes-bug: #1788271

Change-Id: Ibfe28b8c644967b7e0295dfd3f55c3ae1b0cbb2d
2019-01-17 14:22:48 -05:00
98k 6a4b68bddc Add upper-constraints.txt to releasenotes tox environment
Without these dependencies, the releasenotes build does not actually
work.

Change-Id: I76285c90efec07edc25b22a846379e6d600fa036
2019-01-09 18:02:39 +00:00
sunjia 4aeddfe587 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I0b00d5a692dfcc04b7f8f9fc3ccfaba41c2a84a7
2018-12-03 21:46:39 -05:00
qingszhao d848d5a850 Add Python 3.6 classifier to setup.cfg
Change-Id: I96e9aad54e405395d2cfe7a8d30f6ae3bd72efdc
2018-11-29 09:30:22 +00:00
Zuul c4c92ecb51 Merge "Show the backend store info" 2018-11-15 07:31:18 +00:00
Liang Fang 5fb14f5ebb Show the backend store info
When running "glance -v image-list" there's no store info listed, so
user cannot know the type of the backend. This patch added an new option
"--include-stores" and is to add the store id to the output of "glance
image-list --include-stores".

The final output may like:
+-----+------+-------------+-----+----------+--------+-----+------+
| ID  | Name | Disk_format | ... | Size     | Status |Owner|Stores|
+-----+------+-------------+-----+----------+--------+-----+------+
| xxx | img1 | raw         | ... | 10737418 | active | xxx | ceph |
| xxx | img2 | raw         | ... | 5086345  | active | xxx | file |
+-----+------+-------------+-----+----------+--------+-----+------+

Change-Id: If86ef714c3aa03ce43ef29f26892f431f4766560
Co-authored-by: Jack Ding <jack.ding@windriver.com>
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2018-11-08 17:50:26 -08:00
imacdonn 1156346dc2 Don't quote colon in HTTP headers
Since the introduction of quoting of header content in
https://review.openstack.org/568698, the 'x-image-meta-location' header
has been broken, because urllib.quote() is really intended to be applied
to only the path section of a URL, but in this case, it gets applied to
the entire URL, and catches the colon that separates the scheme from the
remainder of the URL.

This change adds the colon to the list of characters that should not get
quoted. Since a colon can be directly represented in ASCII, this should
not invalidate the previous change.

Change-Id: I76a1c9a361b6c9f6eb95ae766b8c3bcf2267703a
Closes-Bug: #1788942
2018-11-01 21:38:19 +00:00
imacdonn 3f7171dc14 Embed validation data when adding location
Add support for embedding of checksum, os_hash_algo and os_hash_value when
adding a location to an image.

Depends-On: https://review.openstack.org/597648
Change-Id: Ibbe2f2bb226f52cc6b2ab591913b1797d2b086c0
2018-10-24 00:16:58 +00:00
Brian Rosmaita 93636d6e25 Refactor periodic "tips" jobs
Two changes:
1 - declare the abstract base tips jobs 'abstract'
2 - add a branch matcher to where the periodic tips jobs
    are invoked in the project definition so that they only
    apply to the master branch

Change-Id: If80ead2796c370b9539a0d7dd12bb8d35de8abcf
2018-10-11 11:56:52 -04:00
Zuul a4ea9f0720 Merge "Use "multihash" for data download validation" 2018-09-18 07:58:36 +00:00
Andreas Jaeger 997e91feea Cleanup .zuul.yaml
* Sort list of templates alphabetically
* Use lower-constraints-jobs template, remove jobs
* Use tox-cover template that runs job voting in gate instead of
  in post queue, remove job

Change-Id: Ifdfa5c4b27cdeb1b4671188bf9fc30cb7f721c07
2018-09-17 19:47:04 +02:00
Brian Rosmaita 8fd7e8c664 Use "multihash" for data download validation
When the Glance "multihash" is available on an image, the
glanceclient should use it instead of MD5 to validate data
downloads.  For cases in which the multihash specifies an
algorithm not available to the client, an option is added
to the image-download command that will allow fallback to
the legacy MD5 checksum verification.

Change-Id: I4ee6e5071eca08d3bbedceda2acc170e7ed21a6b
Closes-bug: #1788323
2018-09-07 14:50:24 -04:00
Nguyen Hai 5fa921a5c7 add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 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: I6c76d04d28a610d3bf563f9cecffcdcbd432fc52
Story: #2002586
Task: #24297
2018-08-20 15:35:48 +09:00
Nguyen Hai 14599028d9 add python 3.6 unit test job
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: I4530174cfa59bbaef474847276e4bc39c593f670
Story: #2002586
Task: #24297
2018-08-20 15:35:47 +09:00
Nguyen Hai 99c3fc13c9 switch documentation job to new PTI
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: I15c2d1da21c05c6530e7c05e8e90c2660a041144
Story: #2002586
Task: #24297
2018-08-20 15:35:45 +09:00
Nguyen Hai 0018ad6d3d import zuul job settings from project-config
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: If6a88f851bf2509ae6e452aa27de34cd9a3b5f88
Story: #2002586
Task: #24297
2018-08-20 15:35:44 +09:00
zhangbailin a757757a10 Remove team diversity tags note in README
In this commit(https://review.openstack.org/#/c/579870/) removed
diversity tags, it should also be updated here.

Change-Id: I035e6286286558b74a6949dc2f1826ce25b1786f
2018-08-10 09:51:35 +08:00
Zuul a8083d8196 Merge "Update reno for stable/rocky" 2018-07-26 15:08:44 +00:00
OpenStack Release Bot 1ad9db6f59 Update reno for stable/rocky
Change-Id: I604e167d66f498f99fa7be584586e74dfce96874
2018-07-26 09:01:50 +00:00
wangxiyuan eba4bb06d9 Skip quote '=' for token header
If the token is encoded by base64, it may contain '=' char
as well.

We should skip quoting it.

Change-Id: I1ca63d251fa366f0e8e58128d45b729a2489b65c
Partial-Bug: #1783290
2018-07-26 11:41:27 +08:00
Zuul 2c26f2748f Merge "Correct typo in releasenote" 2018-07-25 22:48:38 +00:00