]> xenbits.xensource.com Git - osstest/openstack-nova.git/log
osstest/openstack-nova.git
8 years agoUpdate docs for serial console support
Matt Riedemann [Tue, 18 Oct 2016 12:47:20 +0000 (08:47 -0400)]
Update docs for serial console support

There are two changes here:

1. The serial_console config option group help text is
   updated to point out that hyper-v also supports serial
   console access. This is based on virt drivers that
   implement the 'get_serial_console' method.

2. The hypervisor feature matrix is updated to point out
   that the vmware driver does not support getting serial
   console output. This is based on virt drivers that
   implement the 'get_console_output' method.

Closes-Bug: #1632135

Change-Id: Ibf7f865e2b768e5ea3d7a7ec7cbf77bd8997c50f

8 years agoMerge "Improve help text for upgrade_levels options"
Jenkins [Tue, 18 Oct 2016 12:32:02 +0000 (12:32 +0000)]
Merge "Improve help text for upgrade_levels options"

8 years agoMerge "compute: fixes python 3 related unit tests"
Jenkins [Tue, 18 Oct 2016 12:28:50 +0000 (12:28 +0000)]
Merge "compute: fixes python 3 related unit tests"

8 years agoMerge "Move some flavor fakes closer to where they are being used"
Jenkins [Tue, 18 Oct 2016 12:13:40 +0000 (12:13 +0000)]
Merge "Move some flavor fakes closer to where they are being used"

8 years agoMerge "Replace flavors.get_all_flavors_sorted_list() with object call"
Jenkins [Tue, 18 Oct 2016 12:13:09 +0000 (12:13 +0000)]
Merge "Replace flavors.get_all_flavors_sorted_list() with object call"

8 years agoMerge "Refactor and objectify flavor fakes used in api tests"
Jenkins [Tue, 18 Oct 2016 11:54:43 +0000 (11:54 +0000)]
Merge "Refactor and objectify flavor fakes used in api tests"

8 years agocompute: fixes python 3 related unit tests
Claudiu Belu [Fri, 1 Apr 2016 00:22:39 +0000 (03:22 +0300)]
compute: fixes python 3 related unit tests

Fixes volume related unit tests.
Fixes non-sortable None items.
Fixes __getattr__ infinite recursion.
Fixes is_dict_like method. Dicts in python 3.4 do not
have the 'has_key' method.

Partially Implements: blueprint goal-python35

Change-Id: I97efc09f7657436f706b08e0b2795f0e59ac1dcd

8 years agoMerge "Fill destination check data with VNC/SPICE listen addresses"
Jenkins [Tue, 18 Oct 2016 04:46:19 +0000 (04:46 +0000)]
Merge "Fill destination check data with VNC/SPICE listen addresses"

8 years agoMerge "block_device: Make refresh_conn_infos py3 compatible"
Jenkins [Tue, 18 Oct 2016 04:45:51 +0000 (04:45 +0000)]
Merge "block_device: Make refresh_conn_infos py3 compatible"

8 years agoMerge "api-ref: Fix wrong parameters in os-volumes.inc"
Jenkins [Tue, 18 Oct 2016 04:45:21 +0000 (04:45 +0000)]
Merge "api-ref: Fix wrong parameters in os-volumes.inc"

8 years agoMerge "Fix exception due to BDM race in get_available_resource()"
Jenkins [Tue, 18 Oct 2016 04:44:50 +0000 (04:44 +0000)]
Merge "Fix exception due to BDM race in get_available_resource()"

8 years agoMerge "Cleanup some redundant USES_DB_SELF usage"
Jenkins [Tue, 18 Oct 2016 02:34:45 +0000 (02:34 +0000)]
Merge "Cleanup some redundant USES_DB_SELF usage"

8 years agoMerge "Fix typo in comment"
Jenkins [Tue, 18 Oct 2016 02:05:13 +0000 (02:05 +0000)]
Merge "Fix typo in comment"

8 years agoMerge "Drop deprecated support for hw_watchdog_action flavor extra spec"
Jenkins [Tue, 18 Oct 2016 02:04:41 +0000 (02:04 +0000)]
Merge "Drop deprecated support for hw_watchdog_action flavor extra spec"

