Commit Graph

1222 Commits

Author SHA1 Message Date
Abijitha Nadagouda 195add500b Removes unicode 'u' response from "glance image-tag-update"
"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
2018-02-02 10:36:27 +05:30
Zuul 4ea9d2c493 Merge "Updated from global requirements" 2018-01-26 13:47:24 +00:00
OpenStack Release Bot ddf193397d Update reno for stable/queens
Change-Id: Iaab87d6948db7b18f339d8e511ed08326cbfbaa0
2018-01-24 19:32:48 +00:00
Zuul 035ddc5461 Merge "Remove deprecated ssl options" 2018-01-24 17:15:09 +00:00
OpenStack Proposal Bot 1d659d6192 Updated from global requirements
Change-Id: Ic3aee2ad37026ed09b31e327fc6f0af443c6e0fa
2018-01-24 01:28:25 +00:00
OpenStack Proposal Bot b982516fc1 Updated from global requirements
Change-Id: Id6510579123bd2eb5f54f8f7cf02eb74cc1e777c
2018-01-18 03:27:22 +00:00
Rui Yuan Dou 8e862b6018 Remove deprecated ssl options
Old deprecated ssl options block the new keystoneauth parser get the
correct value, should be removed.

Change-Id: Ie080f9a8fa7f4407b1fcbb7fb7c763152c5ec295
Closes-Bug: 1697163
2018-01-17 08:50:57 +08:00
Andreas Jaeger c0677ad425 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I02c57a8eeaf9540e4b94882a581b89533a129350
2018-01-12 13:04:05 +00:00
Zuul cf62e1635d Merge "Compare against 'RequestIdProxy.wrapped'" 2018-01-02 22:51:25 +00:00
Zuul 11ac1e2eb3 Merge "Update Image service property keys doc" 2018-01-02 21:52:01 +00:00
Stephen Finucane 4dcbc30e31 Compare against 'RequestIdProxy.wrapped'
Due to the 'glanceclient.common.utils.add_req_id_to_object' decorator,
an instance of 'glanceclient.common.utils.RequestIdProxy' is returned
for most calls in glanceclient. If we wish to compare to None, we have
to compare the contents of this wrapper and not the wrapper itself.

Unit tests are updated to highlight this.

Change-Id: I7dadf32d37ac2bda33a92c71d5882e9f23e38a82
Closes-Bug: #1736759
2018-01-02 11:36:02 +00:00
Brian Rosmaita 726c50db81 Update Image service property keys doc
Doc update for change Ie8227fececa40e502aaa39d77de2a1cd0cd72682

Change-Id: I4b35d0ae768b331945cd014c004cef16ed2155b3
Closes-bug: #1694441
2017-12-22 20:31:40 +00:00
Brian Rosmaita 8eea3c7ef0 Update Image service property keys docs
Doc update for change I7c77fb13f20b59ad764070d14dc98a46f8b7c823

Change-Id: I8a636019c88526f6d65a96e9184aad10010eded2
Closes-bug: #1651907
2017-12-22 20:31:24 +00:00
Zuul 319579b34f Merge "Updated from global requirements" 2017-12-21 17:18:42 +00:00
Zuul df4aaa255b Merge "Restore functional testing under ssl" 2017-12-21 15:05:12 +00:00
OpenStack Proposal Bot 3ea8898b85 Updated from global requirements
Change-Id: If0232005809670f9b55da915fbdad11cbbc7b146
2017-12-19 01:42:00 +00:00
Brian Rosmaita bb0911910e Revise functional testing README file
Clarifies the location of clouds.yaml for functional testing.

Change-Id: Ib0b8e84579bca72e791229752df14542358e21b7
2017-12-15 16:03:45 -05:00
Brian Rosmaita a598550881 Restore functional testing under ssl
Closes-bug: #1738033
Change-Id: Ia3e2e210eea09ac07311f25ffa99ad0f4ced418d
2017-12-15 15:10:43 -05:00
Brian Rosmaita c0e63d977f Migrate dsvm functional test jobs to project repo
Migrate legacy dsvm functional test jobs for python-glanceclient
to the project repository as zuul3 jobs using the devstack
functional base job.

Co-authored-by: Monty Taylor <mordred@inaugust.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Needed-By: I0b974bf60da6bafabeb037a75ac10654e2a6406c
Needed-By: I0271a1430843ef546e991a7a3c4b572b3e404963
Depends-On: I84de60181cb88574e341ff83cd4857cce241f2dd
Change-Id: I1977ee0d348645987107c2efb5b454d7f8b81adf
2017-12-14 15:39:26 +00:00
Brian Rosmaita 79d0051655 Add domain info to functional test clients
Keystone wants domain info, so pass it on.

