Commit Graph

59045 Commits

Author SHA1 Message Date
Stephen Finucane
50a7a3050a conf: Remove deprecated aliases
These have been around since the beginning of time. Let's clean them up.

Change-Id: I2339cc62698fe39ddb6be48d021b9211223dbf41
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-23 16:52:28 +01:00
Stephen Finucane
62e112461f tests: Merge 'test_utils', 'test_scheduler_utils'
No need for these to live in separate places.

Change-Id: Ia15dd168a911135732f87dbf94b40046e5578cb0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-23 16:52:28 +01:00
Stephen Finucane
6652999494 scheduler: Merge driver into manager
There's only one driver now, which means there isn't really a driver at
all. Move the code into the manager altogether and avoid a useless layer
of abstraction.

Change-Id: I609df5b707e05ea70c8a738701423ca751682575
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-23 16:52:25 +01:00
Stephen Finucane
289438b4c2 docs: Drop references to non-filter scheduler drivers
Take the opportunity to clean up the docs quite a bit, ultimately
combining two disparate guides on the scheduler into one.

Change-Id: Ia72d39b4774d93793b381359b554c717dc9a6994
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-23 16:45:37 +01:00
Zuul
10b1dc84f4 Merge "fup: Move _migrate_stub into LibvirtMigrationMixin" 2021-08-23 07:26:20 +00:00
Zuul
a2fee52792 Merge "Remove the redundant code for attach interface" 2021-08-22 10:15:58 +00:00
Zuul
033af94179 Merge "Deprecate filters that have been replaced by placement filters" 2021-08-21 02:51:28 +00:00
Zuul
9149ac6ab5 Merge "workarounds: Add libvirt_disable_apic" 2021-08-21 02:51:18 +00:00
Zuul
f372c84f1d Merge "[ironic] correct capabilities for disk images supported" 2021-08-20 23:19:16 +00:00
Zuul
5d2f2e94eb Merge "Change the admin-visible logs for mdev support" 2021-08-20 22:57:21 +00:00
Zuul
51f3d6c60c Merge "Rename vgpu options to mdev" 2021-08-20 22:57:10 +00:00
Zuul
6edf06dbfd Merge "VMWare: Use get_hardware_devices throughout" 2021-08-20 18:58:32 +00:00
Zuul
90e138342d Merge "Improve prep_resize reschedule unit test" 2021-08-20 17:22:01 +00:00
Zuul
4d2d924ad8 Merge "Add logs when cannot fit numa" 2021-08-20 17:21:50 +00:00
Zuul
ffcf04e7e3 Merge "tests: Remove 'stub_out_trusted_certs'" 2021-08-20 17:17:45 +00:00
Zuul
00454f6279 Merge "scheduler: Merge 'FilterScheduler' into base class" 2021-08-20 17:17:37 +00:00
Zuul
eedbff3859 Merge "api: Improve extra spec validator help texts" 2021-08-20 16:17:26 +00:00
Zuul
560fbf069f Merge "docs: Explicitly state lack of support for node renaming" 2021-08-20 16:17:10 +00:00
Zuul
8c15d85a63 Merge "VmWare: Fix deprecation warning in unit tests" 2021-08-20 16:16:54 +00:00
Zuul
fa7f717125 Merge "fup: Mock all unix connectors in os-brick fixture" 2021-08-20 15:25:07 +00:00
Zuul
06b148d5a8 Merge "fup: Move OSBrickFixture into base.ServersTestBase" 2021-08-20 15:24:53 +00:00
Zuul
073dc40c6d Merge "fup: Assert state of connection_info during LM rollback in func tests" 2021-08-20 15:24:39 +00:00
Zuul
cf60c63c32 Merge "fixtures: Add legacy APIs to cinder fixture" 2021-08-20 15:24:19 +00:00
Zuul
dc26565b37 Merge "fup: Make connection_info returned by CinderFixture unique per attachment" 2021-08-20 15:24:04 +00:00
Zuul
d62b6b91db Merge "compute: Ensure updates to bdms during pre_live_migration are saved" 2021-08-20 15:23:57 +00:00
Sean Mooney
ec48e1523d workarounds: Add libvirt_disable_apic
This change adds a new workaround config option to allow disabling the
guest apic.

