3782 Commits

Author SHA1 Message Date
Jenkins
c1503492cd Merge "Fix "security group list" command to display project ID properly" 2017-03-16 13:02:17 +00:00
Jenkins
3d4750cdc8 Merge "Narrow expected responses for CheckUserInGroup" 2017-03-16 13:02:02 +00:00
Jenkins
9184e19288 Merge "Add sort support to project list" 2017-03-16 13:01:56 +00:00
Jenkins
66246561d8 Merge "Switch to use cleanup method in functional test" 2017-03-16 13:01:49 +00:00
Jenkins
b6f51cdfa0 Merge "Add the bgp agent type to network agent command" 2017-03-16 08:58:49 +00:00
Colleen Murphy
853ea5ab59 Narrow expected responses for CheckUserInGroup
When checking whether a given user is in a given group, keystone will
return a 404 Not Found if all went well but the user was not in the
group. It may also return a 403 if the user and the group are in
different backends, which would also mean that the user was not in the
group[1]. Any other 400 response is a client error and any 500 response
is a server error to which the user should be alerted.

Without this patch, openstackclient treats any exception as a valid "not
found" and may end up hiding server errors. This patch reduces the
caught exceptions to 403 and 404 responses and treats everything else as
an error.

[1] https://developer.openstack.org/api-ref/identity/v3/?expanded=check-whether-user-belongs-to-group-detail#check-whether-user-belongs-to-group

Closes-bug: #1672634

Change-Id: Id3f3b2409b7cee480ee3c19b6d6c3070599ffe8f
2017-03-14 09:23:19 +01:00
Jenkins
4a19f6753b Merge "Fix reference in network flavor create command reference" 2017-03-12 19:49:52 +00:00
Akihiro Motoki
85d598a9ac Fix reference in network flavor create command reference
network-flavor.rst
* The opening quote of :ref: should be a backquote
* Closing paranthesis was missing after the reference

network-service-provider.rst
* A blank line is required after a label definition

Change-Id: Ie5c2bedbb6e5b4337b69a7d1ea75c47366e3d627
2017-03-10 21:51:34 +09:00
Huanxuan Ao
888022f8c0 Fix "security group list" command to display project ID properly
The "Project" column of the output of
"security group list" command is blank
since the new attribute name is "project_id"
not "tenant_id" in network resource, so change
it to display project IDs properly

Change-Id: Ie2a071afac3b5a8aaa2c6f1c50d44ae06905d916
Closes-bug: #1659967
2017-03-10 10:55:58 +08:00
Jenkins
9ffcd0dca7 Merge "Fix handling the use_default_subnet_pool attribute" 2017-03-10 02:52:15 +00:00
Ankur Gupta
1e739d7aeb Trivial Fix
Improperly rendered Release Note for v3.9.0

Change-Id: Ia9b920b5a3774dd9c720fe7a39fd41aaf7be209f
2017-03-09 10:59:44 -06:00
Jens Rosenboom
3e6356a4d8 Fix handling the use_default_subnet_pool attribute
The attribute formerly wasn't working because it is lacking support in
the SDK. The patch to add it[1] introduced a modified spelling, so we
should be matching this here.

Also make sure that the attribute is not shown when displaying subnet
objects, as it is meant to be invisible[2].

[1] I72c0be77d96f3891748cdd69c382211dc20dbf5e
[2] http://git.openstack.org/cgit/openstack/neutron/tree/neutron/extensions/default_subnetpools.py#n23

Change-Id: Ic125b818a6082d76a1114fe89e0b1fcf4c7356b0
Partial-Bug: 1668223
2017-03-09 08:21:13 +01:00
Jenkins
a93440023b Merge "Remove py34 tox env and pypi classifier" 2017-03-08 22:17:34 +00:00
Tom Jose Kalapura
6c1b03bf73 Add sort support to project list
Add sort support to project list by sorting items in the client side.
By default list will be sorted by name.

