** Changed in: cloud-init (Ubuntu Precise)
Status: Confirmed => Won't Fix
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
After revisiting the problem, 0.7.8-49 seems to work fine. The problem
was that I didn't de-provision and started the machine again.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
We also experience failure to mount ephemeral disk to /mnt in Yakkety
(both with 0.7.8-15 and 0.7.8-49 prerelease).
Seems like a race condition, can't reproduce 100% of the time.
the /etc/fstab is generated before the symlink /dev/disk/cloud
/azure_resource-part1 and contains:
cat /etc/fstab
** No longer affects: cloud-init (Ubuntu Xenial)
** No longer affects: cloud-init (Ubuntu Yakkety)
** Changed in: cloud-init (Ubuntu Precise)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
This bug was fixed in the package cloud-init - 0.7.5-0ubuntu1.21
---
cloud-init (0.7.5-0ubuntu1.21) trusty; urgency=medium
* Microsoft Azure:
- Install udev rules to create /dev/disk/cloud entries for Azure ephemeral
disk.
-
I have built a trusty Azure image using -proposed, and confirmed that
this now behaves as expected.
** Tags removed: verification-needed
** Tags added: verification-done-trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Hello Stephen, or anyone else affected,
Accepted cloud-init into trusty-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/cloud-
init/0.7.5-0ubuntu1.21 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package.
** Description changed:
+ [Impact]
+ There is a chance that Azure users' ephemeral disks will not be mounted
properly if the device names change after a reboot.
+
+ [Test Case]
+
+ 1) Provision an Ubuntu VM on Azure (I tested with 14.04.4)
+ 2) The fstab entry for the ephemeral disk (/mnt)
** Changed in: cloud-init (Ubuntu Precise)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
Azure: incorrect entry in fstab for ephemeral disk
To manage
As suggested to me by smoser in #cloud-init, this doesn't actually
reproduce on xenial and yakkety; I'll focus on fixing it in trusty.
** Changed in: cloud-init (Ubuntu Yakkety)
Status: Confirmed => Invalid
** Changed in: cloud-init (Ubuntu Xenial)
Status: Fix Committed => Invalid
This is fixed in commit
9e904bbc3336b96475bfd00fb3bf1262ae4de49f
https://git.launchpad.net/cloud-init/commit/?id=9e904bbc3336b96475bfd00fb3bf1262ae4de49f
** Changed in: cloud-init (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: cloud-init (Ubuntu Xenial)
Status: New =>
** Merge proposal linked:
https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/310411
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
Azure: incorrect
** Changed in: cloud-init (Ubuntu)
Status: Fix Released => Confirmed
** Also affects: cloud-init
Importance: Undecided
Status: New
** Changed in: cloud-init
Status: New => In Progress
** Changed in: cloud-init
Assignee: (unassigned) => Dan Watkins
** Changed in: cloud-init (Ubuntu Wily)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
Azure: incorrect entry in fstab for ephemeral disk
To manage
OK, I've given this some thought. I think we can probably just modify
the default, as udev rules will ensure that it exists.
As we'll be matching udev rules, we'll need to modify it to
/dev/disk/azure/resource in places where we don't ship udev rules with
cloud-init (i.e. trusty), and to
Adding the following snippet to /etc/cloud/cloud.cfg before rebooting
for the first time seems to fix the issue, which supports my analysis.
datasource:
Azure:
disk_aliases:
ephemeral0: /dev/disk/azure/resource
--
You received this bug notification because you are a member of Ubuntu
On trusty systems (at least), walinuxagent ships the udev rules to
produce the devices that cloud-init expects to find. So that isn't the
source of this bug.
Instead, the problem is that the Azure data source defaults to using
/dev/sdb for ephemeral0 ('disk_aliases': {'ephemeral0': '/dev/sdb'}
I think this is a matter of bug 1411582 actually not having been SRU'd
correctly.
$ lsb_release -sc
trusty
$ dpkg-query --show cloud-init
cloud-init 0.7.5-0ubuntu1.19
$ dpkg -L cloud-init | grep udev
$ dpkg -L cloud-init | grep udev || echo no files named udev
no files named udev
I also
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: cloud-init (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
** Changed in: cloud-init (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
Azure: incorrect entry in fstab for ephemeral disk
To manage
I also see these messages in cloud-init.log. The first set is for the
first provision, and the second is after the first reboot:
[CLOUDINIT] cc_mounts.py[DEBUG]: Attempting to determine the real name of
ephemeral0
[CLOUDINIT] cc_mounts.py[DEBUG]: Mapped metadata name ephemeral0 to
Related bug: https://bugs.launchpad.net/ubuntu/+source/cloud-
init/+bug/1411582
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603222
Title:
Azure: incorrect entry in fstab for ephemeral disk
To
22 matches
Mail list logo