Commit Graph

43730 Commits

Author SHA1 Message Date
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
Jenkins
4361de1073 Merge "doc: Update libvirt-numa guide" 2016-11-17 14:05:38 +00:00
Jenkins
260de5b8fb Merge "No return for flavor destroy" 2016-11-17 14:04:46 +00:00
Jenkins
4820c0ce65 Merge "conf: Remove extraneous whitespace" 2016-11-17 14:03:55 +00:00
Jenkins
8e1b705da1 Merge "Updated from global requirements" 2016-11-17 13:59:33 +00:00
Jenkins
6a2b1e2c99 Merge "Fix data error in api samples doc" 2016-11-17 01:11:26 +00:00
Jenkins
b5bef5e80d Merge "Make n-net refuse to start unless using CellsV1" 2016-11-17 01:01:19 +00:00
OpenStack Proposal Bot
5f137dfe70 Updated from global requirements
Change-Id: I56f82972fe87410d5d4e2d222fdeaec632fbbea1
2016-11-16 21:59:09 +00:00
Jenkins
d4fc68d75d Merge "Fix cold migration with qcow2 ephemeral disks" 2016-11-16 21:57:08 +00:00
Dan Smith
c07046edee Make n-net refuse to start unless using CellsV1
At the Barcenlona summit, we discussed disabling n-net everywhere as a
precursor to removal. The only exception for using n-net is as required
for CellsV1 users, which require it as the only out-of-the-box supported
networking option.

We will remove this check and n-net entirely when those users have a
migration path to neutron and cellsv2.

Depends-On: I47f72eac6a7657bf44319fa5d2df18ce62827f6f

Change-Id: I7309afa5230bcaeeeddb554d95c327d3a614ae6e
2016-11-16 13:15:06 -05:00
int32bit
512ebfb186 Fix data error in api samples doc
Change-Id: I8c4f49d18968636da7e76b51acc6053f169e3ae0
Closes-Bug: #1641988
2016-11-16 20:58:06 +08:00
Jenkins
0f0d7584e0 Merge "Add the initial documentation for the placement API" 2016-11-16 12:11:58 +00:00
Jenkins
9138fc7ab4 Merge "Virt: add context to attach and detach interface" 2016-11-16 12:11:19 +00:00
Jenkins
0b61a1415a Merge "Clarify the approval process of specless blueprints" 2016-11-16 11:43:27 +00:00
Jenkins
5d6a84b851 Merge "API Ref: update server_id params" 2016-11-16 11:42:44 +00:00
Jenkins
17fbe727be Merge "[placement] Enforce min_unit, max_unit and step_size" 2016-11-16 11:42:07 +00:00
Jenkins
625a539358 Merge "Placement api: 404 response do not indicate what was not found" 2016-11-16 11:41:06 +00:00
Jenkins
e260dda8ae Merge "Change RPC post_live_migration_at_destination from cast to call." 2016-11-16 11:40:24 +00:00
Jenkins
22306bb8f5 Merge "Remove unused parameters" 2016-11-16 10:24:02 +00:00
Jenkins
516569136c Merge "api-ref: body verification for force_complete server migration" 2016-11-16 10:23:26 +00:00
Jenkins
de91c803c4 Merge "api-ref: body verification for show server migration" 2016-11-16 10:22:44 +00:00
Jenkins
e1f6ee4639 Merge "api-ref: body verification for list server migrations" 2016-11-16 10:22:07 +00:00
Jenkins
cf8d55ab3f Merge "api-ref: example verification for server-migrations" 2016-11-16 10:21:19 +00:00
Jenkins
e48ab81469 Merge "api-ref: parameter verification for server-migrations" 2016-11-16 10:20:03 +00:00
Jenkins
25ed4fa9b2 Merge "Add microversion cap information" 2016-11-16 10:15:15 +00:00
Kevin_Zheng
a4a7853781 Add microversion cap information
Currently we only publish the master branch of api-ref to:
http://developer.openstack.org/api-ref/compute
and we have microversion caps for different releases.
It will be better for user to understand if we add
also microversion caps information to the doc.

Change-Id: Ic6c042f68f5d340a68abad6701e65d44e46da3a7
Closes-bug: #1640995
2016-11-16 06:50:09 +00:00
liyingjun
42110d9f7b No return for flavor destroy
_flavor_destroy doesn't need to return

TrivialFix

Change-Id: I77e12a6b511e84fa0223801f2bf93a762ad8c4fc
2016-11-16 11:05:56 +08:00
Matt Riedemann
f8e35e5bf9 neutron: actually populate list in populate_security_groups
We're going to store the list of requested security group objects
in the request spec so the neutron security group driver code
needs to actually populate that list now for use in the compute API.

As the nova-network and neutron security group API code is basically
the same for populating that list, the backend-specific implementations
are removed and pulled up into the base security group driver API class.

Since we don't want to actually try and persist this list with the
instance object in the nova database we need to add a check in the
compute API to store an empty list, like the old behavior, when
creating the instance. A later change will use the populated list
to store in the RequestSpec.

Part of blueprint cells-scheduling-interaction

Change-Id: I6139eb92f534f010565fde31661382d33463ae58
2016-11-15 13:36:17 -05:00
Jenkins
967f876f9a Merge "Replace admin check with policy check in placement API" 2016-11-15 17:53:52 +00:00
Chris Dent
56658310ba Clarify the approval process of specless blueprints
Add a paragraph which clarifies that a specless blueprint needs to
be approved and the normal process for doing so, with links to
additional information.

