4400 Commits

Author SHA1 Message Date
Zuul
bf52ae5a58 Merge "Fix docs from I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a" 2018-07-13 15:37:54 +00:00
Zuul
e4bbc3ce4d Merge "Skip calls to glance and nova when got no servers" 2018-07-11 16:02:40 +00:00
Zuul
84755a81b5 Merge "Replace pbr autodoc with sphinxcontrib-apidoc" 2018-07-11 16:02:39 +00:00
Tuan Do Anh
70031687f9 Fix lower-constraints.txt
During the change https://review.openstack.org/#/c/573216/
neutron-vpnaas lower-constraints.txt looks out-of-date.
This commit fixes lower-constraints.txt.

Change-Id: Id9cfb463a98bdcc3c45505d8701c515549ecaa55
2018-07-11 14:09:02 +07:00
Stephen Finucane
63d741fd66 Replace pbr autodoc with sphinxcontrib-apidoc
This fixes local building of the documentation using tox, and allows the
gate to stop relying on pbr and move completely to the new docs PTI.

http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I485acda07098a435753e91c1ca45e586de199c35
2018-07-10 17:15:26 +01:00
Zuul
d6cf027be1 Merge "Make Profile fallback go bye-bye" 2018-07-10 14:21:48 +00:00
Pavlo Shchelokovskyy
b9fab849f7 Skip calls to glance and nova when got no servers
save (potentially many) HTTP calls to Glance API for image list
and a call to Nova API for flavor list when the server list
actually returned no servers.

Change-Id: I93a56138c50b82fb4dce67a2f788107f71c5f423
Story: #2002039
Task: #19681
2018-07-09 15:07:24 +03:00
Dean Troyer
26c268a910 Slow down and retry aggregate create/delete to lessen race
Change-Id: I676894c1bfd3156313d88e6457250b9ff226118b
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-07-06 13:15:59 -05:00
Zuul
c5a0c3ad5d Merge "Retry floating IP tests" 2018-07-06 14:04:38 +00:00
Dean Troyer
83a9db280d Retry floating IP tests
test_server_attach_detach_floating_ip() has a test for server
add/remove floating IP that seems to be racy, add a retry loop
to let neutron and nova do their thing before calling it bad.

Change-Id: I999a0d7dae1706d746053bafb7ab4e3b791d0042
2018-07-06 10:24:16 +00:00
Hongbin Lu
4a9cb8eea8 Support filtering port with IP address substring
Change-Id: I9559f1c0a6db943705bd32aefb60d7ea7054dd1b
Related-Bug: #1718605
2018-06-29 20:15:28 +00:00
Zuul
e4b8c31cd3 Merge "Adding api_version to FakeApp" 2018-06-29 18:17:47 +00:00
Zuul
0ba5dcbc6a Merge "Display private flavors in server list" 2018-06-29 13:57:45 +00:00
Zuul
7d7a429685 Merge "Add ability to filter image list by tag" 2018-06-29 02:47:41 +00:00
Matt Riedemann
7e8c55fa1b Fix docs from I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a
The CLI usage docs should mention the microversion
restriction for creating a flavor with a description
and setting a description on a flavor. Also, the release
note talks about setting the server description on the
flavor commands (wrong resource).

Change-Id: I93af3da9a0be62395a1c719fd1dcbfd2b669580d
Story: 2002196
Task:  22607
2018-06-28 14:00:49 -04:00
Zuul
3493948d13 Merge "Format port_details field of Floating IP" 2018-06-28 17:26:06 +00:00
Zuul
7b8873dc6b Merge "Compute: Add description support for flavor" 2018-06-28 17:26:03 +00:00
Adam Harwell
9edbab8c90 Add ability to filter image list by tag
Change-Id: I2e222d3e69df9d8d7cd472663caaee31bedd848c
2018-06-28 16:17:14 +00:00
wu.chunyang
ddcc25e7f3 Add release note link in README
Change-Id: I53896535dc369a499a6850b71d23feff9350e557
2018-06-28 13:27:55 +08:00
tianhui
603fe25567 Change bug url to a correct one
The url for the python-openstackclient bugs is deprecated and
needs to change it to a correct one.

