You have been subscribed to a public bug:

[Impact]: With Cloud-init on 13.10, the ability for Cloud-init to
parition and prepare the ephemeral devices was added. By default, 13.10
handles the formating of Windows Azure Cloud Images. As part of Bug:
#1233315, the functionality has been backported to support SmartOS. This
SRU will change the provisioning of pre-13.10 Windows Azure instances to
use the same functionality for ephemeral device preparation as SmartOS.

For 12.04, this simply is enabling the ephemeral device formating
support. For 12.10 and 13.04, the full Windows Azure DataSource from
13.10 has been backported and finalizes the SRU in Bug: #1037723

[Test Case]: See Comment 4 for detailed test case information
SmartOS:
- Build image with SmartOS enabled as Cloud-init datasource
- Login via SSH
- Confirm:
  - /dev/vdb mounted to /mnt
  - /dev/vdb is of type ext3, label is 'ephemeral0'

Azure:
* Upgrade:
  - Boot current image
  - install new packages
  - confirm that previous /etc/waagent.conf has provisioning functions turned on
  - make sure that /var/lib/instance/sem/config-disk-setup is present
  - place file on ephemeral drive
  - reboot
  - confirm that file is on ephemeral drive
  - look at /var/lib/cloud-init.log indicates that disk_setup was skipped
* New Image:
  - Boot image built with new packages (i.e. from PPA/proposed)
  - confirm that /etc/waagent.conf has provisioning and ephemeral disk 
functions disabled
  - confirm that /dev/sdb1 mounted to /mnt
  - confirm that /dev/sdb1 is of type ext4, no label
* Confirm test cases in Bug: #1231490

[Regression]: This SRU adds a default cloud-init module of "disk_setup,"
which will format ephemeral devices for the Azure and SmartOS
datasources. Both the Azure and SmartOS datasources define default
devices that should be partitioned/formated.

There are a number of safe guards to prevent accidental data-deletion.
The datasources are configured to _not_ overwrite any file system and to
detect if the disk is in use.

As a further safe guard, the postinst sets a semaphore for cloud-init to
prevent the disk_setup module from running when it detects that a system
has been previously configured.


[ORIGINAL REPORT]: With bug #1218506, cloud-init is now able to format the 
ephemeral disk. Currently walinuxagent handles the preperation of the ephemeral 
disk. Since cloud-init can handle doing that work now, this feature in 
walinuxagent should be disabled and enabled for cloud-init in the Windows Azure 
data source.

** Affects: walinuxagent (Ubuntu)
     Importance: Medium
     Assignee: Ben Howard (utlemming)
         Status: In Progress

** Affects: walinuxagent (Ubuntu Precise)
     Importance: Undecided
         Status: New

** Affects: walinuxagent (Ubuntu Quantal)
     Importance: Undecided
         Status: New

** Affects: walinuxagent (Ubuntu Raring)
     Importance: Undecided
         Status: New


** Tags: verification-needed
-- 
[SRU] cloud-init should handle formating the azure disks
https://bugs.launchpad.net/bugs/1231490
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to walinuxagent in Ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to