[SRU] Ephemeral device on G5 instances is incorrect due to GPT partition tables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Fix Released
|
High
|
Unassigned |
Bug Description
[IMPACT] Ephemeral storage on Microsoft Azure G4 and G5 instance types use GPT partition tables by default. Cloud-init is not preparing the ephemeral devices.
[FIX] Add GPT partition support to Cloud-init.
[VERIFICATION]
New image:
1. Build image from -proposed
2. Boot G4 and G5 instance
3. Confirm that /mnt is mount as ext4 filesystem
Follow verification steps from Bug #1292648 (comment 3).
[RISK] This is a mild to medium risk change. However the changes are mitigated in the fact that on Azure, ephemeral devices are extra-ordinarily ephemeral; each boot may result in a new ephemeral device being present. Azure users are advised to not rely on the ephemeral storage at all (see Bug #1382257).
[ORIGINAL REPORT]
In the larger G-Series VM sizes (G4 and G5) we have SSD-backed ephemeral disks that are larger than 2TB, and so they look a little different; namely they now use a GPT partition table and they also have two partitions:
-------
Model: Msft Virtual Disk (scsi)
Disk /dev/sdb: 6597GB
Sector size (logical/physical): 512B/512B Partition Table: gpt Disk
Flags:
Number Start End Size File system Name Flags
1 17.4kB 134MB 134MB Microsoft reserved partition msftres
2 135MB 6597GB 6597GB ntfs Basic data partition
-------
description: | updated |
Changed in cloud-init (Ubuntu): | |
status: | Confirmed → In Progress |
summary: |
- Ephemeral device on G5 instances is incorrect due to GPT partition + [SRU] Ephemeral device on G5 instances is incorrect due to GPT partition tables |
Changed in cloud-init (Ubuntu Trusty): | |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu Utopic): | |
assignee: | nobody → Ben Howard (utlemming) |
Changed in cloud-init (Ubuntu): | |
status: | In Progress → Fix Released |
This was fixed for 15.04 w/
revno: 1058 [merge]
committer: Scott Moser <email address hidden>
branch nick: trunk
timestamp: Fri 2015-02-13 15:52:47 -0500
message:
support for managing GPT partitions
Specifically, this is to support Azure's G-series VMs (which come with
disks up to 6500GB).