]> xenbits.xensource.com Git - osstest/openstack-nova.git/log
osstest/openstack-nova.git
8 years agoMerge "Add handle for 2 exceptions in force_delete"
Jenkins [Tue, 22 Nov 2016 08:37:40 +0000 (08:37 +0000)]
Merge "Add handle for 2 exceptions in force_delete"

8 years agoMerge "Typo error servers.py"
Jenkins [Tue, 22 Nov 2016 08:36:37 +0000 (08:36 +0000)]
Merge "Typo error servers.py"

8 years agoMerge "Typo error allocations.yaml"
Jenkins [Tue, 22 Nov 2016 07:47:09 +0000 (07:47 +0000)]
Merge "Typo error allocations.yaml"

8 years agoMerge "Refactor console checks in live migration process"
Jenkins [Mon, 21 Nov 2016 21:21:59 +0000 (21:21 +0000)]
Merge "Refactor console checks in live migration process"

8 years agoMerge "Fix mock arg list order in test_driver.py"
Jenkins [Mon, 21 Nov 2016 08:13:10 +0000 (08:13 +0000)]
Merge "Fix mock arg list order in test_driver.py"

8 years agoMerge "[PY3] byte/string conversions and enable PY3 test"
Jenkins [Sat, 19 Nov 2016 02:37:24 +0000 (02:37 +0000)]
Merge "[PY3] byte/string conversions and enable PY3 test"

8 years agoMerge "Database poison note"
Jenkins [Sat, 19 Nov 2016 01:46:33 +0000 (01:46 +0000)]
Merge "Database poison note"

8 years agoMerge "HyperV: use os-brick for volume related operations"
Jenkins [Sat, 19 Nov 2016 01:36:48 +0000 (01:36 +0000)]
Merge "HyperV: use os-brick for volume related operations"

8 years agoMerge "Fix detach_interface() call from external event handler"
Jenkins [Sat, 19 Nov 2016 00:16:47 +0000 (00:16 +0000)]
Merge "Fix detach_interface() call from external event handler"

8 years agoMerge "conf: remove deprecated cells driver option"
Jenkins [Fri, 18 Nov 2016 18:24:37 +0000 (18:24 +0000)]
Merge "conf: remove deprecated cells driver option"

8 years agoDatabase poison note
Diana Clarke [Fri, 18 Nov 2016 16:09:53 +0000 (11:09 -0500)]
Database poison note

Add a few tips for folks that encounter database poison exceptions.

Change-Id: Ic54d9d2fdd100e20e020fb7944f1f7f16be82db0
Related-Bug: #1568414

8 years agoconf: remove deprecated cells driver option
Maciej Szankin [Wed, 16 Nov 2016 15:44:43 +0000 (09:44 -0600)]
conf: remove deprecated cells driver option

Change-Id: I582e53c24f1eebf83bbbdaa00164336d10bbcfdb
Implements: blueprint centralize-config-options-ocata

8 years agoFix detach_interface() call from external event handler
Dan Smith [Thu, 17 Nov 2016 17:59:32 +0000 (09:59 -0800)]
Fix detach_interface() call from external event handler

The signature for VirtDriver.detach_interface() changed recently in
41591c9456fd4eb91407551b9b9898e8f4974050, but the call from the
external event handler was not updated. This does that.

Change-Id: I560920ed521f09909d91bb0aac42bf97447475b0
Closes-Bug: #1642681

8 years agoLog a warning when starting nova-net in non-cellsv1 deployments
Matt Riedemann [Thu, 17 Nov 2016 16:51:00 +0000 (11:51 -0500)]
Log a warning when starting nova-net in non-cellsv1 deployments

We're going to make nova-network fail to start except in cellsv1
deployments before we release Ocata, so log a warning when starting
the service outside of cellsv1. The current plan is to make this
fatal after the o-2 milestone, essentially redoing commit
c07046edeee562142c90aa3cadd4bdc47b0a15da.

Change-Id: Iff949cdb08171c16edc18938ae987079c5be222e
Related-Bug: #1629133

8 years agoRevert "Make n-net refuse to start unless using CellsV1"
Matt Riedemann [Thu, 17 Nov 2016 16:46:13 +0000 (11:46 -0500)]
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

8 years agoHyperV: use os-brick for volume related operations
Lucian Petrut [Tue, 8 Dec 2015 12:39:17 +0000 (04:39 -0800)]
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

8 years agoMerge "doc: Update libvirt-numa guide"
Jenkins [Thu, 17 Nov 2016 14:05:38 +0000 (14:05 +0000)]
Merge "doc: Update libvirt-numa guide"

