summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix docs cli authorize environment variablescaishan2018-03-202-4/+4
| | | | | | | | | | | | OpenStack is deprecating 'tenant'. So use 'project' instead of 'tenant' Change-Id: I1dc4dbbbe1eb1d01b0750eaf7994956eb657c7a6
* | Merge "Update 'doc/source/reference/apiv2.rst'"Zuul2018-07-171-0/+12
|\ \
| * | Update 'doc/source/reference/apiv2.rst'ya.wang2018-03-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a simple introduction for the original parameters - Add two necessary parameters for Identity API v3: - user_domain_{name|id} - project_domain_{name|id} Change-Id: Iebd9bb57fcdbd6abb8fc369e69ba52805fb77170
* | | Merge "Remove PyPI downloads"Zuul2018-07-171-4/+0
|\ \ \
| * | | Remove PyPI downloadsChen2018-06-071-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to official site, https://packaging.python.org/guides/analyzing-pypi-package-downloads/ PyPI package download statistics is no longer maintained and thus should be removed. Change-Id: I36ad2c12e881149400c17174f56e8962df4c1aba
* | | | Merge "Replace 'raise StopIteration' with 'return'"Zuul2018-07-171-1/+1
|\ \ \ \
| * | | | Replace 'raise StopIteration' with 'return'Dougal Matthews2018-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With PEP 479, the behaviour of StopIteration is changing. Raising it to stop a generator is considered incorrect and from Python 3.7 this will cause a RuntimeError. The PEP recommends using the return statement. More details: https://www.python.org/dev/peps/pep-0479/#examples-of-breakage Change-Id: Ia067940066a5666926dcf61136b03d721a87666e
* | | | | Merge "fix tox python3 overrides"Zuul2018-07-061-0/+5
|\ \ \ \ \
| * | | | | fix tox python3 overridesDoug Hellmann2018-06-071-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: I8a41be18dac0fc3199ee5fa691a4ab48fae66849 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | | Add release note link in READMEqingszhao2018-06-281-1/+1
| |/ / / / |/| | | | | | | | | | | | | | Change-Id: I7de7c27a067f6346ebb9a29f76a7531502801a71
* | | | | Merge "update shell tests to not rely on the serialization order of a dict"Zuul2018-06-141-8/+8
|\ \ \ \ \ | |/ / / /
| * | | | update shell tests to not rely on the serialization order of a dictDoug Hellmann2018-06-071-8/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under python 3 with ordering randomized we cannot depend on the JSON output matching exactly. Instead we de-serialize the data structure that was written and compare the structures, which will always match. Change-Id: I134b62413a7cde25f3efda6a2452c1e3d11d41d0 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | Add experimental python3 functional test gateBrian Rosmaita2018-06-081-0/+10
|/ / / | | | | | | | | | Change-Id: I7dcdc23c5fbfa21f194fb5a45cd8ca157b1e0362
* | | Merge "Add release note for HTTP headers fix"2.11.1Zuul2018-06-061-0/+14
|\ \ \
| * | | Add release note for HTTP headers fixBrian Rosmaita2018-06-061-0/+14
| | | | | | | | | | | | | | | | Change-Id: I08838ff4682290527565e8cf687945307034c5ba
* | | | Remove functional-identity-v3-only jobBrian Rosmaita2018-06-061-9/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The glanceclient-dsvm-functional-identity-v3-only job is exactly like the glanceclient-dsvm-functional job, except that it sets the devstack config option ENABLE_IDENTITY_V2 to False. Change I5afcba6321f496b8170be27789bee7c9ad8eacce in devstack makes False the default value for this option, so we already have a voting gate job that uses identity v3. This patch removes the redundant non-voting identity-v3-only job. Change-Id: I5d5550c06b179810d25a472cc423403daed43776
* | | Merge "Enable Python hash seed randomization in tests"Zuul2018-06-061-1/+0
|\ \ \
| * | | Enable Python hash seed randomization in testsEric Harney2017-09-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unit tests should run with hash seed randomization on, to ensure code is not introduced that relies on ordered access of dicts, sets, etc. Python 3.3 enables this at runtime by default. Change-Id: I67804f6238c09b40b1828e4d15e703756ccfef31
* | | | Merge "Switch to using stestr"Zuul2018-06-056-12/+16
|\ \ \ \
| * | | | Switch to using stestrwangqi2018-06-056-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're supposed to invoke stestr rather than testr so lets do that Change-Id: I1b401c583d5e7677fc719bfc4eb2f2bba7b98cfa
* | | | | Merge "Remove usage of ordereddict"Zuul2018-06-040-0/+0
|\ \ \ \ \
| * | | | | Remove usage of ordereddictwangqi2018-03-201-1/+0
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was only needed for Python < 2.7, but glanceclient's setup.cfg already declares compatibility only with 2.7. Change-Id: I32e346df8b79e34027a85d9b4be59fe678953901
* | | | | Merge "Add periodic tips jobs"Zuul2018-06-041-0/+53
|\ \ \ \ \
| * | | | | Add periodic tips jobsBrian Rosmaita2018-05-301-0/+53
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add jobs to the periodic queue that run the glanceclient unit tests against the master of various libraries we consume so that we don't have to wait for a release to detect a change that could be problematic. Change-Id: If4090462449b4c5340754490aa8f4116d5608e34
* | | | | Image show: print human readable string when the virtual size is unknownCyril Roelandt2018-05-312-0/+40
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when the virtual size of an image is not known, "None" is displayed. To a regular user, it feels like a programming error. We try and make things clearer by using a "human readable" string instead. Change-Id: Id7b8799356857d9bc58cc8a3677024fe1a7f4f56 Partial-Bug: #1665037
* | | | Merge "Removes unicode 'u' response from "glance image-tag-update""Zuul2018-05-182-0/+67
|\ \ \ \
| * | | | Removes unicode 'u' response from "glance image-tag-update"Abijitha Nadagouda2018-02-022-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "glance image-tag-update" command returns unicoded response for lists. Therefore it requires print_list method from util class to handle such case. Added unicode_key_value_to_string() method to remove extra 'u' from lists and dictionaries. This fix is inspired from cinderclient's implementation. Change-Id: I16a04e8d34f7629f72fe389456001ca1db9335ea Closes-bug: #1534046
* | | | | Handle HTTP headers per RFC 8187Brian Rosmaita2018-05-174-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to RFC 8187, HTTP headers should use 7-bit ASCII encoding. The glanceclient was encoding them as UTF-8, which can leave the 8th bit nonzero when representing unicode, and which presents problems for any recipient following the standard and decoding the headers as ASCII. This change requires keystoneauth1 3.6.2, which has a fix for a bug that made it unable to handle bytes in headers. The dependency is a patch bumping the keystoneauth1 version in upper-constraints. Depends-on: https://review.openstack.org/#/c/569138/ Change-Id: I0d14974126fcb20e23a37347f4f1756c323cf2f5 Closes-bug: #1766235
* | | | | Merge "Trivial: Update pypi url to new url"Zuul2018-05-141-3/+3
|\ \ \ \ \
| * | | | | Trivial: Update pypi url to new urlTovin Seven2018-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: I633a8efb61d6b990f77acf3d6e7d1532f73d4278
* | | | | | Update property keys documentBrian Rosmaita2018-05-021-341/+15
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list of useful image properties really belongs in the Glance Administration Guide. The only connection they have with the glanceclient is that you can use it to set them. Rewrite the property keys document to reflect this. The dependency moves the relevant text to the Glance Admin Guide. Depends-on: https://review.openstack.org/565780 Change-Id: I39add6728aad42988a07d2ad97cd81dbdaf4c54a
* | | | | Merge "Split glanceclient functional tests"Zuul2018-04-129-22/+136
|\ \ \ \ \
| * | | | | Split glanceclient functional testsBrian Rosmaita2018-03-289-22/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare for the Image API v1 to be removed from glance during Rocky by splitting the functional tests that hit v1 from the tests that hit v2. Introduce a new job that runs the functional-v1 tests against a devstack running glance stable/queens, and configure this job for both check and gate for the glanceclient. The v2 functional tests continue to be run for both check and gate against a devstack running glance master. Change-Id: Ifa98ada26a84e4cca3ea8c98173f61a6174cca27
* | | | | | Follow the new PTI for document buildNguyen Hai2018-04-128-33/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com> Change-Id: Id16a5eaa57bc0d96332849abfb62898e6766ef86
* | | | | | Add releasenotes for 2.11.02.11.0Erno Kuvaja2018-04-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I546711a58b3977dc6302debdea1de978054f1a2b
* | | | | | Merge "Update local copy of image schema for 2.6"Zuul2018-04-112-2/+6
|\ \ \ \ \ \
| * | | | | | Update local copy of image schema for 2.6Brian Rosmaita2018-04-082-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the local copy of the image schema to reflect Image API 2.6. Change-Id: Ib0e56027927880d0fa198ffd8ea4b57e39f9d0fe Closes-bug: #1762044 Depends-on: https://review.openstack.org/#/c/559501/
* | | | | | | add lower-constraints jobDoug Hellmann2018-04-093-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: I6a7a78800caf3c536603ae0bcfeb03830c8a5860 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | | | Merge "Make image-import fail faster"Zuul2018-04-092-18/+240
|\ \ \ \ \ \ \
| * | | | | | | Make image-import fail fasterBrian Rosmaita2018-04-042-18/+240
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add checks to image-import command so that it provides better user feedback in failure situations. Change-Id: I8b6b32c3d1d1a745aa68ff8dc629419dff9bb130 Closes-bug: #1758718
* | | | | | | Merge "Fix python 3.6 escape char warning"Zuul2018-04-091-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix python 3.6 escape char warningEric Harney2017-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In python 3.6, escape sequences that are not recognized in string literals issue DeprecationWarnings. Convert these to raw strings. Change-Id: I508a9147b932e219069eeee756bcbc43c7e961c5
* | | | | | | Make image-create-via-import fail fasterBrian Rosmaita2018-04-042-36/+545
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add checks to the image-create-via-import commmand so that it provides better user feedback and doesn't begin the import workflow unless the input has a chance of succeeding. Preserves backward compatibility with the current image-create command by (1) allowing an image record only to be created when no import-method is specified AND no data is supplied, and (2) doing the glance-direct workflow when no import- method is specified AND data is provided. Also adds the ability for the import-method to be set as an env var OS_IMAGE_IMPORT_METHOD. Change-Id: I0a225f5471a9311217b5d90ebb5fd415c369129a Closes-bug: #1758149
* | | | | | | Merge "Fix intermittent v2 shell unit test failures"Zuul2018-04-031-2/+7
|\ \ \ \ \ \ \
| * | | | | | | Fix intermittent v2 shell unit test failuresBrian Rosmaita2018-03-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The do_image_download code has a check to make sure that there's a place to put the data (either filename or stdout redirect) before initiating the download. The location of this check was moved by change I841bebeda38814235079429eca0b1e5fd2f04dae to happen at the beginning of the function. The two intermittently failing tests do not explicitly address the check condition, and as a result the tests do exit early, but before they can check what they're supposed to be testing. Closes-bug: #1759951 Change-Id: I3c85bb358f669504b364d55618c21382b7a2a66b
* | | | | | | | Merge "Updated from global requirements"Zuul2018-04-031-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Updated from global requirementsOpenStack Proposal Bot2018-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie6eaac4b47a6f61f5fb459581d146c9d13aab408
* | | | | | | | Merge "Remove usage of ordereddict"Zuul2018-03-262-5/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Remove usage of ordereddictDirk Mueller2018-03-082-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was only needed for Python < 2.7, but glanceclient's setup.cfg already declares compatibility only with 2.7. Change-Id: I80d42abf5dd5565da424a90a93545ba82ef7a58d
* | | | | | | | Merge "Update properties URL"Zuul2018-03-221-1/+1
|\ \ \ \ \ \ \ \