459 Commits

Author SHA1 Message Date
Jamie Lennox
8be3e249b6 Use cacert values when creating identity client
These were ignored when the client was created with a username and
password.

Change-Id: Id7557a5b07a41c7f79ab1a05ede385da31889940
Closes-Bug: #1284957
2014-02-26 13:29:19 +10:00
OpenStack Jenkins
125393210b Updated from global requirements
Change-Id: Icad0fcf4125b4aefac7ed8f0df5bef2c6ee64594
2014-02-23 09:31:55 +00:00
Jenkins
8fe50fc75d Merge "Fix some help strings" 2014-02-23 06:17:49 +00:00
Jenkins
034a9d158f Merge "Add ability to prompt for passwords for user create and set" 2014-02-22 06:00:18 +00:00
Terry Howe
eddab62109 Fix volume commands with multiple regions
The region_name was not passed into the the client causing volume
commands to fail if there were multiple regions.

Change-Id: I066dbbc4852f412e017daeeb16a3f186d3f91d2f
Closes-Bug: #1241177
2014-02-21 17:22:26 -07:00
Terry Howe
033f27fe4d Add ability to prompt for passwords for user create and set
* Add get_password method to the utilities
* Add --password-prompt option
* Call the get_password method if a prompt is requested
* Various tests

Change-Id: I1786ad531e2a2fbcc21b8bc86aac0ccd7985995a
Closes-Bug: 1100116
2014-02-21 14:42:22 -07:00
Andreas Jaeger
5043293156 Fix some help strings
This fixes some errors and inconsistencies I found reviewing the
help strings:
* Capitalize help strings
* Add missing space between words (in multi-line strings)
* Improve wording

Change-Id: I2fb31ab4191c330146e31c1a9651115a6657769a
2014-02-21 19:40:41 +01:00
Jenkins
8b494f08b2 Merge "Update oslo incubator bits" 2014-02-21 18:27:51 +00:00
Jenkins
2cae50c442 Merge "Rename Openstack to OpenStack" 2014-02-21 01:36:26 +00:00
Terry Howe
ada9d35cbe Fix format errors in nova security group rule list
* port range was throwing exception for None to/from ports
* ip_range didn't always have cidr causing error
* ip_protocol None at times and looked bad

Closes-Bug #1256935

Change-Id: I451a0f038a3e9646bca3f278c5d6f6d7e3097a83
2014-02-20 20:17:53 +00:00
Dean Troyer
99cea54741 Update oslo incubator bits
* update gettextutils.py, strutils.py, install_venv_common.py
* remove cfg.py, openstackkeyring

oslo-incubator commit 630d3959b9d001ca18bd2ed1cf757f2eb44a336f

Change-Id: I0ae9b9dc72ec88ed64a8c353b9c51734ee2cd24c
2014-02-20 14:09:01 -06:00
Jenkins
2958421755 Merge "Glance client no longer isa http client" 2014-02-20 20:00:59 +00:00
Cyril Roelandt
5f9e7d09cb Python 3: the content of a FakeResponse must be bytes
Encode '_content' if necessary.

Change-Id: I25c1e1cd5330f0519bf062be840045d0ef520b28
2014-02-18 00:49:10 +01:00
tanlin
d8bdd2b5ed Rename Openstack to OpenStack
Change-Id: I9e5b245141290a4b642900fbc46b98bd4f44c321
2014-02-14 09:16:20 +08:00
Jenkins
2f5e8232aa Merge "Python 3: fix a syntax error" 2014-02-11 21:36:46 +00:00
Jenkins
e068cd0d71 Merge "FakeResponse: use a default status code" 2014-02-11 21:35:55 +00:00
Jenkins
c8354b8d83 Merge "Fix misspellings in python openstackclient" 2014-02-11 18:44:30 +00:00
Cyril Roelandt
9dc3eb5b18 FakeResponse: use a default status code
When running some tests from test_restapi.py, the following error happens:

    TypeError: unorderable types: NoneType() < int()

