nova/nova/tests/unit/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 move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_baseproxy.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_cmd_db_blocks.py conf: Remove cells v1 options, group 2019-05-29 17:14:13 +01:00
test_common.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_manage.py nova-manage: Add libvirt list_unset_machine_type command 2021-03-03 14:03:49 +00:00
test_nova_api.py Fix wrong unit test about config option enabled_apis 2017-03-24 10:28:24 +08:00
test_policy.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_scheduler.py trivial: Remove FakeScheduler 2020-02-18 15:13:45 +00:00
test_status.py nova-status: Add hw_machine_type check for libvirt instances 2021-03-03 14:03:49 +00:00