509 Commits

Author SHA1 Message Date
Matt Riedemann
4a237c02e4 Use liberty-eol tag for liberty release notes
reno doesn't currently handle missing branches so we need
to use the liberty-eol tag to fix the release note job in
the gate now that origin/stable/liberty is gone.

reno will eventually check for the -eol tag when a stable
branch isn't found in:

I41ab682f081e7fd39ea534b7e2180c2109ca34ef

Change-Id: Ie54f69f5c1f91a3781c876f035fe9ed838e11c08
2016-12-14 11:38:20 -05:00
Jenkins
c8955b3d70 Merge "Separate CRUD policy for server_groups" 2016-12-13 23:01:52 +00:00
Jenkins
a37d89b904 Merge "Update cors-to-versions-pipeline release note" 2016-12-13 23:01:18 +00:00
Matt Riedemann
6764ff0db2 Fix instructions for running simple_cell_setup
Change ff6b9998bb977421a5cbc94878ced8542d910c9e enforces in
a database migration that you've run the simple_cell_setup
command for cells v2 but the instructions in the error and
in the release note said to use 'nova-manage db' when it should
be 'nova-manage cell_v2'.

Change-Id: I8e71d1c7022d1000f26b7c16ed1c56f6e87ab8ac
Closes-Bug: #1649341
2016-12-12 12:52:27 -05:00
ChangBo Guo(gcb)
d9a7c16c30 conf: Remove config option compute_ manager
compute_manager config options were deprecated in
13.0.0, we can remove it now.

Depends-On: I93b62372e357db4f7c39992c244b2ec9e594ad9c

Implements: bp centralize-config-options-ocata

Change-Id: I84503655bd9675ff441073e51059202142db22ab
2016-12-08 20:05:52 +08:00
Jenkins
e75d5f9d53 Merge "[proxy-api] microversion 2.39 deprecates image-metadata proxy API" 2016-12-07 21:17:03 +00:00
Pavel Kholkin
df6e2d37f2 [proxy-api] microversion 2.39 deprecates image-metadata proxy API
Almost all proxy APIs were deprecated in microversion 2.36.
But the sub-resource image-metadata of image was forgotten to deprecate.
This patch deprecates the image-metdata API from 2.39.

Implements blueprint deprecate-image-meta-proxy-api
Closes-bug: #1614578

Change-Id: I5507337ab6fe4a377f66dec3fe275d75618cd7b4
2016-12-07 19:22:43 +03:00
Jenkins
92c251f85f Merge "conf: Remove deprecated service manager opts" 2016-12-07 13:23:25 +00:00
Jenkins
2a724a439b Merge "Fix typo for 'infomation'." 2016-12-06 16:41:18 +00:00
Jenkins
a0100d61a9 Merge "placement: REST API for resource classes" 2016-12-06 16:32:43 +00:00
Chris Dent
87b9c2b916 Update cors-to-versions-pipeline release note
The release note added in I4052186bffa3bddb4d28e378e6a135694a71e05b
was not entirely clear on what needs to be done to enable the feature
in existing deployments. This change attempts to make things more
clear.

Change-Id: Iaa18c70b8536f01fb543cb2cf3d2e4144893b9cd
2016-12-06 10:31:53 +00:00
Jenkins
427e0994db Merge "Require cellsv2 setup before migrating to Ocata" 2016-12-06 03:32:56 +00:00
Jenkins
c0b85389ac Merge "conf: remove deprecated exception option" 2016-12-06 02:07:11 +00:00
Dan Smith
ff6b9998bb Require cellsv2 setup before migrating to Ocata
We have code going into Ocata that needs to be sure that cell and
host mappings are in place. Since this was required homework in
Newton, we can land a migration to intentionally fail if this was
not completed.

