46754 Commits

Author SHA1 Message Date
Vu Cong Tuan
0808398487 Fix html_last_updated_fmt for Python3
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Changing Popen to .check_output because of 3 reasons:
1. check_output() will raise CalledProcessError if
the called process returns a non-zero return code.
2. For consistency with keystone [1] and cinder [2]
3. It makes the code look much better.

[1] https://review.openstack.org/#/c/457142/
[2] https://review.openstack.org/#/c/433081

Change-Id: Ia3e792c512da46c2b92d3ad9ec1657849d379052
2017-06-07 21:05:12 +00:00
Jenkins
3d84232d7b Merge "libvirt: rearange how scsi controller is defined" 2017-06-07 19:17:41 +00:00
Jenkins
38b1997cff Merge "libvirt: set full description of the controller used by disk" 2017-06-07 19:16:57 +00:00
Jenkins
d8a1234b3f Merge "libvirt: update LibvirtConfigGuestDeviceAddress to provide XML" 2017-06-07 18:56:33 +00:00
Jenkins
bdd6876b8f Merge "contrail: add vrouter VIF plugin type support" 2017-06-07 17:38:57 +00:00
Jenkins
bf5e4824a0 Merge "Use plain routes list for os-services endpoint instead of stevedore" 2017-06-07 17:36:50 +00:00
Jenkins
06a7ada897 Merge "use plain routes list for os-virtual-interfaces" 2017-06-07 17:08:51 +00:00
Jenkins
4d55732ffd Merge "use plain routes list for hypervisor endpoint instead of stevedore" 2017-06-07 16:54:53 +00:00
Jenkins
9dde4fe0ea Merge "Send out notifications when instance tags changed" 2017-06-07 16:06:43 +00:00
Jenkins
286cb90405 Merge "Send request_id on neutron calls" 2017-06-07 16:03:57 +00:00
Jenkins
8d5c1608f8 Merge "Fix cell0 naming when QS params on the connection" 2017-06-07 15:50:30 +00:00
Jenkins
3e6184ed18 Merge "Revert "Remove Babel from requirements.txt"" 2017-06-07 15:41:22 +00:00
Jenkins
1aa527fe89 Merge "Remove cells topic configuration option" 2017-06-07 13:22:37 +00:00
Jenkins
f621510645 Merge "Move notifications/objects/test_base.py" 2017-06-07 12:25:49 +00:00
Jenkins
2f923d8cf4 Merge "Fix live migration devstack hook for multicell environment" 2017-06-07 12:25:06 +00:00
Jenkins
8fa49fc35e Merge "Fix default_availability_zone docs" 2017-06-07 12:24:18 +00:00
Jenkins
3f3108de18 Merge "Add InstanceGroupList.get_counts()" 2017-06-07 12:23:40 +00:00
Michael Henkel
1ba834c0e4 contrail: add vrouter VIF plugin type support
The VIF plugin will provide support OpenContrail SDN Controller driver
in nova. It will initially be used for OpenContrail dpdk driver.
The plugin is located here:
https://github.com/Juniper/contrail-nova-vif-driver

Implements: blueprint opencontrail-nova-vif-plugin
Change-Id: Ic23effc05c901575f608f2b4c5ccd2b1fb3c2d5a
2017-06-07 12:19:02 +00:00
Jenkins
609e0c5fb8 Merge "Use plain routes list for hosts endpoint instead of stevedore" 2017-06-07 11:51:31 +00:00
Jenkins
bc63cbf6cb Merge "Completely remove mox from unit/network/test_linux_net.py" 2017-06-07 11:36:39 +00:00
Sylvain Bauza
9a33092fa9 Fix cell0 naming when QS params on the connection
We had a problem when the nova connection string included parameters on the
query string like charset encoding.
Note that the connection string necessarly needs to be RFC1738 compliant as
per Sqlalchemy rules, so it's totally safe to just unquote what the SQLA
helper method gives us as a result.

Also removed a tested connection string since it wasn't RFC1738 compatible.

Change-Id: I45fe9b92e8d93a0099d33bb0070e9d4e540595ac
Closes-Bug: #1696001
2017-06-07 10:59:59 +00:00
Mike Perez
7815108d48 Remove cells topic configuration option
This has been deprecated since 15.0.0. It will now continue to use the
default value 'cells'.

Change-Id: Ic2922f0a64f8a099778d3f6934143080d4ea1ccd
2017-06-07 10:04:33 +00:00
Sahid Orentino Ferdjaoui
215add554a libvirt: rearange how scsi controller is defined
This commit make just cleaner how we configure the
scsi controller.

Closes-Bug: #1686116
Change-Id: I03b03962748db7081abd5aebf3578ddc4e30fe68
2017-06-07 04:18:50 -04:00
Sahid Orentino Ferdjaoui
74ece03d70 libvirt: set full description of the controller used by disk
Adds to LibvirtConfigGuestDisk the ability to handle object to provide
full description of the controller which should be used.

Closes-Bug: #1686116
Change-Id: Id796d9129ff850abd209f4e9e4e54ea77c477acf
2017-06-07 04:18:50 -04:00
Sahid Orentino Ferdjaoui
724ca8227a libvirt: update LibvirtConfigGuestDeviceAddress to provide XML
This commit is adding a method format_dom() to the config object
LibvirtConfigGuestDeviceAddress. That in the aim to provide full
description of the controller used by the device.

