** Description changed: - Cloud-init needs support for SmartOS targets. + + [Impact]: Cloud-init now support SmartOS on Ubuntu 13.10, including the ability to format ephemeral devices. This SRU includes the SmartOS datasource, ephemeral disk format support, and enabling ephemeral format support in the Azure Datasource. + + A backport of the SmartOS datasource is needed by the Canonical + certified public cloud effort to support SmartOS based clouds. + + [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 + + [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.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1233315 Title: [SRU] cloud-init needs backport of SmartOS w/ ephemeral disk support To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1233315/+subscriptions -- 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