Your message dated Sat, 30 Nov 2013 03:23:03 +0000 with message-id <[email protected]> and subject line Bug#728939: fixed in openstack-debian-images 0.5 has caused the Debian Bug report #728939, regarding openstack-debian-images: Using the -ar option truncates 5% off the end of the resized filesystem. to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 728939: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728939 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: openstack-debian-images Version: 0.3~bpo70+1 Severity: normal Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? Bug is trigered when booting the disk images created by running "build-openstack-debian-images -r wheezy -ar ...". * What exactly did you do (or not do) that was effective (or ineffective)? Not using the -ar option avoids this bug, but results in larger disk images. * What was the outcome of this action? Booting the buggy disk images in kvm fails with fsck reporting root partition size less than filesystem size. * What outcome did you expect instead? The resized partition should be about 5% larger to include the full size of the fs calculated in variable FINAL_IMG_SIZE. The variable is in units of 2**20 bytes, but parted is called from the script using a suffix of 'M' for mkpart begin/end. Parted interprets 'M' to mean units of 10**6 bytes. This patch seems to help, however I am not sure if the Mi suffix to parted is universaly available: --- bad/usr/sbin/build-openstack-debian-image 2013-07-28 10:47:49.000000000 -0400 +++ good/usr/sbin/build-openstack-debian-image 2013-11-06 20:55:51.000000000 -0500 @@ -165,7 +165,7 @@ #dd if=/dev/null bs=1M seek=1024 of=${AMI_NAME} ${PARTED} -s ${AMI_NAME} mktable msdos -${PARTED} -s -a optimal ${AMI_NAME} mkpart primary ext3 1M 100% +${PARTED} -s -a optimal ${AMI_NAME} mkpart primary ext3 1Mi 100% ${PARTED} -s ${AMI_NAME} set 1 boot on install-mbr ${AMI_NAME} RESULT_KPARTX=`kpartx -av ${AMI_NAME} 2>&1` @@ -387,7 +387,7 @@ if [ "${AUTOMATIC_RESIZE}" = "yes" ] ; then # Rebuild a smaller partition table parted -s ${AMI_NAME} rm 1 - parted -s ${AMI_NAME} mkpart primary ext3 1M ${FINAL_IMG_SIZE}M + parted -s ${AMI_NAME} mkpart primary ext3 1Mi ${FINAL_IMG_SIZE}Mi parted -s ${AMI_NAME} set 1 boot on # Add 2M for the 1M at the beginning of the partition and some additionnal space -- System Information: Debian Release: 7.2 APT prefers stable-updates APT policy: (991, 'stable-updates'), (991, 'stable'), (206, 'oldstable'), (205, 'oldstable-updates'), (204, 'oldstable'), (110, 'stable'), (101, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.10-0.bpo.3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages openstack-debian-images depends on: ii debootstrap 1.0.48+deb7u1 ii dpkg 1.16.12 ii extlinux 2:4.05+dfsg-6+deb7u1 ii initramfs-tools 0.113~bpo70+1 ii kpartx 0.4.9+git0.4dfdaf2b-7~deb7u2 ii mbr 1.1.11-5+b1 ii parted 2.3-12 ii qemu-utils 1.1.2+dfsg-6a openstack-debian-images recommends no packages. openstack-debian-images suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: openstack-debian-images Source-Version: 0.5 We believe that the bug you reported is fixed in the latest version of openstack-debian-images, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Goirand <[email protected]> (supplier of updated openstack-debian-images package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 25 Oct 2013 20:46:15 +0800 Source: openstack-debian-images Binary: openstack-debian-images Architecture: source all Version: 0.5 Distribution: unstable Urgency: medium Maintainer: PKG OpenStack <[email protected]> Changed-By: Thomas Goirand <[email protected]> Description: openstack-debian-images - script to build a Debian image for OpenStack Closes: 728939 728943 Changes: openstack-debian-images (0.5) unstable; urgency=medium . [ Mehdi Abaakouk ] * Restore the default sshd configuration to allow authorized_keys and authorized_keys2 files . [ Thomas Goirand ] * Added a new example folder showing how to create a NFS cinder VM using a static IP in Quantum. * Correctly writes in ${MOUNT_DIR}/etc/modules and not in the /etc/modules of the computer creating the image (Closes: #728943). * Corrects "Using the -ar option truncates 5% off the end of the resized filesystem." by using Mi instead of M when using parted (Closes: #728939). Checksums-Sha1: fae783034beccc3738a39fc1ca381fe17051f6a8 1790 openstack-debian-images_0.5.dsc 44881b16885f506356e47203f998bbf4515a07d3 9918 openstack-debian-images_0.5.tar.gz b62582b13f4c4e7761d7b00eaa48701a56ed9cbf 10492 openstack-debian-images_0.5_all.deb Checksums-Sha256: 59c432ac920f780a8afa7a6316776bf0b8111a364e95f9d3e5a0af988af07e6a 1790 openstack-debian-images_0.5.dsc 940bca466360a9568fa4d27220f5d44cad3f1b944900706e3dc39580c987a18a 9918 openstack-debian-images_0.5.tar.gz 37ab9b37453509e21c873f703659c3ba6292beac287a89302a94580a840118b3 10492 openstack-debian-images_0.5_all.deb Files: f611222e38b96d16d813e3409c5d4e40 1790 web extra openstack-debian-images_0.5.dsc b6158e983c9aab2799c59d991d188c77 9918 web extra openstack-debian-images_0.5.tar.gz 8a218752d27b4afec5d597d2b8d1230f 10492 web extra openstack-debian-images_0.5_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBCAAGBQJSmVHAAAoJENQWrRWsa0P+Dk4P/ROWxrvOhgEsYXaY04bFm2fF Kd44ZohmoMrFx9t/DbhzWBfgNRCuwDpAPYXKUaUX2NgYFB1UmPEW6cPR+WRmiQpj KkEmHYhbhobu/ZvbqzVm9y/JxHejXPaId9bc9R1tl+l+WWHhAsPYWUrdeUCCVt8U Gm9KV8F+ouHAkte6I5Pc30ARKk8UocX/FGODore/mzd2E95lfMWX0P0OH2uWLVVV Jai+O/mLNsujSxBuW4vbDOq/iQJzbbiUrS0P4pkvbBv8BgFpxmLbthzV+Fx4zbfg b6opns21kE2t0aGzDpXxagHvQOfYbnap+uLPAHV0Gj1+o0+UswDPsc+eMaKbfk41 vKh/w3CYfZ3frT65fMRkn9F/YKVGyo2UwNaxbNuCAqt6cseL/yUsYhf4qfz6uWW3 dw6w7eLwSI0dPHX/+HAeOYEZQ/11lsdX7SSUkjvegbkNI8vMfJEgGT6MuM0AiN8P Y4YhW+1Cv2oQ6gpZ4rDiqsjfBK9fT8+u4pmFpTVEPp7m8AI+0MfzWzTnz2U57u54 DvVcfCj3TR4Gbk9kFIcZ0iwcBmNPPIaF8EjMruP2IZHtie9XR63lItX6B0GZF6dC Yn++MyXHSSz7CJjPE2mugTcE+cd3eWp+/mk3s5XI11Qn+yo8PxKaaunYzu0OV438 mMv35gXHLSGoOW3SlKC3 =tO/y -----END PGP SIGNATURE-----
--- End Message ---