Change-Id: I00011406846b4003aff075eeeb88ac18fa5e2820
Closes-Bug: #1596818
2017-03-08 08:47:35 -08:00
Jenkins
37b5d0d45e Merge "command list: Move network meter appropriately" 2017-03-08 15:42:22 +00:00
Jens Rosenboom
8c6cfb518b Add the bgp agent type to network agent command
The neutron-dynamic-routing project provides an agent called
neutron-bgp-dragent with type "BGP dynamic routing agent". So we need to
add this option and can avoid using the deprecated neutron CLI e.g. in
[1].

[1] https://docs.openstack.org/ocata/networking-guide/config-bgp-dynamic-routing.html#verify-service-operation

Change-Id: I9af1e09d122806b56b966295817d8d31393e0283
Closes-Bug: 1671040
2017-03-08 14:40:23 +01:00
Jenkins
dcb2de9db2 Merge "Add "--private-key" option for "keypair create"" 2017-03-08 02:51:48 +00:00
Eric Brown
73c2a809f7 Remove py34 tox env and pypi classifier
Currently only py27 and py35 (not py34) is tested in the gate, so
py34 should no longer be part of the tox environment or part of the
PyPi classifier.

Change-Id: I155fc0e3ac06b495718d9fa3058edded738cb011
2017-03-07 14:40:27 -08:00
Akihiro Motoki
f4d3810c3e command list: Move network meter appropriately
'network meter' commands are not placed alphabetically
in the command list. It was due to the incorrect filename.

Trivial Fix

Change-Id: I7a76d3133915883cf41be8c7430def284d292d6e
2017-03-08 05:56:32 +09:00
Jenkins
054060cbef Merge "Add server event list and show commands" 2017-03-07 19:20:11 +00:00
Rui Chen
c03b9a871c Add server event list and show commands
OSC server event is similar to nova's instance action commands.

Server event is the event record that had been done on a server,
include: event type(create, delete, reboot and so on),
event result(success, error), start time, finish time and so on.
These are important information for server maintains.

Change-Id: I8111091f46a0d2755728d8f9d43cc0dfe8842d13
Closes-Bug: #1642030
2017-03-07 15:25:43 +08:00
OpenStack Proposal Bot
c0a23b89b1 Updated from global requirements
Change-Id: Ifda7ceeb278ff590cbf3d43f4eb65f895474fd4b
2017-03-07 02:05:59 +00:00
Jenkins
ead615f92d Merge "Cleanup release notes for 3.9.0 release" 2017-03-07 00:41:24 +00:00
Jenkins
6b8f5db02f Merge "Trivial Fix" 2017-03-06 23:55:40 +00:00
Jenkins
fe8c5047f8 Merge "add neutron CLI to decoder" 2017-03-06 21:50:34 +00:00
Dean Troyer
20429bd5c6 Cleanup release notes for 3.9.0 release
Change-Id: I6786fe67928d4f3d72cb4751fb70b67dccaa11e2
2017-03-06 21:49:47 +00:00
Jenkins
ca6f733f0f Merge "Trivial Fix" 2017-03-06 21:38:28 +00:00
Ankur Gupta
3907389785 Trivial Fix
Improperly rendered release note.

TrivialFix

Change-Id: I9771b84eb96edea39a5dbd6a94f2ee464da3914c
2017-03-06 14:09:32 -06:00
Steve Martinelli
b421eed868 add neutron CLI to decoder
Change-Id: I4717ffa2aa1c7bab1199728455ac7c13834d746f
2017-03-06 18:48:55 +00:00
liusheng
d07704dd25 Normalize the gnocchiclient docs entry
For now, gnocchiclient has been added in the global-requirements, we
should add gnocchiclient in test-requirements.txt and normalize the docs
entry.

Change-Id: Ide5d8262e7f7c5b1ca304fa72893ccfbf16d8ec1
2017-03-06 19:27:04 +08:00
Rui Chen
dee22d8faa Add "--private-key" option for "keypair create"
Aim to specify the private key file to save when keypair
is created. That is a convenient way to save private key
in OSC interactive mode, avoid to copy CLI output, then
paste it into file.

