Hello OpenStack-Ansible team, We are students in Germany studying Business Informatics. Currently, we have a project where we need to build an OpenStack environment using Kolla-Ansible. Our goal is to use Gnocchi and CloudKitty to gather metrics on the usage of the VMs in OpenStack. We tried following the official Kolla-Ansible deployment guide but encountered issues starting Kolla-Ansible, as shown in the attached screenshots. Could you possibly help us? Best regards, Felix and Alexandra Ansible.cfg: Error: All-in-one:
Hello Alexandra, OpenStack-Ansible is a separate project, that deploys OpenStack in LXC containers (unless I’m mistaken) - and Kolla/Kolla-Ansible is a separate project that deploys OpenStack in Docker/Podman containers. I see that you have problems resolving hostnames - usually kolla-ansible bootstrap-servers command should apply all prerequisites for running Kolla-Ansible including adding hostnames to /etc/hosts - can you double check that it has been run? Best regards, Michal Nasiadka
On 18 Jun 2024, at 11:35, Alexandra Rong <alexandra.rong@rong.de> wrote:
Hello OpenStack-Ansible team,
We are students in Germany studying Business Informatics. Currently, we have a project where we need to build an OpenStack environment using Kolla-Ansible. Our goal is to use Gnocchi and CloudKitty to gather metrics on the usage of the VMs in OpenStack.
We tried following the official Kolla-Ansible deployment guide but encountered issues starting Kolla-Ansible, as shown in the attached screenshots. Could you possibly help us?
Best regards, Felix and Alexandra
Ansible.cfg: <PastedGraphic-3.png> Error: <PastedGraphic-1.png>
All-in-one: <PastedGraphic-2.png>
Hey Alexandra and Felix! Welcome to the community :) Out of curiosity, what university in Germany do you attend? I am working on establishing relationships with universities to get more students involved in OpenStack and I would love to hear more about your experience! On Tue, Jun 18, 2024 at 9:05 AM Alexandra Rong <alexandra.rong@rong.de> wrote:
Hello OpenStack-Ansible team,
We are students in Germany studying Business Informatics. Currently, we have a project where we need to build an OpenStack environment using Kolla-Ansible. Our goal is to use Gnocchi and CloudKitty to gather metrics on the usage of the VMs in OpenStack.
We tried following the official Kolla-Ansible deployment guide but encountered issues starting Kolla-Ansible, as shown in the attached screenshots. Could you possibly help us?
Best regards, Felix and Alexandra
Ansible.cfg: [image: PastedGraphic-3.png] Error: [image: PastedGraphic-1.png]
All-in-one: [image: PastedGraphic-2.png]
-- Kendall Nelson *Senior Upstream Developer Advocate* The OpenInfra Foundation <https://openinfra.dev/>
Hello Alexandra and Felix! I looked over the errors you are having. I think based on the "Could not resolve hostname" error from the screenshot you posted. The hostnames you give in your inventory (that is, control01, network01, storage01, etc.) must be hostnames that resolve to IP addresses according to the Kolla-Ansible docs at https://docs.openstack.org/kolla-ansible/latest/user/multinode.html#edit-the.... They could have DNS records somewhere, or you can add them to the /etc/hosts file where you are running Kolla-Ansible, for example. But you can also replace them with the IP addresses for the hosts. I think you could replace "control01" with "192.168.0.1" and remove ansible_host. I think "ansible_host" has different usage than how you are using it here, but I could be mistaken. I think, though, if you use a hostname that can resolve to an IP address or replace the hostname with the IP address it should work. Can you give that a try? That is, use: [control] 192.168.0.1 192.168.0.2 192.168.0.3 [network] 192.168.0.4 192.168.0.5 [storage] 192.168.0.6 [compute] 192.168.0.7 [monitoring] 192.168.0.8 Good luck and welcome to the OpenStack community! Thank you! On Tue, Jul 2, 2024 at 11:49 AM Kendall Nelson <kennelson11@gmail.com> wrote:
Hey Alexandra and Felix!
Welcome to the community :)
Out of curiosity, what university in Germany do you attend? I am working on establishing relationships with universities to get more students involved in OpenStack and I would love to hear more about your experience!
On Tue, Jun 18, 2024 at 9:05 AM Alexandra Rong <alexandra.rong@rong.de> wrote:
Hello OpenStack-Ansible team,
We are students in Germany studying Business Informatics. Currently, we have a project where we need to build an OpenStack environment using Kolla-Ansible. Our goal is to use Gnocchi and CloudKitty to gather metrics on the usage of the VMs in OpenStack.
We tried following the official Kolla-Ansible deployment guide but encountered issues starting Kolla-Ansible, as shown in the attached screenshots. Could you possibly help us?
Best regards, Felix and Alexandra
Ansible.cfg: [image: PastedGraphic-3.png] Error: [image: PastedGraphic-1.png]
All-in-one: [image: PastedGraphic-2.png]
-- Kendall Nelson *Senior Upstream Developer Advocate* The OpenInfra Foundation <https://openinfra.dev/>
What is the output of `ansible -i multinode -m debug -a var=ansible_host`? It seems like the inventory file where you set the ansible_host ips is not getting loaded. *On Tue, Jun 18, 2024 at 9:11 AM Alexandra Rong <alexandra.rong@rong.de <alexandra.rong@rong.de>> wrote:*
** *Hello OpenStack-Ansible team,*
*We are students in Germany studying Business Informatics. Currently, we have a project where we need to build an OpenStack environment using Kolla-Ansible. Our goal is to use Gnocchi and CloudKitty to gather metrics on the usage of the VMs in OpenStack.*
*We tried following the official Kolla-Ansible deployment guide but encountered issues starting Kolla-Ansible, as shown in the attached screenshots. Could you possibly help us?*
*Best regards, * *Felix and Alexandra*
*Ansible.cfg:* *[image: PastedGraphic-3.png]* *Error:* *[image: PastedGraphic-1.png]*
*All-in-one:* *[image: PastedGraphic-2.png]*
uczestnicy (5)
-
Alexandra Rong
-
Jadon Naas
-
Kendall Nelson
-
Logan V.
-
Michał Nasiadka