Commit Graph

2700 Commits

Author SHA1 Message Date
Zuul 8ac8c995ca Merge "doc: placement upgrade notes for queens" 2018-02-02 09:55:58 +00:00
Zuul b7de3eca6d Merge "Cleanup launch instance and manage IPs docs" 2018-02-02 03:40:45 +00:00
Zuul 0432555adb Merge "Migrate "launch instance" user guide docs" 2018-02-02 03:40:33 +00:00
Matt Riedemann b06895f030 doc: placement upgrade notes for queens
This adds a mention of the nova-scheduler service requiring
placement 1.17 and also links to the placement upgrade notes
from the more general upgrade notes, since we are now firmly
in a place where placement needs to be upgraded before nova.

Since we consider placement global, this removes the 1.14
note about nova-compute since we assume that if you're going
to upgrade placement to get 1.17 for the scheduler, and control
services should be upgraded before computes, then the computes
are going to get a new enough placement service automatically.

Change-Id: I06937c7642dca4a1932cbbf46569acc9c58e44a6
2018-02-01 17:17:57 -05:00
Zuul 648239466b Merge "Deduplicate service status notification samples" 2018-02-01 21:26:47 +00:00
Zuul f93881d162 Merge "Deduplicate aggregate notification samples" 2018-02-01 21:26:34 +00:00
Zuul 538f47eeca Merge "add "--until-complete" option for nova-manage db archive_deleted_rows." 2018-02-01 21:26:11 +00:00
Zuul fa6f0bb2ec Merge "Mention required traits in the flavors user docs" 2018-02-01 21:25:55 +00:00
Matt Riedemann 49b1bf8c54 Cleanup launch instance and manage IPs docs
This is a follow up to Ie039322660fd0e2e0403843448379b78114c425b.

A few things are changed here:

* The note about using file injection is removed. File injection
  was deprecated in the API in Queens and not something that we
  really want users using.
* Mention that creating a flavor is typically admin-only.
* Link to the BDM docs for more details about BDM parameter values.
* Update the manage-ip-address docs to make the examples rely on
  using the networking resource CLIs rather than any proxy APIs
  that were available in nova.

Change-Id: Ifa2e2bbb4c5f51f13d1a5832bd7dbf9f690fcad7
2018-02-01 15:12:10 -05:00
Matt Riedemann 4ed5e81ee0 Migrate "launch instance" user guide docs
This imports the "launch instance" end user guide docs from
the openstack-manuals repo. As part of the docs migration
in Pike, these were forgotten. The copied contents come from
the stable/ocata branch of openstack-manuals, and therefore
likely need some updating, but that could be done in follow up
changes. This is an initial import to (1) publish the content
again somewhere and (2) fix broken links in the cinder docs
for booting from volume.

Change-Id: Ie039322660fd0e2e0403843448379b78114c425b
Partial-Bug: #1714017
Related-Bug: #1711267
2018-02-01 14:28:18 -05:00
Zuul 40f74fb959 Merge "placement: enable required traits from the flavor extra specs" 2018-02-01 06:42:41 +00:00
Ameed Ashour eba33a0e2d add "--until-complete" option for nova-manage db archive_deleted_rows.
Change-Id: Ibcb489efb364c03167b7398f615c9a15f6867370
Closes-bug: #1746531
2018-01-31 16:45:24 -05:00
Matt Riedemann 3e9a631ec8 Mention required traits in the flavors user docs
This takes most of the release note and adds it to the user
flavor docs which is more discoverable for an end user.

Change-Id: Ia83af4dfcc0c040679b0d0cd5282830fca27bd63
2018-01-31 11:07:12 -05:00
Zuul 5de8969ffe Merge "Add exception to no-upcall note of cells doc" 2018-01-27 11:32:19 +00:00
Zuul b784ea490d Merge "Fix the incorrect RST convention" 2018-01-27 10:37:11 +00:00
Zuul 39f115fcc0 Merge "Expand on when you might want to set --max-count for map_instances" 2018-01-27 10:36:55 +00:00
Zuul 62543e666c Merge "Transform instance.resize_prep notification" 2018-01-27 01:36:42 +00:00
Zuul 508a971bf8 Merge "Transform instance-evacuate notification" 2018-01-26 12:48:07 +00:00
zhang.lei 020980d965 Fix the incorrect RST convention
This blank line cause the font size of nova-api service description
rendered bigger than other content[1]. We should remove it.

