1778 Commits

Author SHA1 Message Date
Alex Schultz
d1bc15f498 Add compute service delete
This change adds 'compute service delete <service>' to the openstack
client. This is the equivalent of 'nova service-delete <id>'

Change-Id: I69ef1cac72cbe125c2114f8e958e22350a70f367
Closes-Bug: #1503510
2015-10-16 14:01:37 +00:00
kafka
9f51ccdf8c Add filtering by project/user for 'openstack volume list'
added project, user and domain options for filtering results,
also cleaned up the order to match the docs.

Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>

Closed-bug: #1483976
Change-Id: I9d955094d31d4a28e215d24f7521a11c62bee8db
2015-10-15 15:51:01 -04:00
Jenkins
cb533ef040 Merge "Add a table showing all the openstack plugin objects" 2015-10-14 21:25:10 +00:00
Jenkins
18a7d23a8a Merge "Fix up object-store show commands" 2015-10-14 20:29:07 +00:00
Jenkins
eab508fddd Merge "Mask the sensitive values in debug log" 2015-10-14 19:03:41 +00:00
Jenkins
155e8c6f1e Merge "Fix functional tests for Python 3.4" 2015-10-14 18:26:17 +00:00
OpenStack Proposal Bot
a29df98ef9 Updated from global requirements
Change-Id: Ie32abbbe6bb5ace5f1178fb266b9f1c60f625d72
2015-10-14 09:33:25 +00:00
Steve Martinelli
cbc1897b7d Move session and fixtures to keystoneauth1
in an effort to start consuming keystoneauth1, we can move our
sesssion and fixture code over to use keystoneauth1 instead of
keystoneclient.

Change-Id: Ibcbd588ce2e3d864f87ff1eb6e1c3c071a1e06f6
2015-10-14 00:46:07 -04:00
Dean Troyer
b60a9492a3 Remove cliff-tablib from requirements.txt
No longer needed

Change-Id: I07c72fd34e9a7429d6fb910e254f91e888070009
2015-10-13 14:39:37 -05:00
OpenStack Proposal Bot
2ca76810a2 Updated from global requirements
Change-Id: I400cce4dfd840bba2d4f368a5d7f057f28b435ab
2015-10-13 11:04:52 +00:00
OpenStack Proposal Bot
10ecd67802 Updated from global requirements
Change-Id: I60a7bd4cd9527cf3b54ab5d2968dff5134711bff
2015-10-13 01:02:45 +00:00
lin-hua-cheng
f0a81c284d Mask the sensitive values in debug log
Change-Id: I0eb11a648c3be21749690f079229c8e63a678e6c
Closes-Bug: #1501598
2015-10-12 16:55:48 -07:00
Jenkins
fce3a080cd Merge "Fix a typo in commands.rst" 2015-10-12 19:40:39 +00:00
Sirushti Murugesan
b12d850222 Fix functional tests for Python 3.4
* shlex.split() expects a string. Not bytes.
* decode the bytestring result of subprocess's communicate()
  to a string.

Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
2015-10-12 17:23:06 +05:30
Jenkins
a72c7d33cd Merge "Add test for role list --inherited" 2015-10-12 07:38:13 +00:00
Jenkins
7a94a56933 Merge "Fix typos in authentication.rst" 2015-10-12 07:15:45 +00:00
Steve Martinelli
1f8b814628 Fix up object-store show commands
1) Change metadata to appear under a common 'properties' key, and
use the utility to format them, this applied to object, account
and container.

2) Clean up container and object output, which were setting the
x-container-meta-owner property, but this is metadata only for
the container, so it's pointless to have, removed it.

3) Container show was showing read/write ACLs and sync stuff, but
these are not being returned by my swift by default, so I moved
these to be checks, so we don't clutter the output.

Change-Id: Ife7521fe9c2724035b06963c118bd6016ba2f5b5
2015-10-10 11:48:07 -04:00
Steve Martinelli
17f794ca08 Change Identity API default version to 3
Devstack now issues all v3 OSC commands for our CI, and since v3
has everything v2 has, we should be able to switch to v3.

Furthermore, most OSC users were initially  using OSC since they
were looking to exploit v3 keystone capabilities.

Change-Id: If7de86946f6dd0f148aa5f526155cccf90adfcc3
2015-10-09 05:25:19 +00:00
Steve Martinelli
ae82271778 Add a table showing all the openstack plugin objects
We need a spot that highlights the `objects` used by OpenStack
based `plugins`. The sooner we have this information out, the
sooner we reduce the chance of a name collision.

Change-Id: If9f07e19adea4aaa813eecdd0bce1fbfe616e306
2015-10-08 23:13:41 -04:00
Jenkins
4759a84703 Merge "Updated from global requirements" 2015-10-08 23:55:17 +00:00
Jenkins
9f23f1f13f Merge "image set should not show the resource" 2015-10-08 20:38:05 +00:00
Jenkins
72bf89cccc Merge "Evaluate --inherited in role list" 2015-10-08 20:17:08 +00:00
Jenkins
5f4892a15d Merge "Fix non-ascii issue with object commands" 2015-10-08 20:12:11 +00:00
Steve Martinelli
bd14d07809 unwedge the gate
devstack defaults to v3 and makes some janky assumptions in
the generated rc files

Change-Id: I4b0b3eb6ab2aa9be2ac4c2404b2f9655e3ed564e
2015-10-08 03:09:43 -04:00
Daisuke Fujita
2eaaf37a0d Fix a typo in commands.rst
1. "ec2 cedentials" to "ec2 credentials"