Change-Id: Ie99f79b61e5f8d469695fa19ad99d919fa23ae8e
Closes-bug: #1737583
2017-12-11 11:58:58 -05:00
Jenkins 9915f275ca Merge "Remove Babel as a runtime requirement" 2017-09-22 11:24:50 +00:00
OpenStack Proposal Bot 2f79a98552 Updated from global requirements
Change-Id: I8448038730b593d69b912cde62a13f0c6baf6f7f
2017-09-20 16:24:04 +00:00
OpenStack Proposal Bot d158f1e75f Updated from global requirements
Change-Id: I8ac16e2968fc65c7b7ecea3d4687b12ea9d3fa7f
2017-09-13 13:01:58 +00:00
OpenStack Proposal Bot 08834d07e4 Updated from global requirements
Change-Id: I95dba38f43a44606f4f1b51e931ed5c9f48216c5
2017-09-01 12:46:12 +00:00
yatin db79d393fc Remove Babel as a runtime requirement
Babel is in requirements.txt but is no longer required
post [0].

[0] https://review.openstack.org/#/c/145273/

Change-Id: I5d906f84ecbd144073a019936af227702b1c699a
2017-08-29 04:46:17 +00:00
Jenkins b90236eef8 Merge "image-create-via-import fails with ValueError" 2017-08-24 19:54:41 +00:00
Abhishek Kekane 335f1e9447 image-create-via-import fails with ValueError
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
2017-08-24 14:29:37 +00:00
Jenkins b956f48078 Merge "Fix image-import call" 2017-08-24 09:17:30 +00:00
Jenkins 40a2d25abd Merge "stage call fails with TypeError" 2017-08-21 12:23:37 +00:00
Brian Rosmaita e5b69eff69 Fix image-import call
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
2017-08-18 15:12:04 +00:00
OpenStack Proposal Bot 14a96931fe Updated from global requirements
Change-Id: I5205e01980fc00b011a4aa4f9d24f045c375a4c5
2017-08-18 11:41:12 +00:00
Abhishek Kekane 0e50837a37 stage call fails with TypeError
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
2017-08-17 11:37:20 +05:30
OpenStack Release Bot 6fe3018de8 Update reno for stable/pike
Change-Id: I7bf1085df394a13a2b0d4493af9a3f52a6548acf
2017-07-28 21:06:50 +00:00
OpenStack Proposal Bot a00ea5b07c Updated from global requirements
Change-Id: Ic918892cd48f45e9f1e916aa73c96398fe786b7c
2017-07-27 23:58:04 +00:00
Erno Kuvaja 52eb529b97 Add missing docstring
Adding missing docstring for image-import command.

Change-Id: Ide95056797230963e9ef63c1cb72d42e697023e7
2017-07-27 21:09:05 +00:00
Jenkins 083931f87f Merge "Add image import features to client" 2017-07-27 21:04:08 +00:00
Jenkins 07076b26ab Merge "Add release note for Pike" 2017-07-27 20:12:50 +00:00
Jenkins ddf45e52d1 Merge "Add documentation for image import commands" 2017-07-27 19:57:34 +00:00
Erno Kuvaja c0753bdde6 Add image import features to client
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
2017-07-27 18:07:50 +00:00
Jenkins c9e10aef03 Merge "Update glanceclient version ref" 2017-07-27 16:08:46 +00:00
Brian Rosmaita 9a4f91c39e Add documentation for image import commands
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
2017-07-27 12:07:48 -04:00
Brian Rosmaita 09f8acb19d Add release note for Pike
This note describes what has been prioritized to land in Pike.

Change-Id: Ia0a7f80cd7dfc4fa4a1126123b6aebb32a459099
2017-07-27 16:02:52 +00:00
Jenkins 982857abc8 Merge "Validate input args before trying image download" 2017-07-26 14:15:35 +00:00
Jenkins ca9ae01841 Merge "Make --profile load from environment variables" 2017-07-26 04:33:49 +00:00
Jenkins f455cb1939 Merge "Remove team:diverse-affiliation from tags" 2017-07-25 21:24:47 +00:00
Jenkins c9730bfcc6 Merge "help text for container_format, disk_format" 2017-07-25 18:06:19 +00:00
Brian Rosmaita 51fea1b00a Update glanceclient version ref
Update a docs reference to the client version in preparation
for the next release.

Change-Id: I5f9542a543507290bdd8579adf773fe1b6bba5f6
2017-07-25 13:44:13 +00:00
PranaliD 28c003dc11 Removed the --no-ssl-compression parameter which is deprecated
--no-ssl-compression is deprecated and no longer used. So, it is
removed from the help message.

Change-Id: I2b886671a568ed191ee380cf16335ccd9ae85062
Closes-Bug: #1583919
2017-07-25 18:51:38 +05:30
Jenkins 3d1ad74ff0 Merge "Update and optimize documentation links" 2017-07-25 03:08:43 +00:00
Jenkins 7ad13b648a Merge "Fix 'UnicodeEncodeError' for unicode values in url" 2017-07-24 14:36:17 +00:00