I'm coming back to you all to help me with a new problem that I've never had before. I want to show students how to install Openstack with Kolla-ansible. They will each have a computer (DELL Precison 3660 Tower, 32G RAM, 500G SDD). Ubuntu is the system, version 22.04. I want to start with an "all-in-one" installation. So I test my-self first… I follow these procedure https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html . everything works with the parameters I choose for my configuration, until the following problem: ___________________________________________________ ___________________________________________________ TASK [nova-cell : Ensuring config directories exist] ************************************************ ok: [localhost] TASK [nova-cell : Copying over config.json files for nova-cell-bootstrap] *************************** ok: [localhost] TASK [nova-cell : Copying over nova.conf for nova-cell-bootstrap] *********************************** ok: [localhost] TASK [nova-cell : Running Nova cell bootstrap container] ******************************************** ok: [localhost] TASK [nova-cell : Get a list of existing cells] ***************************************************** ok: [localhost] TASK [nova-cell : Extract current cell settings from list] ****************************************** fatal: [localhost]: FAILED! => {"msg": "template error while templating string: Could not load \"extract_cell\": 'extract_cell'. String: {{ existing_cells_list | extract_cell(nova_cell_name) }}. Could not load \"extract_cell\": 'extract_cell'"} NO MORE HOSTS LEFT ********************************************************************************** PLAY RECAP ****************************************************************************************** localhost : ok=146 changed=8 unreachable=0 failed=1 skipped=64 rescued=0 ignored=0 ___________________________________________________ ___________________________________________________ My globals.yml ___________________________________________________ ___________________________________________________ kolla_base_distro = "ubuntu" kolla_internal_vip_address: "172.16.60.15" network_interface : "enp0s31f6" neutron_external_interface: "enp3s0" neutron_plugin_agent: "openvswitch" enable_haproxy: "no" enable_cells: "no" nova_compute_virt_type: « kvm" …. ___________________________________________________ ___________________________________________________ What can be the problem ? Where can this come from ? I think the CPU is OK for virtualization. I have no idea, I don't know where this error could come from. Do you have an idea? Thanks in advance Franck
Hi Franck, Try using a stable branch instead of master. The master branch can be regularly broken because of changes to kolla-ansible dependencies. There was a recent Ansible breakage which may be what you experienced. Instructions for the latest release are here: https://docs.openstack.org/kolla-ansible/2023.1/user/quickstart.html Best regards, Pierre Riteau (priteau) On Tue, 17 Oct 2023 at 18:33, Franck VEDEL < franck.vedel@univ-grenoble-alpes.fr> wrote:
I'm coming back to you all to help me with a new problem that I've never had before.
I want to show students how to install Openstack with Kolla-ansible. They will each have a computer (DELL Precison 3660 Tower, 32G RAM, 500G SDD). Ubuntu is the system, version 22.04.
I want to start with an "all-in-one" installation. So I test my-self first… I follow these procedure https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html
. everything works with the parameters I choose for my configuration, until the following problem:
___________________________________________________ ___________________________________________________
TASK [nova-cell : Ensuring config directories exist] ************************************************ ok: [localhost]
TASK [nova-cell : Copying over config.json files for nova-cell-bootstrap] *************************** ok: [localhost]
TASK [nova-cell : Copying over nova.conf for nova-cell-bootstrap] *********************************** ok: [localhost]
TASK [nova-cell : Running Nova cell bootstrap container] ******************************************** ok: [localhost]
TASK [nova-cell : Get a list of existing cells] ***************************************************** ok: [localhost]
TASK [nova-cell : Extract current cell settings from list] ****************************************** fatal: [localhost]: FAILED! => {"msg": "template error while templating string: Could not load \"extract_cell\": 'extract_cell'. String: {{ existing_cells_list | extract_cell(nova_cell_name) }}. Could not load \"extract_cell\": 'extract_cell'"}
NO MORE HOSTS LEFT **********************************************************************************
PLAY RECAP ****************************************************************************************** localhost : ok=146 changed=8 unreachable=0 failed=1 skipped=64 rescued=0 ignored=0
___________________________________________________ ___________________________________________________
My globals.yml ___________________________________________________ ___________________________________________________ kolla_base_distro = "ubuntu" kolla_internal_vip_address: "172.16.60.15" network_interface : "enp0s31f6" neutron_external_interface: "enp3s0"
neutron_plugin_agent: "openvswitch" enable_haproxy: "no" enable_cells: "no" nova_compute_virt_type: « kvm" ….
___________________________________________________ ___________________________________________________
What can be the problem ? Where can this come from ? I think the CPU is OK for virtualization. I have no idea, I don't know where this error could come from. Do you have an idea?
Thanks in advance
Franck
hi Pierre, thanks a lot… I understand my mistake. I will try tomorrow. Thanks you very much for your help Franck VEDEL
Le 17 oct. 2023 à 18:50, Pierre Riteau <pierre@stackhpc.com> a écrit :
Hi Franck,
Try using a stable branch instead of master. The master branch can be regularly broken because of changes to kolla-ansible dependencies. There was a recent Ansible breakage which may be what you experienced.
Instructions for the latest release are here: https://docs.openstack.org/kolla-ansible/2023.1/user/quickstart.html
Best regards, Pierre Riteau (priteau)
On Tue, 17 Oct 2023 at 18:33, Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr <mailto:franck.vedel@univ-grenoble-alpes.fr>> wrote:
I'm coming back to you all to help me with a new problem that I've never had before.
I want to show students how to install Openstack with Kolla-ansible. They will each have a computer (DELL Precison 3660 Tower, 32G RAM, 500G SDD). Ubuntu is the system, version 22.04.
I want to start with an "all-in-one" installation. So I test my-self first… I follow these procedure https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html
. everything works with the parameters I choose for my configuration, until the following problem:
___________________________________________________ ___________________________________________________
TASK [nova-cell : Ensuring config directories exist] ************************************************ ok: [localhost]
TASK [nova-cell : Copying over config.json files for nova-cell-bootstrap] *************************** ok: [localhost]
TASK [nova-cell : Copying over nova.conf for nova-cell-bootstrap] *********************************** ok: [localhost]
TASK [nova-cell : Running Nova cell bootstrap container] ******************************************** ok: [localhost]
TASK [nova-cell : Get a list of existing cells] ***************************************************** ok: [localhost]
TASK [nova-cell : Extract current cell settings from list] ****************************************** fatal: [localhost]: FAILED! => {"msg": "template error while templating string: Could not load \"extract_cell\": 'extract_cell'. String: {{ existing_cells_list | extract_cell(nova_cell_name) }}. Could not load \"extract_cell\": 'extract_cell'"}
NO MORE HOSTS LEFT **********************************************************************************
PLAY RECAP ****************************************************************************************** localhost : ok=146 changed=8 unreachable=0 failed=1 skipped=64 rescued=0 ignored=0
___________________________________________________ ___________________________________________________
My globals.yml ___________________________________________________ ___________________________________________________ kolla_base_distro = "ubuntu" kolla_internal_vip_address: "172.16.60.15" network_interface : "enp0s31f6" neutron_external_interface: "enp3s0"
neutron_plugin_agent: "openvswitch" enable_haproxy: "no" enable_cells: "no" nova_compute_virt_type: « kvm" ….
___________________________________________________ ___________________________________________________
What can be the problem ? Where can this come from ? I think the CPU is OK for virtualization. I have no idea, I don't know where this error could come from. Do you have an idea?
Thanks in advance
Franck
Hi, same thing with stable branch. (same error) so I try with Rocky. Same thing. I install a virtual machine (ubuntu 22.04) and i try again, same error:
TASK [nova-cell : Extract current cell settings from list] ****************************************** fatal: [localhost]: FAILED! => {"msg": "template error while templating string: Could not load \"extract_cell\": 'extract_cell'. String: {{ existing_cells_list | extract_cell(nova_cell_name) }}. Could not load \"extract_cell\": 'extract_cell’" }
Very strange. Franck VEDEL
Le 17 oct. 2023 à 18:50, Pierre Riteau <pierre@stackhpc.com> a écrit :
Hi Franck,
Try using a stable branch instead of master. The master branch can be regularly broken because of changes to kolla-ansible dependencies. There was a recent Ansible breakage which may be what you experienced.
Instructions for the latest release are here: https://docs.openstack.org/kolla-ansible/2023.1/user/quickstart.html
Best regards, Pierre Riteau (priteau)
On Tue, 17 Oct 2023 at 18:33, Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr <mailto:franck.vedel@univ-grenoble-alpes.fr>> wrote:
I'm coming back to you all to help me with a new problem that I've never had before.
I want to show students how to install Openstack with Kolla-ansible. They will each have a computer (DELL Precison 3660 Tower, 32G RAM, 500G SDD). Ubuntu is the system, version 22.04.
I want to start with an "all-in-one" installation. So I test my-self first… I follow these procedure https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html
. everything works with the parameters I choose for my configuration, until the following problem:
___________________________________________________ ___________________________________________________
TASK [nova-cell : Ensuring config directories exist] ************************************************ ok: [localhost]
TASK [nova-cell : Copying over config.json files for nova-cell-bootstrap] *************************** ok: [localhost]
TASK [nova-cell : Copying over nova.conf for nova-cell-bootstrap] *********************************** ok: [localhost]
TASK [nova-cell : Running Nova cell bootstrap container] ******************************************** ok: [localhost]
TASK [nova-cell : Get a list of existing cells] ***************************************************** ok: [localhost]
TASK [nova-cell : Extract current cell settings from list] ****************************************** fatal: [localhost]: FAILED! => {"msg": "template error while templating string: Could not load \"extract_cell\": 'extract_cell'. String: {{ existing_cells_list | extract_cell(nova_cell_name) }}. Could not load \"extract_cell\": 'extract_cell'"}
NO MORE HOSTS LEFT **********************************************************************************
PLAY RECAP ****************************************************************************************** localhost : ok=146 changed=8 unreachable=0 failed=1 skipped=64 rescued=0 ignored=0
___________________________________________________ ___________________________________________________
My globals.yml ___________________________________________________ ___________________________________________________ kolla_base_distro = "ubuntu" kolla_internal_vip_address: "172.16.60.15" network_interface : "enp0s31f6" neutron_external_interface: "enp3s0"
neutron_plugin_agent: "openvswitch" enable_haproxy: "no" enable_cells: "no" nova_compute_virt_type: « kvm" ….
___________________________________________________ ___________________________________________________
What can be the problem ? Where can this come from ? I think the CPU is OK for virtualization. I have no idea, I don't know where this error could come from. Do you have an idea?
Thanks in advance
Franck
Am Dienstag, dem 17.10.2023 um 18:26 +0200 schrieb Franck VEDEL:
I'm coming back to you all to help me with a new problem that I've never had before.
I want to show students how to install Openstack with Kolla-ansible. They will each have a computer (DELL Precison 3660 Tower, 32G RAM, 500G SDD). Ubuntu is the system, version 22.04.
I want to start with an "all-in-one" installation. So I test my-self first… I follow these procedure https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html
. everything works with the parameters I choose for my configuration, until the following problem:
___________________________________________________ ___________________________________________________
TASK [nova-cell : Ensuring config directories exist] ************************************************ ok: [localhost]
TASK [nova-cell : Copying over config.json files for nova-cell- bootstrap] *************************** ok: [localhost]
TASK [nova-cell : Copying over nova.conf for nova-cell-bootstrap] *********************************** ok: [localhost]
TASK [nova-cell : Running Nova cell bootstrap container] ******************************************** ok: [localhost]
TASK [nova-cell : Get a list of existing cells] ***************************************************** ok: [localhost]
TASK [nova-cell : Extract current cell settings from list] ****************************************** fatal: [localhost]: FAILED! => {"msg": "template error while templating string: Could not load \"extract_cell\": 'extract_cell'. String: {{ existing_cells_list | extract_cell(nova_cell_name) }}. Could not load \"extract_cell\": 'extract_cell'"}
NO MORE HOSTS LEFT ********************************************************************* *************
PLAY RECAP ********************************************************************* ********************* localhost : ok=146 changed=8 unreachable=0 failed=1 skipped=64 rescued=0 ignored=0
___________________________________________________ ___________________________________________________
My globals.yml ___________________________________________________ ___________________________________________________ kolla_base_distro = "ubuntu" kolla_internal_vip_address: "172.16.60.15" network_interface : "enp0s31f6" neutron_external_interface: "enp3s0"
neutron_plugin_agent: "openvswitch" enable_haproxy: "no" enable_cells: "no" nova_compute_virt_type: « kvm" ….
___________________________________________________ ___________________________________________________
What can be the problem ? Where can this come from ? I think the CPU is OK for virtualization. I have no idea, I don't know where this error could come from. Do you have an idea?
Thanks in advance
Franck
This is a known bug with ansible-core == 2.14.11 you can workaround this by pinning ansible-core == 2.14.10 it's currently unclear if this is an upstream or kolla issue. see this bug report for more information: https://github.com/ansible/ansible/issues/81945 HTH -- Sven Kieske Senior Cloud Engineer Mail: kieske@osism.tech Web: https://osism.tech OSISM GmbH Teckstraße 62 / 70190 Stuttgart / Deutschland Geschäftsführer: Christian Berendt Unternehmenssitz: Stuttgart Amtsgericht: Stuttgart, HRB 756139
It works !! Thanks a lot…. I’d never find this without your help Franck VEDEL
This is a known bug with ansible-core == 2.14.11 you can workaround this by pinning ansible-core == 2.14.10
it's currently unclear if this is an upstream or kolla issue.
see this bug report for more information: https://github.com/ansible/ansible/issues/81945
HTH
-- Sven Kieske Senior Cloud Engineer
Mail: kieske@osism.tech Web: https://osism.tech
OSISM GmbH Teckstraße 62 / 70190 Stuttgart / Deutschland
Geschäftsführer: Christian Berendt Unternehmenssitz: Stuttgart Amtsgericht: Stuttgart, HRB 756139
participants (3)
-
Franck VEDEL
-
Pierre Riteau
-
Sven Kieske