[1] https://docs.openstack.org/nova/latest/install/get-started-compute.html

Change-Id: Ic8e487f6db9ad62027ac17853eeb04c0fdaaa6b4
2018-01-26 10:00:18 +00:00
Zuul 81f0ca1352 Merge "Update VMWare vSphere link address" 2018-01-25 21:15:39 +00:00
Zuul 233285de49 Merge "add whereto for testing redirect rules" 2018-01-25 06:48:57 +00:00
Gábor Antal d775dd7066 Transform instance.resize_prep notification
The instance.resize_prep.start and instance.resize_prep.end
notifications are transformed to the versioned framework.

Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: If33d092e8688ed4d4864b2f7130104ab85ce1ea4
Implements: bp versioned-notification-transformation-queens
2018-01-25 09:30:50 +09:00
He Jie Xu 6a818ebc19 placement: enable required traits from the flavor extra specs
This patch enables the flavor extra spec 'required:[traits]'. The
admin can specifiy a set of traits that a flavor required.

To enable this, the placement 1.17 is required, it added trait
support in the `GET /allocation_candidates` API. So bump the
minimal placement version requirement to 1.17 and update the
check in cmd `nova-status`.

Implement blueprint request-traits-in-nova

Change-Id: Ia51ace951e9a0402f873ce9751a8cd3c0283db08
2018-01-24 23:35:54 +08:00
Zuul 87ea686f9f Merge "Transform instance.resize_confirm notification" 2018-01-24 13:53:27 +00:00
gaofei 6e80105e9c Update VMWare vSphere link address
Change-Id: Ie6f43d59b29c5f89bd8d50b9838cc743ea22a36e
2018-01-24 13:26:08 +00:00
Matt Riedemann 2890d8db67 Expand on when you might want to set --max-count for map_instances
The default behavior for the "nova-manage cell_v2 map_instances"
command is to map all instances in the cell in batches of 50.

This can be slow when there are several thousand instances in the
deployment and an operator may want to specify a higher --max-count
value and run the command until it completes.

This simply updates the command option description and man page to
point this out for consideration.

Change-Id: I59c2ed89fe02212977445f6825c6da8fedbb8ccf
Related-Bug: #1742649
2018-01-23 15:34:03 -05:00
gaofei a9769a8488 Replace curly quotes with straight quotes
Sphinx's "smart quotes" feature will ensure these are replaced during
generation of docs.

Change-Id: I96412d86ac67c0dbaa0edb88815daa795e3cb1d8
2018-01-23 09:25:05 +00:00
Zuul 7371238f13 Merge "[api] Allow multi-attach in compute api" 2018-01-22 22:22:00 +00:00
Zuul 4e3b07430d Merge "doc: Document TLS security setup for noVNC proxy" 2018-01-22 17:35:05 +00:00
Ildiko Vancsa 7e6ae9afd9 [api] Allow multi-attach in compute api
This change introduces a new microversion which must be used
to create a server from a multiattach volume or attach a multiattach
volume to an existing server instance.

Attaching a multiattach volume to a shelved offloaded instance is not
supported since an instance in that state does not have a compute host
so we can't tell if the compute would support the multiattach volume
or not. This is consistent with the tagged attach validation with 2.49.

When creating a server from a multiattach volume, we'll check to see
if all computes in all cells are upgraded to the point of even supporting
the compute side changes, otherwise the server create request fails with
a 409. We do this because we don't know which compute node the scheduler
will pick and we don't have any compute capability filtering in the
scheduler for multiattach volumes (that may be a future improvement).

Similarly, when attaching a multiattach volume to an existing instance,
if the compute isn't new enough to support multiattach or the virt
driver simply doesn't support the capability, a 409 response is returned.
Presumably, operators will use AZs/aggregates to organize which hosts
support multiattach if they have a mixed hypervisor deployment, or will
simply disable multiattach support via Cinder policy.

The unit tests are covering error conditions with the new flow. A new
functional scenario test is added for happy path testing of the new boot
from multiattach volume flow and attaching a multiattach volume to more
than one instance.

Tempest integration testing for multiattach is added in change
I80c20914c03d7371e798ca3567c37307a0d54aaa.

Devstack support for multiattach is added in change
I46b7eabf6a28f230666f6933a087f73cb4408348.

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Implements: blueprint multi-attach-volume
Change-Id: I02120ef8767c3f9c9497bff67101e57e204ed6f4
2018-01-22 10:45:13 -05:00
Daniel Berrange 7c593dc505 doc: Document TLS security setup for noVNC proxy
The nova noVNC proxy server has gained the ability to use the VeNCrypt
authentication scheme to secure network communications with the compute
node VNC servers.  This documents how to configure the QEMU/KVM compute
nodes and the noVNC proxy server nodes.

Change-Id: If3cea87568efff0874cd8851cabc6770812c545b
Blueprint: websocket-proxy-to-host-security
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2018-01-22 14:48:51 +00:00
Alex Szarka 575fd9bbd2 Transform instance-evacuate notification
Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Co-Authored-By: Gábor Antal <antal@inf.u-szeged.hu>
Change-Id: Ie1914b1f5f71c23dd441dafaea9e4261541d338d
Implements: bp versioned-notification-transformation-queens
2018-01-22 17:49:32 +09:00
David Rabel 2181335027 Fix format in flavors.rst
Insert newline, so that '.. code:: console' tag is parsed correctly.

Change-Id: Ia1b6c2d506077861f9f2a09a8bdc632a2d5e309b
2018-01-19 15:14:06 +01:00
Lajos Katona ab937d8e7a Deduplicate service status notification samples
This patch refactors the sample files of service-create, service-delete
and service-update notifications to use a common ServiceStatusPayload
sample data.

This patch addresses the problem which lead the revert of the commit
I708ce5423806d2913e77abbe338aec970a5009dc.

Change-Id: I2f619089ae88d05207bb3432c63546a298f0bf15
2018-01-19 08:35:19 +00:00
Béla Vancsics 8ec0b43904 Transform instance.resize_confirm notification
The instance.resize_confirm.start and instance.resize_confirm.end
notifications are transformed to the versioned framework.

Change-Id: I6a51542216340299d250576714e303f74e0ceb0f
Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Co-Authored-By: stewie925 <st3wty@att.com>
Co-Authored-By: MikeG451 <michael.glaser@att.com>
Implements: bp versioned-notification-transformation-queens
2018-01-18 08:01:10 +09:00
Zuul c03bbc142f Merge "PowerVM driver: ovs vif" 2018-01-17 18:15:26 +00:00
Zuul 73d72b3833 Merge "Remove unnecessary execute permissions in files" 2018-01-17 16:57:24 +00:00
Qing Wu Wang a31d6b02fc PowerVM driver: ovs vif
This change set adds Open vSwitch VIF support for the PowerVM virt
driver.

Change-Id: If23aeb890c4365014a9f1262647611162f981f12
Partially-Implements: blueprint powervm-nova-it-compute-driver
2018-01-16 19:02:25 -06:00
Lajos Katona 688de7333f Deduplicate aggregate notification samples
This patch refactors the sample files of aggregate-add_host,
aggregate-delete, aggregate-create and aggregate-remove_host
notifications to use a common AggregatePayload sample data.

Change-Id: I50382f4d829693412bbfe47ffd08a24e69342715
2018-01-16 15:59:16 +01:00
Zuul d9ba29fd6e Merge "update_cell allows more than once cell to have the same db/transport url" 2018-01-16 11:12:03 +00:00
Takashi NATSUME c32ca60283 Remove unnecessary execute permissions in files
TrivialFix
Change-Id: I18c80f375ff0811a69941a0e265f79d5249ef34f
2018-01-15 23:53:01 +09:00
Béla Vancsics df7442ee5a Transform rescue/unrescue instance notifications
The rescue (instance.rescue.start and instance.rescue.end) and unrescue
(instance.unrescue.start and instance.unrescue.end) notifications are
transformed to the versioned framework.

This patch also fixes the power state of the server
when unrescuing it with the fake compute driver.

Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: Ib1d03c6d693e3b04886c638c956e35809fed8fc2
Implements: bp versioned-notification-transformation-queens
Closes-Bug: #1742133
2018-01-14 02:15:18 +00:00
Zuul 2f52bbc0ab Merge "Update FAQs about listing hosts in cellv2" 2018-01-12 20:40:22 +00:00
Zuul 135a9d709d Merge "Add a warning in 'nova-manage cell_v2 delete_cell'" 2018-01-12 20:40:05 +00:00
Balazs Gibizer 3881f9e1ef Revert "Deduplicate service status notification samples"
This reverts commit 39f9ef719e.

The reverted change made the service.update notification sample tests
failing consistently on master. The CI did not catch this problem as
the functional test does not run for changes that only touches
nova/docs. This is a quick fix to unblock the gate and fix the
functional job defintion in a separate patch.

Change-Id: Idabbf70ae46f36be8343c0a00d812cbebf7f7670
Closes-Bug: #1742935
2018-01-12 15:14:49 +01:00
Zuul 2f128404d0 Merge "Deduplicate service status notification samples" 2018-01-12 12:48:31 +00:00
Takashi NATSUME 52e7e6e3e4 Add a warning in 'nova-manage cell_v2 delete_cell'
When deleting a cell, if there are instance mappings to the cell,
the command fails with the following message.

* There are existing instances mapped to cell with uuid UUID.

But even if all instances have been deleted in the cell,
the same message is shown.

So in that case, add a warning that the instance mappings have to
be deleted by 'nova-manage db archive_deleted_rows'
before deleting the cell.

Change-Id: I2a163fb50a7e71ce9f463bc9ddeffe2ea47d1588
Closes-Bug: #1725331
2018-01-12 07:22:32 +00:00
Kevin_Zheng 92a0fc0b9f Add pagination and Changes-since filter support for os-migrations.
This patch adds pagination support and changes-since filter
for os-migrations API.

Users can now use 'limit' and 'marker' to perform paginate
query of running migrations list. Users can also filter the
results according to the migrations' updated time.

The ``GET /os-migrations`` and server migrations APIs will now
return a uuid value in addition to the migrations id in the response,
and the query parameter schema of the ``GET /os-migrations`` API no
longer allows additional properties.

Co-Authored-By: Yikun Jiang <yikunkero@gmail.com>

Implement: blueprint add-pagination-and-change-since-for-migration-list
Change-Id: I7e01f95d7173d9217f76e838b3ea71555151ef56
2018-01-10 14:02:53 -05:00
Lajos Katona 39f9ef719e Deduplicate service status notification samples
This patch refactors the sample files of service-create, service-delete
and service-update notifications to use a common ServiceStatusPayload
sample data.

Change-Id: I708ce5423806d2913e77abbe338aec970a5009dc
2018-01-10 15:29:28 +00:00
Liam Young 30786b892e Add exception to no-upcall note of cells doc
The cells v2 layout documentation clearly states that there are no
upcalls from cells back to the central API services. This mislead
me for sometime as I could not fathom how a compute node in a cell
was supposed to report its resource info.

It turns out nova looks up the placement service in the keystone
catalogue and contacts it directly which to my mind is an upcall. I
wonder if the author of the not felt that the placement service is
not really part of nova?

Change-Id: If14be8b182f0af4e4e6641046fec638c07e26546
Closes-Bug: #1742421
2018-01-10 11:10:57 +00:00