XenAPI does not support GPT partition table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Description
==========
Boot an instance with FreeBSD image using OpenStack Liberty stable release
Steps
=====
I downloaded a FreeBSD image from it's offical website and upload this image via glance.
I tried to boot an instance with this image, but it will always fail at auto config disk, see xenapi/vm_utils.py: _auto_configure
Expect:
======
Boot instance successfully
Actual:
======
Failed to boot instance
Logs
====
2016-04-20 05:04:10.043 ERROR nova.utils [req-7f9d8900-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
2016-04-20 05:04:10.043 TRACE nova.utils [instance: d970c4d0-
With some additional debug loggs added, you can see:
2016-04-20 05:04:09.322 DEBUG nova.virt.
Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used.
Warning: Not all of the space available to /dev/xvdb appears to be used, you can fix the GPT to use all of the space (an extra 18874001 blocks) or continue with the current setting?
BYT;
/dev/xvdb:
1:3s:170s:
2:171s:
3:2097323s:
This is because XenAPI driver doesn't support GPT partition tables currently
tags: | added: xenserver |
summary: |
- XenAPI dosen't support GPT partition table + XenAPI does not support GPT partition table |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Automatically discovered version liberty in description. If this is incorrect, please update the description to include 'nova version: ...'