8 years agoapi-ref: Fix wrong parameters in os-volumes.inc
Takashi NATSUME [Tue, 26 Jul 2016 04:20:35 +0000 (13:20 +0900)]
api-ref: Fix wrong parameters in os-volumes.inc

In os-snapshots APIs, the display name is the snapshot name,
not the volume name.
The display description is the snapshot description,
not the volume description.
So fix them.

Change-Id: I33cd59b759c6f7c8eca8bd511ba43637e7b27c1c
Closes-Bug: #1611292

8 years agoMerge "Remove watchdog_actions module"
Jenkins [Mon, 17 Oct 2016 09:19:30 +0000 (09:19 +0000)]
Merge "Remove watchdog_actions module"

8 years agoMerge "Ironic Driver: override get_serial_console()"
Jenkins [Fri, 14 Oct 2016 20:39:43 +0000 (20:39 +0000)]
Merge "Ironic Driver: override get_serial_console()"

8 years agoMerge "Updated from global requirements"
Jenkins [Fri, 14 Oct 2016 17:37:40 +0000 (17:37 +0000)]
Merge "Updated from global requirements"

8 years agoMerge "Stop using mox in virt/libvirt/test_imagecache.py"
Jenkins [Fri, 14 Oct 2016 16:25:57 +0000 (16:25 +0000)]
Merge "Stop using mox in virt/libvirt/test_imagecache.py"

8 years agoMerge "Remove mox from nova/tests/unit/virt/libvirt/test_utils.py"
Jenkins [Fri, 14 Oct 2016 16:25:08 +0000 (16:25 +0000)]
Merge "Remove mox from nova/tests/unit/virt/libvirt/test_utils.py"

8 years agoMerge "Stop using mox in unit/fake_processutils.py"
Jenkins [Fri, 14 Oct 2016 16:24:17 +0000 (16:24 +0000)]
Merge "Stop using mox in unit/fake_processutils.py"

8 years agoMerge "Add InvalidInput handling for attach-volume"
Jenkins [Fri, 14 Oct 2016 16:23:33 +0000 (16:23 +0000)]
Merge "Add InvalidInput handling for attach-volume"

8 years agoIronic Driver: override get_serial_console()
Dao Cong Tien [Fri, 10 Jun 2016 08:02:43 +0000 (15:02 +0700)]
Ironic Driver: override get_serial_console()

This implements Nova-compatible serial console for Ironic in
Nova scope.

[Nova] blueprint ironic-serial-console-support
[Ironic] spec
    https://review.openstack.org/319505
[Ironic] related patches
    https://review.openstack.org/#/c/293873/
    https://review.openstack.org/#/c/328168/
[Ironic] Related-Bug: #1553083

Change-Id: I38e803021d71fc0760a8ae99b3e97dd0aecb5088

8 years agoMerge "Document experimental pipeline in Nova CI"
Jenkins [Fri, 14 Oct 2016 15:19:19 +0000 (15:19 +0000)]
Merge "Document experimental pipeline in Nova CI"

8 years agoMerge "libvirt: fix serial console not correctly defined after live-migration"
Jenkins [Fri, 14 Oct 2016 14:55:28 +0000 (14:55 +0000)]
Merge "libvirt: fix serial console not correctly defined after live-migration"

8 years agoMerge "Fix exception when vcpu_pin_set is set to """
Jenkins [Fri, 14 Oct 2016 13:23:46 +0000 (13:23 +0000)]
Merge "Fix exception when vcpu_pin_set is set to """

8 years agoUpdated from global requirements
OpenStack Proposal Bot [Fri, 14 Oct 2016 05:40:57 +0000 (05:40 +0000)]
Updated from global requirements

Change-Id: Ib977f112cc4ef92f337c4086a29af5579bfa3baa

8 years agoDrop deprecated support for hw_watchdog_action flavor extra spec
Matt Riedemann [Thu, 13 Oct 2016 18:41:27 +0000 (14:41 -0400)]
Drop deprecated support for hw_watchdog_action flavor extra spec

