Unable to create a mysql guest image using redstack kickstart on a 32-bit OS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trove Integration |
Won't Fix
|
Wishlist
|
Amrith Kumar |
Bug Description
Tried to create a mysql guest image on a 32-bit OS using the following command: ./redstack kick-start mysql.
It failed with the following error message: chroot: failed to run command `sh': Exec format error
check_break after-extra-data bash
+ egrep -e '(,|^)after-
+ echo ''
+ run_d_in_target pre-install
+ check_element
+ '[' -d /tmp/image.
+ '[' -d /tmp/image.
+ sudo mkdir /tmp/image.
+ sudo mount --bind /tmp/image.
+ sudo mount -o remount,ro,bind /tmp/image.
+ check_break before-pre-install run_in_target bash
+ egrep -e '(,|^)before-
+ echo ''
+ trap 'check_break after-error run_in_target bash' ERR
+ run_in_target dib-run-parts /tmp/in_
+ cmd='PATH=
+ ORIG_HOME=
+ export HOME=/root
+ HOME=/root
+ sudo -E chroot /tmp/image.
chroot: failed to run command `sh': Exec format error
++ check_break after-error run_in_target bash
++ egrep -e '(,|^)after-
++ echo ''
+ cleanup
+ unmount_image
I managed to get this to work by changing amd64 architecture to i386 where the disk-image-create script gets called.
Changed in trove: | |
importance: | Undecided → High |
affects: | trove → trove-integration |
Changed in trove-integration: | |
milestone: | none → juno-2 |
Changed in trove-integration: | |
milestone: | juno-2 → juno-3 |
Changed in trove-integration: | |
milestone: | juno-3 → none |
I'm assigning it to myself per IRC chat with johnma.