This is, however, a little difficult to require because a first-time
deployment will be initialized schema-wise with none of these records,
which is also sane. So, we look to see if any flavors are defined as
a sentinel to indicate that this is an upgrade of an existing
deployment instead of a first-time event. Not perfect, but since this
is really just a helper for the user, it seems like a reasonable
risk.

Depends-On: If1af9c478e8ea2420f2523a9bb8b70fafddc86b7
Change-Id: I72fb724dc13e1a5f4e97c58915b538ba761c582d
2016-12-05 19:51:36 -05:00
Jay Pipes
1067c44663 placement: REST API for resource classes
This patch adds support for a REST API for CRUD operations on custom
resource classes:

    GET /resource_classes: return all resource classes
    POST /resource_classes: create a new custom resource class
    PUT /resource_classes/{name}: update name of custom resource class
    DELETE /resource_classes/{name}: deletes a custom resource class
    GET /resource_classes/{name}: get a single resource class

Change-Id: I99e7bcfe27938e5e4d50ac3005690ac1255d4c5e
blueprint: custom-resource-classes
2016-12-05 16:13:49 +00:00
ChangBo Guo(gcb)
694fee938d conf: Remove deprecated service manager opts
The following service manager config options were deprecated in
13.0.0 and remove them now:

- metadata_manager
- console_manager
- consoleauth_manager
- cert_manager
- scheduler_manager
- conductor.manager

Implements: bp centralize-config-options-ocata

Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
Change-Id: Ia50d18c350dbc4ca88da9543e1236e3398ea28ee
2016-12-05 23:28:49 +08:00
Corentin Ardeois
706f104e33 Add CORS filter to versions pipeline
This patch exposes the root (version) resource to CORS-enabled
browser clients that wish to perform API version discovery.

This feature is required for js-openstack-lib, and its devstack
tests. https://review.openstack.org/#/c/370389/

Change-Id: I4052186bffa3bddb4d28e378e6a135694a71e05b
Needed-By: Ia19afa530ae8c2df60db740cec9267fe240978c0
2016-12-02 11:44:09 -05:00
Jenkins
365fcedf63 Merge "conf: Move api options to a group" 2016-12-02 15:25:13 +00:00
Jenkins
4ba4bd0a62 Merge "conf: Deprecate 'torrent_' options" 2016-12-02 13:57:19 +00:00
Jenkins
e53caa0de6 Merge "conf: Deprecate 'remap_vbd_dev' option" 2016-12-02 13:47:09 +00:00
Jenkins
fdf0c8bf0e Merge "conf: remove deprecated cert_topic option" 2016-12-02 13:46:21 +00:00
Jenkins
b440be9df0 Merge "conf: Remove deprecated 'compute_stats_class' opt" 2016-12-02 13:42:58 +00:00
Jenkins
82dd524434 Merge "conf: Move consoleauth options to a group" 2016-12-02 13:41:00 +00:00
Jenkins
8c3f775743 Merge "Add a releasenote for bug#1633518" 2016-12-02 13:24:57 +00:00
Jenkins
754a31c2b8 Merge "Revert "Revert "Make n-net refuse to start unless using CellsV1""" 2016-12-01 16:18:34 +00:00
Lee Yarwood
7d77fe09e8 Add a releasenote for bug#1633518
The code relating to this patch can be seen in:
I7096463c5eba951dd6322ee6965435e877ca0371

Partial-bug: #1633518
Change-Id: I297e138aca52ae10fbfaa50c79cf001fadaf557e
2016-11-30 13:17:51 +00:00
Matt Riedemann
b89efa3ef6 libvirt: prefer cinder rbd auth values over nova.conf
In the case that the ceph storage backing volumes is different
from the one backing ephemeral storage in nova, the auth values
in the rbd connection_info could be different and not work if
we are using the nova.conf values for ephemeral storage.

This change makes the volume connection config code for rbd
prefer the cinder connection_info values if they exist, and
only falls back to nova config values if cinder doesn't have
anything set.