Since change Ic5344ec34a130ee5a0ed2c7348af0b9d79e3508e which goes
back to Icehouse we've allowed using hw_watchdog_action for both
image metadata and flavor extra specs, even though you should
use hw:watchdog_action for flavor extra specs. Well, it's finally
time to remove the transition support for hw_watchdog_action in
flavor extra specs.

Change-Id: Ibf7bc549af498e2355ebdaf9e5d3337554a7f3d6

8 years agoRemove watchdog_actions module
Matt Riedemann [Thu, 13 Oct 2016 17:42:52 +0000 (13:42 -0400)]
Remove watchdog_actions module

The only purpose of the watchdog_actions module was
for a helper method to check against a list of enums
which are also defined in the WatchdogAction enum
field, so remove the module and just use the field enums.

Change-Id: I0de5fc4efc0ae0b5fe11a56669e180b450d3410a

8 years agoMerge "Update rolling upgrade steps from upgrades documentation"
Jenkins [Thu, 13 Oct 2016 16:27:42 +0000 (16:27 +0000)]
Merge "Update rolling upgrade steps from upgrades documentation"

8 years agoDocument experimental pipeline in Nova CI
Emilien Macchi [Tue, 4 Oct 2016 13:30:35 +0000 (09:30 -0400)]
Document experimental pipeline in Nova CI

Add a section in "core-review" to document how experimental pipeline would
be used by Nova developers in order to consume the resources at the
right time.

Change-Id: I5df377032c2fcec18cdf71af2568e028373bcced

8 years agoUpdate rolling upgrade steps from upgrades documentation
Pushkar Umaranikar [Tue, 20 Sep 2016 22:25:40 +0000 (22:25 +0000)]
Update rolling upgrade steps from upgrades documentation

Modify rolling upgrade steps from exisitng nova upgrades
documentation. Also, add pre-requisites required for the
zero downtime upgrade under newly created "Plan your upgrade"
section.

Change-Id: I4e884ac051614d25258734c35208b3abfe5fd3a4
Co-Authored-By: Sivasathurappan Radhakrishnan <siva.radhakrishnan@intel.com>
8 years agoMerge "Reduce duplication and complexity in format_dom"
Jenkins [Thu, 13 Oct 2016 11:25:44 +0000 (11:25 +0000)]
Merge "Reduce duplication and complexity in format_dom"

8 years agoMerge "Renamed parameters name in config.py"
Jenkins [Thu, 13 Oct 2016 11:20:41 +0000 (11:20 +0000)]
Merge "Renamed parameters name in config.py"

8 years agoMerge "libvirt: cleanup never used migratable flag checking"
Jenkins [Thu, 13 Oct 2016 03:04:45 +0000 (03:04 +0000)]
Merge "libvirt: cleanup never used migratable flag checking"

8 years agoMerge "Require WebOb>=1.6.0"
Jenkins [Wed, 12 Oct 2016 22:40:39 +0000 (22:40 +0000)]
Merge "Require WebOb>=1.6.0"

8 years agoMerge "Fix issue with not removing rbd rescue disk"
Jenkins [Wed, 12 Oct 2016 22:21:47 +0000 (22:21 +0000)]
Merge "Fix issue with not removing rbd rescue disk"

8 years agoMerge "hacking: Use assertIs(Not), assert(True|False)"
Jenkins [Wed, 12 Oct 2016 21:26:09 +0000 (21:26 +0000)]
Merge "hacking: Use assertIs(Not), assert(True|False)"

8 years agoMerge "Add quota related tables to the api database."
Jenkins [Wed, 12 Oct 2016 21:21:28 +0000 (21:21 +0000)]
Merge "Add quota related tables to the api database."

8 years agoMerge "Stop using mox in test_firewall"
Jenkins [Wed, 12 Oct 2016 17:53:35 +0000 (17:53 +0000)]
Merge "Stop using mox in test_firewall"

8 years agoMerge "Use more specific asserts in tests"
Jenkins [Wed, 12 Oct 2016 17:52:57 +0000 (17:52 +0000)]
Merge "Use more specific asserts in tests"

