script does not complete to add compute

Bug #1829666 reported by saurabh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-training-labs
Incomplete
Undecided
Roger Luethi

Bug Description

I have tried this few times now different ways. But script does not get completed to add the compute. After the last status macbook os does not respond for long time and after few mins reboots. On bootup, I start Virtual box vm's controller and compute both have ip address assigned correctly.

I can login to Horizon dashboard but under compute section there is no nodes.

.INFO Start autostart/16_setup_heat_controller.sh

root@controller:/home/osbash# /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'cell1': 952ae752-9641-4c36-bd99-bd9cdbdf8fc1
Found 0 unmapped computes in cell: 952ae752-9641-4c36-bd99-bd9cdbdf8fc1
root@controller:/home/osbash#

osbash@controller:~$ openstack compute service list --service nova-compute

osbash@controller:~$

I am have 8GB ram and 100GB HD on the machine. I am using stable-rocky release.

---console ----

saurabh@Sunbook:~/Downloads/labs-stable-rocky ./st.py -b cluster
fatal: not a git repository (or any of the parent directories): .git
INFO Using provider virtualbox.
INFO stacktrain start at Sun May 19 12:52:24 2019
INFO Creating mgmt network: 10.0.0.0.
INFO Configuring host-only network mgmt with gw address 10.0.0.1 (vboxnet3).
INFO Creating provider network: 203.0.113.0.
INFO Configuring host-only network provider with gw address 203.0.113.1 (vboxnet4).
INFO Asked to delete VM controller
INFO found
INFO Waiting for shutdown of VM controller.
INFO Machine powered off.
INFO No disk path found for VM controller.
INFO Unregistering and deleting VM: controller
INFO Created VM controller.
INFO Attaching to VM controller (multi):
 /Users/saurabh/Downloads/labs-stable-rocky/img/base-ssh-rocky-ubuntu-18.04-amd64.vdi
INFO Node controller created.
INFO init_xxx_node.sh -> 00_init_controller_node.sh
INFO etc_hosts.sh -> 01_etc_hosts.sh
INFO enable_osbash_ssh_keys.sh -> 02_enable_osbash_ssh_keys.sh
INFO copy_openrc.sh -> 03_copy_openrc.sh
INFO apt_install_mysql.sh -> 04_apt_install_mysql.sh
INFO install_rabbitmq.sh -> 05_install_rabbitmq.sh
INFO install_memcached.sh -> 06_install_memcached.sh
INFO setup_keystone.sh -> 07_setup_keystone.sh
INFO get_auth_token.sh -> 08_get_auth_token.sh
INFO setup_glance.sh -> 09_setup_glance.sh
INFO setup_nova_controller.sh -> 10_setup_nova_controller.sh
INFO setup_neutron_controller.sh -> 11_setup_neutron_controller.sh
INFO setup_self-service_controller.sh -> 12_setup_self-service_controller.sh
INFO setup_neutron_controller_part_2.sh -> 13_setup_neutron_controller_part_2.sh
INFO setup_horizon.sh -> 14_setup_horizon.sh
INFO setup_cinder_controller.sh -> 15_setup_cinder_controller.sh
INFO setup_heat_controller.sh -> 16_setup_heat_controller.sh
INFO Starting VM controller with headless GUI
.INFO Waiting for ssh server in VM controller to respond at 127.0.0.1:2230.
...........INFO Connected to ssh server.
..INFO Start autostart/00_init_controller_node.sh
INFO done
.INFO Start autostart/01_etc_hosts.sh
INFO done
INFO Start autostart/02_enable_osbash_ssh_keys.sh
INFO done
.INFO Start autostart/03_copy_openrc.sh
INFO done
INFO Start autostart/04_apt_install_mysql.sh
..........................INFO done
.INFO Start autostart/05_install_rabbitmq.sh
.............INFO done
INFO Start autostart/06_install_memcached.sh
...INFO done
.INFO Start autostart/07_setup_keystone.sh
..........................................INFO done
.INFO Start autostart/08_get_auth_token.sh
..INFO done
INFO Start autostart/09_setup_glance.sh
......................................................INFO done
INFO Start autostart/10_setup_nova_controller.sh
...........................................................................................................................................................................INFO done
INFO Start autostart/11_setup_neutron_controller.sh
............INFO done
.INFO Start autostart/12_setup_self-service_controller.sh
...............................INFO done
.INFO Start autostart/13_setup_neutron_controller_part_2.sh
...............................INFO done
.INFO Start autostart/14_setup_horizon.sh
....................................................................INFO done
INFO Start autostart/15_setup_cinder_controller.sh
........................................................................INFO done
.INFO Start autostart/16_setup_heat_controller.sh
...................................................
  [Restored May 19, 2019 at 1:36:44 PM]
Last login: Sun May 19 13:36:39 on console
saurabh@Sunbook:~/Downloads/labs-stable-rocky

Revision history for this message
Roger Luethi (rl-o) wrote :

Which Linux distribution are you using?

Changed in labs:
assignee: nobody → Roger Luethi (rl-o)
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.