<div dir="auto"><div dir="auto">Hello <span style="font-family: sans-serif;">yoctozepto,</span><div><font face="sans-serif"><br></font></div><div><font face="sans-serif">Thank you for the hint with the memory,</font></div><div><font face="sans-serif">that did the trick.</font></div><div><font face="sans-serif">I just forgot to assign enough memory</font></div><div><font face="sans-serif">for the machine</font><font face="sans-serif"> and just went with</font></div><div><font face="sans-serif">the d</font><span style="font-family: sans-serif;">efault amount</span> <span style="font-family: sans-serif;">(1024M)</span></div><div><span style="font-family: sans-serif;">which was definitely not enough.</span></div><div><span style="font-family: sans-serif;">I adjusted it to 16384M and it works without</span></div><div><span style="font-family: sans-serif;">a problem.</span></div><div><font face="sans-serif"><br></font></div><div>Now I also tried with a two node deployment,</div><div>having a control node with 4GB and a</div><div>compute node with 16GB ram.</div><div>It seems 4gb are just enough</div><div>memory for the control node</div><div>(about 128MB memory not used).</div><div>So the 4GB would have probably worked aswell (in the one-node deployment).</div><div><font face="sans-serif"><br></font></div><div><font face="sans-serif">Best regards,</font></div><div><font face="sans-serif">Lukas</font></div><div><br></div></div></div><div style="line-height:1.5"><br><br>-------- Ursprüngliche Nachricht --------<br>Von: Radosław Piliszek <radoslaw.piliszek@gmail.com><br>Datum: Fr., 4. Sep. 2020, 18:19<br>An: Lukasluedke@web.de<br>Cc: openstack-discuss@lists.openstack.org<br>Betreff: Re: [Kolla Ansible] Error in "heat" stage during deployment - Followed Quick Start Guide (ubuntu 18.04.5, virtualbox)<br><blockquote>Hello Lukas,<br><br>It sounds like you did it well overally.<br><br>Did you check the load on that machine?<br>It could be that it turned out to be too weak to handle the desired<br>set of services.<br>It sounds like it started to swap crazy.<br>Try something like 4G for starters (it would probably work with 2 but<br>4 is safe for sure!).<br><br>Another reason could be that networking went wrong with that VIP address.<br>But it would likely have occurred earlier than the heat deployment step.<br><br>-yoctozepto<br><br>On Fri, Sep 4, 2020 at 5:01 PM Lukasluedke@web.de <Lukasluedke@web.de> wrote:<br>><br>> Hi everyone,<br>><br>> I am new to openstack and just followed<br>> the "Quick Start" guide for kolla-ansible<br>> [https://docs.openstack.org/kolla-ansible/ussuri/user/quickstart.html]<br>> on ussuri release, but now having some problems during deployment.<br>> I used virtualbox to create a new vm with ubuntu 18.04.5<br>> [https://releases.ubuntu.com/18.04/ubuntu-18.04.5-live-server-amd64.iso.torrent]<br>> and attached one interface (enp0s3, 10.0.2.15) with Nat-Network and<br>> the second interface as for the neutron interface (enp0s8, no ip)<br>> an internal network and named it "neutron".<br>> Then I followed the guide to create a new virtual python environment<br>> (logged in over ssh using "user" user).<br>> --<br>> sudo apt-get update<br>> sudo apt-get install python3-dev libffi-dev gcc libssl-dev<br>> sudo apt-get install python3-venv<br>><br>> python3 -m venv $(pwd)<br>> source $(pwd)/bin/activate<br>> pip install -U pip<br>> pip install 'ansible<2.10'<br>> --<br>><br>> Everything seems to work as mentioned with no problems so far.<br>> (Beside the missing "python-venv" package in the docs)<br>> --<br>> pip install kolla-ansible<br>> sudo mkdir -p /etc/kolla<br>> sudo chown $USER:$USER /etc/kolla<br>> cp -r $(pwd)/share/kolla-ansible/etc_examples/kolla/* /etc/kolla<br>> cp $(pwd)/share/kolla-ansible/ansible/inventory/* .<br>><br>> mkdir /etc/ansible<br>> sudo nano /etc/ansible/ansible.cfg<br>> ### content from /etc/ansible/ansible.cfg<br>> [defaults]<br>> host_key_checking=False<br>> pipelining=True<br>> forks=100<br>> ###<br>> --<br>><br>> I then modified the "multinode" file to only deploy on localhost<br>> (replaced all control01, etc. with localhost) as I first wanted<br>> to try openstack on one node.<br>> The ping worked, changed the globals.yml file according to the<br>> documentation, then bootstrap and the prechecks worked<br>> so far with no issue.<br>> --<br>> ansible -i multinode all -m ping<br>> kolla-genpwd<br>><br>> sudo nano /etc/kolla/globals.yml<br>> ### additional content of /etc/kolla/globals.yml<br>> kolla_base_distro: "ubuntu"<br>> kolla_install_type: "source"<br>> network_interface: "enp0s3"<br>> neutron_external_interface: "enp0s8"<br>> kolla_internal_vip_address: "10.0.2.10"<br>> ###<br>><br>> kolla-ansible -i ./multinode bootstrap-servers<br>> kolla-ansible -i ./multinode prechecks<br>> --<br>><br>> But on the deploy stage I am stuck right now:<br>> --<br>> kolla-ansible -i ./multinode deploy<br>> --<br>><br>> The mentioned error is telling me,<br>> that the keystone service is not available.<br>> I attached the error log file, because the error is longer.<br>> As a side node, now when I try to login using tty,<br>> the vm is nearly frozen and only prompts very, very slowly<br>> (about 10 minutes for prompt). ssh in putty is also frozen<br>> and the connection broke after about 30 minutes.<br>><br>> Does anyone know what is wrong or has some hints/insight on how<br>> to correctly deploy openstack using kolla-ansible?<br>><br>> Best Regards,<br>> Lukas Lüdke<br></blockquote></div>