[Openstack-operators] diskimage-builder error

Tony Breeds tony at bakeyournoodle.com
Mon Jul 2 01:34:20 UTC 2018


On Sun, Jul 01, 2018 at 12:25:24PM +0200, Ignazio Cassano wrote:
> Hi All,
> I just installed disk-image builder on my centos 7.
> For creating centos7 image I am using the same command used 3 o 4 months
> ago, but wiith the last diskimage-builder installed with pip I got the
> following error:
> 
> +
> /usr/share/diskimage-builder/lib/common-functions:tmpfs_check:20
> :   '[' -r /proc/meminfo ']'
> ++
> /usr/share/diskimage-builder/lib/common-functions:tmpfs_check:21
> :   awk '/^MemTotal/ { print $2 }' /proc/meminfo
> +
> /usr/share/diskimage-builder/lib/common-functions:tmpfs_check:21
> :   total_kB=8157200
> +
> /usr/share/diskimage-builder/lib/common-functions:tmpfs_check:24
> :   RAM_NEEDED=4
> +
> /usr/share/diskimage-builder/lib/common-functions:tmpfs_check:25
> :   '[' 8157200 -lt 4194304 ']'
> +
> /usr/share/diskimage-builder/lib/common-functions:tmpfs_check:25
> :   return 0
> +
> /usr/share/diskimage-builder/lib/common-functions:cleanup_image_dir:211
> :   timeout 120 sh -c 'while ! sudo umount -f /tmp/dib_image.azW5Wi4F; do
> sleep 1; done'
> +
> /usr/share/diskimage-builder/lib/common-functions:cleanup_image_dir:216
> :   rm -rf --one-file-system /tmp/dib_image.azW5Wi4F
> +
> /usr/share/diskimage-builder/lib/img-functions:trap_cleanup:46
> :   exit 1
> 
> 
> 
> Anyone knows if is it a bug ?

Not one I know of.  It looks like the image based install was close to
completion, the tmpfs was unmounted but for some reason the removal of
the (empty) directory failed.  The only reason I can think of is if a
FS was still mounted.

Are you able to send the full logs?  It's possible something failed
earlier and we're just seeing a secondary failure.

If you can supply the logs, can you supply your command line and link to
the base image you're using?

Yours Tony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20180702/078d4332/attachment.sig>


More information about the OpenStack-operators mailing list