8 years agoMerge "doc: add dev policy about no new metrics monitors"
Jenkins [Wed, 12 Oct 2016 17:24:40 +0000 (17:24 +0000)]
Merge "doc: add dev policy about no new metrics monitors"

8 years agoMerge "doc: note the future of out of tree support"
Jenkins [Wed, 12 Oct 2016 17:20:33 +0000 (17:20 +0000)]
Merge "doc: note the future of out of tree support"

8 years agoMerge "conf: Remove deprecated ``use_glance_v1``"
Jenkins [Wed, 12 Oct 2016 15:58:56 +0000 (15:58 +0000)]
Merge "conf: Remove deprecated ``use_glance_v1``"

8 years agoFix issue with not removing rbd rescue disk
Bartek Zurawski [Tue, 10 May 2016 15:31:19 +0000 (17:31 +0200)]
Fix issue with not removing rbd rescue disk

Currently when instance that use RBD as backend
is rescued and next unrescued, rescue image is
not removed, this cause issue when the same
instance is rescued again it's use old rescue
image not new one.

Change-Id: Idf4086303baa4b936c90be89552ad8deb45cef3a
Closes-Bug: #1475652

8 years agoRequire WebOb>=1.6.0
Matt Riedemann [Wed, 12 Oct 2016 14:25:09 +0000 (10:25 -0400)]
Require WebOb>=1.6.0

Nova change 4e923eb9a660593b8a7d2522992700182978a54c started
using the json_formatter kwarg which was introduced in WebOb
1.6.0:

https://github.com/Pylons/webob/commit/87c8749a57c1ff2442db2d74d9fb86935b7b201e

So we need to raise the minimum required version for nova to use.

Change-Id: Ia778a11afb03b6d4b57dbd55a801a5a28b10541d
Depends-On: I2bbad0c059cc514ba0be1d42c061056a342caadc
Closes-Bug: #1632723

8 years agoMerge "Fix pep8 E501 line too long"
Jenkins [Wed, 12 Oct 2016 12:58:56 +0000 (12:58 +0000)]
Merge "Fix pep8 E501 line too long"

8 years agoconf: Remove deprecated ``use_glance_v1``
Maciej Szankin [Tue, 11 Oct 2016 13:05:07 +0000 (15:05 +0200)]
conf: Remove deprecated ``use_glance_v1``

Glance option ``use_glance_v1`` was deprecated and
listed as to be removed for Ocata. This patch removes it.

Blueprint centralize-config-options-ocata

Change-Id: Id891172418535a88fefb8ea05d774fe39dc14eaf

8 years agoMerge "placement: add cache for resource classes"
Jenkins [Wed, 12 Oct 2016 11:32:33 +0000 (11:32 +0000)]
Merge "placement: add cache for resource classes"

8 years agoMerge "Always use python2.7 for functional tests"
Jenkins [Wed, 12 Oct 2016 11:30:58 +0000 (11:30 +0000)]
Merge "Always use python2.7 for functional tests"

8 years agoMerge "hardware: Rework docstrings"
Jenkins [Wed, 12 Oct 2016 11:30:22 +0000 (11:30 +0000)]
Merge "hardware: Rework docstrings"

8 years agoMerge "doc: Comment on latin1 vs utf8 charsets"
Jenkins [Wed, 12 Oct 2016 10:19:02 +0000 (10:19 +0000)]
Merge "doc: Comment on latin1 vs utf8 charsets"

8 years agohacking: Use assertIs(Not), assert(True|False)
Stephen Finucane [Wed, 31 Aug 2016 13:45:51 +0000 (14:45 +0100)]
hacking: Use assertIs(Not), assert(True|False)

This is per the OpenStack style guidelines.

Change-Id: Iec102872e2d5b004255ce897cc22c4d1a41c6f9e
Co-authored-by: Gabor Antal <antal@inf.u-szeged.hu>
8 years agoUse more specific asserts in tests
Gábor Antal [Tue, 30 Aug 2016 17:09:20 +0000 (19:09 +0200)]
Use more specific asserts in tests