Change-Id: I119d2f2a3323d17ecbe3de4e27f35e1ceef6e0a5
Closes-Bug: #1549410
2017-03-06 08:34:28 +00:00
Jenkins
69b7b9b059 Merge "Support --no-property in "volume set" command" 2017-03-06 03:47:49 +00:00
Reedip
33b092fb9a Trivial Fix
Add a space in the quota error message

Change-Id: I159708b42e86f6b02f8733103a687561d550f650
2017-03-05 18:21:46 +00:00
OpenStack Proposal Bot
f97a33b971 Updated from global requirements
Change-Id: I28815dc190dba45af060b26eceb660f40bb67772
2017-03-03 22:59:10 +00:00
Anindita Das
6abd38cd46 Jsonify network flavor functional tests
Some functional tests try to parse the CLI table output format, that cause much
work on parse string by using regular expression. Using json format in
functional tests is better and easier way, this patch reworks for network
flavor related tests.

Change-Id: I2bc5675409945c9ae79ac65df2d5d10781fe595a
2017-03-02 17:10:53 +00:00
Jenkins
8bff11582d Merge "Functional test for subnet" 2017-03-02 14:38:07 +00:00
Ankur Gupta
a8ec2c94e7 Nit: Trivial doc formatting fix for network flavor
Change-Id: I6e67c0859642593bc7fdd479cac81e56d87faf09
2017-03-01 21:09:20 -06:00
Jenkins
3ec0bc9179 Merge "Add Cinder v3 client support for volumes" 2017-03-01 19:10:48 +00:00
Jenkins
3816433b53 Merge "Auto allocated topology for OSC" 2017-03-01 18:03:19 +00:00
OpenStack Proposal Bot
1654f56f4e Updated from global requirements
Change-Id: Ief1a2faf6b9f80c5c7f3946d820f89587d44f8aa
2017-03-01 04:16:15 +00:00
Jenkins
e3a726491c Merge "Update doc/source/command-objects/image.rst" 2017-03-01 02:22:21 +00:00
David Rabel
56c981e7fb Update doc/source/command-objects/image.rst
Update doc/source/command-objects/image.rst to match
output of 'openstack help image create' again.

Forgot this in:
https://review.openstack.org/#/c/437335/

Change-Id: Ied7ed88ea79da0b778cccf19d087b5ee06edcb71
2017-02-28 21:35:56 +01:00
Jenkins
264f81f6fc Merge "Port set/unset SecGroup Bug Fix" 2017-02-27 17:18:00 +00:00
Jenkins
c6059bed4a Merge "openstack image create : --file and --volume exclude each other" 2017-02-27 05:00:57 +00:00
Jenkins
e5ee4b8ca3 Merge "Support list commands by group name keyword" 2017-02-27 03:47:11 +00:00
Ankur Gupta
9d946f0f45 Port set/unset SecGroup Bug Fix
Throwing error 'Port' object has no attribute 'security_groups'
Fix for set and unset.

Change-Id: I1a0625b5a432c7a91cf40249ce4f7c883f53d704
Closes-Bug: #1656788
2017-02-26 15:39:36 -05:00
Jens Rosenboom
f63a9f402d Fix output of ListSecurityGroupRule
The Ethertype column was always left empty because a wrong column name
was being used.

Change-Id: I7fc0f8d5eb7bac1efb234faba454dad0a45a7e6a
Closes-Bug: 1667699
2017-02-24 21:21:43 +01:00
David Rabel
4ea4f6fabb openstack image create : --file and --volume exclude each other
Added parser.add_mutually_exclusive_group() for --file and --volume
in openstack image create.

Change-Id: I4d9fc6314801d569354e5644e231ddd6c7f1853d
Closes-Bug: 1666551
2017-02-24 08:50:37 +01:00
Jenkins
1450e8ff4f Merge "Fix can not set is_default in network" 2017-02-24 04:13:38 +00:00
Jenkins
9ccf8fd067 Merge "Revert unit tests for quota commands" 2017-02-23 18:30:21 +00:00