ERROR Script failure: 01_apt_init

Bug #1882616 reported by eyaxtan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-training-labs
New
Undecided
Unassigned

Bug Description

i am trying to build a openstack lab for learning, and an error shows Script failure: 01_apt_init.

ubuntu@ubuntu:~/Downloads/labs-master/labs$ ./st.py -b cluster
fatal: not a git repository (or any of the parent directories): .git
INFO Using provider virtualbox.
INFO stacktrain start at Mon Jun 8 19:21:53 2020
INFO Shutting down VM 9d1d9db1-353c-40ec-afab-af97e20402f4.
INFO Shutting down VM 9d1d9db1-353c-40ec-afab-af97e20402f4.
INFO Waiting for shutdown of VM 9d1d9db1-353c-40ec-afab-af97e20402f4.
.INFO Machine powered off.
INFO Creating
 /home/ubuntu/Downloads/labs-master/labs/img/base-ssh-train-ubuntu-18.04-amd64.vdi.
INFO ISO image okay.
INFO Install ISO:
 /home/ubuntu/Downloads/labs-master/labs/img/ubuntu-18.04.4-server-amd64.iso
INFO Asked to delete VM base
INFO found
INFO Waiting for shutdown of VM base.
INFO Machine powered off.
INFO Disk attached: /home/ubuntu/Downloads/labs-master/labs/img/tmp-disk.vdi
INFO Detaching disk from VM base.
INFO Unregistering disk
 /home/ubuntu/Downloads/labs-master/labs/img/tmp-disk.vdi
INFO Unregistering and deleting VM: base
INFO Created VM base.
INFO Attaching DVD to VM base:
 /home/ubuntu/Downloads/labs-master/labs/img/ubuntu-18.04.4-server-amd64.iso
INFO Creating disk (size: 10000 MB):
 /home/ubuntu/Downloads/labs-master/labs/img/tmp-disk.vdi
INFO Attaching disk to VM base:
 /home/ubuntu/Downloads/labs-master/labs/img/tmp-disk.vdi
INFO base_fixups.sh -> 00_base_fixups.sh
INFO apt_init.sh -> 01_apt_init.sh
INFO apt_upgrade.sh -> 02_apt_upgrade.sh
INFO pre-download.sh -> 03_pre-download.sh
INFO apt_pre-download.sh -> 04_apt_pre-download.sh
INFO enable_osbash_ssh_keys.sh -> 05_enable_osbash_ssh_keys.sh
INFO zero_empty.sh -> 06_zero_empty.sh
INFO shutdown.sh -> 07_shutdown.sh
INFO Booting VM base.
INFO Starting VM base with headless GUI
INFO Waiting 10 seconds for VM base to come up.
INFO Booting into distribution installer.
INFO Initiating boot sequence for base.
.INFO Waiting for ssh server in VM base to respond at 127.0.0.1:2229.
.................................................................................................................................................................................................................................................................................................................................................................................................................................................INFO Connected to ssh server.
...INFO Start autostart/00_base_fixups.sh
.INFO done
INFO Start autostart/01_apt_init.sh
.........................ERROR ssh returned status 100.
ERROR Script failure: 01_apt_init
ERROR Script failed. Exiting.

the log in shows 001_01_apt_init.auto

<pre><font color="#8AE234"><b>buntu@ubuntu</b></font>:<font color="#729FCF"><b>~/Downloads/labs-master/labs/log</b></font>$ more 001_01_apt_init.auto

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archi
ve.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - c
onnect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not
 connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.142). - connect (111:
Connection refused)
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archi
ve.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - c
onnect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable)
Err:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archi
ve.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - c
onnect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable)
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
</pre>

anyone can help me ?

Tags: lab openstack
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.