Use asserts with more specific assert methods, e.g.: from
assertTrue(sth == None) to assertIsNone(*),
assertTrue(isinstance(inst, type)) to assertIsInstace(inst, type) or
assertTrue(not sth) to assertFalse(sth).

This change ensures a better description will be shown on fail. This is
the recommended way to use assertions provided by testtools.

Change-Id: Ia4a34e0145176e077bbf7e9ed6f69d815c6ed840
Co-authored-by: Stephen Finucane <sfinucan@redhat.com>
8 years agoMerge "conf: Move PCI options to a PCI group"
Jenkins [Wed, 12 Oct 2016 09:55:33 +0000 (09:55 +0000)]
Merge "conf: Move PCI options to a PCI group"

8 years agoAdd quota related tables to the api database.
Mark Doffman [Wed, 15 Jun 2016 15:09:19 +0000 (10:09 -0500)]
Add quota related tables to the api database.

Quotas are required to exist in the API database as we need to enforce
quotas across cells.

blueprint cells-quota-api-db

Change-Id: I52fd680eaa4880b06f7f8d4bd1bb74920e73195d

8 years agoMerge "docs: update the Public Contractual API link"
Jenkins [Wed, 12 Oct 2016 07:19:44 +0000 (07:19 +0000)]
Merge "docs: update the Public Contractual API link"

8 years agoMerge "ironic: Rename private methods for instance info"
Jenkins [Wed, 12 Oct 2016 00:48:53 +0000 (00:48 +0000)]
Merge "ironic: Rename private methods for instance info"

8 years agodoc: add dev policy about no new metrics monitors
Matt Riedemann [Wed, 12 Oct 2016 00:41:47 +0000 (20:41 -0400)]
doc: add dev policy about no new metrics monitors

At the newton midcycle we talked about the proposed
memory bandwidth monitor plugin and decided that we
really just don't want nova in the business of metrics
gathering, and are moving to deprecate that functionality.

There are several specs open related to adding more
metrics monitors and/or exposing existing ones, so this
codifies the policy on nova as metrics gatherer.

Change-Id: Ie47e91776bc36a22fd48d3673c69c842509489a1

8 years agoAlways use python2.7 for functional tests
melanie witt [Tue, 11 Oct 2016 23:59:25 +0000 (23:59 +0000)]
Always use python2.7 for functional tests

The functional testenv doesn't work with python 3.x on our codebase.
If someone is on a platform that defaults to python => python3,
functional tests will fail for them.

Closes-Bug: #1632521

Change-Id: I7bf6653f55c10d0a4f75054e519edf7da19c5c09

8 years agodoc: note the future of out of tree support
Matt Riedemann [Tue, 11 Oct 2016 23:47:40 +0000 (19:47 -0400)]
doc: note the future of out of tree support

The out of tree support section of the nova dev policy
document was pretty old and basically said hooks and
extension points are buyer beware, but doesn't mention
anything about why we don't want them (interoperability)
and the efforts the last few releases to actively
deprecate and remove hooks/extension points/classloading.

This change adds some more wording to that effect to
the doc.

Change-Id: Iaa1cf3ef7ac6e8e1d75f94e17aaba1058474acca

8 years agodocs: update the Public Contractual API link
Matt Riedemann [Tue, 11 Oct 2016 23:44:07 +0000 (19:44 -0400)]
docs: update the Public Contractual API link

This updates the docs to point at our flashy new(ish)
api-ref compute REST API docs instead of those gross
crusty old inaccurate ones.

Change-Id: Ib5e157f3ff7a215be4cbf7e8744b3507f3b4b106

8 years agoAdd InvalidInput handling for attach-volume
Ken'ichi Ohmichi [Tue, 11 Oct 2016 23:27:10 +0000 (16:27 -0700)]
Add InvalidInput handling for attach-volume

If attaching the already attached volume to a server, Cinder returns
HTTP400 response to Nova but Nova didn't except the response.
Then Nova returned HTTP500 response to a client.
Tempest test I594566704b9794457d224031802d9cbf132e765f reproduces
this error case.

Closes-Bug: #1632513
Change-Id: I6718883cb6b42d9b816e3799324a166cbfe92b40

8 years agoMerge "placement: add new resource_classes table"
Jenkins [Tue, 11 Oct 2016 22:35:36 +0000 (22:35 +0000)]
Merge "placement: add new resource_classes table"

8 years agoMerge "Improve help text for libvirt options"
Jenkins [Tue, 11 Oct 2016 18:46:39 +0000 (18:46 +0000)]
Merge "Improve help text for libvirt options"

8 years agoMerge "Add swap volume notifications (start, end)"
Jenkins [Tue, 11 Oct 2016 17:56:06 +0000 (17:56 +0000)]
Merge "Add swap volume notifications (start, end)"

8 years agoMerge "Add a hacking rule for string interpolation at logging"
Jenkins [Tue, 11 Oct 2016 17:55:32 +0000 (17:55 +0000)]
Merge "Add a hacking rule for string interpolation at logging"

8 years agoMerge "Avoid update resource if compute node not updated"
Jenkins [Tue, 11 Oct 2016 16:43:32 +0000 (16:43 +0000)]
Merge "Avoid update resource if compute node not updated"

8 years agoplacement: add cache for resource classes
Jay Pipes [Wed, 28 Sep 2016 22:19:37 +0000 (18:19 -0400)]
placement: add cache for resource classes

Adds a simple caching mechanism for resource class string and integer
codes. The cache is initialized with a RequestContext in order to fetch
a DB connection but only uses the DB connection to look up string names
or integer IDs if the requested key (string or integer) isn't either in
the fields.ResourceClass.ALL collection or not already looked up in the
DB.

The next patch in this series adds code to the resource_providers.py
module that changes all occurrences of fields.ResourceClass.index() and
fields.ResourceClass.from_index() to utilize the resource class cache.
In this way, we will transparently move from a situation with resource
classes represented only as Enum-based constants to a DB-backed solution
where custom resource classes can co-exist with the standardized Enum
constants.

Change-Id: I9b5b59a1e9715d61f55dc0f6189bcf8596052e2c
blueprint: custom-resource-classes

8 years agoplacement: add new resource_classes table
Jay Pipes [Tue, 27 Sep 2016 20:55:03 +0000 (16:55 -0400)]
placement: add new resource_classes table

We will store custom resource classes in the new resource_classes table.
These custom resource classes represent non-standardized resource
classes. Followup patches add the plumbing to handle existing
standardized classes currently using the fields.ResourceClass field type
and to perform CRUD operations against a /resource-classes REST API
endpoint.

Change-Id: I60ea0dcb392c1b82fead4b859fc7ed6b32d4bda0
blueprint: custom-resource-classes

8 years agohardware: Rework docstrings
Stephen Finucane [Thu, 8 Sep 2016 13:12:38 +0000 (14:12 +0100)]
hardware: Rework docstrings

This stuff is already complicated. Let's use the docs to simplify
things a little.

Change-Id: Ic16ee63f039eae052d16a9bbea85f9fe3a2dd270
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
8 years agoMerge "Fix check_config_option_in_central_place"
Jenkins [Tue, 11 Oct 2016 15:02:51 +0000 (15:02 +0000)]
Merge "Fix check_config_option_in_central_place"

8 years agoMerge "ENOENT error on '/dev/log'"
Jenkins [Tue, 11 Oct 2016 15:02:17 +0000 (15:02 +0000)]
Merge "ENOENT error on '/dev/log'"

8 years agoMerge "config options: improve libvirt smbfs"
Jenkins [Tue, 11 Oct 2016 15:01:42 +0000 (15:01 +0000)]
Merge "config options: improve libvirt smbfs"

8 years agoMerge "Replace uuid4() with uuidsentinel"
Jenkins [Tue, 11 Oct 2016 15:01:09 +0000 (15:01 +0000)]
Merge "Replace uuid4() with uuidsentinel"

8 years agoMerge "docs: update code-review guide for config options"
Jenkins [Tue, 11 Oct 2016 15:00:23 +0000 (15:00 +0000)]
Merge "docs: update code-review guide for config options"

8 years agoMerge "Don't attempt to escalate nova-manage privileges"
Jenkins [Tue, 11 Oct 2016 14:59:46 +0000 (14:59 +0000)]
Merge "Don't attempt to escalate nova-manage privileges"

8 years agoMerge "Config options consistency of ephemeral_storage.py"
Jenkins [Tue, 11 Oct 2016 14:56:09 +0000 (14:56 +0000)]
Merge "Config options consistency of ephemeral_storage.py"

8 years agoMerge "Fix invalid import order and remove import *"
Jenkins [Tue, 11 Oct 2016 14:50:50 +0000 (14:50 +0000)]
Merge "Fix invalid import order and remove import *"

8 years agoMerge "Cleanup instance device metadata object code"
Jenkins [Tue, 11 Oct 2016 14:50:15 +0000 (14:50 +0000)]
Merge "Cleanup instance device metadata object code"

8 years agodoc: Comment on latin1 vs utf8 charsets
Stephen Finucane [Mon, 10 Oct 2016 14:12:45 +0000 (15:12 +0100)]
doc: Comment on latin1 vs utf8 charsets

Change-Id: Ia50ea5cfd631fac8edb27e040cde91826a3c4182

8 years agoMerge "Replace fake_utils by using Fixture"
Jenkins [Tue, 11 Oct 2016 14:00:57 +0000 (14:00 +0000)]
Merge "Replace fake_utils by using Fixture"

8 years agoImprove help text for libvirt options
Anusha Unnam [Mon, 19 Sep 2016 21:01:34 +0000 (21:01 +0000)]
Improve help text for libvirt options

This patch improves help text for libvirt_volume_net_opts,
libvirt_volume_nfs_opts, libvirt_volume_quobyte_opts,
libvirt_volume_scality_opts.

Blueprint centralize-config-options-ocata

Change-Id: Ie89f1b1a7795d73fff9341fbdf1268fb3df7a20d

8 years agoblock_device: Make refresh_conn_infos py3 compatible
Lee Yarwood [Thu, 14 Jul 2016 10:53:09 +0000 (11:53 +0100)]
block_device: Make refresh_conn_infos py3 compatible

Also add a simple test ensuring that refresh_connection_info is called
for each DriverVolumeBlockDevice derived device provided.

Related-Bug: #1419577
Partially-Implements: blueprint goal-python35
Change-Id: Ib1ff00e7f4f5b599317d7111c322ce9af8a9a2b1

8 years agoAdd swap volume notifications (start, end)
Takashi NATSUME [Fri, 1 Jul 2016 12:47:20 +0000 (21:47 +0900)]
Add swap volume notifications (start, end)

Add the following notifications when swapping volumes.

* 'instance.volume_swap.start'
* 'instance.volume_swap.end'

A subsequent patch will add 'instance.volume_swap.error'.

Change-Id: Ic4d9d25bdc611221157e4663817e918b8d667ce9
Implements: blueprint add-swap-volume-notifications

8 years agoAdd a hacking rule for string interpolation at logging
Takashi NATSUME [Tue, 28 Jun 2016 07:42:31 +0000 (16:42 +0900)]
Add a hacking rule for string interpolation at logging

String interpolation should be delayed to be handled
by the logging code, rather than being done
at the point of the logging call.
So add the following hacking rule for it.

- [N354] String interpolation should be delayed at logging calls.

See the oslo i18n guideline.

* http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Change-Id: Ief6d3ee3539c0857098fffdb7acfeec3e0fed6eb
Closes-Bug: #1596829

8 years agoMerge "Tests: fix a typo"
Jenkins [Tue, 11 Oct 2016 07:38:43 +0000 (07:38 +0000)]
Merge "Tests: fix a typo"

8 years agoMerge "Remove dead link from notification devref"
Jenkins [Mon, 10 Oct 2016 22:01:51 +0000 (22:01 +0000)]
Merge "Remove dead link from notification devref"

8 years agoMerge "Add error handling for delete-volume API"
Jenkins [Mon, 10 Oct 2016 19:56:36 +0000 (19:56 +0000)]
Merge "Add error handling for delete-volume API"

