nova/nova/tests/unit/cmd
Balazs Gibizer cff48e2cd4 Add upgrade check about old computes
Report a warning during upgrade checks if there are computes older than
the previous major nova release in the system.

So if code is upgraded to N+1 and the upgrade check was run before
the restart of the services with N+1 code then the check warns for N-1
computes in the system.

Conflicts:
  doc/source/cli/nova-status.rst
  doc/source/install/verify.rst
  nova/cmd/status.py
  nova/tests/unit/cmd/test_status.py

Note: Fixed trivial conflicts due to different amount of upgrade
checks exists on ussuri than on victoria (the patch that is missing
from Ussuri is Ic4d3b998bb9701cb1e3ef12d9bb6f4d91cc19c18). Also needed
to use six.text_type() instead of str() due to used hacking package
(and thus flake8) requires it still on Ussuri.

Related-Bug: #1903545

Change-Id: I873b0c1e6e695ae88241bbf75ac9f80ecc6f5664
(cherry picked from commit 3b8257cd23)
(cherry picked from commit 4e5b92545d)
2021-02-10 17:44:19 +01:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_baseproxy.py Allow TLS ciphers/protocols to be configurable for console proxies 2020-02-12 15:05:22 -06:00
test_cmd_db_blocks.py conf: Remove cells v1 options, group 2019-05-29 17:14:13 +01:00
test_common.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_manage.py Merge "Support for nova-manage placement heal_allocations --cell" 2020-04-03 15:13:00 +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 Expose instance action event details out of the API 2020-03-27 08:20:12 +00:00
test_scheduler.py trivial: Remove FakeScheduler 2020-02-18 15:13:45 +00:00
test_status.py Add upgrade check about old computes 2021-02-10 17:44:19 +01:00