1193 Commits

Author SHA1 Message Date
Jenkins
40a2d25abd Merge "stage call fails with TypeError" 2017-08-21 12:23:37 +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
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
2.8.0
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
Ravi Shekhar Jethani
1df55dd952 Validate input args before trying image download
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
2017-07-24 14:54:57 +05:30
Tovin Seven
c0f88d5fc0 Make --profile load from environment variables
--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
2017-07-24 13:30:29 +07:00
OpenStack Proposal Bot
a6e0cdf46d Updated from global requirements
Change-Id: I3ac1a2a068421ef11ca0d137bc6d8491f718cb41
2017-07-23 13:51:39 +00:00
Erno Kuvaja
3dae473c3a Remove team:diverse-affiliation from tags
Change-Id: Ib55fa0cb92b4487a52738c6f0f28d3b385157685
2017-07-21 14:57:23 +01:00
OpenStack Proposal Bot
067cd2bdcc Updated from global requirements
Change-Id: Ief9fb0c983df72beae11693932c1200e8ca871ed
2017-07-21 04:45:26 +00:00
Hangdong Zhang
c753ad8796 Update and optimize documentation links
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)

Change-Id: Iad743ad223b8c40ae914beccd936f71a81622d76
2017-07-19 12:38:19 +08:00
OpenStack Proposal Bot
8f00241510 Updated from global requirements
Change-Id: Ifddb9d8d574a03a71a332906719c593667a873f0
2017-07-13 14:23:41 +00:00
Jenkins
c115f8d4df Merge "Fix man page build" 2017-07-10 12:45:10 +00:00
M V P Nitesh
4d0a3c309e help text for container_format, disk_format
Updated the container_format and disk_format in v1 help text.

Change-Id: I4ebe4982c179450defe8ad5703999f4074ae32f8
Closes-Bug: #1659010
2017-07-06 13:09:44 +05:30
OpenStack Proposal Bot
afff25fa98 Updated from global requirements
Change-Id: Ib5a1d3ef1cd53be664299844eaff2946754e8597
2017-07-04 17:56:44 +00:00
Javier Pena
8435b47f80 Fix man page build
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
2017-07-04 16:48:28 +02:00
Jenkins
a53b302764 Merge "Replace assertTrue(isinstance()) with assertIsInstance()" 2017-06-30 21:03:45 +00:00
Doug Hellmann
c859380718 turn on warning-is-error in sphinx build
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>
2017-06-28 12:25:32 -04:00
Doug Hellmann
4565e2bf45 use openstackdocstheme html context
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>
2017-06-28 12:25:32 -04:00
Doug Hellmann
cecd30a91b update the doc URLs in the readme
Change-Id: I62b284465ec81c2ba4ddba4c803b996a34e91eeb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 12:25:32 -04:00
Doug Hellmann
b7a0cd0e66 switch to openstackdocstheme
Change-Id: Id687e3405d8afe0db201eb648941cc51bb9f741e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 12:25:30 -04:00
Doug Hellmann
ca7faf6bb5 import content from cli-reference in openstack-manuals
Change-Id: Ibea5fe3e4711af997841992dead7171c99c69bfa
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 12:24:48 -04:00
Doug Hellmann
e8acf5e736 move existing content into the new standard structure
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>
2017-06-28 12:24:48 -04:00
Doug Hellmann
d6e936cd14 add explicit dependency on pyopenssl
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>
2017-06-28 12:24:48 -04:00
Jenkins
05453b19b2 Merge "Replace six.iteritems() with .items()" 2017-06-28 14:49:38 +00:00
Jenkins
66a2979291 Merge "allow unhandled exceptions to cause test errors" 2017-06-28 14:27:47 +00:00
OpenStack Proposal Bot
551fce5340 Updated from global requirements
Change-Id: Ib5c051b7011783548553447d68f80bcdda9395df
2017-06-27 12:21:19 +00:00
Doug Hellmann
c8a7a5d56d allow unhandled exceptions to cause test errors
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>
2017-06-26 10:59:29 -04:00
Jenkins
392fa4f7c8 Merge "move old release notes into the releasenotes doc tree" 2017-06-21 15:48:50 +00:00
Jenkins
0db3ba8322 Merge "Enable code coverage report in console output" 2017-06-21 14:14:29 +00:00
Doug Hellmann
c9100ed742 move old release notes into the releasenotes doc tree
Change-Id: I00797d38d6ad9b1a7b198767a0cbbb2f619c3b43
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-20 13:08:40 -04:00
Jenkins
4682d403d2 Merge "Remove log translations" 2017-06-19 19:13:08 +00:00
Jenkins
a2d1d8ce8a Merge "gitignore: Ignore auto-generated docs" 2017-06-19 15:40:17 +00:00
Jenkins
37a41017c5 Merge "doc: Remove cruft from conf.py" 2017-06-15 21:13:17 +00:00