1127 Commits

Author SHA1 Message Date
Steve Martinelli
258f4ca6e6 reference corect ec2 helper function
ec2creds.py was referencing a function on self, but wasn't there.
Correctly reference the right function.

Change-Id: I62f09c497be9dbb394341914388d60634e8b80c2
Closes-Bug: 1465561
2015-06-16 11:02:09 -04:00
Jenkins
ba79c3fdfb Merge "Improve the hint message" 2015-06-14 18:41:33 +00:00
Jenkins
724abb37b8 Merge "Fix the typo in openstackclient/shell.py" 2015-06-14 17:52:27 +00:00
Dave Chen
9f69b43f5a Improve the hint message
Currently, we can get scoped token (domain scoped, project scoped)
as well as unscoped token.

When we use OSC to get a domain scoped token without explicitly set
domain information, the hint message show us we need to set a scoped
domain or project, but it miss that the parameters to be set in order
to get project or domain scoped token is not the same.

Thus, the hint message could be improved to make it more clear to
end user.

Change-Id: I94768c619b30be18737fec189ae6d81e81ba090d
2015-06-14 13:31:02 +00:00
Dave Chen
b3289601c7 Fix the typo in openstackclient/shell.py
Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
2015-06-14 14:59:38 +08:00
Steve Martinelli
ec903a1f09 Add oidc plugin for listing federation projects
the oidc plugin should be included in the list of valid federation
protocols that can leverage `federation project list`

Change-Id: I3f5c5ab262c7097273716a81618a2dcbb159dd6f
2015-06-11 03:42:07 -04:00
Steve Martinelli
aac0d588bd Skip trying to set project_domain_id if not using password
This is already fine for user_domain_id, and needs to be replicated
for project_domain_id. Also added more logging.

Change-Id: I3fa8f29edb3fc430d453bd0fc835312c0c8401f4
2015-06-11 02:43:57 -04:00
OpenStack Proposal Bot
f3725b4761 Updated from global requirements
Change-Id: I4055698d0e4492a17623836e802ac56cd869ab0a
2015-06-11 00:48:27 +00:00
OpenStack Proposal Bot
18991ab9a2 Updated from global requirements
Change-Id: I5b469d19ac58bcb31ebd276e1d62b3db8ccfb5a3
2015-06-10 21:27:27 +00:00
Jenkins
deb5a9790d Merge "Include links to developer workflow documentation" 2015-06-10 00:42:33 +00:00
Jenkins
ba6c9472a5 Merge "Add functional tests for volume set and unset" 2015-06-10 00:42:16 +00:00
Jenkins
c508162d53 Merge "Imported Translations from Transifex" 2015-06-09 20:27:51 +00:00
Jenkins
bc53b05f8f Merge "Enable specifying domain for group and role commands" 2015-06-09 18:20:34 +00:00
OpenStack Proposal Bot
1f1ed4cf6c Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ib086dbeab7cf53a6b147d40594615e6c8bf1b6d1
2015-06-09 06:01:46 +00:00
Monty Taylor
4afd308a4f Include links to developer workflow documentation
Newcomers aren't always sure how to get started with our tools or
workflow. Lucky for them, we have documented these things. Unlucky for
them, they have no idea the docs exist.

Give them some links.

Change-Id: I6fce6fbccb8a9fe16b48845790b4cac05317ebac
2015-06-08 11:43:24 -04:00
Juan Antonio Osorio Robles
f7feef7f8d Enable specifying domain for group and role commands
Many of the commands for the group and role resources were lacking an
option to specify the specific domain groups, projects or users belong
to. This commit fixes that.

Change-Id: I461d2bcfd01ad2dea970de38ec7ad6f4a631ceb1
Closes-bug: #1446546
2015-06-08 17:05:10 +03:00
Dave Chen
7cf779004e Not use the deprecated argument
`project` argument is deprecated in keystoneclient for V3 API,
and use `default_project` instead, should use `default_project`
as the argument name in the openstackclient accordingly.

Change-Id: Ib9d70801c933a184afcdab75204393efa764fa87
Closes-Bug: #1462389
2015-06-08 10:15:24 +08:00
Jenkins
56163aa7bc Merge "Create 1.4.0 release notes" 2015-06-05 00:45:17 +00:00
Jenkins
c9d95b41cb Merge "Updated from global requirements" 2015-06-04 23:00:54 +00:00
Jenkins
4cc7313504 Merge "add --domain argument to v3 project set" 2015-06-04 22:21:44 +00:00
Dean Troyer
b80856617f Create 1.4.0 release notes
Change-Id: I2fa7d7875518ceebbdc3936eedfe72d17c81535f
2015-06-04 16:49:12 -05:00
OpenStack Proposal Bot
43d12db709 Updated from global requirements
Change-Id: I243598ee6778297b622c8e29c78b76d8eb5a4692
2015-06-04 20:14:18 +00:00
Jenkins
7e067c6f4f Merge "Allow --insecure to override --os-cacert" 2015-06-04 19:27:36 +00:00
Dean Troyer
31d785ec69 Allow --insecure to override --os-cacert
Change --insecure to ignore the --os-cacert setting.  This is a change
from before where OSC followed the requests pattern of cacert taking
priority.

This logic is also introduced in os-client-config 1.3.0; we
do not require that release yet so it is duplicated here for now.
That change will come with the upcoming global options refactor.