8 years agoMerge "No return for flavor destroy"
Jenkins [Thu, 17 Nov 2016 14:04:45 +0000 (14:04 +0000)]
Merge "No return for flavor destroy"

8 years agoMerge "conf: Remove extraneous whitespace"
Jenkins [Thu, 17 Nov 2016 14:03:55 +0000 (14:03 +0000)]
Merge "conf: Remove extraneous whitespace"

8 years agoMerge "Updated from global requirements"
Jenkins [Thu, 17 Nov 2016 13:59:33 +0000 (13:59 +0000)]
Merge "Updated from global requirements"

8 years ago[PY3] byte/string conversions and enable PY3 test
dineshbhor [Tue, 21 Jun 2016 14:41:13 +0000 (20:11 +0530)]
[PY3] byte/string conversions and enable PY3 test

* The dict.items()[0] will raise a TypeError in PY3,
  as dict.items() doesn't return a list any more in PY3
  but a view of list.
* Webob response body should be bytes not strings so used
  oslo_utils.encodeutils.safe_decode to decode it.

Partially implements blueprint: goal-python35
Co-Authored-By: ChangBo Guo(gcb) <eric.guo@easystack.cn>
Change-Id: I38d416923bc0cec0ca98c4494dd1e06cd49671cf

8 years agoFix mock arg list order in test_driver.py
int32bit [Sun, 13 Nov 2016 09:37:14 +0000 (17:37 +0800)]
Fix mock arg list order in test_driver.py

When we use nest patch decorators the mocks, they are passed in to the
decorated function in the same order they applied, this means should be
from the bottom up. Though We have never use these arguments in this
function and the order may not very important, it's a little misleading.
So I think we should fix it.

Change-Id: I459780a17998382b61f56377bfa17651a5f99f51

8 years agoAdd handle for 2 exceptions in force_delete
jichenjc [Mon, 14 Nov 2016 18:38:39 +0000 (02:38 +0800)]
Add handle for 2 exceptions in force_delete

as force_delete is same to delete action, we need handle
InstanceNotFound and InstanceCellUnknown exception.

Change-Id: I1840f8f4ac1b793fd6348b4d056cb94e1333e596
Related-Bug: 1641523

8 years agoMerge "Fix data error in api samples doc"
Jenkins [Thu, 17 Nov 2016 01:11:26 +0000 (01:11 +0000)]
Merge "Fix data error in api samples doc"

8 years agoMerge "Make n-net refuse to start unless using CellsV1"
Jenkins [Thu, 17 Nov 2016 01:01:19 +0000 (01:01 +0000)]
Merge "Make n-net refuse to start unless using CellsV1"

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 16 Nov 2016 21:59:09 +0000 (21:59 +0000)]
Updated from global requirements

Change-Id: I56f82972fe87410d5d4e2d222fdeaec632fbbea1

8 years agoMerge "Fix cold migration with qcow2 ephemeral disks"
Jenkins [Wed, 16 Nov 2016 21:57:08 +0000 (21:57 +0000)]
Merge "Fix cold migration with qcow2 ephemeral disks"

8 years agoMake n-net refuse to start unless using CellsV1
Dan Smith [Tue, 1 Nov 2016 17:00:07 +0000 (10:00 -0700)]
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

8 years agoFix data error in api samples doc
int32bit [Tue, 15 Nov 2016 16:38:57 +0000 (00:38 +0800)]
Fix data error in api samples doc

Change-Id: I8c4f49d18968636da7e76b51acc6053f169e3ae0
Closes-Bug: #1641988

8 years agoMerge "Add the initial documentation for the placement API"
Jenkins [Wed, 16 Nov 2016 12:11:57 +0000 (12:11 +0000)]
Merge "Add the initial documentation for the placement API"

8 years agoMerge "Virt: add context to attach and detach interface"
Jenkins [Wed, 16 Nov 2016 12:11:19 +0000 (12:11 +0000)]
Merge "Virt: add context to attach and detach interface"

8 years agoMerge "Clarify the approval process of specless blueprints"
Jenkins [Wed, 16 Nov 2016 11:43:27 +0000 (11:43 +0000)]
Merge "Clarify the approval process of specless blueprints"

8 years agoMerge "API Ref: update server_id params"
Jenkins [Wed, 16 Nov 2016 11:42:44 +0000 (11:42 +0000)]
Merge "API Ref: update server_id params"