Change-Id: I9a17c0d592f9a4d6e53e6dd786cba405468a3e09
2015-10-08 10:56:23 +09:00
Daisuke Fujita
851393eb0b Fix typos in authentication.rst
1. "inital" to "initial"
2. "set of of environment variables" to "set of environment variables"

Change-Id: I7040792c1a03a9a3ac873f9a0428bfa1178fd550
2015-10-08 10:16:47 +09:00
OpenStack Proposal Bot
27465f193d Updated from global requirements
Change-Id: I30b638f4f04d0fbf4ffc2fac965306ce99faacf1
2015-10-08 00:09:09 +00:00
Dean Troyer
e523c699a2 Add test for role list --inherited
Change-Id: I216ab6c8ac903720ec67870a5171ae57a8f293aa
2015-10-07 17:37:20 -05:00
lin-hua-cheng
985b2cdd2c Fix non-ascii issue with object commands
Escape the container and object name whenever it is used
as URL.

Change-Id: I2343c1e67843ab53773b3fca6e258dc329cd9573
Closes-Bug: #1503508
2015-10-06 23:26:08 -07:00
Jenkins
262af5416b Merge "Add ID column to compute service list" 2015-10-07 03:38:33 +00:00
Jenkins
23e821a86b Merge "Add tags to image set" 2015-10-07 00:17:44 +00:00
Jenkins
f6678feea0 Merge "Clean up Image v2 image set command" 2015-10-06 21:26:33 +00:00
Alex Schultz
80e3a2dedb Add ID column to compute service list
This change adds the ID to the compute service list command so that the
ID can be leveraged by scripts trying to remove or update a specific
service.

Change-Id: I446b4c0071988133195eb2382313b3918b7ffa72
Closes-Bug: #1503430
2015-10-06 16:00:59 -05:00
Steve Martinelli
2bd82ab892 image set should not show the resource
the rest of OSC set commands do not show the resource after it has
been updated. unless the update fails then we report back a failure,
otherwise the user should assume everything went fine.

Change-Id: I2bd4188450c3853b4a1bc25f80fc9450cda32bdd
2015-10-06 20:14:54 +00:00
NiallBunting
1afb574533 Add tags to image set
This adds --tag to the v2 version of `image set`. This
is another step to compatability between the osc image api.

Added merge of tags into existing tags and handling duplicates,
and tests for same.

Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>

Change-Id: Ie800fcbf8bbc0978c54ace3278750a18023e8ce4
2015-10-06 20:14:34 +00:00
Jenkins
be1ee4181e Merge "Update the plugin docs" 2015-10-06 18:36:33 +00:00
Jenkins
e3213f66da Merge "Set object store arg order in docs" 2015-10-06 18:34:52 +00:00
Dean Troyer
201b1cee86 Clean up Image v2 image set command
Make the Image v2 image set command meet at the intersection of the v1
image set command and the v2 image create command:

* Add visibility to the deadopts list and remove the option
* Put the options in the same order as v1 image set
* Make the help text match
* Add --properties
* Move the additional options that do not appear in either v1 image set or
  v2 image create after --property as they are really pre-defined properties
* Add tests for v2 image set to match v1 and then some
* Put the SetImage class in v2/image.py in alphabetical order

Change-Id: I102b914e8ad09a014f6fdd846c5766b6c2eaadb8
2015-10-06 11:11:59 -07:00
Rudolf Vriend
7075c90053 Evaluate --inherited in role list
the --inherited option was not being passed into keystoneclient

Closes-Bug: #1502822

Change-Id: I48170dc67b23cc9b0665b1e0f38118eea952f131
2015-10-06 13:39:22 -04:00
Jenkins
e926998700 Merge "Image fix bug with --volume" 2015-10-06 15:04:31 +00:00
Jenkins
a76164f450 Merge "Add shields.io version/downloads links/badges into README.rst" 2015-10-06 15:04:27 +00:00
Dean Troyer
578a57dcc3 Set object store arg order in docs
argparse displays positional args last in the help output,
our docs should match.

Change-Id: I01e8d62cb8c1b537ea0441b8bdf8880a4c856b32
2015-10-06 08:46:31 -05:00
Steve Martinelli
5bd5366089 Update the plugin docs
There have been some changes as to the status of OSC plugins,
highlight these changes in the table.

Change-Id: Iff6520d35b34ae5d7bf88a128ebdf05f3681d643
2015-10-06 02:07:45 -04:00
Steve Martinelli
e48c7afee4 add set/unset support for objects in object store
add docs and command support to set and unset metadata of objects
that are stored in an object store (swift).

Closes-Bug: #1501945

Change-Id: If838a4b3343b6ddb97cd4bd1cb63f0ba1c1a00a1
2015-10-06 00:52:24 -04:00
Steve Martinelli
abaf711e24 add support for set/unset of container properties
include docs and commands to set and unset container properties

Partial-Bug: #1501945

Change-Id: I8d7e8cf356a2321a37ed940c4e10cae411b94dfd
2015-10-06 00:18:59 -04:00
Jenkins
bf11960d55 Merge "Updated from global requirements" 2015-10-05 22:10:51 +00:00
Jenkins
f05ecd9860 Merge "Add one parenthesis" 2015-10-05 22:10:06 +00:00
Jenkins
0bfa349ede Merge "cleanup account ids from container commands" 2015-10-05 21:54:18 +00:00
Jenkins
77689c93a5 Merge "Rename swift account commands" 2015-10-05 21:54:15 +00:00
Jenkins
a02e7c8355 Merge "Add support for showing account details" 2015-10-05 21:54:13 +00:00