[Bug 1233315] Re: cloud-init needs support for SmartOS

2013-10-15 Thread Ben Howard
Worked out raring port. It works as expected and provisions the
ephemeral storage.

-- 
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:
  cloud-init needs support for SmartOS

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


[Bug 1233315] Re: cloud-init needs support for SmartOS

2013-10-15 Thread Ben Howard
The following is the test case:

Azure upgrade test:
1. Booted current version on Azure with default user of utlemming
2. Ran 'apt-get -y purge walinuxagent* cloud-int'
3. Installed PPA packages
4. Restored machine to pre-provisioning state:
   rm -rf /var/lib/cloud
   rm /etc/cloud/cloud.cfg.d/90-azure.cfg
   userdel -f utlemming
   : /etc/fstab
   service walinuxagent stop
   umount /mnt/resource
   wipefs --all /dev/sdb1
   [P/Q]: mkfs.ntfs -f /dev/sdb1
5. Configure for cloud-init:
   [PRECISE ONLY]: create ubuntu user: useradd -m ubuntu -s /bin/bash
   dpkg-reconfigure cloud-init (selected SmartOS, removed others)  
6. Run cloud-init
   cloud-init init
   [PRECISE ONLY]: cloud-init-cfg modules
   [Q/R]: cloud-init modules --mode=config
7. Confirmed that:
   - user 'utlemming' was created
   - user 'utlemming' has sudo
   - user 'utlemming' has ssh keys populated
   - /dev/sdb1 is mount to /mnt
   - /dev/sdb1 is of type ext4, no label

Azure new image test (SSH key test):
1. Build from PPA
2. Boot cloud image with user 'utlemming' defined via cloud
3. Log-in as user
4. Make sure that:
- user 'utlemming' was created
- user 'utlemming' has sudo
- user 'utlemming' has ssh keys populated
- /dev/sdb1 is mount to /mnt
- /dev/sdb1 is of type ext4, no label
5. Check /var/log/cloud-init.log for any exceptions

Azure new image test (Password Authentication)
1. Build from PPA
2. Boot cloud image with user 'utlemming' defined via cloud
3. Log-in as user
4. Make sure that:
- user 'utlemming' was created
- user 'utlemming' has sudo
- no SSH keys should be populated
- /dev/sdb1 is mount to /mnt
- /dev/sdb1 is of type ext4, no label
5. Check /var/log/cloud-init.log for any exceptions

SmartOS:
1. Booted SmartOS 12.04
2. Upgraded to Raring
3. Restored to pre-boot provisioning:
   - removed /data from /etc/fstab
   - umounted /data
   - wipefs --all /dev/vdb1
   - delpart /dev/vdb 1 
4. Install cloud-init from PPA
5. Configure for cloud-init boot:
   -run: dpkg-reconfigure cloud-init (selected SmartOS, removed others)
6. Run 'cloud-init init'
   - confirmed that ubuntu users exists
   - confirmed that the ubuntu user has SSH keys
   - confirmed that datasource is selected
7. Run 'cloud-init modules'
- confirmed that /mnt is in /etc/fstab and correct
- confirmed that /dev/vdb mounted /mnt
- confirmed that default filesystem on /dev/vdb is ext3
- confirmed that the label is 'ephemeral0' on /dev/vdb
8. Rebooted and confirmed that ubuntu user can login
8. Confirm logs are as expected

** Summary changed:

- cloud-init needs support for SmartOS
+ cloud-init needs backport of SmartOS w/ ephemeral disk support

-- 
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:
  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


[Bug 1233315] Re: cloud-init needs support for SmartOS

2013-09-30 Thread Ben Howard
** Changed in: cloud-init (Ubuntu Precise)
   Importance: Undecided = Medium

** Changed in: cloud-init (Ubuntu Quantal)
   Importance: Undecided = Medium

** Changed in: cloud-init (Ubuntu Raring)
   Importance: Undecided = Medium

** Changed in: cloud-init (Ubuntu Precise)
 Assignee: (unassigned) = Ben Howard (utlemming)

** Changed in: cloud-init (Ubuntu Quantal)
 Assignee: (unassigned) = Ben Howard (utlemming)

** Changed in: cloud-init (Ubuntu Raring)
 Assignee: (unassigned) = Ben Howard (utlemming)

** Changed in: cloud-init (Ubuntu Precise)
   Status: New = In Progress

** Changed in: cloud-init (Ubuntu Quantal)
   Status: New = In Progress

** Changed in: cloud-init (Ubuntu Raring)
   Status: New = In Progress

-- 
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:
  cloud-init needs support for SmartOS

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


[Bug 1233315] Re: cloud-init needs support for SmartOS

2013-09-30 Thread Scott Moser
** Changed in: cloud-init (Ubuntu)
   Status: In Progress = Fix Released

** Also affects: cloud-init (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: cloud-init (Ubuntu Quantal)
   Importance: Undecided
   Status: New

** Also affects: cloud-init (Ubuntu Raring)
   Importance: Undecided
   Status: New

-- 
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:
  cloud-init needs support for SmartOS

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


[Bug 1233315] Re: cloud-init needs support for SmartOS

2013-09-30 Thread Ben Howard
Worked out the precise port, which needs to be reviewed. It works as
expected and provisions the ephemeral storage. Branch is attached.

** Branch linked: lp:~utlemming/cloud-init/precise.lp1233315

-- 
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:
  cloud-init needs support for SmartOS

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