8 years agoMerge "[placement] Enforce min_unit, max_unit and step_size"
Jenkins [Wed, 16 Nov 2016 11:42:07 +0000 (11:42 +0000)]
Merge "[placement] Enforce min_unit, max_unit and step_size"

8 years agoMerge "Placement api: 404 response do not indicate what was not found"
Jenkins [Wed, 16 Nov 2016 11:41:05 +0000 (11:41 +0000)]
Merge "Placement api: 404 response do not indicate what was not found"

8 years agoMerge "Change RPC post_live_migration_at_destination from cast to call."
Jenkins [Wed, 16 Nov 2016 11:40:23 +0000 (11:40 +0000)]
Merge "Change RPC post_live_migration_at_destination from cast to call."

8 years agoTypo error servers.py
pangliye [Wed, 16 Nov 2016 11:01:14 +0000 (19:01 +0800)]
Typo error servers.py

Change-Id: I0f19039e099cbfb70cc69a9d10d8f5978e5f727b

8 years agoTypo error allocations.yaml
pangliye [Wed, 16 Nov 2016 10:57:58 +0000 (18:57 +0800)]
Typo error allocations.yaml

Change-Id: Id3ce395785963bf9ff015a629f61a296fa343fcd

8 years agoMerge "Remove unused parameters"
Jenkins [Wed, 16 Nov 2016 10:24:02 +0000 (10:24 +0000)]
Merge "Remove unused parameters"

8 years agoMerge "api-ref: body verification for force_complete server migration"
Jenkins [Wed, 16 Nov 2016 10:23:25 +0000 (10:23 +0000)]
Merge "api-ref: body verification for force_complete server migration"

8 years agoMerge "api-ref: body verification for show server migration"
Jenkins [Wed, 16 Nov 2016 10:22:43 +0000 (10:22 +0000)]
Merge "api-ref: body verification for show server migration"

8 years agoMerge "api-ref: body verification for list server migrations"
Jenkins [Wed, 16 Nov 2016 10:22:07 +0000 (10:22 +0000)]
Merge "api-ref: body verification for list server migrations"

8 years agoMerge "api-ref: example verification for server-migrations"
Jenkins [Wed, 16 Nov 2016 10:21:18 +0000 (10:21 +0000)]
Merge "api-ref: example verification for server-migrations"

8 years agoMerge "api-ref: parameter verification for server-migrations"
Jenkins [Wed, 16 Nov 2016 10:20:03 +0000 (10:20 +0000)]
Merge "api-ref: parameter verification for server-migrations"

8 years agoMerge "Add microversion cap information"
Jenkins [Wed, 16 Nov 2016 10:15:15 +0000 (10:15 +0000)]
Merge "Add microversion cap information"

8 years agoRefactor console checks in live migration process
Pawel Koniszewski [Wed, 16 Nov 2016 10:05:10 +0000 (11:05 +0100)]
Refactor console checks in live migration process

_check_graphics_addresses_can_live_migrate was added to check
whether we can live migrate a VM with VNC/SPICE enabled when:

* libvirt did not allow to change and migrate guest XML with
  updated graphics listen addresses. Right now we always can update
  VNC/SPICE listen address.
* Destination node was running old-code that does not set the fields.
  Currently when live migrating between two versions of OpenStack
  (N and N-1) the fields are always set.

Therefore this check is redundant and can be removed.

Going deeper in this code - graphics_listen_addr_vnc and
graphics_listen_addr_spice in libvirt migrate data object are of
type IPAddressField. It means that both need to contain valid IP address.
By default in nova.conf it is 127.0.0.1. It can't be set to None because
IP address is taken from nova.conf and even if set to None it will be
passed as a string 'None' and will fail IPAddressField validation.

graphics_listen_addrs in migration.py currently always returns a dict
which contains IP addresses of both VNC and spice graphics consoles.

This means that:
* check 'if listen_addrs' is always True
* check 'if not listen_addrs' is always False

So we really never passed through 'if not listen_addrs' since
migrate_data is objectified as those addresses are always there.

However, serial_listen_addr is handled different way. The type of
this field in libvirt migrate data object is StringField that might
be set to None or empty string through nova.conf. So we still need
to validate whether serial console can be migrated so that we will
be sure that particular live migration will not break serial console
in case when serial listen address is not configured at destination.

Change-Id: I73f7bfafa4554bf1c2dfc980289be88154170282
Closes-Bug: #1639312

8 years agoAdd microversion cap information
Kevin_Zheng [Fri, 11 Nov 2016 07:05:09 +0000 (15:05 +0800)]
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