Closes-Bug: #1686116
Change-Id: I9620feffa74b8f7bc932eed03e3a60f46533681d
2017-06-07 04:18:49 -04:00
jichenjc
95add6a97b Use plain routes list for os-services endpoint instead of stevedore
This patch adds os-services related routes by a plain list, instead of
using stevedore. After all the Nova API endpoints moves to the plain
routes list, the usage of stevedore for API loading will be removed from
Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: Ib145494b9fc3c660176098e4168cf72db507f34d
2017-06-07 14:25:58 +08:00
Stephen Finucane
50e825c861 use plain routes list for os-virtual-interfaces
This patch adds os-virtual-interfaces related routes by a plain list,
instead of using stevedore. After all the Nova API endpoints moves to
the plain routes list, the usage of stevedore for API loading will be
removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: I47ccef43e41da0a85bff3da71655c33b6fea4fe4
2017-06-07 14:25:58 +08:00
jichenjc
f4e3a8c4f9 use plain routes list for hypervisor endpoint instead of stevedore
This patch adds hypervisors related routes by a plain list,
instead of using stevedore. After all the Nova API endpoints moves
to the plain routes list, the usage of stevedore for API loading
will be removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: I1095e91b5ef84995b32b38445b0876b132b9627a
2017-06-07 14:25:58 +08:00
jichenjc
1f7f4fceef Use plain routes list for hosts endpoint instead of stevedore
This patch adds hosts related routes by a plain list, instead
of using stevedore. After all the Nova API endpoints moves to the
plain routes list, the usage of stevedore for API loading
will be removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: I1a205faab6f34158744436e79ae2ed9f80132b58
2017-06-07 14:25:58 +08:00
ghanshyam
b9a055971e Use plain routes list for os-fping endpoint
This patch adds os-fping related routes
by a plain list, instead of using stevedore. After all the Nova
API endpoints moves to the plain routes list, the usage of stevedore
for API loading will be removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: Id58263258fe3cc28961fb095b4d758eef234ca47
2017-06-07 14:25:58 +08:00
ghanshyam
f41fe082ba Use plain routes list for instance actions endpoint
This patch adds instance actions related routes
by a plain list, instead of using stevedore. After all the Nova
API endpoints moves to the plain routes list, the usage of stevedore
for API loading will be removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: I1ae0797ac8ca1cd64bb0d92d4c14aa96d4a59d62
2017-06-07 14:25:58 +08:00
Stephen Finucane
10462fc744 Use plain routes list for server ips endpoint
This patch adds server ips related routes
by a plain list, instead of using stevedore. After all the Nova
API endpoints moves to the plain routes list, the usage of stevedore
for API loading will be removed from Nova.

Partial-implement-blueprint api-no-more-extensions-pike

Change-Id: I4c0a023ab295cdb0c71ff4800f288946215745ce
2017-06-07 14:25:58 +08:00
Jenkins
0fc64f0ab6 Merge "Reset the _TRAITS_SYNCED global in Traits tests" 2017-06-07 01:55:21 +00:00
Jenkins
72119868b2 Merge "Replace messaging.get_transport with get_rpc_transport" 2017-06-07 00:59:35 +00:00
Jenkins
11ad2da58b Merge "Target cell on local delete" 2017-06-06 23:51:35 +00:00
Jenkins
c11c0aa32b Merge "Remove legacy v2.0 code from test_flavor_access" 2017-06-06 23:28:33 +00:00
Jenkins
f42ecdf88f Merge "Fixed some nits for microversion 2.48" 2017-06-06 23:27:49 +00:00
melanie witt
a196804834 Add InstanceGroupList.get_counts()
This adds a method for getting counts of server groups in the database
for checking quota.

Part of blueprint cells-count-resources-to-check-quota-in-api

Change-Id: I9eadf93b432630607069cdf8ec1915920e32b905
2017-06-06 23:15:49 +00:00
Jenkins
229166c0d7 Merge "Catch neutronclient.NotFound on floating deletion" 2017-06-06 23:08:27 +00:00
Chris Dent
11f4b62745 Reset the _TRAITS_SYNCED global in Traits tests
The global is reset before and after tests because we don't know
what other tests might have been messing with it (without even
knowing) in this process. We want to start from a clean slate and
leave the slate clean.

Change-Id: I42b9a7973ec5c4f42578779dc6ad59274212113f
Closes-Bug: #1696267
2017-06-06 22:56:11 +00:00
Matt Riedemann
7f575ceff0 Revert "Remove Babel from requirements.txt"
This reverts commit ae5623733eda156345504ce17475245fc3514331.

Babel is used, that's why we have the [extract_messages]
target in setup.cfg and the babel.cfg.

Change-Id: Ic8ad86f2615c28dbeea7e2f985385fa327a94441
2017-06-06 21:58:42 +00:00
Jenkins
e78c923410 Merge "Remove Babel from requirements.txt" 2017-06-06 21:56:58 +00:00
Jenkins
e01ae75d52 Merge "Use VIR_DOMAIN_BLOCK_REBASE_COPY_DEV when rebasing" 2017-06-06 18:55:39 +00:00
Jenkins
280de71d97 Merge "Sync os-traits to Traits database table" 2017-06-06 18:55:04 +00:00
Jenkins
0d164b7b65 Merge "Send request_id on glance calls" 2017-06-06 18:53:00 +00:00
Jenkins
80a6f44e12 Merge "Update server create networks API reference description for tags" 2017-06-06 18:06:37 +00:00
Jenkins
a3b2a8458b Merge "Remove mox from nova/tests/unit/virt/xenapi/test_xenapi.py[1]" 2017-06-06 18:05:59 +00:00
Jenkins
68845a57e7 Merge "XenAPI: Deprecate nicira-iface-id for XenServer VIF" 2017-06-06 18:02:24 +00:00
Jenkins
52189a50cd Merge "Pass a list of instance UUIDs to scheduler" 2017-06-06 16:55:22 +00:00
Jenkins
64b9fc801d Merge "Remove usage of parameter enforce_type" 2017-06-06 16:54:43 +00:00