Depends-On: I4655cae3212d589177d2570403b563a83aad529a

Change-Id: Idcbada705c1d38ac5fd7c600141c2de7020eae25
Closes-Bug: #1635008
2016-11-29 21:26:33 -05:00
Jenkins
4649b44936 Merge "Remove config option snapshot_name_template" 2016-11-29 22:23:42 +00:00
Jenkins
a075144387 Merge "Remove deprecated compute_available_monitors option" 2016-11-29 22:22:56 +00:00
Stephen Finucane
bee269cf3d conf: Deprecate 'torrent_' options
These are not tested and the feature either needs test coverage or
should be deprecated. Take the latter option, deprecating the feature
for a cycle to see if anyone actually cares about the feature.

Change-Id: I90206e6554bcbf5cd9105aa975c447c69640c923
Implements: bp centralize-config-options-ocata
2016-11-29 10:12:49 +00:00
Jenkins
e7c320deca Merge "vif: allow for creation of multiqueue taps in vrouter" 2016-11-28 23:46:06 +00:00
Amrith Kumar
cf72bb8f90 Revert "Revert "Make n-net refuse to start unless using CellsV1""
This reverts commit dbf0b2c8ae1334ee125f66aa6ed9ccb8303f42ca.

Change-Id: I247289e35588d53741e4868bdcfb38cc32a55f6e
2016-11-28 14:02:35 -05:00
Stephen Finucane
310562f52f conf: Deprecate 'remap_vbd_dev' option
This is required for a decrepit version of Ubuntu. Just remove it.

Change-Id: Ica2c08fc00abb70d6ff7955bfe2b9a66e725f437
Implements: bp centralize-config-options-ocata
2016-11-28 15:56:59 +00:00
Jenkins
ce92ffec70 Merge "Remove sata bus for virtuozzo hypervisor" 2016-11-28 14:55:12 +00:00
Roman Podoliaka
146accfada vif: allow for creation of multiqueue taps in vrouter
This extends the work done in libvirt-virtio-net-multiqueue bp to
allow for enabling multiqueue mode for vrouter VIFs (OpenContrail).
In case of vrouter mechanism is slightly different and a tap device
created by nova-compute must already be in the multiqueue mode,
when it's passed to vrouter.

Implements blueprint vif-vrouter-multiqueue

Co-Authored-By: Michal Dubiel <md@semihalf.com>
Change-Id: I7b20650c8a772fdaa05707e0dfe27ad32481a2d3
2016-11-26 10:30:21 -05:00
Maciej Szankin
b7b282ed08 conf: Move api options to a group
Change-Id: Ida4ee57d6e1822e35e3198f6d3a89410e211d57d
Implements: bp centralize-config-options-ocata
2016-11-25 16:32:31 -06:00
Anusha Unnam
a05c4a9240 Remove config option snapshot_name_template
Blueprint centralize-config-options-ocata

Change-Id: I2788e31122e66b955bb62489d0842f071452b9d1
2016-11-25 11:46:19 +00:00
Anusha Unnam
d304690b7e Remove deprecated compute_available_monitors option
Blueprint centralize-config-options-ocata

Change-Id: I397ae8c2bbcbbcea29bbed09ca0ca60367ccdf4f
2016-11-25 11:45:05 +00:00
Mikhail Feoktistov
646151ff1b Remove sata bus for virtuozzo hypervisor
In virtuozzo 7 we have changed disk bus from sata to scsi.
Sata is not supported in virtuozzo 7.
We don't need to support sata bus for virtuozzo in nova.
Virtuozzo 6 may work with python 2.6 only and
it's not possible to run upstream nova on virtuozzo 6.
We always use this patch in our internal infrastructure
to run openstack on virtuozzo 7.
Also in this patch we have changed tests for hypervisor version.
We don't need to check libvirt version in case of Virtuozzo hypervisor.
Because Virtuozzo 7 always has libvirt with
support of 'parallels' virt type.