8 years agoDon't attempt to escalate nova-manage privileges
Markus Zoeller [Tue, 9 Aug 2016 11:55:54 +0000 (13:55 +0200)]
Don't attempt to escalate nova-manage privileges

Remove code which allowed nova-manage to attempt to escalate
privileges so that configuration files can be read by users who
normally wouldn't have access, but do have sudo access.

The privilege escalation came into nova-manage with commit e9fd01e
to solve bug 805695. That bug report didn't describe a faulty behavior
but a change request.

NOTE: This is related to change I03063d2 from Kiall Mac Innes who did
this for the "designate" project. I'm reusing the change-id from his
change to make it clear that they are related to each other.

NOTE: I removed the try-except block completely, as it doesn't make
sense to continue when we cannot read the config file (due to a wrong
path or permission errors). That's the same approach we used in the
recent "nova/cmd/policy_check" module.
https://github.com/openstack/nova/blob/master/nova/cmd/policy_check.py#L158

Co-Authored-By: Kiall Mac Innes <kiall@macinnes.ie>
Closes-Bug: 1611171
Change-Id: I03063d2af14015e6506f1b6e958f5ff219aa4a87

8 years agoImprove help text for upgrade_levels options
Sujitha [Mon, 13 Jun 2016 19:03:51 +0000 (19:03 +0000)]
Improve help text for upgrade_levels options

This commit adds additional help text to upgrade_levels
options.

Also improved consistency for the options as per [0].

[0] https://wiki.openstack.org/wiki/ConfigOptionsConsistency

Blueprint centralize-config-options-ocata

Change-Id: Ic73c40359d22b8a0821b216939aac6cd81962a73

8 years agoMerge "Stop using mox stubs in test_evacuate.py"
Jenkins [Mon, 10 Oct 2016 14:39:15 +0000 (14:39 +0000)]
Merge "Stop using mox stubs in test_evacuate.py"

8 years agoRemove dead link from notification devref
Balazs Gibizer [Mon, 10 Oct 2016 14:37:13 +0000 (16:37 +0200)]
Remove dead link from notification devref

The auto generated class documentation link was 404 in the notification
devref as that documenation is not generated automatically any more.

This patch modifies the notification devref to include the interesting
part of the class documentation inline.

Change-Id: I7cbea16fc9682fa3c00eac16a51c4ed8588ba45c

8 years agoStop using mox stubs in test_evacuate.py
Anh Tran [Thu, 26 May 2016 04:20:30 +0000 (11:20 +0700)]
Stop using mox stubs in test_evacuate.py

Replace 'stubs.Set' with 'stub_out' in
nova/tests/unit/api/openstack/compute/test_evacuate.py

Part of blueprint remove-mox-ocata

Change-Id: I5c9180d0424042d7e966287d2ac7faf9271c136f

8 years agoMerge "Fix API doc for os-console-auth-tokens"
Jenkins [Mon, 10 Oct 2016 12:38:49 +0000 (12:38 +0000)]
Merge "Fix API doc for os-console-auth-tokens"

8 years agoMerge "Add Apache 2.0 license to source file"
Jenkins [Mon, 10 Oct 2016 12:38:13 +0000 (12:38 +0000)]
Merge "Add Apache 2.0 license to source file"

8 years agoMerge "Remove the sample policy file"
Jenkins [Mon, 10 Oct 2016 12:18:21 +0000 (12:18 +0000)]
Merge "Remove the sample policy file"

8 years agoTests: fix a typo
Gary Kotton [Mon, 10 Oct 2016 07:45:11 +0000 (00:45 -0700)]
Tests: fix a typo

TrivialFix

Change-Id: I83ea75257d5b900a37f024fe29427d33c4f2b17e

8 years agoMerge "Patch mkisofs calls"
Jenkins [Fri, 7 Oct 2016 20:46:40 +0000 (20:46 +0000)]
Merge "Patch mkisofs calls"

8 years agoMerge "Annotate online db migrations with cycle added"
Jenkins [Fri, 7 Oct 2016 20:41:59 +0000 (20:41 +0000)]
Merge "Annotate online db migrations with cycle added"