Re: [Openstack-operators] diskimage-builder error
Hi Tony, the message I sent is waiting for moderator approval because it is big. :-( 2018-07-03 6:36 GMT+02:00 Tony Breeds : > On Tue, Jul 03, 2018 at 06:12:21AM +0200, Ignazio Cassano wrote: > > Hi Tony, I sent log file and script yesterday. I hope you received them. > > Sorry I can't find them in any of my inboxes :( > > Yours Tony. > ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
On Tue, Jul 03, 2018 at 06:12:21AM +0200, Ignazio Cassano wrote: > Hi Tony, I sent log file and script yesterday. I hope you received them. Sorry I can't find them in any of my inboxes :( Yours Tony. signature.asc Description: PGP signature ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
Hi Tony, I sent log file and script yesterday. I hope you received them. Ignazio Il Mar 3 Lug 2018 02:49 Tony Breeds ha scritto: > On Mon, Jul 02, 2018 at 08:13:39AM +0200, Ignazio Cassano wrote: > > Tony, do you mean the script I am using to create the image ? > > Yup, it'd be good to try and reproduce this outside your environment as > that'll make fixing the underlying bug quicker. > > Yours Tony. > ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
On Mon, Jul 02, 2018 at 08:13:39AM +0200, Ignazio Cassano wrote: > Tony, do you mean the script I am using to create the image ? Yup, it'd be good to try and reproduce this outside your environment as that'll make fixing the underlying bug quicker. Yours Tony. signature.asc Description: PGP signature ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
Tony, do you mean the script I am using to create the image ? 2018-07-02 8:11 GMT+02:00 Tony Breeds : > On Mon, Jul 02, 2018 at 07:55:13AM +0200, Ignazio Cassano wrote: > > Hi Tony, > > applying the patch reported here (https://review.openstack.org/ > #/c/561740/) > > the issue is solved.. > > The above path was related to another issue (distutils) but is solves > also > > the cleanup error. > > Anycase I could unpatch the diskimage code and send you the log. > > What do you think ? > > That would be helpful. Or if it's easier you can let us know how you're > running DIB > > > Yours Tony. > ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
On Mon, Jul 02, 2018 at 07:55:13AM +0200, Ignazio Cassano wrote: > Hi Tony, > applying the patch reported here (https://review.openstack.org/#/c/561740/) > the issue is solved.. > The above path was related to another issue (distutils) but is solves also > the cleanup error. > Anycase I could unpatch the diskimage code and send you the log. > What do you think ? That would be helpful. Or if it's easier you can let us know how you're running DIB Yours Tony. signature.asc Description: PGP signature ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
Hi Tony, applying the patch reported here (https://review.openstack.org/#/c/561740/) the issue is solved.. The above path was related to another issue (distutils) but is solves also the cleanup error. Anycase I could unpatch the diskimage code and send you the log. What do you think ? Regards Ignazio 2018-07-02 3:34 GMT+02:00 Tony Breeds : > 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. > ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] diskimage-builder error
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. signature.asc Description: PGP signature ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
[Openstack-operators] diskimage-builder error
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 ? Please, help me. Regards Ignazio ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators