Simultaneous Trusty deployments to VMs with SATA virtual disks on same physical drive fail sometimes - drops to Grub rescue shell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
qemu-kvm |
New
|
Undecided
|
Unassigned |
Bug Description
I have 7 VMs configured as following:
Processors: 4 vcpus
Memory: 4 GB
SATA Disk 1: 50 GB
SATA Disk 2: 30 GB
NIC0 :
Source device: "Host device br0: macvtap"
Device model: virtio
MAC address: xx:xx:xx:xx:xx:xx
Source mode: Bridge
NIC2:
Source device:
Device model: virtio
MAC address: xx:xx:xx:xx:xx:xx
Everything else was default.
2 of the VMs deployed and the other 5 succeeded installation but upon reboot, I see following errors:
On some VMs:
Boot local disk ...
Booting...
error: file '/boot/grub/i386 pc/normal.mod' not found
Entering rescue mode...
grub rescue>
On another VM:
Booting local disk...
Booting...
error: invalid arch-independent ELF magic
Entering rescue mode...
grub rescue>
I then redeployed the 5 remaining VMs and 3 deployed succesfully and the the last 2 dropped to grub. Finally, I re-deployed these last 2 and they deployed successfully.
One thing to note is that I am creating those VMs by creating the first one and cloning it 6 times to get the remaining VMs. However, I don't think this would be a problem since all the NICs get new MAC addresses.
I am attaching the logs and screen captures.
The PXE mac addresses are:
52:54:00:06:d6:94 (PXE)
52:54:00:9c:42:1e (PXE)
52:54:00:d2:8c:f1 (PXE)
52:54:00:ed:17:1c (PXE)
52:54:00:7a:ba:09 (PXE)
52:54:00:d9:b8:e7 (PXE)
52:54:00:96:58:d7 (PXE)
summary: |
- 1.8rc3: Deploying trusty to KVM vms fail sometimes during local boot - - drops to grub rescue mode + 1.8rc3: Deploying trusty to PowerKVM vms fail sometimes during local + boot - drops to grub rescue mode |
summary: |
- 1.8rc3: Deploying trusty to PowerKVM vms fail sometimes during local - boot - drops to grub rescue mode + Simultaneous Trusty deployments to VMs with SATA virtual disks on same + physical drive fail sometimes - drops to Grub rescue shell |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → Invalid |
Switched from SATA to IDE disks and I couldn't recreate. So, this looks to be IO related during the Grub steps.