In Python 2, comparing NoneType and integers is possible:

    >>> None < 2
    True

But in Python 3, it's not allowed. Fix this by using a default status code.

Change-Id: Ic0fad5c68f3bf2dd8a2b98423549903f982192c9
2014-02-11 17:31:37 +01:00
Jenkins
9aa207eb9d Merge "Use six.iteritems() rather than dict.iteritems()" 2014-02-11 15:41:40 +00:00
Cyril Roelandt
eaa4c3e1a6 Python 3: fix a syntax error
"raise AttributeError, name" is invalid in Python 3.

Change-Id: Id61bd3747f49c2bd810cbfeae56506e7ed9d2bd0
2014-02-11 15:44:54 +01:00
Cyril Roelandt
3a5abf743c Use six.iteritems() rather than dict.iteritems()
This is compatible with both Python 2 and 3.

Change-Id: I6fe3e9bf9ece699badbdb9933118af90642a91e9
2014-02-11 02:53:24 +01:00
Jeremy Stanley
380d78c856 Remove tox locale overrides
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.

Change-Id: I89ff5c22be053f09defb04b3ec589d74bffcae9d
Closes-Bug: #1277495
2014-02-10 03:10:52 +00:00
Terry Howe
ecc4fb330d Glance client no longer isa http client
If the client has-a http_client, then is must not be an is-a.  This has been tested with the current version of glanceclient and the master branch.

Closes-Bug: #1269821
Change-Id: I14d67eb094bfb4c2dbc07106343488298b6a9409
2014-02-07 13:43:02 -07:00
Shane Wang
8aa0b07fbc Fix misspellings in python openstackclient
Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: Ic0d3efa26eb9a05ce16a8319c142f5bd1ce23821
Closes-Bug: #1257295
2014-02-07 13:26:48 +08:00
Jenkins
632363328b Merge "Add token create subcommand for identity v3 api" 2014-01-31 17:28:02 +00:00
Qiu Yu
a8d828f330 Add token create subcommand for identity v3 api
Implements token create subcommand which is an equivalent of keystone
token-get command. Original "wrap" parameter for keystone token-get is
not implemented yet due to cliff Bug #1269299

This is a part of: blueprint add-identity-token-support

Change-Id: I2255021c9d1f10f757686583b1ebe40b5f3a9ecb
2014-01-29 15:59:12 +08:00
OpenStack Jenkins
0aeb357fc2 Updated from global requirements
Change-Id: I98929876d5a21a990009398d9a8259c54d893e7e
2014-01-24 22:40:56 +00:00
Jenkins
0076f694ac Merge "Fix keyring issue where there were name space problems" 2014-01-23 17:38:15 +00:00
Jenkins
cb2fd0af83 Merge "Remove copyright from empty files" 2014-01-23 17:38:15 +00:00
Terry Howe
bc2395eb47 Fix keyring issue where there were name space problems
The import of keyring conflicted with a string named keyring

Change-Id: I7416ea1cf453a126dd03dba8bc2900cad35ed2da
Closes-bug: #1271987
2014-01-23 09:37:13 -07:00
Jenkins
9e9bbad120 Merge "Remove remaining print statements" 2014-01-23 04:09:53 +00:00
Dean Troyer
350718f3bb Remove remaining print statements
I think these are the last two stragglers, including debugging lines

Change-Id: Ic3dd98480211d0f7d3cc951bec5cd54f902a101f
2014-01-22 18:53:11 -06:00
Jenkins
ebfa6698a1 Merge "Add token create subcommand for identity v2 api" 2014-01-22 08:13:42 +00:00
Alexander Ignatov
ad4367839f Remove copyright from empty files
According to policy change in HACKING:
http://docs.openstack.org/developer/hacking/#openstack-licensing
empty files should no longer contain copyright notices.