Change-Id: I3762faf27fdb647dbff2e47b19d238108ef1975f
2018-06-27 07:44:53 +00:00
Zuul
4bde9af892 Merge "Network: Add tag support for security group" 2018-06-25 15:16:05 +00:00
Zuul
5d2bd2a738 Merge "compute: limit the service's force down command above 2.10" 2018-06-24 13:28:44 +00:00
Zuul
4ffb3a905a Merge "Fix subnet host_routes error" 2018-06-24 05:03:04 +00:00
Telles Nobrega
412ee7f1d8 Adding api_version to FakeApp
In order to use app.api_version['<some_service>'] we need to have the
api_version on FakeApp otherwise the test will fail.

Patch that will benefit from this:
https://review.openstack.org/#/c/572536/

Change-Id: Ibb3c548daf2a62b6c4aefb5e257372dd5c56521e
2018-06-24 03:47:23 +00:00
Sami MAKKI
08dbd154e5 Fix the role implies list command.
The code was calling an unexisting function which never existed.
The module refers now to the correct `InferenceRuleManager`. It
also allows the compatibility with the future python-keystoneclient
in which the compatibility method will be removed from the
RoleManager.

Change-Id: I08f785dc9e840da2e16915683eecfe49189c44b3
2018-06-24 02:17:02 +02:00
Dean Troyer
15a079faa6 Fix volume type functional tests
Convert functional VolumeTypeTests to not use class methods for setup.

Depends-On: https://review.openstack.org/577147
Change-Id: I855583ad1a50bf5f5046acdb85e977ab9e3c45d2
2018-06-22 10:05:28 -05:00
tianhui
4a68ba625c Compute: Add description support for flavor
Co-Authored-By: Fan Zhang <zh.f@outlook.com>
Change-Id: I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a
Story: 2002196
Task: 21681
2018-06-20 09:11:05 +00:00
He Jie Xu
956eabe967 compute: limit the service's force down command above 2.10
The force down action is added in Microversion 2.11, we should limit
the command only can be executed when the microversion is above 2.10.

Change-Id: I0a87e02e71ff025d30181fc17ebcd003a590f110
2018-06-19 12:59:03 +00:00
Huang Cheng
5bb5585aa9 Fix subnet host_routes error
When updating subnet with "no-host-route" option, set host_routes to an empty list as neutron_lib.api.validators expected.

Change-Id: I6fe039793d813758429c7a104fd40172b4f8122b
Closes-Bug: #1747101
2018-06-14 13:03:46 +00:00
yanpuqing
402c9a21b3 Do not require port argument when updating floating IP
When setting floating ip other properties, port argument is
force to use.
The patch modifies the command, when setting floating ip other
properties, like tags, no need port argument.

Change-Id: I908712c8913f32d3dd5fdfefe7347277d72f66de
Story: 1751431
Task: 13865
2018-06-13 23:05:30 -04:00
Dongcan Ye
aaed4b315f Network: Add tag support for security group
Change-Id: Icccb23429913724c6a8bd15d4737672b47a5f13a
Closes-Bug: #1750983
2018-06-14 01:01:58 +00:00
Zuul
9766eb23e7 Merge "Fix server show for microversion 2.47" 2018-06-12 04:44:38 +00:00
Zuul
4c4c0ae2da Merge "Optimize _prep_server_detail to avoid redundant find_resource" 2018-06-12 01:14:16 +00:00
Zuul
cf078fdbc4 Merge "Use Server.to_dict() rather than Server._info" 2018-06-12 00:48:00 +00:00
Zuul
a7973d927d Merge "Remove deprecated ip floating commands" 2018-06-09 18:43:45 +00:00
Zuul
e80f951f22 Merge "Add bgp commands to neutron decoder" 2018-06-09 17:11:29 +00:00
Zuul
784389d02c Merge "Fix urls in README.rst" 2018-06-09 17:11:28 +00:00
Zuul
9b31ba36ed Merge "Update role document to include system parameter" 2018-06-09 17:11:27 +00:00
Zuul
0226eb7fd9 Merge "Add system role functionality" 2018-06-09 17:11:26 +00:00
Matt Riedemann
da7572a5ff Fix server show for microversion 2.47
Compute API version 2.47 embeds the server's internal
flavor in the response. The original flavor id is not
preserved since it could have changed if the flavor
was deleted and re-created after the server was created,
which was the dreaded Horizon "Edit Flavor" issue.
So the flavor dict in the server response is a dict of
information about the flavor representing the server
"right now" excluding the id. The original flavor name
is shown though along with the ram/disk/vcpu etc
information.

