summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Update glanceclient version ref"Jenkins2017-07-271-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Update glanceclient version refBrian Rosmaita2017-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update a docs reference to the client version in preparation for the next release. Change-Id: I5f9542a543507290bdd8579adf773fe1b6bba5f6
* | | | Merge "Validate input args before trying image download"Jenkins2017-07-262-7/+22
|\ \ \ \
| * | | | Validate input args before trying image downloadRavi Shekhar Jethani2017-07-242-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently client is contacting glance service even if the caller has niether specified any redirection nor '--file' option. This unnecessary request although isn't causing any critical issues but can be avoided by simply doing input validation first. TrivialFix Change-Id: I841bebeda38814235079429eca0b1e5fd2f04dae
* | | | | Merge "Make --profile load from environment variables"Jenkins2017-07-262-9/+11
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Make --profile load from environment variablesTovin Seven2017-07-242-9/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --profile argument can be loaded from OS_PROFILE environment variables to avoid repeating --profile in client commands. Correct/update help text. Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com> Change-Id: I67c1e4b859b972e380eb658c98ceae4fbef5c254
* | | | Merge "Remove team:diverse-affiliation from tags"Jenkins2017-07-251-2/+1
|\ \ \ \
| * | | | Remove team:diverse-affiliation from tagsErno Kuvaja2017-07-211-2/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib55fa0cb92b4487a52738c6f0f28d3b385157685
* | | | | Merge "help text for container_format, disk_format"Jenkins2017-07-251-2/+3
|\ \ \ \ \
| * | | | | help text for container_format, disk_formatM V P Nitesh2017-07-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the container_format and disk_format in v1 help text. Change-Id: I4ebe4982c179450defe8ad5703999f4074ae32f8 Closes-Bug: #1659010
* | | | | | Removed the --no-ssl-compression parameter which is deprecatedPranaliD2017-07-255-118/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --no-ssl-compression is deprecated and no longer used. So, it is removed from the help message. Change-Id: I2b886671a568ed191ee380cf16335ccd9ae85062 Closes-Bug: #1583919
* | | | | | Merge "Update and optimize documentation links"Jenkins2017-07-256-16/+16
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Update and optimize documentation linksHangdong Zhang2017-07-196-16/+16
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Update URLs according to document migration 2. Update the dead and outdated links 3. Optimize (e.g. http -> https) Change-Id: Iad743ad223b8c40ae914beccd936f71a81622d76
* | | | | Merge "Fix 'UnicodeEncodeError' for unicode values in url"Jenkins2017-07-241-38/+57
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Fix 'UnicodeEncodeError' for unicode values in urlbhagyashris2017-01-241-38/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used '%' instead of format() because format() function doesn't support the parsing of unicode codec like u'\U0001f693' in Python 2. Python3 parse unicode codec with .format() correctly. For example: openstack@openstack-VirtualBox:~$ python2 Python 2.7.6 (default, Oct 26 2016, 20:30:19) >>> '{0}'.format(u'\U0001f693') Traceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f693' in position 0: ordinal not in range(128) >>> '%s' % (u'\U0001f693') u'\U0001f693' NOTE: format() fuction will parse unicode codec in Python 2 after prefixing 'u' like u'{0}.format(u'\U0001f693') but prfixing 'u' at every place is not good, so it's better to use the '%' module. Change-Id: I2fcca96a1356df08453e08487afb62dfec91ba9d Closes-Bug: #1570766
* | | | | Updated from global requirementsOpenStack Proposal Bot2017-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I3ac1a2a068421ef11ca0d137bc6d8491f718cb41
* | | | | Updated from global requirementsOpenStack Proposal Bot2017-07-211-1/+1
| |/ / / |/| | | | | | | | | | | Change-Id: Ief9fb0c983df72beae11693932c1200e8ca871ed
* | | | Updated from global requirementsOpenStack Proposal Bot2017-07-131-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ifddb9d8d574a03a71a332906719c593667a873f0
* | | | Merge "Fix man page build"Jenkins2017-07-101-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix man page buildJavier Pena2017-07-041-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | https://review.openstack.org/474775 moved glance.rst from the doc/source/man directory into doc/source/cli, so we need to adjust the path in conf.py to avoid issues when running: python setup.py build_sphinx -b man Change-Id: I2c37755553d1265fb9fb069067c4468853f395b7
* | | Updated from global requirementsOpenStack Proposal Bot2017-07-042-2/+2
|/ / | | | | | | Change-Id: Ib5a1d3ef1cd53be664299844eaff2946754e8597
* | Merge "Replace assertTrue(isinstance()) with assertIsInstance()"Jenkins2017-06-301-1/+1
|\ \
| * | Replace assertTrue(isinstance()) with assertIsInstance()Van Hung Pham2017-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Some of tests use different method of assertTrue(isinstance(A, B)) or assertEqual(type(A), B). The correct way is to use assertIsInstance(A, B) provided by test tools. Change-Id: Ibb5e5f848c5632f7c1895c47b8c1a938f2c746c3
* | | turn on warning-is-error in sphinx buildDoug Hellmann2017-06-283-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix a formatting error in one docstring and turn on the flag to ensure that future warnings in the doc build trigger a build failure. Change-Id: I7159b985d1690a8ae61ff885408da4623c105952 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | use openstackdocstheme html contextDoug Hellmann2017-06-281-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set some of the new config values and enable openstackdocstheme as an extension so it will inject values into the page context as it writes each documentation page. This ensures the pages link to the right bug tracker, etc. Change-Id: I316bd585f91064af4d1d1e7b834986619fc3a2d3 Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | update the doc URLs in the readmeDoug Hellmann2017-06-281-2/+2
| | | | | | | | | | | | | | | Change-Id: I62b284465ec81c2ba4ddba4c803b996a34e91eeb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | switch to openstackdocsthemeDoug Hellmann2017-06-283-4/+17
| | | | | | | | | | | | | | | Change-Id: Id687e3405d8afe0db201eb648941cc51bb9f741e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | import content from cli-reference in openstack-manualsDoug Hellmann2017-06-283-1/+1845
| | | | | | | | | | | | | | | Change-Id: Ibea5fe3e4711af997841992dead7171c99c69bfa Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | move existing content into the new standard structureDoug Hellmann2017-06-289-99/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch rearranges and reformats existing content. It replaces the home-grown autodoc feature with the one built into pbr, for consistency with other OpenStack projects. It depends on the doc-migration spec and a pbr feature to allow us to specify where the autodoc content should go in the source tree during the build. Change-Id: I8d2bb11b5ef3e46fcd22c8bed8f84060d8ab6f03 Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Depends-On: I2bd5652bb59cbd9c939931ba2e7db1b37d2b30bb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | add explicit dependency on pyopensslDoug Hellmann2017-06-282-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The library is used in glanceclient/common/https.py and the documentation build for the API fails without the dependency. Update the error handling so that when OpenSSL reports an error it is converted to a client communication error. Change-Id: I0c0fb3139bb848d0cbaf88ae6a767a730bea74eb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | Merge "Replace six.iteritems() with .items()"Jenkins2017-06-2811-25/+22
|\ \ \
| * | | Replace six.iteritems() with .items()ji-xuepeng2017-02-0811-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.As mentioned in [1], we should avoid usingg six.iteritems to achieve iterators. We can use dict.items instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2.In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Change-Id: I71c13040318eca6e5ed993e8aa03f8003986a71c
* | | | Merge "allow unhandled exceptions to cause test errors"Jenkins2017-06-281-16/+0
|\ \ \ \
| * | | | allow unhandled exceptions to cause test errorsDoug Hellmann2017-06-261-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hiding the unhandled exception in the test with a failure makes it harder to debug the problem. Let them pass unhandled so the test reports an ERROR instead of FAILURE. Change-Id: I4e435a6d276fdf161dac28f08c2c7efedd1d6385 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | Updated from global requirementsOpenStack Proposal Bot2017-06-271-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: Ib5c051b7011783548553447d68f80bcdda9395df
* | | | Merge "move old release notes into the releasenotes doc tree"Jenkins2017-06-213-478/+479
|\ \ \ \
| * | | | move old release notes into the releasenotes doc treeDoug Hellmann2017-06-203-478/+479
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I00797d38d6ad9b1a7b198767a0cbbb2f619c3b43 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | Merge "Enable code coverage report in console output"Jenkins2017-06-211-0/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Enable code coverage report in console outputpawnesh.kumar2017-06-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified tox configuration to enable code coverage report in console output Change-Id: I57c5aa7d88e3bab5397c996677a0d18d6157f79f
* | | | | Merge "Remove log translations"Jenkins2017-06-191-10/+0
|\ \ \ \ \
| * | | | | Remove log translationswangzhenyu2017-03-211-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: Icf6423763f2d535b2c85c067d6e4a5676914e2c3
* | | | | | Merge "gitignore: Ignore auto-generated docs"Jenkins2017-06-191-1/+3
|\ \ \ \ \ \
| * | | | | | gitignore: Ignore auto-generated docsStephen Finucane2017-04-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I34b0a426bc10749e0b206aee9c8f7bdf3aea002f
* | | | | | | Merge "doc: Remove cruft from conf.py"Jenkins2017-06-151-25/+6
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | doc: Remove cruft from conf.pyStephen Finucane2017-04-201-25/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1bbb2d490f0415e4062da520e6fb09e6db477aa0
* | | | | | | Updated from global requirementsOpenStack Proposal Bot2017-06-101-2/+2
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | Change-Id: Ie04111374dc4769a641aa25619d0732f9f07cbea
* | | | | | Updated from global requirementsOpenStack Proposal Bot2017-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9fc075327f46c4b4e28f4dbb0bd4275dc5c2871c
* | | | | | Merge "Allow global_request_id in Client constructor"2.7.0Jenkins2017-06-012-0/+22
|\ \ \ \ \ \
| * | | | | | Allow global_request_id in Client constructorSean Dague2017-06-012-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to pass in a global_request_id in the client constructor so that subsequent calls with this client pass that to the servers. This enables cross project request_id tracking. oslo spec I65de8261746b25d45e105394f4eeb95b9cb3bd42 Change-Id: Iea1e754a263a01dae5ed598fdda134394aff54b0
* | | | | | | Downloading image with --progress failsAbhishek Kekane2017-05-292-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Downloading image with --progress fails with "RequestIdProxy object is not an iterator". This is because to display download progress VerboseFileWrapper in progressbar requires object of IterableWithLength, but after support of returning request-id [1] to caller it returns RequestIdProxy object which is wrapped around IterableWithLength and response. To resolve this issue overridden next and __next__ methods in RequestIdProxy so that it can act as iterator for python 2.x and 3.x as well. [1] 610177a779b95f931356c1e90b05a5bffd2616b3 Closes-Bug: #1670464 Change-Id: I188e67c2487b7e4178ea246f02154bbcbc35a2b1