nova/nova/cmd
Lee Yarwood 8cddd243bf nova-status: Add hw_machine_type check for libvirt instances
This change introduces a new nova-status check to ensure a machine type
has been recorded for each instance within an environment.

nova-status will fail with a warning when instances are found, directing
the operator to use the previously added nova-manage list_unset and
update commands to set a machine type for these instances. The logic for
this check comes entirely from the list_unset command.

It is noted in the warning output that this can be ignored if no libvirt
or HyperV based computes are present in the environment as
hw_machine_type is only used by these two virt drivers at present.

blueprint: libvirt-default-machine-type
Change-Id: Ic3ae48c57e61c4e45883fbae1328a448be025953
2021-03-03 14:03:49 +00:00
..
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
api_metadata.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
api_os_compute.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
baseproxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
common.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
compute.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
conductor.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
manage.py nova-manage: Add libvirt list_unset_machine_type command 2021-03-03 14:03:49 +00:00
novncproxy.py xenapi: Remove Xen-only code paths 2020-09-11 14:09:06 +01:00
policy.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
scheduler.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
serialproxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
spicehtml5proxy.py config: Explicitly register 'remote_debug' CLI opts 2020-05-07 12:35:21 +00:00
status.py nova-status: Add hw_machine_type check for libvirt instances 2021-03-03 14:03:49 +00:00