Change-Id: I1d4fc40a2e5acb8b63f90e00dc19ee5a65fbe870
2016-11-15 17:27:32 +00:00
Jenkins
fb693f07f0 Merge "api-ref: method verification for server-migrations" 2016-11-15 13:15:08 +00:00
Jenkins
ddb5c6cbff Merge "Add uuid field to SecurityGroup object" 2016-11-15 02:22:37 +00:00
Jenkins
d1729176ab Merge "VMware: add in context for log messages" 2016-11-15 01:35:14 +00:00
Matt Riedemann
ce600f7e1b Add uuid field to SecurityGroup object
We're going to store requested security group objects in the
request spec. nova-network security groups are unique by name
and tenant. Neutron security groups, however, are not unique
by name within a tenant, they are unique by uuid. So to uniquely
store the requested security groups in the request spec we need
to store the neutron-specific id value (which is a uuid) in the
SecurityGroup.uuid field added here.

Since we don't store this in the nova database the uuid value
must be popped during a save() and ignored when creating an
object from a DB primitive.

Part of blueprint cells-scheduling-interaction

Change-Id: I3c3fb8fe9a53155caba49b353c0524f84dc458ff
2016-11-14 18:43:05 -05:00
Matt Riedemann
3e210b443d api-ref: body verification for force_complete server migration
This completes the body verification for the force_complete
action for server migrations.

This is only supported with microversion >= 2.22 and only for
in-progress live migrations, on unlocked servers that are in
active/migrating status.

There is also a note as not all compute drivers support this
action. See bug 1641753 for details.

Part of blueprint api-ref-in-rst-ocata

Change-Id: I9cd6cf35b4b5828f0f4acde168cda2beedd902f4
2016-11-14 18:09:54 -05:00
Matt Riedemann
c0774e6776 api-ref: body verification for show server migration
Completes the body verification for showing details of a
specific in-progress live migration for a given server.

Part of blueprint api-ref-in-rst-ocata

Change-Id: I5175fc8814cc5c62739273e02e52b81aa6b39b0b
2016-11-14 17:41:33 -05:00
Matt Riedemann
ca09cbd0a6 api-ref: body verification for list server migrations
This completes the body verification for listing server
migrations.

Note that the code currently filters such that only in-progress
live migration records are returned. This was also only available
with microversion >= 2.23.

Part of blueprint api-ref-in-rst-ocata

Change-Id: I3a785dad690eee80ec1fd50ebc9fd3f7484dc344
2016-11-14 17:41:28 -05:00
Matt Riedemann
6c6df6aa13 api-ref: example verification for server-migrations
Completes the example verification for the server-migrations API.

Partial-Bug: #1641713

Part of blueprint api-ref-in-rst-ocata

Change-Id: I2234ac402d778553cbebb915943ce1fd0b8d6210
2016-11-14 17:27:04 -05:00
Matt Riedemann
7d33dc85f5 api-ref: parameter verification for server-migrations
This completes the parameter verification for the server-migrations
API.

Partial-Bug: #1641713

Part of blueprint api-ref-in-rst-ocata

Change-Id: I94ac520b35f4e6a042456c67bc713202fd8c3c91
2016-11-14 17:26:54 -05:00
Jenkins
5f465e83e2 Merge "Remove ceph install/config functions from l-m hook" 2016-11-14 21:26:07 +00:00
Matt Riedemann
925dc7aa12 api-ref: method verification for server-migrations
We don't have any api-ref for server-migrations. os-migrations
is frozen and server-migrations replaces it, but we don't
have any docs for it, so this is a start.

Partial-Bug: #1641713

Part of blueprint api-ref-in-rst-ocata

Change-Id: I3da6ff6a4a0abf2f9c8bae3fb28fe23fdc3b0959
2016-11-14 16:25:37 -05:00
Jenkins
c10ff213fb Merge "Ceph bits for live-migration job" 2016-11-14 21:25:23 +00:00
Chris Dent
b000989635 [placement] Enforce min_unit, max_unit and step_size
Add support for checking min_unit, max_unit and step_size when
making allocations to the placement API. When the constraints are
violated a new exception InvalidAllocationConstraintsViolated is
raised.

Change-Id: I18596a3c0f2b0049aaccd0f3e73aef90b684c4a8
Closes-Bug: #1623545
2016-11-14 20:04:02 +00:00
Jenkins
742414bf7c Merge "Transform requested secgroup names to uuids" 2016-11-14 18:24:03 +00:00
Jenkins
a6f83ba6ca Merge "Correct wrong max_unit in placement inventory" 2016-11-14 15:37:39 +00:00
Timofey Durakov
19a52c9eb9 Remove ceph install/config functions from l-m hook
Since ceph installation and initial config is done
by devstack-ceph-plugin, duplicate functions could be
safely removed from l-m hook

Change-Id: I23a8a8d414fb43b6758485a5a6df4a771abdefce
2016-11-14 15:08:29 +03:00
Timofey Durakov
b71cedadf1 Ceph bits for live-migration job
This change re-enables ceph for glance and nova
ephemeral disks.

Change-Id: I6104d22855de58241a15e23916e43ff2193e15ae
2016-11-14 15:08:00 +03:00
Matt Riedemann
633c817de5 api-ref: fix server_id in metadata docs
The api-ref was saying that the server_id was in the body of the
server metadata requests but it's actually in the path for all
of the requests.

Change-Id: Icdecd980767f89ee5fcc5bdd4802b2c263268a26
Closes-Bug: #1641331
2016-11-12 12:15:04 -05:00
Jenkins
3b0c53e136 Merge "Revert MTU hacks for bug 1623876" 2016-11-12 05:36:55 +00:00
Jenkins
4e0ba577ef Merge "Pass MTU into os-vif Network object" 2016-11-12 05:32:39 +00:00