Hi all, I have something weird happening when trying to add a compute node to a working cluster. I added "compute3" to my openstack_user_config.yml compute_hosts stanza and ran the setup_hosts playbook. This created (re-created) the openstack_inventory.json file which I have reviewed thoroughly and I can see compute3 added everywhere compute1 and compute2 had been added from the deploy. When I run the second playbook setup_infrastructure, all the plays skip saying "no hosts matched" but the tasks all touch compute3.... I ran /opt/openstack-ansible/scripts/inventory-manage.py -G and I can see my compute3 listed in the output. The commands I run for the playbooks are as follows: openstack-ansible setup-hosts.yml --limit ,compute3openstack-ansible setup-infrastructure.yml --limit ,compute3openstack-ansible setup-openstack.yml --limit ,compute3 I've been trying to solve this since before Christmas with no luck, could anyone please shed some light on what the issue could be? Output of first playbook: https://paste.openstack.org/show/blArG04q6wgUCJy9JPh3/Output of second playbook: Paste #bSiabwqOk7qdns2iBYDA | LodgeIt! | | | | Paste #bSiabwqOk7qdns2iBYDA | LodgeIt! | | | Any advice or info would be greatly appreciated. Regards,Derek
Hey, Did I got it right, that the only thing that confuses you, is nothing got executed from setup-infrastrucutre? As eventually, there's nothing in setup-infrastructure that _should_ run on computes at the first place. If you check our add-compute.sh script [1] - it never runs anything from setup-infrastructure. So unless you've placed some control-plane services on computes (like for HCI), there's nothing from setup-infrastructure that should be present on compute nodes [1] https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/ad... ср, 15 янв. 2025 г. в 16:51, Derek O keeffe <derekokeeffe85@yahoo.ie>:
Hi all,
I have something weird happening when trying to add a compute node to a working cluster. I added "compute3" to my openstack_user_config.yml compute_hosts stanza and ran the setup_hosts playbook.
This created (re-created) the openstack_inventory.json file which I have reviewed thoroughly and I can see compute3 added everywhere compute1 and compute2 had been added from the deploy.
When I run the second playbook setup_infrastructure, all the plays skip saying "no hosts matched" but the tasks all touch compute3.... I ran /opt/openstack-ansible/scripts/inventory-manage.py -G and I can see my compute3 listed in the output. The commands I run for the playbooks are as follows:
openstack-ansible setup-hosts.yml --limit ,compute3 openstack-ansible setup-infrastructure.yml --limit ,compute3 openstack-ansible setup-openstack.yml --limit ,compute3
I've been trying to solve this since before Christmas with no luck, could anyone please shed some light on what the issue could be?
Output of first playbook: https://paste.openstack.org/show/blArG04q6wgUCJy9JPh3/ Output of second playbook: Paste #bSiabwqOk7qdns2iBYDA | LodgeIt! <https://paste.openstack.org/show/bSiabwqOk7qdns2iBYDA/>
Paste #bSiabwqOk7qdns2iBYDA | LodgeIt!
<https://paste.openstack.org/show/bSiabwqOk7qdns2iBYDA/>
Any advice or info would be greatly appreciated.
Regards, Derek
participants (2)
-
Derek O keeffe
-
Dmitriy Rabotyagov