[Bug 1693939] Re: Switch Azure detection to use chassis_asset_tag

2017-06-29 Thread Paul Meyer
Successfully verified 0.7.9-153-g16a7302f-0ubuntu1~16.04.2 on Xenial on Azure using the Test Case in the SRU. ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1693939] Re: Switch Azure detection to use chassis_asset_tag

2017-06-29 Thread Paul Meyer
Successfully verified 0.7.9-153-g16a7302f-0ubuntu1~16.10.2 on Yakkety on Azure using the test case in the SRU template. ** Tags removed: verification-needed-yakkety ** Tags added: verification-done-yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is su

[Bug 1693939] Re: Switch Azure detection to use chassis_asset_tag

2017-06-29 Thread Paul Meyer
Successfully verified 0.7.9-153-g16a7302f-0ubuntu1~17.04.2 on Zesty on Azure using the test case from the SRU template. ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-21 Thread Paul Meyer
Thanks for the fix, Scott! Thanks for testing and confirming, Matt! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1611074 Title: Reformatting of ephemeral drive fails on resize of Azure VM To manag

[Bug 1687712] Re: cc_disk_setup: fs_setup with cmd doesn't work

2017-05-03 Thread Paul Meyer
** Changed in: cloud-init Assignee: (unassigned) => Paul Meyer (paul-meyer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1687712 Title: cc_disk_setup: fs_setup with cmd doesn't

[Bug 1611074] [NEW] Reformatting of ephemeral drive fails on resize of Azure VM

2016-08-08 Thread Paul Meyer
Public bug reported: After resizing a 16.04 VM on Azure, the VM is presented with a new ephemeral drive (of a different size), which initially is NTFS formatted. Cloud-init tries to format the appropriate partition ext4, but fails because it is mounted. Cloud-init has unmount logic for exactly thi

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-08-08 Thread Paul Meyer
** Also affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1611074 Title: Reformatting of ephemeral drive fails on resize of Azure VM To m

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-16 Thread Paul Meyer
I tested 0.7.8-47-gb6561a1-0ubuntu1~16.04.1 and it did not fix this bug yet: Nov 16 20:09:18 testvm [CLOUDINIT] cc_disk_setup.py[DEBUG]: Device /dev/sdb1 has Temporary Storage ntfs Nov 16 20:09:18 testvm [CLOUDINIT] cc_disk_setup.py[DEBUG]: Device /dev/sdb1 is cleared for formating Nov 16 20:09:

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-16 Thread Paul Meyer
** Attachment added: "log repro with 0.7.8-47-gb6561a1-0u" https://bugs.launchpad.net/cloud-init/+bug/1611074/+attachment/4778323/+files/cloud-init.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-16 Thread Paul Meyer
So I tried another time, this time paying attention to fstab in between steps. I created a machine and updated cloud-init to 0.7.8-47-gb6561a1-0u. $ mount|grep sdb ; grep mnt /etc/fstab /dev/sdb1 on /mnt type ext4 (rw,relatime,data=ordered) /dev/disk/cloud/azure_resource-part1/mntauto

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-16 Thread Paul Meyer
That can't be it... systemd.mount man page says: x-systemd.requires= Configures a Requires= and an After= dependency between the created mount unit and another systemd unit, such as a device or mount unit. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-16 Thread Paul Meyer
Turns out it's cloud-config.service (not cloud-init.service) that does the mkfs: paulmey@testvm3:~$ journalctl -b -ojson|jq 'select(.MESSAGE|contains("mkfs"))|._SYSTEMD_UNIT' "cloud-config.service" "cloud-config.service" "cloud-config.service" "cloud-config.service" "cloud-config.service" I chan

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-11-17 Thread Paul Meyer
Thanks Scott for the thorough explanation. To answer your question: I don't know that there is any such property. I'm asking around to see if there is, but let's assume 'no' for now. Aside from resize, we run into the same situation after a VM needs to be moved to another node. In that case, the e

RE: [Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-08-24 Thread Paul Meyer
and it should repro then. -Original Message- From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of Dan Watkins Sent: Wednesday, August 24, 2016 6:21 AM To: Paul Meyer Subject: [Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM Hi Paul, Could

[Bug 1292648] Re: [SRU] cloud-init should check/format Azure empheral disks each boot

2016-08-05 Thread Paul Meyer
@Ben, I'm seeing a ~100% repro of this bug on the current 16.04 image in Azure on VM resize. Create a D2_v2 VM, check that fstab has /dev/disk/cloud /azure_resource-part1 on /mnt and that /mnt is mounted as ext4. In that case, provisioning went correctly. Now after resizing this VM, e.g. to a D1_v

[Bug 1611074] Re: Reformatting of ephemeral drive fails on resize of Azure VM

2016-09-21 Thread Paul Meyer
I tested http://archive.ubuntu.com/ubuntu/pool/main/c/cloud-init/cloud- init_0.7.8-3-g80f5ec4-0ubuntu1_all.deb on 16.04 on Azure and it seems to work well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1755629] [NEW] ephemeral-disk-warning yields /mnt 0444 immutable on package update when /mnt is bind-mounted

2018-03-13 Thread Paul Meyer via ubuntu-bugs
Public bug reported: Both /etc/init/ephemeral-disk-warning.conf and /usr/sbin/ephemeral-disk- warning contain code to determine where the ephemeral disk is mounted, write a warning file, and set that file read-only (0444) and immutable (+i). In the case where the ephemeral drive is bind-mounted to