builder ~/NeuroGentooProject/BuildServer # ./exec.sh stemgentoo openstack_image
Loading global configuration
Loading configuration of machine stemgentoo
Executing openstack_image scripts for machine stemgentoo of type stemgentoo
executing scripts /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/00-setup_env.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/10-prepare_image.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/15-mount_image.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/20-copy_image.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/30-alter_root.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/31-mount_image.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/34-copy_kernel_image.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/35-setup_openstack.sh.chroot /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/36-change_password.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/40-generate_bootchain.sh /root/NeuroGentooProject/BuildServer/scripts/openstack_image/stemgentoo/50-restore_root.sh
Executing openstack_image/stemgentoo/00-setup_env.sh
Ensuring /root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../logs/openstack_image/ is a directory
Ensuring /root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../openstack_images/ is a directory
Calculating disk usage...
Got 1200172290 bytes, rounding off to 5 Gigabytes
Executing openstack_image/stemgentoo/10-prepare_image.sh
Ensuring /root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../logs/openstack_image/ is a directory
Allocating 5G for /root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../openstack_images//image_20180109
Setting up loopback
losetup: cannot find an unused loop device
Exiting
Cleaning up
Cleaning up after error
executing rm /root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../openstack_images//image_20180109
Exiting
Cleaning up
Cleaning up after error
executing rm /root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../openstack_images//image_20180109
rm: cannot remove '/root/NeuroGentooProject/BuildServer/roots/stemgentoo/root/../openstack_images//image_20180109': No such file or directory
This might be failing due to a problem with the kernel module:
builder ~/NeuroGentooProject/BuildServer # modprobe loop
modprobe: FATAL: Module loop not found in directory /lib/modules/4.14.8-gentoo-r1
@Doeme any input on this? IF you agree that this is the issue - how exactly did you integrate the kernel config into the generation of new images? We would want to make sure that all buildserver-type images will be created with a kernel which can build images.
Generating an openstack image currently fails:
Turns out the offending line of code is:
This might be failing due to a problem with the kernel module:
@Doeme any input on this? IF you agree that this is the issue - how exactly did you integrate the kernel config into the generation of new images? We would want to make sure that all
buildserver
-type images will be created with a kernel which can build images.