3fe1d72fa6
For multi-rhel environments the container/service names are different based on the RHEL version. Introduce the capacity to define the expected container/service names for each of the compute nodes in a deployment. Current compute yaml file follows the below format: computerhel8-0.redhat.local: services: libvirt: container_name: nova_libvirt start_command: 'systemctl start tripleo_nova_libvirt' stop_command: 'systemctl stop tripleo_nova_libvirt' nova-compute: container_name: nova_compute config_path: '/var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf' start_command: 'systemctl start tripleo_nova_compute' stop_command: 'systemctl stop tripleo_nova_compute' compute-0.redhat.local: services: libvirt: container_name: nova_virtqemud start_command: 'systemctl start tripleo_nova_virtqemud' stop_command: 'systemctl stop tripleo_nova_virtqemud' nova-compute: container_name: nova_compute config_path: '/var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf' start_command: 'systemctl start tripleo_nova_compute' stop_command: 'systemctl stop tripleo_nova_compute' Also removed the unit test execution since they do not support this latest change and do not feel the tests are adding any value to commit validation at this time. Change-Id: I98ac827feb4be77af9a482d8ce43d0f1d062e54d
47 lines
1.7 KiB
INI
47 lines
1.7 KiB
INI
[tox]
|
|
minversion = 3.18.0
|
|
envlist = pep8
|
|
skip_missing_interpreters = True
|
|
# Automatic envs (pyXX) will only use the python version appropriate to that
|
|
# env and ignore basepython inherited from [testenv] if we set
|
|
# ignore_basepython_conflict.
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV = {envdir}
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
allowlist_externals = *
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8 {posargs}
|
|
|
|
[flake8]
|
|
ignore = H405,W504
|
|
enable-extensions = H106,H203,H904
|
|
show-source = True
|
|
exclude = .git,.venv,.tox,dist,doc,*egg
|
|
|
|
[flake8:local-plugins]
|
|
extension =
|
|
T102 = tempest.hacking.checks:import_no_clients_in_api_and_scenario_tests
|
|
T104 = tempest.hacking.checks:scenario_tests_need_service_tags
|
|
T105 = tempest.hacking.checks:no_setup_teardown_class_for_tests
|
|
T107 = tempest.hacking.checks:service_tags_not_in_module_path
|
|
T108 = tempest.hacking.checks:no_hyphen_at_end_of_rand_name
|
|
N322 = tempest.hacking.checks:no_mutable_default_args
|
|
T109 = tempest.hacking.checks:no_testtools_skip_decorator
|
|
T110 = tempest.hacking.checks:get_resources_on_service_clients
|
|
T111 = tempest.hacking.checks:delete_resources_on_service_clients
|
|
T112 = tempest.hacking.checks:dont_import_local_tempest_into_lib
|
|
T113 = tempest.hacking.checks:use_rand_uuid_instead_of_uuid4
|
|
T114 = tempest.hacking.checks:dont_use_config_in_tempest_lib
|
|
T115 = tempest.hacking.checks:dont_put_admin_tests_on_nonadmin_path
|
|
T116 = tempest.hacking.checks:unsupported_exception_attribute_PY3
|
|
T117 = tempest.hacking.checks:negative_test_attribute_always_applied_to_negative_tests
|