charliemaiors / freebsd-openstack-image

Files for build FreeBSD Openstack Image using cloudware and FreeBSD build system
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Issue during build #2

Closed giezi closed 3 years ago

giezi commented 3 years ago

Hi there

We are using the latest FreeBSD 12.2.

  1. Build the userland and the kernel make buildworld buildkernel were sucessfull.

  2. But the command "make cloudware-release WITH_CLOUDWARE=yes CLOUDWARE=OPENSTACK" fails with the following messages:

` ===> etc/sendmail (installconfig) *** Saving mtree database for future upgrades chroot: /usr/bin/newaliases: No such file or directory chroot: /bin/sh: No such file or directory chroot: env: No such file or directory chroot: env: No such file or directory grep: /usr/obj/usr/src/amd64.amd64/release/cw-openstack/usr/local/etc/cloud/clou d.cfg: No such file or directory Configuring Cloud Init sed: /usr/obj/usr/src/amd64.amd64/release/cw-openstack/usr/local/etc/cloud/cloud .cfg: No such file or directory Configuring rsyslog cp: /usr/obj/usr/src/amd64.amd64/release/cw-openstack/etc/syslog.conf: No such f ile or directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory umount: /usr/obj/usr/src/amd64.amd64/release/cw-openstack: not a file system roo t directory Cannot umount(8) /usr/obj/usr/src/amd64.amd64/release/cw-openstack Something has gone horribly wrong. mdconfig: ioctl(/dev/mdctl): No such file or directory /dev/md1: 2048.0MB (4194304 sectors) block size 32768, fragment size 4096 using 4 cylinder groups of 512.03MB, 16385 blks, 65664 inodes. super-block backups (for fsck_ffs -b #) at: 192, 1048832, 2097472, 3146112

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./lib/libcrypto.so.111: Write failed ./lib/nvmecontrol/intel.so: Write to restore size failed ./lib/nvmecontrol/wdc.so: Write to restore size failed ./lib/geom/geom_cache.so: Write to restore size failed ./lib/geom/geom_concat.so: Write to restore size failed ./lib/geom/geom_eli.so: Write to restore size failed ./lib/geom/geom_journal.so: Write to restore size failed ./lib/geom/geom_label.so: Write to restore size failed ./lib/geom/geom_mirror.so: Write to restore size failed ./lib/geom/geom_mountver.so: Write to restore size failed ./lib/geom/geom_multipath.so: Write to restore size failed ./lib/geom/geom_nop.so: Write to restore size failed ./lib/geom/geom_part.so: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./lib/geom/geom_raid.so: Write to restore size failed ./lib/geom/geom_raid3.so: Write to restore size failed ./lib/geom/geom_sched.so: Write to restore size failed ./lib/geom/geom_shsec.so: Write to restore size failed ./lib/geom/geom_stripe.so: Write to restore size failed ./lib/geom/geom_virstor.so: Write to restore size failed ./lib/casper/libcap_dns.so.2: Write to restore size failed ./lib/casper/libcap_grp.so.1: Write to restore size failed ./lib/casper/libcap_pwd.so.1: Write to restore size failed ./lib/casper/libcap_random.so.1: Write to restore size failed ./lib/casper/libcap_sysctl.so.1: Write to restore size failed ./lib/casper/libcap_syslog.so.1: Write to restore size failed ./etc/X11/: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./etc/autofs/: Write to restore size failed ./etc/bluetooth/: Write to restore size failed ./etc/cron.d/: Write to restore size failed ./etc/defaults/: Write to restore size failed ./etc/devd/: Write to restore size failed ./etc/dma/: Write to restore size failed ./etc/gss/: Write to restore size failed ./etc/mail/: Write to restore size failed ./etc/mtree/: Write to restore size failed ./etc/newsyslog.conf.d/: Write to restore size failed ./etc/ntp/: Write to restore size failed ./etc/pam.d/: Write to restore size failed ./etc/periodic/: Write to restore size failed ./etc/pkg/: Write to restore size failed ./etc/ppp/: Write to restore size failed ./etc/rc.conf.d/: Write to restore size failed ./etc/rc.d/: Write to restore size failed ./etc/security/: Write to restore size failed ./etc/ssh/: Write to restore size failed ./etc/ssl/: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./etc/syslog.d/: Write to restore size failed ./etc/zfs/: Write to restore size failed ./etc/periodic/daily/: Write to restore size failed ./etc/periodic/monthly/: Write to restore size failed ./etc/periodic/security/: Write to restore size failed ./etc/periodic/weekly/: Write to restore size failed ./boot/defaults/: Write to restore size failed ./boot/dtb/: Write to restore size failed ./boot/firmware/: Write to restore size failed ./boot/lua/: Write to restore size failed ./boot/kernel/: Write to restore size failed ./boot/modules/: Write to restore size failed ./boot/zfs/: Write to restore size failed ./boot/beastie.4th: Write to restore size failed ./boot/brand.4th: Write to restore size failed ./boot/brand-fbsd.4th: Write to restore size failed ./boot/check-password.4th: Write to restore size failed ./boot/color.4th: Write to restore size failed ./boot/delay.4th: Write to restore size failed ./boot/efi.4th: Write to restore size failed ./boot/frames.4th: Write to restore size failed ./boot/loader.4th: Write to restore size failed ./boot/logo-beastie.4th: Write to restore size failed ./boot/logo-beastiebw.4th: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./boot/logo-fbsdbw.4th: Write to restore size failed ./boot/logo-orb.4th: Write to restore size failed ./boot/logo-orbbw.4th: Write to restore size failed ./boot/menu.4th: Write to restore size failed ./boot/menu-commands.4th: Write to restore size failed ./boot/menu.rc: Write to restore size failed ./boot/menusets.4th: Write to restore size failed ./boot/screen.4th: Write to restore size failed ./boot/shortcuts.4th: Write to restore size failed ./boot/support.4th: Write to restore size failed ./boot/version.4th: Write to restore size failed ./boot/loader.rc: Write to restore size failed ./boot/userboot_4th.so: Write to restore size failed ./boot/userboot_lua.so: Write to restore size failed ./boot/userboot.so: Write to restore size failed ./boot/mbr: Write to restore size failed ./boot/pmbr: Write to restore size failed ./boot/boot0: Write to restore size failed ./boot/boot0sio: Write to restore size failed ./boot/boot: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./boot/boot1: Write to restore size failed ./boot/boot2: Write to restore size failed ./boot/cdboot: Write to restore size failed ./boot/gptboot: Write to restore size failed ./boot/isoboot: Write to restore size failed ./boot/loader_4th: Write to restore size failed ./boot/loader_lua: Write to restore size failed ./boot/zfsloader: Write to restore size failed ./boot/loader: Write to restore size failed ./boot/loader_simp: Write to restore size failed ./boot/pxeboot: Write to restore size failed ./boot/zfsboot: Write to restore size failed ./boot/gptzfsboot: Write to restore size failed ./boot/boot1.efi: Write to restore size failed ./boot/boot1.efifat: Write to restore size failed ./boot/gptboot.efi: Write to restore size failed ./boot/gptboot.efifat: Write to restore size failed ./boot/loader_4th.efi: Write to restore size failed ./boot/loader_lua.efi: Write to restore size failed ./boot/loader.efi: Write to restore size failed ./boot/loader_simp.efi: Write to restore size failed ./boot/lua/cli.lua: Write to restore size failed ./boot/lua/color.lua: Write to restore size failed ./boot/lua/config.lua: Write to restore size failed ./boot/lua/core.lua: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./boot/lua/drawer.lua: Write to restore size failed ./boot/lua/hook.lua: Write to restore size failed ./boot/lua/loader.lua: Write to restore size failed ./boot/lua/logo-beastie.lua: Write to restore size failed ./boot/lua/logo-beastiebw.lua: Write to restore size failed ./boot/lua/logo-fbsdbw.lua: Write to restore size failed ./boot/lua/logo-orb.lua: Write to restore size failed ./boot/lua/logo-orbbw.lua: Write to restore size failed ./boot/lua/menu.lua: Write to restore size failed ./boot/lua/password.lua: Write to restore size failed ./boot/lua/screen.lua: Write to restore size failed ./boot/dtb/allwinner/: Write to restore size failed ./boot/dtb/overlays/: Write to restore size failed ./boot/dtb/rockchip/: Write to restore size failed ./boot/defaults/loader.conf: Write to restore size failed ./bin/cat: Write to restore size failed ./bin/chflags: Write to restore size failed ./bin/chio: Write to restore size failed ./bin/chmod: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./bin/cp: Write to restore size failed ./bin/date: Write to restore size failed ./bin/dd: Write to restore size failed ./bin/df: Write to restore size failed ./bin/domainname: Write to restore size failed ./bin/echo: Write to restore size failed ./bin/ed: Write to restore size failed ./bin/red: Write to restore size failed ./bin/expr: Write to restore size failed ./bin/freebsd-version: Write to restore size failed ./bin/getfacl: Write to restore size failed ./bin/hostname: Write to restore size failed ./bin/kenv: Write to restore size failed ./bin/kill: Write to restore size failed ./bin/ln: Write to restore size failed ./bin/link: Write to restore size failed ./bin/ls: Write to restore size failed ./bin/mkdir: Write to restore size failed ./bin/mv: Write to restore size failed ./bin/pax: Write to restore size failed ./bin/pkill: Write to restore size failed ./bin/pgrep: Write to restore size failed

/usr/obj/usr/src/amd64.amd64/release/cw-openstack/new: write failed, filesystem is full ./bin/ps: Write to restore size failed ./bin/pwait: Write to restore size failed ./bin/pwd: Write to restore size failed ./bin/realpath: Write to restore size failed ./bin/rm: Write to restore size failed ./bin/unlink: Write to restore size failed ./bin/rmdir: Write to restore size failed ./bin/setfacl: Write to restore size failed ./bin/sh: Write to restore size failed ./bin/sleep: Write to restore size failed ./bin/stty: Write to restore size failed ./bin/sync: Write to restore size failed ./bin/test: Write to restore size failed ./bin/[: Write to restore size failed ./bin/uuidgen: Write to restore size failed ./bin/rmail: Write to restore size failed ./bin/csh: Write to restore size failed ./bin/tcsh: Write to restore size failed tar: Error exit delayed from previous errors. tunefs: soft updates set Creating image... Please wait. `