8 years agoNo return for flavor destroy
liyingjun [Wed, 16 Nov 2016 03:05:56 +0000 (11:05 +0800)]
No return for flavor destroy

_flavor_destroy doesn't need to return

TrivialFix

Change-Id: I77e12a6b511e84fa0223801f2bf93a762ad8c4fc

8 years agoneutron: actually populate list in populate_security_groups
Matt Riedemann [Thu, 10 Nov 2016 23:49:41 +0000 (18:49 -0500)]
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

8 years agoMerge "Replace admin check with policy check in placement API"
Jenkins [Tue, 15 Nov 2016 17:53:51 +0000 (17:53 +0000)]
Merge "Replace admin check with policy check in placement API"

8 years agoClarify the approval process of specless blueprints
Chris Dent [Tue, 15 Nov 2016 17:14:57 +0000 (17:14 +0000)]
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

8 years agoMerge "api-ref: method verification for server-migrations"
Jenkins [Tue, 15 Nov 2016 13:15:08 +0000 (13:15 +0000)]
Merge "api-ref: method verification for server-migrations"

8 years agoMerge "Add uuid field to SecurityGroup object"
Jenkins [Tue, 15 Nov 2016 02:22:37 +0000 (02:22 +0000)]
Merge "Add uuid field to SecurityGroup object"

8 years agoMerge "VMware: add in context for log messages"
Jenkins [Tue, 15 Nov 2016 01:35:14 +0000 (01:35 +0000)]
Merge "VMware: add in context for log messages"

8 years agoAdd uuid field to SecurityGroup object
Matt Riedemann [Thu, 10 Nov 2016 23:22:37 +0000 (18:22 -0500)]
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

8 years agoapi-ref: body verification for force_complete server migration
Matt Riedemann [Mon, 14 Nov 2016 23:09:54 +0000 (18:09 -0500)]
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

8 years agoapi-ref: body verification for show server migration
Matt Riedemann [Mon, 14 Nov 2016 22:40:20 +0000 (17:40 -0500)]
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

8 years agoapi-ref: body verification for list server migrations
Matt Riedemann [Mon, 14 Nov 2016 22:33:52 +0000 (17:33 -0500)]
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

8 years agoapi-ref: example verification for server-migrations
Matt Riedemann [Mon, 14 Nov 2016 21:48:42 +0000 (16:48 -0500)]
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

8 years agoapi-ref: parameter verification for server-migrations
Matt Riedemann [Mon, 14 Nov 2016 21:24:32 +0000 (16:24 -0500)]
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

8 years agoMerge "Remove ceph install/config functions from l-m hook"
Jenkins [Mon, 14 Nov 2016 21:26:07 +0000 (21:26 +0000)]
Merge "Remove ceph install/config functions from l-m hook"

8 years agoapi-ref: method verification for server-migrations
Matt Riedemann [Mon, 14 Nov 2016 21:12:29 +0000 (16:12 -0500)]
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

8 years agoMerge "Ceph bits for live-migration job"
Jenkins [Mon, 14 Nov 2016 21:25:23 +0000 (21:25 +0000)]
Merge "Ceph bits for live-migration job"