Change-Id: Iba09a00f24dfbd1cd03c1c9f70ea216788e64d93
Closes-Bug: #1262424
2014-01-20 17:28:13 +04:00
Qiu Yu
4848d3ca3a Add token create subcommand for identity v2 api
Implements token create subcommand which is an equivalent of keystone
token-get command. Original "wrap" parameter for keystone token-get is
not implemented yet due to cliff Bug #1269299

This is a part of: blueprint add-identity-token-support

Change-Id: I9e4de93306f2f5959717b5219621da03961524d8
2014-01-17 17:42:01 +08:00
Sascha Peilicke
81d33a524d Sync with global requirements
Change-Id: Ie47804617ab9a11a91efd96c7989f0207e47e120
2014-01-16 09:21:39 +01:00
Jenkins
a53ed797b7 Merge "Fix image set properties error" 2014-01-10 17:27:50 +00:00
Jenkins
b00bbaa062 Merge "Fix errant underscores" 2014-01-10 17:27:48 +00:00
Jenkins
6ad05112f4 Merge "Displaying curl commands for nova and cinder calls" 2014-01-10 17:07:12 +00:00
Dean Troyer
9e31f8ea14 Fix errant underscores
Change-Id: I71b8c8df14b85e3042220e3593a9732ee6cefe15
2014-01-09 16:54:40 -06:00
Jenkins
e821a6b97f Merge "Add support for specifying custom domains" 2014-01-08 16:40:34 +00:00
Paul Belanger
420b10ee6d Add support for specifying custom domains
Add the ability to pass user_domain_id / user_domain_name, domain_id
/ domain_name, and project_domain_id / project_domain_name to keystone.
These parameters are the first step needed to getting multi-domain
support working via the CLI.

Closes-Bug: #1198171
Change-Id: I81a8534913978ff1cce01ec02741ae477e8c5fa4
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Signed-off-by: Bo Tang <btang@cs.utsa.edu>
2014-01-07 16:50:20 -06:00
Dean Troyer
7b999d786c Fix image set properties error
Change-Id: Ia290935c8a040221caf1a46ca29a7bb2e5df1ce6
2014-01-06 09:42:40 -06:00
Florent Flament
a5e087e7a9 Displaying curl commands for nova and cinder calls
When using the -v option, displays curl equivalent commands and http
messages exchanged with the nova and cinder API servers. Displays the
same messages as those displayed with the --debug option of
python-novaclient and python-cinderclient.

Implements: blueprint curl-commands-in-debugging-messages for nova and
cinder related calls

Change-Id: Ibc8ef79d874334585b81d652b9c7df9e874fffa9
2014-01-02 11:08:53 +01:00
Terry Howe
202c3e375b Closes-Bug: #1262322 Make links clickable
Change-Id: I61302ff5274cdaa09801cb9b0dc9bfd353ac687f
2013-12-25 09:41:17 -07:00
Terry Howe
12f31eed2f Closes-Bug: #1262321
Remove the unimplemented post_process method call

Change-Id: Iaed526cc25a651008a66ad7f0050070ab2b4c595
2013-12-19 20:06:54 -07:00
Dean Troyer
de27c1b455 Release notes for 0.3.0 release
Change-Id: I6f025b745378613eb674e13dd503e57d049a3e50
2013-12-17 09:22:17 -06:00
Dean Troyer
4595ca1365 Remove mox3 requirement
mox3 is only used got py3 testing when converting tests from mox,
all OSC tests are new so we don't need it.

Change-Id: I2fae539e99143f91048c95d1e46cfbd7b0e9bdb0
2013-12-17 09:21:03 -06:00
OpenStack Jenkins
c645049c24 Updated from global requirements
Change-Id: I065a67d560efca0907da9fcaa8d5ce4712dfa2c1
2013-12-10 23:45:49 +00:00
Jenkins
facdc8704e Merge "Bring RESTApi closer to ithe imminent keystoneclient.Session" 2013-12-06 22:48:29 +00:00