Quantal Alpha-3 cloud images tested as unstable for multi-part-ud

Bug #1028674 reported by Ben Howard
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
High
Scott Moser
cloud-init (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Cloud Images for Quantal appear to be unstable as a result of the Cloud-Init rework commit or the test suite is improper for the Quantal Cloud-Init change.

https://jenkins.qa.ubuntu.com/job/quantal-server-ec2/4/

The following was on a console.

[21820780.822772] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
Cloud-init v. 0.7 running 'init-local' at Tue, 24 Jul 2012 22:57:41 +0000. Up 2.40 seconds.
Cloud-init v. 0.7 running 'init' at Tue, 24 Jul 2012 22:57:41 +0000. Up 2.96 seconds.
ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++
ci-info: +--------+------+----------------+---------------+-------------------+
ci-info: | Device | Up | Address | Mask | Hw-Address |
ci-info: +--------+------+----------------+---------------+-------------------+
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
ci-info: | eth0 | True | 10.114.213.228 | 255.255.255.0 | 12:31:3d:04:ca:1a |
ci-info: +--------+------+----------------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.114.213.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 10.114.213.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
2012-07-24 22:57:43,847 - __init__.py[WARNING]: Unhandled non-multipart (text/x-not-multipart) userdata: '"Lorem ipsum dolor sit a...'
2012-07-24 22:57:43,852 - cloud-init[WARNING]: Stdout, stderr changing to (| tee -a /var/log/cloud-init-output.log, | tee -a /var/log/cloud-init-output.log)
mountall: Disconnected from Plymouth
 * Starting AppArmor profiles  Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd

[ OK ]
landscape-client is not configured, please run landscape-config.
Cloud-init v. 0.7 running 'modules:config' at Tue, 24 Jul 2012 22:57:44 +0000. Up 5.96 seconds.
====BEGIN=======
Tue Jul 24 22:57:44 UTC 2012: HELLO RC.LOCAL LIKE WORLD: upstartjob1.txt
=====END========
Cloud-init v. 0.7 running 'modules:final' at Tue, 24 Jul 2012 22:57:45 +0000. Up 6.43 seconds.
Cloud-init v. 0.7 finished at Tue, 24 Jul 2012 22:57:45 +0000. Up 6.58 seconds.
acpid: exiting

Traceback (most recent call last):
  File "/usr/share/unattended-upgrades/unattended-upgrade-shutdown", line 107, in <module>
    format="%(asctime)s %(levelname)s - %(message)s")
  File "/usr/lib/python2.7/logging/__init__.py", line 1519, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/var/log/unattended-upgrades/unattended-upgrades-shutdown.log'
 * Stopping landscape-client daemon 

Related branches

Revision history for this message
Scott Moser (smoser) wrote :

did a test actually fail or was it just the trace back? the trace is from unattended-upgrades, not cloud-init.

Revision history for this message
James Page (james-page) wrote :

Scott:

DEBUG:root:Cmd: ['cat', '/root/OUTPUT-my-upstart-job.conf']
cat: /root/OUTPUT-my-upstart-job.conf: No such file or directory
DEBUG:root:Cmd output:

Part of this test installs some upstart jobs - I suspect that is where the break it.

Revision history for this message
James Page (james-page) wrote :
Revision history for this message
James Page (james-page) wrote :

Hmm - maybe not - digging further

Revision history for this message
James Page (james-page) wrote :

Job are installed and can be seen in the initctl list output - it just appears that the /root/OUTPUT-* file is missing.

Is this generated from cloud-config?

Revision history for this message
Scott Moser (smoser) wrote :

For the record, the stack trace show is bug 1013363.

Revision history for this message
Scott Moser (smoser) wrote :

fixed in trunk revno 610

Changed in cloud-init:
assignee: nobody → Scott Moser (smoser)
status: New → Fix Committed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.7.0~bzr614-0ubuntu1

---------------
cloud-init (0.7.0~bzr614-0ubuntu1) quantal; urgency=low

  * New upstream snapshot.
    * disable searching for 'ubuntu-mirror' in local dns to find a
      local mirror (LP: #974509)
    * emit the cloud-config event (LP: #1028674)
    * write timestamps to console on reboot and shutdown (LP: #1018554)
 -- Scott Moser <email address hidden> Fri, 03 Aug 2012 14:55:37 -0400

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
Scott Moser (smoser)
Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.