summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Modify setup scriptbaserock/morphPedro Alvarez2013-09-131-3/+14
|
* Enable query image by tagFei Long Wang2013-08-284-1/+92
| | | | | | | | | | This patch will enable Glance client to query images by user defined tags. Implement bp image-query-by-tag Implement bp glance-client-v2 Change-Id: I6f54630c5b7c9c567d85485ad4289284e5486814
* Fix glanceclient usage inconsistences for optionsGabe Westmaas2013-08-251-5/+5
| | | | | | | | | | Enumerated options should have the same format for all enumerated options. This commit moves all options to the {option1,option2} format. fixes bug: #1155171 Change-Id: I8e0ecf3896c76021cb027cbbbb3b5564a04aacec
* Add 0.11.0 doc notesMark J. Washenberger2013-08-221-0/+12
| | | | Change-Id: Ic76e872e78ec77b731ad9dced833803da3fa9aca
* Merge "Don't use posixpath for URLs"Jenkins2013-08-221-3/+2
|\
| * Don't use posixpath for URLsJustin Santa Barbara2013-08-051-3/+2
| | | | | | | | | | | | | | | | Use URL functions instead. Fixes bug #1208618 Change-Id: I27bb29a6422200a1a522c50335e5d93d495ec429
* | Merge "Allow single-wildcard SSL common name matching"Jenkins2013-08-223-2/+85
|\ \
| * | Allow single-wildcard SSL common name matchingBrian Waldon2013-08-213-2/+85
| | | | | | | | | | | | | | | | | | Fix bug 1212463 Change-Id: I168601fd9847497c2261c77ce6c856bca187c6c8
* | | Revert "removed deprecated parameter --public"Dean Troyer2013-08-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While trunk devstack was updated for this, stable/folsom and stable/grizzly are not and grenade is now broken. I'm not sure how long --public was undocumented but it may be that certain cli args may need to remain deprecated but supported for longer than we wish. This reverts commit ce8636b6b3c4b606483cfb2bc405d86224f309bc Change-Id: I91d4884e470c8fcc611dae62a30fa22d08dbec03
* | | Merge "removed deprecated parameter --public"Jenkins2013-08-191-6/+1
|\ \ \
| * | | removed deprecated parameter --publicChristian Berendt2013-07-301-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted by bcwaldon the parameter can be removed after updating Devstack. Should be done after merging the following change: https://review.openstack.org/#/c/39323/ Change-Id: I8d0f7ab4cccccf022446374a31e03ac913cfb136
* | | | \Allow removal of properties using glance v2 apieddie-sheffield2013-08-132-6/+134
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support to the glance client library for removing properties from an image. Properties to be removed must be explicitly listed. There is no equivalent of the 'purge_props' functionality in v1. Also beefed up testing around create since some of the functionality is the same as update. Fixes bug 1206472 Change-Id: I16f4c39cdfc8a0cd07bede600461b7a289fbb080
* | | Merge "Raise warlock requirement"Jenkins2013-08-120-0/+0
|\ \ \
| * | | Raise warlock requirementZhi Yan Liu2013-08-081-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Glance PATCH API need use new 'require' condition for schema to validate income requests. Raise warlock requirement to >=1.0.1,<2 as older warlock requires a too old jsonschema to be useful. See bug #1202391 for details. Change-Id: I0ac148850a5b1254bf0827c7de2db1464a6703d8 Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
* | | Merge "Updated from global requirements"Jenkins2013-08-126-20/+17
|\ \ \
| * | | Updated from global requirementsMonty Taylor2013-08-106-20/+17
| | | | | | | | | | | | | | | | Change-Id: I2e2bd3a38458e1307bcc0410da74dc76c0a5987a
* | | | Merge "Cast image_id to string before calling urllib.quote"Jenkins2013-08-092-2/+13
|\ \ \ \ | |/ / / |/| | |
| * | | Cast image_id to string before calling urllib.quoteJustin Santa Barbara2013-08-072-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | We can't pass a string in; see Bug #1178233 Change-Id: I040c667e122d792fdcb47ee172463339068af48c
* | | | Revert 02116565d358a4fa254217779fef82b14b38d8ca0.10.0Mark J. Washenberger2013-08-083-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A patch slipped in that modified the default image list limit in a backwards-incompatible way. This change reverts that patch, but preserves some of the formatting improvements. Change-Id: I17ae5024896ca7b1064be66b9e47653e953771d6
* | | | Add 0.10.0 docs updateMark J. Washenberger2013-08-081-0/+19
| | | | | | | | | | | | | | | | Change-Id: Ib2e75abc7d696f89d97918738bfc960cf3d1da5b
* | | | Show a pretty progressbar when uploading and downloading an image.mouad benchchaoui2013-08-0813-93/+353
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new module that contain generic wrapper for file and iterator, which are used to wrap image to upload and the request body iterator in upload and download cases repectively, to show and advance a pretty progress bar when this laters are consumed, The progress bar is triggered by adding a --progress command line argument to commands: image-create, image-download or image-update. Change-Id: I2ba42fd0c58f4fa087adb568ec3f08246cae3759 bug fix: LP#1112309 blueprint: progressbar-when-uploading
* | | Merge "Changes to allow image upload with V2 api"Jenkins2013-07-312-0/+28
|\ \ \
| * | | Changes to allow image upload with V2 apieddie-sheffield2013-07-312-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | Related to bp glance-client-v2 Change-Id: I72a1d2825dd5c1ff4890e8be477cb4447d59f136
* | | | Merge "Fix test assertions & test cases for V2 Shell Unit test"Jenkins2013-07-311-79/+176
|\ \ \ \ | |/ / / |/| | |
| * | | Fix test assertions & test cases for V2 Shell Unit testVenkatesh Sampath2013-07-251-79/+176
| | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1195674 Change-Id: I46c10040ea10415498dd1eed69e45139cfa37eb4
* | | | Merge "Enable client library V2 to create an image."Jenkins2013-07-302-0/+36
|\ \ \ \
| * | | | Enable client library V2 to create an image.eddie-sheffield2013-07-252-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for creating an image to the client library only, not the CLI. Replaced reference to deprecated BaseException.message Related to bp glance-client-v2 Change-Id: I8e3d09d89493368d22f7b1f69f79ebd2518e289d
* | | | | Merge "Provide glance CLI man page."Jenkins2013-07-303-4/+103
|\ \ \ \ \
| * | | | | Provide glance CLI man page.Jakub Ruzicka2013-07-253-4/+103
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide basic but hopefully useful man page. Also update OpenStack LCC to OpenStack Foundation in docs. Resolves: bug 1193111 Implements blueprint: clients-man-pages Change-Id: I9502b3d5ca75149d747d523934a6401e435924b7
* | | | | Merge "Allow v1 client to list all users' images"Jenkins2013-07-303-2/+28
|\ \ \ \ \
| * | | | | Allow v1 client to list all users' imagesStuart McLaren2013-07-263-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a '--all-tenants' option to the image-list command. This adds 'is_public=None' to the query string passed to the server, and for an admin user results in a listing of all images present on the server irrespective of owner or public values. Addresses bug 1201787. Change-Id: I38dd0752a31ebea84f16b786d205e82eba1a96bc
* | | | | | Merge "Add v1 client side owner based filtering"Jenkins2013-07-303-6/+157
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | Add v1 client side owner based filteringStuart McLaren2013-07-263-6/+157
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --owner option to the v1 client's image-list command to support filtering images based on the owner (tenant id). Allows administrators to more easily list a particular user's images. Note that this is far less efficient than v2 server-side owner based filtering. Addresses bug 1201765. Change-Id: I4ffa522b96c91e659c87f5452f2f1f44e47e806b
* | | | Encode error messages before sending them to stdoutFlaper Fesp2013-07-293-1/+28
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | When an error with non-ascii characters is caught by glanceclient, it fails at printing it and exists with a UnicodeEncodedError. This patch encodes errors' messages using strutils before sending them to stdout. Fixes bug: #1200206 Change-Id: I4dabcd76ffb258840bd6a66ad23c030f34960e86
* | | Merge "HTTPS response issues"Jenkins2013-07-241-1/+17
|\ \ \ | |/ / |/| |
| * | HTTPS response issuesDavid Peraza2013-07-221-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1179392 glanceclient.common.http.HTTPClient.get_connection_kwargs method explicitly sets the timeout to be a float, while struc.pack is still using LL as the format string which means 2 Long Integers. Setting format string to fL which mean a float followed by Long Integer. Also, Bad file descriptor error is caused by socket being closed to soon. Added a close() implementation to VerifiedHTTPSConnection which will remove reference to socket before returning call to base HTTPConnection.close(). This will avoid socket to be closed before response body is read. Socket will close when response close is called. Change-Id: I3a973da3b962c7572ae0f61f6996bdd1f0048339
* | | Merge "Fix SSL certificate CNAME checking"Jenkins2013-07-222-6/+8
|\ \ \ | |/ / |/| |
| * | Fix SSL certificate CNAME checkingThomas Leaman2013-07-152-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, accessing a host via ip address will pass SSL verification; the CNAME is not checked as intended as part of verify_callback. 'preverify_ok is True' will always return false (int/bool comparison). preverify_ok will be 1 if preverification has passed. Fixes bug 1192229 Change-Id: Ib651548ab4289295a9b92ee039b2aff2d08aba5f
* | | Merge "Increase default page_size value"Jenkins2013-07-193-22/+58
|\ \ \ | |_|/ |/| |
| * | Increase default page_size valueJared Culp2013-07-163-22/+58
| |/ | | | | | | | | | | | | | | | | | | | | This is a temporary solution. Increasing the default page size (which is being used everytime, since the client is ignoring nova's --limit param). This should decrease the number of queries that glance does when nova requests an image detail list. Bug 1200257 Change-Id: I7ed4521698570cbae9c20e69ddca8b11b57c65ad
* | Merge "Pass all identity headers received to glance"Jenkins2013-07-182-0/+42
|\ \
| * | Pass all identity headers received to glanceiccha.sethi2013-07-152-0/+42
| |/ | | | | | | | | | | | | | | | | | | | | There is an upcoming patch in nova which passes identity headers to glance client. We want to ensure that these get passed to glance, which in turn with help the no auth option in glance. Resolves bug 1200761 Change-Id: Ifbef582aa4e64a2e7a46db43a9cc6cf8c3531dbd
* | Merge "Expose checksum index image property in client"Jenkins2013-07-173-1/+60
|\ \
| * | Expose checksum index image property in clientamalaba2013-07-123-1/+60
| | | | | | | | | | | | | | | | | | | | | Implement checksum image index property in the python-glanceclient Change-Id: If1426b7938457014ef27a86d3902d53854161627 Implements: blueprint index-using-checksum-image-property
* | | uncap python-keystoneclient version requirementSean Dague2013-07-121-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | if any of the projects specify a capped client, it has the potential for preventing that client from being tested in the gate. To fix this we have to uncap maximum versions of all openstack client code in all openstack projects. Fixes bug #1200214 Change-Id: I664d2f030972a3bbb08ae1c4b1710816b54b44b2
* | Merge "Rename invalid domain name to be RFC compliant."Jenkins2013-07-083-22/+22
|\ \
| * | Rename invalid domain name to be RFC compliant.Monty Taylor2013-06-303-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | http://tools.ietf.org/html/rfc6761 and http://tools.ietf.org/html/rfc2606 define invalid domain names to be used in contexts such as this. It's good to be compliant with RFCs. Change-Id: Ibb7f9ee12c0c4331f8a33470def74c3a136ef6d9
* | | Flake8 should ignore build folderAlex Meade2013-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This adds 'build' to the exclude list for flake8 Fixes bug 1198329 Change-Id: Ia662f93db6c86c0aedfbc44632a56cd8667df469
* | | Enable client V2 to update/delete tags for a given image.Venkatesh Sampath2013-07-025-4/+206
| |/ |/| | | | | | | | | | | | | | | Added the CLI option image-tag-update to associate a tag to an image via API V2. Added the CLI option image-tag-delete to delete a tag associated with an image via API V2. Related to bp glance-client-v2 Change-Id: I76060e1982223770a6c2c0bd9376d568af0df456
* | Start using Pyflakes and HackingDirk Mueller2013-06-2217-45/+43
|/ | | | | | | | | | Instead of globally ignoring pyflakes and hacking warnings, only blacklist those that trigger very frequently so far, in order to clean them up in followup commits. Fix and start gating on the rest already. Change-Id: Ied7c7250061e3bf379e8286e8ce3b9e4af817faf