Role os_nova for OpenStack-Ansible
Go to file
Dmitriy Rabotyagov c377b904ad 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
(cherry picked from commit 4aa65eb606)
2023-10-20 09:20:55 +00:00
defaults Fix logic of discovering hosts by service 2023-10-20 09:20:55 +00:00
doc Remove mention of haproxy-endpoints role 2022-06-14 19:41:53 +02:00
examples Remove useless code-block tag 2019-09-20 14:24:43 +03:00
files Add ignore_msrs=1 2020-05-06 14:48:02 +00:00
handlers Ensure service is restarted on unit file changes 2023-05-02 11:01:35 +00:00
meta Remove apt pinning task for debian buster 2022-01-27 18:17:01 +00:00
releasenotes Config has changed for pci passthrough. 2023-09-06 13:21:25 +00:00
tasks Fix logic of discovering hosts by service 2023-10-20 09:20:55 +00:00
templates Add barbican_service_user section 2023-10-09 18:24:58 +00:00
tests Cleanup after repo_build and pip_install retirement 2020-05-12 22:40:19 +03:00
vars Fix logic of discovering hosts by service 2023-10-20 09:20:55 +00:00
zuul.d Replace linters test with integarted one 2021-05-25 19:56:18 +03:00
.gitignore Updated from OpenStack Ansible Tests 2019-08-20 03:06:37 +00:00
.gitreview Update .gitreview for stable/zed 2022-12-13 13:18:29 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-05-12 22:38:49 +03:00
LICENSE Implement base configuration for independent repository 2016-03-02 00:07:37 +00:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-06 19:25:48 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2021-12-17 16:47:31 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2021-03-12 22:20:28 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 10:27:39 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2022-04-04 09:43:20 +00:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/zed 2022-12-13 13:18:33 +00:00

README.rst

Team and repository tags

image

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