The server list command has a similar issue which
will be fixed in a follow up change.

Change-Id: I1a92999758006d02567c542b6be8902a049899cc
Task: 13864
Story: 1751104
2018-06-08 15:52:31 -04:00
Matt Riedemann
752a2db332 Optimize _prep_server_detail to avoid redundant find_resource
When showing a server or doing a rebuild, we already have
the latest version of the server so _prep_server_detail
getting the server again is an unnecessary performance hit.

ShowServer is pretty obvious here. For RebuildServer, the
compute API actually refreshes the server before returning
it in the response, so the client already gets the latest
when the rebuild call returns.

The only other usage of _prep_server_detail that does require
a refresh is CreateServer since the POST /servers response is
a minimal version of the server object.

This adds a new refresh kwarg, backward compatible by default,
to _prep_server_detail but changes ShowServer and RebuildServer
to no longer refresh.

Change-Id: Ib1c9c424ed1cafc2dfd8be90af8de8a774bdfbf0
2018-06-08 11:46:29 -04:00
Matt Riedemann
56b3467549 Use Server.to_dict() rather than Server._info
There is a to_dict() method on the Server object from
python-novaclient which makes a deepcopy of the internal
Server._info - use this instead of accessing the _info
attribute directly.

Also, while in here, fixed a typo in _prep_server_detail.

Change-Id: I679b4489c815f8a54368ef6b23b9f77e75b4d0bc
2018-06-08 11:13:40 -04:00
Lance Bragstad
aefddf3a90 Update role document to include system parameter
With the recent addition of system scope support in osc, we should
add system docs to the role documentation.

bp system-scope

Change-Id: Id77511c52ff0c36ea845e0f0fbbe3ec14818ee58
2018-06-07 15:58:40 +00:00
Chen
f904efb037 Fix urls in README.rst
1. bug tracking has been moved to storyboard
2. syntax issues
3. remove PyPI downloads since it is no longer maintained
https://packaging.python.org/guides/analyzing-pypi-package-downloads/

Change-Id: Ic57c7032af0296d666841021c19e6e56f0b3e89a
2018-06-07 22:53:00 +08:00
Harald Jensas
e8c731547d Allow setting network-segment on subnet update
To enable the possibility to migrate a non-routed network to a
routed network allow updating the segment_id of a subnet.

Change-Id: I3ebae2ff28d5d4e5373ebd1f52194f8c52071b88
Partial-Bug: bug/1692490
Depends-On: I1aee29dfb59e9769ec0f1cb1f5d2933bc5dc0dc5
2018-06-06 11:56:39 +02:00
Lance Bragstad
8bfa180430 Add system role functionality
This commit adds the necessary bits to expose system role
assignments to openstackclient via python-keystoneclient.

bp system-scope

Depends-On: Iecbcbf020a15f2bec777334c648d4477f89f3b2c
Change-Id: I261e84700b51e8715eaebdc3f8f8bc46b68542c2
2018-06-04 20:09:14 +00:00
Zuul
c18f93bafe Merge "Prevent "server migrate --wait" from hanging" 2018-06-01 21:15:44 +00:00
Zuul
134360ca0d Merge "Add cliff project link" 2018-06-01 21:00:24 +00:00
Zuul
8781d7e94b Merge "Make max_burst_kbps option as optional for bw limit QoS rule" 2018-06-01 21:00:22 +00:00
Jens Harbott
47d0d0e0c0 Fix lower-constraints.txt
This was originally generated before the compliance test was installed,
so it is now failing for every unrelated change to requirements.

Replace lower-constraints.txt with the output of running
openstack/requirements/tools/fix-lower-constraints.py .

Change-Id: I492e663622db75994bdababfa6dc81589e3fb53b
2018-05-31 07:41:06 +00:00