But our filesystem is not full:

touch cw-openstack root@freebsd:/usr/src/release # df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 96G 21G 67G 24% / devfs 1.0K 1.0K 0B 100% /dev

Many thanks for your help.

Best regards Reto

charliemaiors commented 3 years ago

Have you tried also with other cloud platforms? Like ec2 or Azure?

giezi commented 3 years ago

Hi @charliemaiors

Thank you for the quick answer. No, as we need just OpenStack.

Best regards Reto

charliemaiors commented 3 years ago

Try with ec2 for instance and check if the problem persist also with that distribution

giezi commented 3 years ago

Hi Charlie

You are right, EC2 is working:


To enable the creation of the /dev/aws/disk/ hierarchy, add dev_aws_disk_enable=YES to /etc/rc.conf. Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED: pkg: 1.15.10

Number of packages to be removed: 1

The operation will free 27 MiB. [1/1] Deinstalling pkg-1.15.10... [1/1] Deleting files for pkg-1.15.10: 100% /dev/md1: 4000.0MB (8192000 sectors) block size 32768, fragment size 4096 using 7 cylinder groups of 626.09MB, 20035 blks, 80256 inodes. super-block backups (for fsck_ffs -b #) at: 192, 1282432, 2564672, 3846912, 5129152, 6411392, 7693632 tunefs: soft updates set Creating image... Please wait.

touch cw-ec2

What can the issue be for OpenStack? Many thanks!

Best regards Reto

charliemaiors commented 3 years ago

Ok I've reproduced the problem, fixing it.

charliemaiors commented 3 years ago

Fixed with release v1.2, please download the updated files and re-run the build

giezi commented 3 years ago

Many thanks for your quick fix, it works now perfectly! Awesome!!!

charliemaiors commented 3 years ago

Perfect thanks for the issue :)