Co-authored-by: Lee Yarwood <lyarwood@redhat.com>
Related-Bug: #1939108
Change-Id: I2da867f2734b590a884b1fe1200c402cbf7e9e1c
2021-08-20 13:35:53 +01:00
Lee Yarwood
78cace1ce4 fup: Move _migrate_stub into LibvirtMigrationMixin
Change-Id: I70efe60995568d71d184eadd27adf8918d1909e2
2021-08-20 13:07:14 +01:00
Zuul
c2b965b793 Merge "Invalidate provider tree when compute node disappears" 2021-08-20 12:05:24 +00:00
Zuul
7eb6972a50 Merge "Clear rebalanced compute nodes from resource tracker" 2021-08-20 12:05:16 +00:00
Zuul
9f853378c6 Merge "Add functional regression test for bug 1853009" 2021-08-20 11:04:06 +00:00
Zuul
04396a5c23 Merge "Add a regression test for bug 1939545" 2021-08-20 11:03:58 +00:00
Zuul
9f4630fdc5 Merge "fake: Ensure need_legacy_block_device_info returns False" 2021-08-20 11:03:51 +00:00
Zuul
762ab2566c Merge "Accelerator smartnic SRIOV support" 2021-08-20 05:26:09 +00:00
Zuul
691f24b8a5 Merge "tests: Sanity check some tests" 2021-08-19 20:58:31 +00:00
Zuul
b61559fbb8 Merge "api: Remove unnecessary 'base_' prefix from schemas" 2021-08-19 20:58:20 +00:00
Zuul
91c8d613b8 Merge "api: Pass request to 'addresses' view builder" 2021-08-19 20:58:11 +00:00
Zuul
8d9785b965 Merge "Fix 1vcpu error with multiqueue and vif_type=tap" 2021-08-19 18:38:53 +00:00
Zuul
745c8ee274 Merge "smartnic support - functional tests" 2021-08-19 18:13:30 +00:00
Zuul
529e883ac0 Merge "smartnic support - reject server move and suspend" 2021-08-19 18:13:22 +00:00
Zuul
1c348ac7b8 Merge "smartnic support - cleanup arqs" 2021-08-19 18:02:52 +00:00
Zuul
03a601419b Merge "api: Rename 'parameter_types.hostname' -> 'fqdn'" 2021-08-19 16:44:15 +00:00
Zuul
ca8211390f Merge "smartnic support - build instance with smartnic arqs" 2021-08-19 15:05:56 +00:00
Lee Yarwood
8a0ae569ef fixtures: Add legacy APIs to cinder fixture
A TODO is left to wire these up correctly within the fixture, for the
time being we just need to ensure the methods within
nova.volume.cinder.API are mocked.

Change-Id: I2152fd63f61cfa84faef90ce24880f03fb391eee
2021-08-19 13:23:28 +01:00
Stephen Finucane
cb3e11952d tests: Sanity check some tests
Move some tests around and remove some unnecessary helpers, pending
upcoming tests for microversion 2.89. An unnecessary test,
'test_create_multiple_instance_with_neutron_port', is also removed since
it duplicates others tests.

Change-Id: I6660b38677f130e4b6c70c7b84c6098f8cf2e3ee
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-19 11:21:55 +01:00
Stephen Finucane
e3fa6859f9 api: Remove unnecessary 'base_' prefix from schemas
A base is something that it's inherited by other things. If everything
is a base, nothing is. This is just noise so remove it.

Change-Id: I9e2d3c37650465d0748852f8cdb82fbeba7b3f4c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-19 11:16:59 +01:00
Stephen Finucane
0942163c82 api: Pass request to 'addresses' view builder
We'll need this to add some microversion-specific behavior in the near
future. An out-of-date comment is removed.

Change-Id: Ia6a13e3c25f4276a595026a4cda7944898da43b7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-19 11:16:59 +01:00
Stephen Finucane
b543f8226c api: Rename 'parameter_types.hostname' -> 'fqdn'
This better reflects its actual meaning.

The 'hostname_or_ip_address' parameter type is removed as it has been
unused since support for support for the 'os-cells' API was removed in
change Iddb519008515f591cf1d884872a5887afbe766f2.

Change-Id: Ia99aeb37785284e129b01d336da17ea907db95b7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-08-19 11:16:59 +01:00
Zuul
c7dd853945 Merge "smartnic support - create arqs" 2021-08-19 10:04:28 +00:00
Zuul
3bed6c7d72 Merge "smartnic support - new vnic type" 2021-08-19 02:28:14 +00:00
Zuul
a6690e8a3e Merge "libvirt: Abort live-migration job when monitoring fails" 2021-08-18 18:01:03 +00:00