[Pkg-ganeti-devel] Bug#834404: ganeti-instance-debootstrap - uses unsupported losetup -s in default config
Bastian Blank
bastian.blank at credativ.de
Mon Aug 15 11:05:28 UTC 2016
Package: ganeti-instance-debootstrap
Version: 0.14-2
Severity: grave
Tags: jessie
ganeti-instance-debootstrap in Jessie uses "losetup -s", which is not
supported by the shipped losetup version or any newer. In Stretch it
was fixed to use "--show".
| # If the target device is not a real block device we'll first losetup it.
| # This is needed for file disks.
| if [ ! -b $blockdev ]; then
| ORIGINAL_BLOCKDEV=$blockdev
| blockdev=$(losetup -sf $blockdev)
| CLEANUP+=("losetup -d $blockdev")
| fi
This makes the debootstrap os definition unusable in the default config,
as losetup is used to access non-blockdevices.
| Result:
| - OpExecError
| - - Could not install OS for instance 'instance.example.com' on node 'node.example.con': OS create script failed (exited with exit code 1), last lines in the log file:
| -O, --output <cols> specify columns to output for --list
| -n, --noheadings don't print headings for --list output
| --raw use raw --list output format
|
| -h, --help display this help and exit
| -V, --version output version information and exit
|
| Available --list columns:
| NAME loop device name
| AUTOCLEAR autoclear flag set
| BACK-FILE device backing file
| BACK-INO backing file inode number
| BACK-MAJ:MIN backing file major:minor device number
| MAJ:MIN loop device major:minor number
| OFFSET offset from the beginning
| PARTSCAN partscan flag set
| RO read-only device
| SIZELIMIT size limit of the file in bytes
|
| For more details see losetup(8).
| Execution log:
| - Time: 2016-08-15 10:57:33.882253
| Content: [1, message, - INFO: Running instance OS create scripts...]
Please fix in Jessie.
Bastian
--
Bastian Blank
Berater
Telefon: +49 2166 9901-194
E-Mail: bastian.blank at credativ.de
credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
More information about the Pkg-ganeti-devel
mailing list