summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* OpenDev Migration Patchpike-eolstable/pikeOpenDev Sysadmins2019-04-192-2/+2
| | | | | | | | | | | | | | | 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.
* import zuul job settings from project-configpike-em2.8.1Nguyen Hai2018-09-173-61/+16
| | | | | | | | | | | | | | | | | | | | 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: Ia4af09a3e32c91a1f030b254d6fc89850d48e0ef Story: #2002586 Task: #24297
* Migrate dsvm functional test jobs to project repoBrian Rosmaita2018-02-054-46/+90
| | | | | | | | | | | | | | | | | | | | Zuul3-related changes in master have moved functional test gate configuration out of infra/project-config and into the glanceclient repository. This patch backports these changes so that the stable branch has functional test gates. Not a pure cherry-pick, also includes setting SWIFT_HASH, which did not have to be done in master. Co-authored-by: Monty Taylor <mordred@inaugust.com> Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> (cherry picked from commit c0e63d977fc077be55a02106403840165b89a349) (cherry picked from commit a5985508817e5de73092a339f15ce7f9f701a20f) Depends-On: I84de60181cb88574e341ff83cd4857cce241f2dd Depends-On: I0fecb027e5be6f4d7bb0bf34e59a43543a421f38 Change-Id: Idaa2f4b920e131320499c9e460ade74df1d5a264
* Add release note for Pike point releaseBrian Rosmaita2017-11-301-0/+16
| | | | Change-Id: I20c64c264dd7f47dbf9a94dead6bcc70f9b704ad
* image-create-via-import fails with ValueErrorAbhishek Kekane2017-08-241-1/+4
| | | | | | | | | | | | | | | CLI image-create-via-import fails with ValueError. The reason is create command returns RequestIdWrapper object and not image and response. Further it fails with AttributeError: 'Namespace' object has no attribute 'import_method'. The reason is do_import_image() call requires 'import_method' as input which is not provided at the moment. Change-Id: Ic4c4d1f3c5d290b584840e8f9047fb53611a5748 Closes-bug: #1711511 (cherry picked from commit 335f1e944719023a887730a223353a4bdb209815)
* Fix image-import callBrian Rosmaita2017-08-241-1/+1
| | | | | | | | | | Change the request body sent from the client to be the format that the API expects for the image-import call. Depends-On: I08783e28719e63b5a4b2115b8fce135e55be460a Change-Id: I5e34d772d561306c6f103c859740658a825dd189 Closes-bug: #1711259 (cherry picked from commit e5b69eff693e7e012f867d83a54d737fedf74cb0)
* stage call fails with TypeErrorAbhishek Kekane2017-08-211-4/+6
| | | | | | | | | | | | | | | | | image-stage call fails with TypeError saying 'stage() takes exactly 3 arguments (4 given). The reason is stage() also accepts image_size as a argument which is not provided. Further it raises 'NoneType' object has no attribute 'headers'. The reason is stage() internally calls upload method which returns a object of RequestIdWrapper on body (which is None) and response. In stage call it again tries to add request id which requires response object but instead it has a RequestIdWrapper which fails to retrieve headers. Change-Id: I4de4be7a55f35c3533b53acd48042c7c95b4bdc0 Closes-bug: #1711090 (cherry picked from commit 0e50837a374958d2863deef890879c960a05d8aa)
* Merge "Update UPPER_CONSTRAINTS_FILE for stable/pike" into stable/pikeJenkins2017-08-211-1/+1
|\
| * Update UPPER_CONSTRAINTS_FILE for stable/pikeOpenStack Release Bot2017-07-281-1/+1
| | | | | | | | Change-Id: Ibbc3330caf442f5cccd23da4736a85445828072d
* | Updated from global requirementsOpenStack Proposal Bot2017-08-112-2/+2
|/ | | | Change-Id: I6048611119eb780c7392c458cbf2b295b91830cc
* Update .gitreview for stable/pikeOpenStack Release Bot2017-07-281-0/+1
| | | | Change-Id: Id79375345eacb5951118963c8fa561135af51d98
* Add missing docstring2.8.0Erno Kuvaja2017-07-271-0/+1
| | | | | | Adding missing docstring for image-import command. Change-Id: Ide95056797230963e9ef63c1cb72d42e697023e7
* Merge "Add image import features to client"Jenkins2017-07-272-2/+133
|\
| * Add image import features to clientErno Kuvaja2017-07-272-2/+133
| | | | | | | | | | | | | | | | | | | | | | This change adds availability of the features introduced on Image Import Refactoring work. Including: Discovery call to discover what Import modes are available Staging call to stage the image for import in 'glance-direct' Import call to trigger the actual Image Import task EXPERIMENTAL: Image creation with the new workflow Change-Id: I2d10ac0cc951c933c3594837b490638e38ff0b12
* | Merge "Add release note for Pike"Jenkins2017-07-271-0/+76
|\ \
| * | Add release note for PikeBrian Rosmaita2017-07-271-0/+76
| | | | | | | | | | | | | | | | | | This note describes what has been prioritized to land in Pike. Change-Id: Ia0a7f80cd7dfc4fa4a1126123b6aebb32a459099
* | | Merge "Add documentation for image import commands"Jenkins2017-07-271-0/+173
|\ \ \
| * | | Add documentation for image import commandsBrian Rosmaita2017-07-271-0/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation for the image import commands, particularly pointing out that the image-create-via-import command is an EXPERIMENTAL command that my be renamed or removed in a future release. Change-Id: I20ebc0145db6acc794039ed25e7754ec8d479bc8
* | | | 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