Closes-Bug: #1447784
Change-Id: Iaa6d499ed0929c00a56dcd92a2017487c702774a
2015-06-04 09:37:46 -05:00
Jenkins
0c5f12aec0 Merge "Clean up ec2 credentials help text" 2015-06-03 23:04:27 +00:00
Jenkins
7f658c0aca Merge "Add domain support for ec2creds in v3 identity" 2015-06-03 21:08:52 +00:00
Jenkins
1fff11a9ab Merge "Add EC2 support for identity v3 API" 2015-06-03 20:20:12 +00:00
Dean Troyer
3fa0bbc7ee Clean up ec2 credentials help text
Re-sync the text in v2 and v3 help and the docs

Depends-On: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275
Change-Id: Iabef2f271fcf46748295c29713fea1811dcab29c
2015-06-03 15:03:57 -05:00
TerryHowe
8d185a6a6f Add functional tests for volume set and unset
Add functional tests for volume set and unset for metadata and
resource values.

Change-Id: Ief07fc5c480608bb900d55df935b89c503609c80
2015-06-03 12:03:17 -06:00
Steve Martinelli
7665d52a0c Add domain support for ec2creds in v3 identity
A follow up work item from I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f
to support domain scoped users and projects for ec2creds in the
v3 identity api.

Related-Bug: 1236326

Change-Id: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275
2015-06-03 15:33:36 +00:00
Jamie Lennox
15d3717e73 Add EC2 support for identity v3 API
EC2 support is provided for the v2 identity API and is available in
almost exactly the same format in the v3 API and enabled by default.

Supporting EC2 in the v3 identity API in OSC will make it much easier to
transition devstack to a v3 only state.

Closes-Bug: 1236326

Change-Id: I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f
2015-06-03 15:33:15 +00:00
Jenkins
aa7145e0c9 Merge "Fix security group list command" 2015-06-03 14:37:33 +00:00
Jenkins
81558d9ce3 Merge "Get rid of oslo_i18n deprecation notice" 2015-06-03 14:35:11 +00:00
OpenStack Proposal Bot
db7d4ebcfb Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I1e445ea9300686f17d3289fb026fd62b6259e0a0
2015-06-03 06:05:19 +00:00
Jens Rosenboom
bf99218292 Add a reference to the IRC channels
As the name of the associated IRC channel for this project is not
completely obvious, add a reference to the doc index page so that
it may be found easier.

Change-Id: I6cb6e2571bff73db6d983cd96fe6d03319d6577c
2015-06-03 02:53:50 +02:00
Jamie Lennox
226fc6c80a Change Credentials header to Blob from data
The payload data of credentials is the unfortunately named blob.
Currently when listing credentials the payload is excluded as OSC is
looking for a column called data which does not exist.

Change-Id: I6fa4579d7ec9ba393ede550191dbd8aa29767bf4
2015-06-02 17:10:48 -04:00
Jenkins
dff006c3f6 Merge "Rework shell tests" 2015-06-02 16:55:24 +00:00
Jenkins
c02b816a74 Merge "Add volume functional tests" 2015-06-02 16:30:51 +00:00
TerryHowe
f737160777 Get rid of oslo_i18n deprecation notice
Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e
2015-06-02 09:21:31 -06:00
TerryHowe
b2cf651100 Fix security group list command
Security group list command tries to get a project list and
this may fail with a multitude of exceptions including but
not limited to 401, 404, ConnectionRefused and EndpointNotFound.
Rather than try to capture every possibility, this patch just
catches the base class.  Converting project ids to names is
less important than having a working security group list command.

Change-Id: I68214d2680bad907f9d04ad3ca2f62cf3feee028
Closes-Bug: #1459629
2015-06-02 08:55:54 -06:00
Jenkins
a6ea6d9f94 Merge "Add image functional tests" 2015-06-02 14:49:34 +00:00
Dean Troyer
a05cbf4c99 Rework shell tests
This is the first step in reworking the shell argument handling,
clean up and add tests to ensure functionality doesn't change.

* Rework shell tests to break down global options and auth options.
* Make tests table-driven
* Remove 'os_' from 'cacert' and 'default_domain' internal option names

Change-Id: Icf69c7e84f3f44b366fe64b6bbf4e3fe958eb302
2015-06-02 09:49:17 -05:00
Jenkins
c2e8b80ee3 Merge "Ignore cover directory from git" 2015-06-02 14:32:39 +00:00
TerryHowe
746f6421d0 Add image functional tests
Change-Id: I30b219bc3393fcb197bda266125dcfb5c8780a3e
2015-06-02 05:26:25 -06:00
Jenkins
9bf24f3ae1 Merge "Set tenant options on parsed namespace" 2015-06-02 02:15:52 +00:00
TerryHowe
f9fa307809 Add volume functional tests
Change-Id: I8e12837fb22cabeabf1cde341324927cc6ee0252
2015-06-01 14:21:33 -06:00
Jenkins
4d57e9f62a Merge "Add --wait to server delete" 2015-06-01 20:07:27 +00:00
Jenkins
40634c3f2c Merge "project create is missing --parent in doc" 2015-06-01 15:29:25 +00:00
Jamie Lennox
0c9f5c25e4 Ignore cover directory from git
The cover directory holds autogenerated coverage reports that should
not be checked into git and should therefore go in the gitignore file.

Change-Id: I4f7225b5422493f99bc534d6ac622e0703781e6d
2015-06-01 17:46:02 +10:00
Jenkins
c4bc05b945 Merge "Add support for volume v2 API" 2015-05-31 05:17:38 +00:00