8 years ago[placement] Enforce min_unit, max_unit and step_size
Chris Dent [Wed, 2 Nov 2016 18:42:21 +0000 (18:42 +0000)]
[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

8 years agoMerge "Transform requested secgroup names to uuids"
Jenkins [Mon, 14 Nov 2016 18:24:03 +0000 (18:24 +0000)]
Merge "Transform requested secgroup names to uuids"

8 years agoMerge "Correct wrong max_unit in placement inventory"
Jenkins [Mon, 14 Nov 2016 15:37:39 +0000 (15:37 +0000)]
Merge "Correct wrong max_unit in placement inventory"

8 years agoRemove ceph install/config functions from l-m hook
Timofey Durakov [Thu, 10 Nov 2016 09:32:20 +0000 (12:32 +0300)]
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

8 years agoCeph bits for live-migration job
Timofey Durakov [Tue, 18 Oct 2016 07:37:48 +0000 (10:37 +0300)]
Ceph bits for live-migration job

This change re-enables ceph for glance and nova
ephemeral disks.

Change-Id: I6104d22855de58241a15e23916e43ff2193e15ae

8 years agoapi-ref: fix server_id in metadata docs
Matt Riedemann [Sat, 12 Nov 2016 16:59:13 +0000 (11:59 -0500)]
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

8 years agoMerge "Revert MTU hacks for bug 1623876"
Jenkins [Sat, 12 Nov 2016 05:36:55 +0000 (05:36 +0000)]
Merge "Revert MTU hacks for bug 1623876"

8 years agoMerge "Pass MTU into os-vif Network object"
Jenkins [Sat, 12 Nov 2016 05:32:39 +0000 (05:32 +0000)]
Merge "Pass MTU into os-vif Network object"

8 years agoAdd the initial documentation for the placement API
Matt Riedemann [Fri, 11 Nov 2016 20:24:24 +0000 (15:24 -0500)]
Add the initial documentation for the placement API

This is the initial set of docs for the placement API
service introduced in the Newton release.

We still have to flesh out the API reference in detail
but this gets us started.

The deployment steps are taken from how devstack does
this today.

Change-Id: Ic2436d92a7cefaeb1ae67ed878da968444f2f18d

8 years agoMerge "[placement] add a placement_aggregates table to api_db"
Jenkins [Fri, 11 Nov 2016 21:39:18 +0000 (21:39 +0000)]
Merge "[placement] add a placement_aggregates table to api_db"

8 years agoMerge "Catch all local/catch-all addresses for IPv6"
Jenkins [Fri, 11 Nov 2016 21:20:06 +0000 (21:20 +0000)]
Merge "Catch all local/catch-all addresses for IPv6"

8 years agoMerge "Add flavor extra_spec info link to api_ref"
Jenkins [Fri, 11 Nov 2016 21:03:46 +0000 (21:03 +0000)]
Merge "Add flavor extra_spec info link to api_ref"

8 years agoMerge "Instance obj_clone leaves metadata as changed"
Jenkins [Fri, 11 Nov 2016 20:57:54 +0000 (20:57 +0000)]
Merge "Instance obj_clone leaves metadata as changed"

8 years agoAPI Ref: update server_id params
Karen Bradshaw [Mon, 10 Oct 2016 18:50:17 +0000 (14:50 -0400)]
API Ref: update server_id params

- Update server_id params to be of type path.
- Cleaned up os-getConsoleOutput action string.
- Made empty response body description more consistent.
  Review and change as needed.

Implements: bp/api-ref-in-rst-ocata

Change-Id: Ie1e299d2b93188240b18138eba9f5b908a1078a4

8 years agoMerge "api-ref: fix addFloatingIp action docs"
Jenkins [Fri, 11 Nov 2016 17:28:56 +0000 (17:28 +0000)]
Merge "api-ref: fix addFloatingIp action docs"

8 years agoMerge "Add functional api_samples test for addFloatingIp action"
Jenkins [Fri, 11 Nov 2016 17:27:54 +0000 (17:27 +0000)]
Merge "Add functional api_samples test for addFloatingIp action"

8 years agoMerge "Remove block_migration from LM rollback"
Jenkins [Fri, 11 Nov 2016 11:32:12 +0000 (11:32 +0000)]
Merge "Remove block_migration from LM rollback"

8 years agoTransform requested secgroup names to uuids
Matt Riedemann [Wed, 9 Nov 2016 18:04:34 +0000 (13:04 -0500)]
Transform requested secgroup names to uuids

We currently don't store requested security groups with the instance
(or build request) when using neutron, but we plan on doing that as
part of the cells v2 scheduling interaction and moving the instance
create to conductor. The plan is to store the SecurityGroupList
in the request spec so we can lookup the requested security groups
again later.

In order to avoid a situation where the name changes on a security
group in neutron, we need to store the uuid which is immutable. So
this change transforms any requested security group names to uuids
when using neutron as if the user had only requested uuids.

Nothing is using this yet as populate_security_groups in the
neutron security group driver is basically a no-op, but later
changes will rely on this when storing the security groups in the
request spec.

Part of blueprint cells-scheduling-interaction

Change-Id: I1964ee3a7529bb3a1facd38ee62a71c148ecaef1

8 years agoMerge "Rename security_group parameter in compute.API:create"
Jenkins [Thu, 10 Nov 2016 20:49:54 +0000 (20:49 +0000)]
Merge "Rename security_group parameter in compute.API:create"

8 years agoMerge "libvirt: Cleanup spawn tests"
Jenkins [Thu, 10 Nov 2016 18:44:38 +0000 (18:44 +0000)]
Merge "libvirt: Cleanup spawn tests"

8 years agoMerge "_run_pending_deletes does not need info_cache/security_groups"
Jenkins [Thu, 10 Nov 2016 18:43:49 +0000 (18:43 +0000)]
Merge "_run_pending_deletes does not need info_cache/security_groups"

8 years agoMerge "Updated from global requirements"
Jenkins [Thu, 10 Nov 2016 18:17:17 +0000 (18:17 +0000)]
Merge "Updated from global requirements"

8 years agolibvirt: Cleanup spawn tests
Matthew Booth [Tue, 19 Jul 2016 09:56:59 +0000 (10:56 +0100)]
libvirt: Cleanup spawn tests

test_spawn_with_network_info:
  Convert mox to mock, with the exception of the call to
  create_fake_libvirt_mock, which is widely used throughout the
  module.

  Use ImageBackendFixture.

  Replace manual cleanup of created files with tmpdir().

  Not entirely sure what this test was testing: it was just executing
  the code without asserting very much. The new one is just a
  functional replacement.

test_spawn_from_volume_calls_cache:
  Split into 3 separate tests.

  Convert mox to mock.

  Use ImageBackendFixture.

  Additionally assert the creation of the ephemeral disk.

Change-Id: Iede87a6acf015f28ca594adb07fecc534a21c689

8 years agoMerge "api-ref: Fix a 'port' parameter in os-consoles.inc"
Jenkins [Thu, 10 Nov 2016 16:55:42 +0000 (16:55 +0000)]
Merge "api-ref: Fix a 'port' parameter in os-consoles.inc"

8 years agoMerge "libvirt: read rotated "console.log" files"
Jenkins [Thu, 10 Nov 2016 16:54:49 +0000 (16:54 +0000)]
Merge "libvirt: read rotated "console.log" files"

8 years agoMerge "libvirt: change get_console_output as prep work for bp/libvirt-virtlogd"
Jenkins [Thu, 10 Nov 2016 16:53:55 +0000 (16:53 +0000)]
Merge "libvirt: change get_console_output as prep work for bp/libvirt-virtlogd"

8 years agoMerge "Remove ironic instance resize from support matrix doc"
Jenkins [Thu, 10 Nov 2016 16:48:04 +0000 (16:48 +0000)]
Merge "Remove ironic instance resize from support matrix doc"

8 years agoMerge "[api-ref] Fix path parameter console_id"
Jenkins [Thu, 10 Nov 2016 16:29:01 +0000 (16:29 +0000)]
Merge "[api-ref] Fix path parameter console_id"

8 years agoMerge "api-ref: fix image GET response example"
Jenkins [Thu, 10 Nov 2016 16:28:09 +0000 (16:28 +0000)]
Merge "api-ref: fix image GET response example"

8 years agoMerge "api-ref: remove user_id from keypair list response and fix 2.10"
Jenkins [Thu, 10 Nov 2016 16:27:19 +0000 (16:27 +0000)]
Merge "api-ref: remove user_id from keypair list response and fix 2.10"

8 years agoMerge "api-ref: cleanup bdm.delete_on_termination field"
Jenkins [Thu, 10 Nov 2016 16:26:25 +0000 (16:26 +0000)]
Merge "api-ref: cleanup bdm.delete_on_termination field"

8 years agoRename security_group parameter in compute.API:create
Matt Riedemann [Wed, 9 Nov 2016 17:35:22 +0000 (12:35 -0500)]
Rename security_group parameter in compute.API:create

This changes the formal parameter name to be 'security_groups'
so it's plural given it's a list and not a single security
group.

Change-Id: I243f689a30168b9081200f03a2ae060a4971e131

8 years agoMerge "migration.source_compute should be unchanged after finish_revert_resize."
Jenkins [Thu, 10 Nov 2016 16:25:36 +0000 (16:25 +0000)]
Merge "migration.source_compute should be unchanged after finish_revert_resize."

8 years agoMerge "EventReporterStub"
Jenkins [Thu, 10 Nov 2016 15:54:38 +0000 (15:54 +0000)]
Merge "EventReporterStub"

8 years agoMerge "Change database poison warning to an exception"
Jenkins [Thu, 10 Nov 2016 15:24:05 +0000 (15:24 +0000)]
Merge "Change database poison warning to an exception"

8 years agoMerge "Fix database poison warnings, part 25"
Jenkins [Thu, 10 Nov 2016 15:23:16 +0000 (15:23 +0000)]
Merge "Fix database poison warnings, part 25"

8 years agoMerge "Fix database poison warnings in resource providers"
Jenkins [Thu, 10 Nov 2016 15:22:25 +0000 (15:22 +0000)]
Merge "Fix database poison warnings in resource providers"