summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* OpenDev Migration Patchfeature/artifactsOpenDev Sysadmins2019-04-191-1/+1
| | | | | | | | | | | | | | | 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.
* Glance v3 client methods for work with blobsDarja Shakhray2015-08-262-4/+235
| | | | | | | | | | | | This commit adds methods for work with BLOB and related tests to the client. Currently implemented methods: 'delete_blob', 'download_blob', 'upload_blob' Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com> FastTrack Implements-blueprint: artifact-repository Change-Id: I29357ee117d7dbdaed58ab12ccb10ba575820b2a
* Glance v3 client basic methodsMike Fedosin2015-08-263-5/+360
| | | | | | | | | | | | This commit adds standard lifecycle methods and related tests to the client. Currently implemented methods: 'create', 'update', 'get', 'delete' FastTrack Implements-blueprint: artifact-repository Change-Id: I03f8be8917cf1de527989c441dde24160854cf59
* Glance v3 client initial commitMike Fedosin2015-08-266-0/+344
| | | | | | | | | | This commit provides initial support for Glance v3 api and creates stubs for methods. FastTrack Implements-blueprint: artifact-repository Change-Id: I83bf3eed4e2c44687f001e98be264fa75f16b349
* Update .gitreview for feature/artifactsDoug Hellmann2015-07-201-0/+1
| | | | Change-Id: I46d07b26104d59ca7b11b9761d6506682863d852
* Extend unittests coverage for v2 tasks moduleKamil Rykowski2015-07-201-14/+97
| | | | | | | | | Add new tests for v2 tasks module to cover following cases: - getting list of tasks using the marker - getting list of tasks using sort_key & sort_dir keys Change-Id: Ic126999ebb16e51cc472fe8f86dfe1fced0bc016 Closes-Bug: 1433637
* Merge "Fix exception message in Http.py"Jenkins2015-07-172-2/+18
|\
| * Fix exception message in Http.pywangxiyuan2015-07-142-2/+18
| | | | | | | | | | | | | | In common.http.py, the exception RequestTimeout has wrong message.This patch fixed it. Change-Id: Ie8ff188b9c82ce424cb8177278f36e4d1275b306
* | Merge "Add .eggs/* to .gitignore"Jenkins2015-07-161-0/+1
|\ \ | |/ |/|
| * Add .eggs/* to .gitignoreErno Kuvaja2015-07-091-0/+1
| | | | | | | | Change-Id: I4657733071dfed6485411406427901efeffb348c
* | Merge "Fix an issue with broken test on ci"Jenkins2015-07-132-28/+43
|\ \
| * | Fix an issue with broken test on ciMike Fedosin2015-07-132-28/+43
| |/ | | | | | | | | | | | | | | | | Several tests with cert verification are broken. This code fixes it by setting right imports. Also some typos are fixed too. Change-Id: Ie014f90714c3dabee65459fd704dd11b1770c7de Closed-Bug: #1472234
* | Remove usage of assert_called_once on Mock objectsrico.lin2015-07-102-2/+3
| | | | | | | | | | | | | | | | | | mock 1.1.0 was released on 10 July 2015 which prevents users from using non-existent assertion methods. This broke the test in the diff. Co-Authored-By: Ian Cordasco <graffatcolmingov@gmail.com> Closes-Bug: #1473454 Change-Id: I162b76bbd7d96c96787a8dd8f9642ca1c80c596a
* | Updated from global requirementsOpenStack Proposal Bot2015-06-301-2/+2
|/ | | | Change-Id: I61ff841e2224fbd127e695bb11ca884f541f76a8
* Merge "Do not fall back to namespaced oslo.i18n"Jenkins2015-06-301-4/+1
|\
| * Do not fall back to namespaced oslo.i18nIan Cordasco2015-06-241-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Oslo libraries have moved all of their code out of the 'oslo' namespace package into per-library packages. The namespace package was retained during kilo for backwards compatibility, but will be removed by the liberty-2 milestone. This change removes the use of the namespace package, replacing it with the new package names. The patches in the libraries will be put on hold until application patches have landed, or L2, whichever comes first. At that point, new versions of the libraries without namespace packages will be released as a major version update. Please merge this patch, or an equivalent, before L2 to avoid problems with those library releases. Blueprint: remove-namespace-packages https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages Change-Id: I831eb6b773d80edc233fd6f6e565ca6f24b65210
* | Merge "Account for dictionary order in test_shell.py"Jenkins2015-06-301-5/+12
|\ \
| * | Account for dictionary order in test_shell.pyCorey Bryant2015-06-291-5/+12
| |/ | | | | | | | | Change-Id: Id15f3d642e8fcbd663f12b32f52b6014e32574a5 Closes-Bug: 1468485
* | Updated from global requirementsOpenStack Proposal Bot2015-06-223-11/+10
|/ | | | Change-Id: I19b9915bedacec60fc584a7437a9b46a80a26bdc
* Merge "Add v2 support for the marker attribute"Jenkins2015-06-222-0/+9
|\
| * Add v2 support for the marker attributeBrad Pokorny2015-06-192-0/+9
| | | | | | | | | | | | | | | | | | | | The v2 Glance client implementation ignores the marker attribute if it's passed to the client as part of the kwargs. Include support for the attribute, as the v1 client supports it and it makes it easier to work with the Glance client. Change-Id: Ifaa59129bc4178212b890ea591673cb154e0f110 Closes-bug: 1465373
* | Merge "Import only modules and update tox.ini"Jenkins2015-06-1810-46/+50
|\ \
| * | Import only modules and update tox.iniCindy Pallares2015-06-1710-46/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | As stated in the OpenStack Hacking Guidelines, it is prefered that only modules should be imported. Also updated tox.ini to ignore opestack/common among others. Change-Id: I2f0a603c31052eadee581c11880c0ec6bd392829
* | | Updated from global requirementsOpenStack Proposal Bot2015-06-161-1/+1
|/ / | | | | | | Change-Id: I9b3c158fecbbd36587cb0a1e402bdf1598af2b69
* | Merge "Close iterables at the end of iteration"Jenkins2015-06-162-1/+18
|\ \ | |/ |/|
| * Close iterables at the end of iterationRobert Collins2015-06-112-1/+18
| | | | | | | | | | | | | | | | | | | | | | This fixes a bug where if iteration is interrupted, we're stuck until the iterable is garbage collected, which can be a very long time (e.g. if the iterable is held in an exception stack frame). Co-authored-by: Stuart McLaren <stuart.mclaren@hp.com> Change-Id: Ibe9990e8c337c117a978b1cd8ec388c4bc6d3b4b Closes-bug: 1461678
* | Merge "Add parameter 'changes-since' for image-list of v1"Jenkins2015-06-152-1/+64
|\ \
| * | Add parameter 'changes-since' for image-list of v1Fei Long Wang2015-05-062-1/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now Glance /images/detail API of v1 supports parameter 'changes-since' to query deleted images. But it's missed in client. This patch will add the parameter. Related-Bug: #1432701 Change-Id: Id38e3a78b4b2ef680ea04d35e32beb4b9c8efa00
* | | Merge "cleanup openstack-common.conf and sync updated files"Jenkins2015-06-144-5/+4
|\ \ \
| * | | cleanup openstack-common.conf and sync updated filesDavanum Srinivas2015-06-104-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | periodic updates of latest from oslo-incubator. please note that files no longer on oslo-incubator mean that they have been moved to oslo.* libraries. So there's more work needed to remove these files and switch to appropriate libraries Change-Id: Icd71b4b1ea9f1df526614a29277f25a7ab47b721
* | | | Make glanceclient accept a session objectJamie Lennox2015-06-117-97/+209
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make this work we create a different HTTPClient that extends the basic keystoneclient Adapter. The Adapter is a standard set of parameters that all clients should know how to use like region_name and user_agent. We extend this with the glance specific response manipulation like loading and sending iterables. Implements: bp session-objects Change-Id: Ie8eb4bbf7d1a037099a6d4b272cab70525fbfc85
* | | Add release notes for 0.19.00.19.0Nikhil Komawar2015-06-101-0/+14
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes included in this release: $ git log 0.18.0..HEAD --no-merges --oneline dfa98ab Updated from global requirements 6cb26fc Include owner and status option in v2 image list 5d933b0 Fix Metadef Object update issue with python-glanceclient 9f5c581 Fix functional tests in gate 1686d6a Do not crash on homedir mkdir 1f89beb Improve import related error handling 583adc3 Check image-download for redirection 9c172fb Add some basic CLI functional tests bf413a6 Use assertIn instead of assertTrue in tests 6431fae Unorder compare in tests 5fa71aa Add release notes for 0.18.0 6d31116 Update README to work with release tools 71d9783 Create functional test base f2a8a52 Move unit tests to standard directory f931a20 Fixed doc example Co-Authored-By: Louis Taylor <louis@kragniz.eu> Change-Id: Ied7f5b4f298e2bbf4a5486eb6b7dbcea2d0e74d3
* | Updated from global requirementsLouis Taylor2015-06-053-6/+15
| | | | | | | | | | | | | | | | | | | | Also update hacking to hacking>=0.10.0,<0.11 to get around breakage with pbr dependency. Change-Id: Ic5e2d8df6993397ee4d1b087d96cc6667bd72acc
* | Merge "Improve import related error handling"Jenkins2015-05-262-12/+80
|\ \
| * | Improve import related error handlingStuart McLaren2015-05-082-12/+80
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there was a problem importing a library we would incorrectly raise an unsupported version error: $ glance --os-image-api-version 1 image-list "1" is not a supported API version. Example values are "1" or "2". We should change this to provide information on the failed import, eg: $ glance --os-image-api-version 1 image-list No module named badimport We also now raise the full stacktrace in this case if '--debug' is passed on the command line. Change-Id: I1c687ae6c5da239090b0b7a4a855b3271a9076da Related-bug: 1402632
* | Merge "Fixed doc example"Jenkins2015-05-261-1/+1
|\ \
| * | Fixed doc exampleGeorges Dubus2014-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Image.data is a method, not an attribute. DocImpact Change-Id: I16555e456dcb2c9719de6c44c01ab68e82ad0590
* | | Merge "Fix Metadef Object update issue with python-glanceclient"Jenkins2015-05-264-2/+38
|\ \ \
| * | | Fix Metadef Object update issue with python-glanceclientLakshmi N Sampath2015-05-184-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disallowed fields(schema, created_at and updated_at) were getting deleted from Metadef namespace instead of Metadef object. Change-Id: Id80e204c7af1ac6926c66627d290a15c4e6b00d9 Closes-Bug: #1433884
* | | | Merge "Use assertIn instead of assertTrue in tests"Jenkins2015-05-263-11/+11
|\ \ \ \
| * | | | Use assertIn instead of assertTrue in testsKamil Rykowski2015-04-293-11/+11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Since `assertIn` is provided for checking if value exists in given container, it is not formal to use `assertTrue` for it. Change-Id: Ie1392839b5ca436957463bb29f2784d48cfcbf75
* | | | Merge "Unorder compare in tests"Jenkins2015-05-261-2/+2
|\ \ \ \
| * | | | Unorder compare in testsJamie Lennox2015-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On occassion the values from schema are presented in a different order. Compare them in an unordered way as we only care that both are present. Change-Id: Ib2d44587196f43c73f4b0a3796fac9f4dc20f20f
* | | | | Merge "Include owner and status option in v2 image list"Jenkins2015-05-252-5/+13
|\ \ \ \ \
| * | | | | Include owner and status option in v2 image listCindy Pallares2015-05-222-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show the owner and status information when adding -v or --verbose to the image-list command. Closes-bug: #1381514 Change-Id: I90bf622147b12ed157072fad0823af58223caf91
* | | | | | Merge "Check image-download for redirection"Jenkins2015-05-252-7/+20
|\ \ \ \ \ \
| * | | | | | Check image-download for redirectionCindy Pallares2015-05-052-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when you download an image without specifying a file or redirecting the output, the image is dumped into the console as gibberish. We can avoid this if we check if file is being redirected or if a file is specified. Change-Id: I257760752f05b82b935cf19fb10573ee7ff1395d
* | | | | | | Merge "Fix functional tests in gate"Jenkins2015-05-253-2/+38
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Fix functional tests in gateStuart McLaren2015-05-153-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check-glanceclient-dsvm-functional gate job was failing due to the functional tests not picking up valid OpenStack credentials. Update how we aquire credentials -- fixes side effect of how tox 2.0 handles environment variables. Change-Id: Ia665dc9673d09421508476d05039d2da8a5e1a29 Closes-bug: 1455102
* | | | | | | Merge "Add release notes for 0.18.0"Jenkins2015-05-181-0/+19
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |