Commit Graph

3075 Commits

Author SHA1 Message Date
Chen d12449a91b Update ssh configuration doc
The main idea of this update is to make the configuration process
easier to read and follow.

Change-Id: I73cf811415900eaf99673de16f83ea7c9da16045
2018-08-09 10:37:19 +08:00
Zuul 03ccb1f933 Merge "Update install guide for placement database configuration" 2018-07-31 10:32:49 +00:00
Zuul 4370aa9c5e Merge "Updated AggregateImagePropertiesIsolation filter illustration" 2018-07-30 21:21:53 +00:00
karimull a9083d13b0 Updated AggregateImagePropertiesIsolation filter illustration
The example given in this section was not matching the explanation
of how the filter works.
Updated the example with right properties and aggregate name

Change-Id: Ieadeb0d736cc83a41093e6f4dfeb75d2396976ec
Closes-Bug: #1684261
2018-07-30 12:31:35 -07:00
Zuul e276db98f1 Merge "Add documentation for emulator threads policy" 2018-07-30 13:50:03 +00:00
Zuul 8c91a5b72d Merge "doc: link to AZ talk from the Rocky summit" 2018-07-30 12:54:11 +00:00
Zuul 9e99595366 Merge "doc: link to CERN summit video about upgrading from cells v1 to v2" 2018-07-30 12:54:04 +00:00
Zuul dd6d752966 Merge "Fix ServerMigrationSampleJsonTests to use sample files from version dir" 2018-07-29 06:36:43 +00:00
Zuul c9b7c3577f Merge "Assorted cleanups from numa-aware-vswitches series" 2018-07-29 03:41:15 +00:00
Zuul 7eda21891b Merge "scheduler: Start utilizing RequestSpec.network_metadata" 2018-07-29 02:42:31 +00:00
Zuul 63c1f9a17a Merge "Add nova-status upgrade check for request spec migrations" 2018-07-28 02:39:19 +00:00
Stephen Finucane 24c016ed6c Assorted cleanups from numa-aware-vswitches series
Resolve open issues from preceding patches.

Part of blueprint numa-aware-vswitches

Change-Id: I0c35109b67aa94cf19a4d20a97bf5ab15cf3db4e
2018-07-27 09:49:12 -07:00
Zuul 4f5105d6c0 Merge "doc: add missing permission for the vCenter service account" 2018-07-27 10:52:41 +00:00
Zuul d885ec8757 Merge "doc: remove rocky-specific nova-scheduler min placement version" 2018-07-26 01:14:22 +00:00
Zuul 99d2a34d1f Merge "Add nova-manage placement sync_aggregates" 2018-07-25 18:56:26 +00:00
Radoslav Gerganov 676a68bb67 doc: add missing permission for the vCenter service account
The service account that is being used by Nova needs "Profile-driven
storage view" permission for SPBM[0] to work. It is located under the
"Profile-driven storage" node in the Privileges tree.
This patch fixes the doc to address this.

[0] https://blueprints.launchpad.net/nova/+spec/vmware-spbm-support

Change-Id: I026b2394e6aa2fef8b1990923f9dcf8b3945175c
2018-07-25 11:53:17 +03:00
Matt Riedemann dc6cb06021 doc: remove rocky-specific nova-scheduler min placement version
Per change I97215e94efdd8c05045872fb9ba7d2089dc6efb8, nova
does not perform version discovery or try to deal with backlevel
placement versions, and the upgrade docs say that placement needs
to be upgraded before upgrading any nova services. Because of
this assertion, we can remove the per-release nova-scheduler-specific
note in the placement upgrade notes for Rocky because while it's
accurate for the nova-scheduler service, it might not be accurate
for the nova-api, nova-conductor or nova-compute services which
also use placement. So the best guidance is to just globally say
that placement must be upgraded before *any* nova services, which
our upgrade doc already says.

Change-Id: I8bf6ab049f15ad24a5fbf0557bd0cd8652101901
2018-07-24 15:14:42 -04:00
Stephen Finucane 803f85d7e6 scheduler: Start utilizing RequestSpec.network_metadata
Now that we have this information, we can use it as a pre-filtering for
suitable hosts.

With this patch we complete the blueprint. As a result, documentation
and release notes are bundled in the patch and previously inactive tests
are now enabled.

Part of blueprint numa-aware-vswitches

Change-Id: Ide262733ffd7714fdc702b31c61bdd42dbf7acc3
2018-07-24 15:05:07 -04:00
Zuul 88fb15c75c Merge "Add method to get cpu traits" 2018-07-24 16:42:38 +00:00
Matt Riedemann aa6360d683 Add nova-manage placement sync_aggregates
This adds the "nova-manage placement sync_aggregates"
command which will compare nova host aggregates to
placement resource provider aggregates and add any
missing resource provider aggregates based on the nova
host aggregates.

At this time, it's only additive in that the command
does not remove resource provider aggregates if those
matching nodes are not found in nova host aggregates.
That likely needs to happen in a change that provides
an opt-in option for that behavior since it could be
destructive for externally-managed provider aggregates
for things like ironic nodes or shared storage pools.

Part of blueprint placement-mirror-host-aggregates

Change-Id: Iac67b6bf7e46fbac02b9d3cb59efc3c59b9e56c8
2018-07-24 11:19:23 -04:00
leizhang 7637026b90 Add method to get cpu traits
Add a method for libvirt driver to get cpu traits.
This is used for compute nodes to report cpu traits to Placement.

Change-Id: I9bd80adc244c64277d2d00e7d79c3002c8f9d57e
blueprint: report-cpu-features-as-traits
2018-07-24 12:37:46 +00:00
Zuul 83057b8154 Merge "Enhance doc to guide user to use nova user" 2018-07-24 06:21:56 +00:00
jichenjc e0546870cd Enhance doc to guide user to use nova user
The document doesn't follow previous pattern to guide use
in using nova user to execute command and lead to issue

Change-Id: I795706a8f78ab4154bd39ce6259901800b34890e
Closes-Bug: 1781573
2018-07-23 23:48:33 +00:00
Matt Riedemann f4819f28aa doc: link to AZ talk from the Rocky summit
This links into the AZ docs a nice video from the Rocky
summit which covers what AZs are and aren't, use cases,
gotchas, and how they are implemented outside of nova
to compare and contrast. Overall it's a nice educational
presentation which is useful for those wishing to learn
more about AZs than what our documentation provides.

Change-Id: Ib67826620735f05edc987481af4c07b6d19f3c1d
2018-07-23 18:25:01 -04:00
Matt Riedemann 87691055e3 doc: link to CERN summit video about upgrading from cells v1 to v2
This adds a link to Rocky summit video from CERN about how
they performed their upgrade from cells v1 to cells v2.

Change-Id: I5c7dc5aca232a9d330968de29eeee6a55cb035ab
2018-07-23 18:14:59 -04:00
Matt Riedemann 660e328a25 Use consumer generation in _heal_allocations_for_instance
If we're updating existing allocations for an instance due
to the project_id/user_id not matching the instance, we should
use the consumer_generation parameter, new in placement 1.28,
to ensure we don't overwrite the allocations while another
process is updating them.

As a result, the include_project_user kwarg to method
get_allocations_for_consumer is removed since nothing else
is using it now, and the minimum required version of placement
checked by nova-status is updated to 1.28.

Change-Id: I4d5f26061594fa9863c1110e6152069e44168cc3
2018-07-23 14:09:55 -04:00
Dominic Schlegel 7b8e898807 docs: add nova host-evacuate command to evacuate documentation
Split up the evacuate instance documentation into two parts. One
for the existing single instance evacuation and a second new part
for the nova host-evacuate procedure.

Change-Id: Ibcdc2bc3f08e2fab23b9821feae0f489fb64a8f7
Closes-Bug: #1763039
2018-07-20 22:05:41 +00:00
ghanshyam 064f215172 Fix ServerMigrationSampleJsonTests to use sample files from version dir
The ServerMigrationSampleJsonTests functional tests set up
``self.api.microversion`` to 2.22 in its' setUp(), which use
sample files from non version dir.

For consistency, this commit makes these tests to use sample
files from versioned dir.

Change-Id: I9af2348cf7dba53e0fef4054bcedcd5b0c626f50
2018-07-19 05:13:24 +00:00
Zuul 5e045984bb Merge "API: add support to abort queued live migration in microversion 2.65" 2018-07-18 17:45:24 +00:00
Zuul 6742d0ad4f Merge "Transform metrics.update notification" 2018-07-18 09:25:23 +00:00
Zuul 5095dd412b Merge "Fix ServerMigrationSampleJsonTestsV2_24 to use its own sample file" 2018-07-18 03:34:47 +00:00
Takashi NATSUME c2439bac7c Transform metrics.update notification
The metrics.update notification has been transformed to
the versioned notification framework.

Change-Id: I2f6aba0c032baf181b103d2a16b8e768815170c9
Implements: bp versioned-notification-transformation-rocky
2018-07-18 09:13:27 +09:00
Matt Riedemann 8d095e03cb Fix "XLibvirt KVM (ppc64)" typo in feature support matrix docs
The "X" was an extra special typo introduced in
If5c0bf2b0dcd7dbb7d316139ecb62a936fd15439

Change-Id: I109b106f161371fbebbc09b34471b7945c91edb0
2018-07-17 15:08:40 +00:00
Zuul af2a54ec0e Merge "Replace support matrix ext with common library" 2018-07-17 14:25:34 +00:00
Kevin_Zheng 4cae503767 API: add support to abort queued live migration in microversion 2.65
This patch bumped API microversion to 2.65 to add support for
abort live migrations in ``queued`` and ``preparing`` status.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I4636a8d270ce01c1831bc951c4497ad472bc9aa8
2018-07-16 13:57:11 -04:00
Kevin_Zheng e8192177e8 Fix ServerMigrationSampleJsonTestsV2_24 to use its own sample file
The ServerMigrationSampleJsonTestsV2_24 functional tests set up
``self.api.microversion`` to 2.24 in its' setUp(), by doing this
it will not need to add its' own sample files, as there will be
no difference anyway. But this makes Tests that inherent from this
test class impossibe to run as the microversion will always been
overriden.

This patch fix it by change the tests to use self.microversion and
adds its' own sample files.

Part of blueprint abort-live-migration-in-queued-status

Change-Id: I07222efb8d566fa1dd395ef948eae6e6c4b13678
2018-07-16 13:57:11 -04:00
Zuul 529621bbb1 Merge "Transform instance.live_migration_force_complete notification" 2018-07-16 16:33:35 +00:00
Zuul ae40af621f Merge "Microversion 2.64 - Use new format policy in server group" 2018-07-16 15:41:57 +00:00
Mike Perez c09fe87feb Replace support matrix ext with common library
The code to generate a support matrix has been pulled into a common
library. Using this instead of duplicating code in various projects that
need it.

Change-Id: If5c0bf2b0dcd7dbb7d316139ecb62a936fd15439
Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
2018-07-16 15:04:00 +01:00
Gábor Antal 23efc549a1 Transform instance.live_migration_force_complete notification
The instance.live_migration_force_complete.start and
instance.live_migration_force_complete.end notifications have been
transformed to the versioned notification framework.

Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: I2e9a474457a7597a9febc111b13a67ddcf45f29e
Implements: bp versioned-notification-transformation-rocky
2018-07-16 00:12:37 +09:00
Gábor Antal 6322cb6a18 Transform aggregate.update_prop notification
The aggregate.update_prop.start and aggregate.update_prop.end
notifications has been transformed to the versioned notification
framework.

Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: I37b19573b6d0e1131c446fcec361f01fa2560f82
Implements: bp versioned-notification-transformation-rocky
2018-07-15 23:36:31 +09:00
Zuul 202c147f3c Merge "Transform instance.live_migration_rollback_dest notification" 2018-07-15 13:25:45 +00:00
Zuul 13dbe1a58d Merge "Transform instance.live_migration_post notification" 2018-07-15 13:14:54 +00:00
Zuul 629dc4d008 Merge "virt/ironic: Implement rescue and unrescue" 2018-07-15 07:49:36 +00:00
Zuul 039f7e055e Merge "Transform instance.rebuild_scheduled notification" 2018-07-14 17:20:16 +00:00
Zuul 21a368e1a6 Merge "Heal allocations with incomplete consumer information" 2018-07-13 19:26:59 +00:00
Matt Riedemann 6b6d81cf2b Heal allocations with incomplete consumer information
Allocations created before microversion 1.8 didn't have project_id
/ user_id consumer information. In Rocky those will be migrated
to have consumer records, but using configurable sentinel values.

As part of heal_allocations, we can detect this and heal the
allocations using the instance.project_id/user_id information.

This is something we'd need if we ever use Placement allocation
information counting quotas.

Note that we should be using Placement API version 1.28 with
consumer_generation when updating the allocations, but since
people might backport this change the usage of consumer
generations is left for a follow up patch.

Related to blueprint add-consumer-generation

Change-Id: Idba40838b7b1d5389ab308f2ea40e28911aecffa
2018-07-13 11:29:54 -04:00
Zuul e13db24c48 Merge "Add policy field to ServerGroup notification object" 2018-07-13 02:45:55 +00:00
Yikun Jiang 5cdb1ce26b Microversion 2.64 - Use new format policy in server group
Enable users to define the policy rules on server group policy
to meet more advanced policy requirement. This microversion
brings the following changes in server group APIs:

* Add  ``policy`` and ``rules`` fields in the request of POST
  ``/os-server-groups``.
* The ``policy`` and ``rules`` fields will be
  returned in response body of POST, GET ``/os-server-groups``
  API and GET ``/os-server-groups/{server_group_id}`` API.
* The ``policies`` and ``metadata`` fields have been removed
  from the response body of POST, GET ``/os-server-groups`` API
  and GET ``/os-server-groups/{server_group_id}`` API.

Part of blueprint: complex-anti-affinity-policies

Change-Id: I6911e97bd7f8df92511e90518dba21c127e106a5
2018-07-13 10:43:42 +08:00
Taku Izumi a07b68ea92 virt/ironic: Implement rescue and unrescue
This patch adds implementation of rescue and unrescue for ironic virt
driver.

Implements: blueprint ironic-rescue-mode

Change-Id: I7c20a0c5f566c3255350fd494d1a2cde84a99440
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Co-Authored-By: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
2018-07-13 01:56:13 +00:00