4aa65eb60691c50c9022c22848e3338c8f350af3
Dmitriy Rabotyagov
4aa65eb606
Fix logic of discovering hosts by service
For quite some time, we relate usage of --by-service flag for nova-manage cell_v2 discover_hosts command to the used nova_virt_type. However, we run db_post_setup tasks only once and delegating to the conductor host. With latest changes to the logic, when this task in included from the playbook level it makes even less sense, since definition of nova_virt_type for conductor is weird and wrong. Instead, we attempt to detect if ironic is in use by checking hostvars of all compute nodes for that. It will include host_vars, group_vars, all sort of extra variables, etc. Thus, ironic hosts should be better discovered now with nova-manage command. Related-Bug: #2034583 Change-Id: I3deea859a4017ff96919290ba50cb375c0f960ea
Team and repository tags
OpenStack-Ansible nova
Ansible role that installs and configures OpenStack nova and all of its corresponding services.
- This role will install the following:
-
- nova-api
- nova-conductor
- nova-scheduler
- nova-console
- nova-compute
Documentation for the project can be found at: https://docs.openstack.org/openstack-ansible-os_nova/latest/
Release notes for the project can be found at: https://docs.openstack.org/releasenotes/openstack-ansible-os_nova/
The project source code repository is located at: https://opendev.org/openstack/openstack-ansible-os_nova/
The project home is at: https://launchpad.net/openstack-ansible
The project bug tracker is located at: https://bugs.launchpad.net/openstack-ansible
Description
Languages
Jinja
66.8%
Python
30.8%
Shell
2.4%