[Pkg-ganeti-devel] Bug#864025: ganeti-instance-debootstrap: illegal option for fgrep

Joerg Jaspert joerg at ganneff.de
Sat Jun 3 11:30:34 UTC 2017


Package: ganeti-instance-debootstrap
Severity: grave
Version: 0.16-2

Dear Maintainer,

stretch system with ganeti-2.15 and g-i-d, trying to setup a new debian
vm I get:

Sat Jun  3 13:21:27 2017 * running the instance OS create scripts...
Failure: command execution error:
Could not add os for instance XY on node AA: OS create script failed (exited with exit code 1), last lines in the log file:
grep: unrecognized option '--no-reread'
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.

sfdisk: Use the --force flag to overrule all checks.


It does seem to be in common.sh, where the fgrep call wants a "--"
before the "--no-reread" search pattern, that was all it took to make it
work again.

-- 
bye, Joerg



More information about the Pkg-ganeti-devel mailing list