2015-09-01 02:01:07 |
Stephen A. Zarkos |
bug |
|
|
added bug |
2015-09-01 14:56:42 |
Dan Watkins |
cloud-init (Ubuntu): assignee |
|
Dan Watkins (daniel-thewatkins) |
|
2015-09-01 15:17:19 |
Ben Howard |
cloud-init (Ubuntu): importance |
Undecided |
High |
|
2015-09-01 15:17:35 |
Ben Howard |
cloud-init (Ubuntu): status |
New |
Confirmed |
|
2015-09-01 15:23:41 |
Ben Howard |
bug |
|
|
added subscriber Ben Howard |
2015-09-01 15:24:16 |
Ben Howard |
tags |
|
apport-collected trusty uec-images |
|
2015-09-01 15:24:18 |
Ben Howard |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1490796/+attachment/4455716/+files/Dependencies.txt |
|
2015-09-01 15:24:19 |
Ben Howard |
attachment added |
|
ProcEnviron.txt https://bugs.launchpad.net/bugs/1490796/+attachment/4455717/+files/ProcEnviron.txt |
|
2015-09-01 17:30:30 |
Dan Watkins |
cloud-init (Ubuntu): status |
Confirmed |
In Progress |
|
2015-09-01 17:30:52 |
Dan Watkins |
branch linked |
|
lp:~daniel-thewatkins/cloud-init/fix_mount_cb_symlink |
|
2015-09-01 17:33:09 |
Launchpad Janitor |
branch linked |
|
lp:cloud-init |
|
2015-09-02 10:18:47 |
Dan Watkins |
summary |
cloud-init must check/format Azure empheral disks each boot |
cloud-init must check/format Azure ephemeral disks each boot |
|
2015-09-02 11:43:34 |
Dan Watkins |
summary |
cloud-init must check/format Azure ephemeral disks each boot |
[SRU] cloud-init must check/format Azure ephemeral disks each boot |
|
2015-09-02 11:55:02 |
Dan Watkins |
description |
Ubuntu 14.04.3 (20150805) on Azure with cloud-init package 0.7.5-0ubuntu1.8.
On Azure cloud-init prepares the ephemeral device as ext4 for the first boot. However, if the VM is ever moved to another Host for any reason, then a new ephemeral disk might be provided to the VM. This ephemeral disk is NTFS formatted, so for subsequent reboots cloud-init must detect and reformat the new disk as ext4. However, with cloud-init 0.7.5-0ubuntu1.8 subsequent boots may result in fuse mounted NTFS file system.
This issue occurred in earlier versions of cloud-init, but was fixed with bug 1292648 (https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1292648). So this appears to be a regression.
Repro:
- Create an Ubuntu 14.04.3 VM on Azure
- Resize the VM to a larger size (this typically moves the VM)
- Log in and run 'blkid' to show an ntfs formatted ephemeral disk:
# blkid
/dev/sdb1: LABEL="Temporary Storage" UUID="A43C43DD3C43A95E" TYPE="ntfs"
Expected results:
- After resizing the ephemeral disk should be formatted as ext4. |
[Impact]
Sometimes when rebooting an instance in Azure, a different ephemeral disk will be presented. Azure ephemeral disks are presented as NTFS disks, but we reformat them to ext4. With the last cloud-init upload, we shifted to using /dev/disk symlinks to mount these disks (in case they are not presented as the same physical device). Unfortunately, the code that determines if we have a new ephemeral disk was not updated to handle symlinks, so never detects a new disk.
[Test Case]
1) Boot an Azure instance and install the new cloud-init.
2) Change the size of the instance using the Azure web interface (as this near-guarantees that the ephemeral disk will be replaced with a new one). This will reboot the instance.
3) Once the instance is rebooted, SSH in and confirm that:
a) An ext4 ephemeral disk is mounted at /mnt, and
b) cloud-init.log indicates that a fabric formatted ephemeral disk was found on this boot.
[Regression Potential]
Limited; two LOCs change, to dereference symlinks instead of using paths verbatim.
[Original Report]
Ubuntu 14.04.3 (20150805) on Azure with cloud-init package 0.7.5-0ubuntu1.8.
On Azure cloud-init prepares the ephemeral device as ext4 for the first boot. However, if the VM is ever moved to another Host for any reason, then a new ephemeral disk might be provided to the VM. This ephemeral disk is NTFS formatted, so for subsequent reboots cloud-init must detect and reformat the new disk as ext4. However, with cloud-init 0.7.5-0ubuntu1.8 subsequent boots may result in fuse mounted NTFS file system.
This issue occurred in earlier versions of cloud-init, but was fixed with bug 1292648 (https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1292648). So this appears to be a regression.
Repro:
- Create an Ubuntu 14.04.3 VM on Azure
- Resize the VM to a larger size (this typically moves the VM)
- Log in and run 'blkid' to show an ntfs formatted ephemeral disk:
# blkid
/dev/sdb1: LABEL="Temporary Storage" UUID="A43C43DD3C43A95E" TYPE="ntfs"
Expected results:
- After resizing the ephemeral disk should be formatted as ext4. |
|
2015-09-02 12:38:03 |
Dan Watkins |
attachment added |
|
precise.debdiff https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1490796/+attachment/4456140/+files/precise.debdiff |
|
2015-09-02 12:38:30 |
Dan Watkins |
bug task added |
|
cloud-init |
|
2015-09-02 12:38:36 |
Dan Watkins |
cloud-init: status |
New |
Fix Committed |
|
2015-09-02 12:38:40 |
Dan Watkins |
cloud-init: assignee |
|
Dan Watkins (daniel-thewatkins) |
|
2015-09-02 12:39:40 |
Dan Watkins |
attachment added |
|
trusty.debdiff https://bugs.launchpad.net/cloud-init/+bug/1490796/+attachment/4456141/+files/trusty.debdiff |
|
2015-09-02 12:39:57 |
Dan Watkins |
attachment added |
|
vivid.debdiff https://bugs.launchpad.net/cloud-init/+bug/1490796/+attachment/4456142/+files/vivid.debdiff |
|
2015-09-02 15:17:09 |
Dan Watkins |
attachment removed |
trusty.debdiff https://bugs.launchpad.net/cloud-init/+bug/1490796/+attachment/4456141/+files/trusty.debdiff |
|
|
2015-09-02 15:17:19 |
Dan Watkins |
attachment removed |
vivid.debdiff https://bugs.launchpad.net/cloud-init/+bug/1490796/+attachment/4456142/+files/vivid.debdiff |
|
|
2015-09-02 15:19:40 |
Dan Watkins |
attachment added |
|
New trusty debdiff, including the changes already in -proposed. https://bugs.launchpad.net/cloud-init/+bug/1490796/+attachment/4456217/+files/trusty.debdiff |
|
2015-09-02 15:20:04 |
Dan Watkins |
attachment added |
|
New vivid debdiff, including the changes already in -proposed. https://bugs.launchpad.net/cloud-init/+bug/1490796/+attachment/4456218/+files/vivid.debdiff |
|
2015-09-02 18:44:33 |
Chris J Arges |
nominated for series |
|
Ubuntu Trusty |
|
2015-09-02 18:44:33 |
Chris J Arges |
bug task added |
|
cloud-init (Ubuntu Trusty) |
|
2015-09-02 18:44:53 |
Chris J Arges |
nominated for series |
|
Ubuntu Vivid |
|
2015-09-02 18:44:53 |
Chris J Arges |
bug task added |
|
cloud-init (Ubuntu Vivid) |
|
2015-09-02 20:33:26 |
Ben Howard |
nominated for series |
|
Ubuntu Precise |
|
2015-09-02 20:33:26 |
Ben Howard |
bug task added |
|
cloud-init (Ubuntu Precise) |
|
2015-09-03 12:19:55 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cloud-init |
|
2015-09-03 16:18:16 |
Launchpad Janitor |
cloud-init (Ubuntu): status |
In Progress |
Fix Released |
|
2015-09-03 19:03:12 |
Brian Murray |
cloud-init (Ubuntu Vivid): status |
New |
Fix Committed |
|
2015-09-03 19:03:14 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-09-03 19:03:16 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-09-03 19:03:21 |
Brian Murray |
tags |
apport-collected trusty uec-images |
apport-collected trusty uec-images verification-needed |
|
2015-09-03 19:04:50 |
Brian Murray |
cloud-init (Ubuntu Trusty): status |
New |
Fix Committed |
|
2015-09-03 19:06:22 |
Brian Murray |
cloud-init (Ubuntu Precise): status |
New |
Fix Committed |
|
2015-09-03 23:10:20 |
Stephen A. Zarkos |
tags |
apport-collected trusty uec-images verification-needed |
apport-collected trusty uec-images verification-done |
|
2015-09-08 16:31:07 |
Launchpad Janitor |
cloud-init (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2015-09-08 16:31:11 |
Stéphane Graber |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-09-08 16:31:23 |
Launchpad Janitor |
cloud-init (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-09-08 16:31:35 |
Launchpad Janitor |
cloud-init (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-09-10 16:18:31 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty/cloud-init |
|
2015-11-09 11:12:10 |
Dan Watkins |
cloud-init: status |
Fix Committed |
Fix Released |
|
2016-04-05 13:57:45 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/cloud-init |
|
2021-11-19 18:46:15 |
pippo |
bug |
|
|
added subscriber Claudio |
2023-05-10 09:18:18 |
James Falcon |
bug watch added |
|
https://github.com/canonical/cloud-init/issues/2580 |
|