You have been subscribed to a public bug:

[SRU Justification]

[Explanation] SRU for 1292648 added the ability Cloud-init to format
ephemeral devices when a new ephemeral device was put into place. The
backport used util.* instead of futil.*.

[IMPACT] Cloud-init stack traces when attempting unmount a device that is not 
mounted
Cloud-init tries to unmount the default ephemeral disk and uses "try/except" 
method. Since the wrong util is used, it will stack trace, preventing users 
from provisioning on Windows Azure. 

[TEST-CASE]
1. Build new image from scratch
2. Boot, it should work with ephemeral mounted

 
Latest Cloud-init on Windows Azure fails to provision on Windows Azure due to 
incorrect import. 

2014-04-03 21:53:24,330 - __init__.py[WARNING]: get_data of DataSourceAzureNet 
raised 'module' object has no attribute 'ProcessExecutionError'
2014-04-03 21:53:24,374 - util.py[DEBUG]: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cloudinit/__init__.py", line 215, in 
get_data_source
    if s.get_data():
  File "/usr/lib/python2.7/dist-packages/cloudinit/DataSourceAzure.py", line 
215, in get_data
    cc_modules_override = support_new_ephemeral(self.sys_cfg)
  File "/usr/lib/python2.7/dist-packages/cloudinit/DataSourceAzure.py", line 
288, in support_new_ephemeral
    except util.ProcessExecutionError as e:
AttributeError: 'module' object has no attribute 'ProcessExecutionError'

2014-04-03 21:53:24,374 - __init__.py[DEBUG]: Did not find data source. 
searched classes: ['DataSourceAzureNet']
(END)

** Affects: cloud-init (Ubuntu)
     Importance: High
     Assignee: Ben Howard (utlemming)
         Status: Confirmed


** Tags: bot-comment patch
-- 
cloud-init datasource uses util.ProcessExecutionError instead of 
futil.ProcessExecutionError
https://bugs.launchpad.net/bugs/1302229
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to cloud-init 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