Docs have already been updated:

If3d2f402bb1b21bec360693a6c1e9d73e998d167

Change-Id: If3d5e39bd745c0df74316a90159fffb3221864cc
2016-11-23 22:38:18 +00:00
Maciej Szankin
52f108c0d9 conf: remove deprecated cert_topic option
Change-Id: Iade8ed5b8697e715fbecadd62076c3560af2bba9
Implements: blueprint centralize-config-options-ocata
2016-11-23 10:53:36 -06:00
Jenkins
2732d3e0f6 Merge "Remove deprecated nova-all binary" 2016-11-23 15:39:45 +00:00
Jenkins
bf9c90c66b Merge "conf: Remove 'scheduler_json_config_location'" 2016-11-23 15:38:32 +00:00
Maciej Szankin
4bac18b28c conf: remove deprecated exception option
Change-Id: Ia27d4040f317e5e70ac53341eccc80c868fe99e5
Implements: blueprint centralize-config-options-ocata
2016-11-23 15:25:03 +00:00
Prashanth kumar reddy
4a09c2210b Separate CRUD policy for server_groups
The same policy rule (os_compute_api:os-server-groups) is being used
for all actions (show, index, delete, create) for server_groups REST
APIs. It is thus impossible to provide different RBAC for specific
actions based on roles. To address this changes are made to have
separate policy rules for each of action.

It has been argued that index and show may not need separate policy
rules, but most other places in nova (and OpenStack in general) do
have separate policy rules for each action. This affords the ultimate
flexibility to deployers, who can obviously use the same rule if
that is what they want. One example where show and index may be
different is that if show is restricted based on some criteria, such
that a user is able to see some resources within the tenant but not
others, then list would need to be disallowed to prevent the user
from using list to see resources they cannot show.

Change-Id: Ica9e07f6e80257902b4a0cc44b65fd6bad008bba
Closes-Bug: #1636157
2016-11-21 11:43:13 -05:00
Jenkins
0144793d63 Merge "HyperV: use os-brick for volume related operations" 2016-11-19 01:36:48 +00:00
Jenkins
d97b62cca6 Merge "conf: remove deprecated cells driver option" 2016-11-18 18:24:37 +00:00
zte-hanrong
f46cae8611 Fix typo for 'infomation'.
Change-Id: I5fd7f419fc9ac6f4ede9d3640d5b2f43febf35e0
2016-11-18 11:25:24 +08:00
Maciej Szankin
f8c69efdf1 conf: remove deprecated cells driver option
Change-Id: I582e53c24f1eebf83bbbdaa00164336d10bbcfdb
Implements: blueprint centralize-config-options-ocata
2016-11-17 18:58:47 +00:00
Matt Riedemann
dbf0b2c8ae Revert "Make n-net refuse to start unless using CellsV1"
This reverts commit c07046edeee562142c90aa3cadd4bdc47b0a15da.

Trove's CI jobs don't currently work with Neutron due to
bug 1629133 so this is a temporary revert until the Trove CI/infra
networking situation gets sorted out. We have agreement from
the Trove PTL to revert this revert after the o-2 milestone on
2016/12/15.

Change-Id: Ia4fc545a10c7c16532aefd73818dd7d90c9c271b
Related-Bug: #1629133
2016-11-17 11:53:33 -05:00
Lucian Petrut
758a32f7ce HyperV: use os-brick for volume related operations
This patch refactors volumeops.py to use os-brick for volume
related operations.

The immediate benefits are:
* FC support
* improved iSCSI MPIO support
* simplified volume connect/disconnect workflow

Change-Id: Ib21947141aadca1fa6cb99afc07a175ce14d192e
Depends-On: I19dfc8dd2e9e8a1b17675b55c63de903804480e4
Implements: blueprint hyperv-use-os-brick
2016-11-17 18:36:05 +02:00