datasource for Azure fails to load if datasource OVF starts first

Bug #1255617 reported by Ben Howard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Expired
Low
Unassigned

Bug Description

When the DataSourceOVF loads before DataSourceAzure, DataSourceAzure does not claim itself as the DataSource.

Repo Steps:
1. Boot with default Datasources (Azure will not be found)
2. Boot with Azure Datasource (Azure will be found)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cloud-init 0.7.3-0ubuntu2
Uname: Linux 3.11.0-13-generic x86_64
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
Date: Wed Nov 27 18:00:05 2013
PackageArchitecture: all
ProcEnviron: Error: [Errno 2] No such file or directory: '/proc/1798/environ'
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

My hunch is that Trusty is not loading the UDF module.

$ sudo blkid /dev/sr0
/dev/sr0: LABEL="rd_rdfe_stable.131122-1638" TYPE="udf"

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

On a Saucy system, the following appears in dmesg:
[ 29.072953] UDF-fs: INFO Mounting volume 'rd_rdfe_stable.131122-1638', timestamp 2013/11/27 16:53 (1000)

Which means that the UDF module is likely not getting loaded.

summary: - unable to identify ISOFS format on Trusty
+ datasource for Azure fails to load if datasource OVF starts first
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Download full text (105.0 KiB)

Log with all Datasources enabled:

2013-11-27 18:46:27,822 - util.py[DEBUG]: Cloud-init v. 0.7.3 running 'init-local' at Wed, 27 Nov 2013 18:46:27 +0000. Up 25.16 seconds.
2013-11-27 18:46:27,827 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2013-11-27 18:46:27,827 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 101:4
2013-11-27 18:46:27,828 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2013-11-27 18:46:27,828 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2013-11-27 18:46:27,828 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2013-11-27 18:46:27,828 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2013-11-27 18:46:27,830 - importer.py[DEBUG]: Looking for modules ['ubuntu', 'cloudinit.distros.ubuntu'] that have attributes ['Distro']
2013-11-27 18:46:27,832 - importer.py[DEBUG]: Found ubuntu with attributes ['Distro'] in ['cloudinit.distros.ubuntu']
2013-11-27 18:46:27,832 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
2013-11-27 18:46:27,833 - __init__.py[DEBUG]: Looking for for data source in: ['NoCloud', 'ConfigDrive', 'OpenNebula', 'Azure', 'AltCloud', 'OVF', 'MAAS', 'Ec2', 'CloudStack', 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2013-11-27 18:46:27,833 - importer.py[DEBUG]: Looking for modules ['DataSourceNoCloud', 'cloudinit.sources.DataSourceNoCloud'] that have attributes ['get_datasource_list']
2013-11-27 18:46:27,881 - importer.py[DEBUG]: Found DataSourceNoCloud with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceNoCloud']
2013-11-27 18:46:27,881 - importer.py[DEBUG]: Looking for modules ['DataSourceConfigDrive', 'cloudinit.sources.DataSourceConfigDrive'] that have attributes ['get_datasource_list']
2013-11-27 18:46:27,883 - importer.py[DEBUG]: Found DataSourceConfigDrive with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceConfigDrive']
2013-11-27 18:46:27,883 - importer.py[DEBUG]: Looking for modules ['DataSourceOpenNebula', 'cloudinit.sources.DataSourceOpenNebula'] that have attributes ['get_datasource_list']
2013-11-27 18:46:27,889 - importer.py[DEBUG]: Found DataSourceOpenNebula with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceOpenNebula']
2013-11-27 18:46:27,889 - importer.py[DEBUG]: Looking for modules ['DataSourceAzure', 'cloudinit.sources.DataSourceAzure'] that have attributes ['get_datasource_list']
2013-11-27 18:46:28,107 - importer.py[DEBUG]: Found DataSourceAzure with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceAzure']
2013-11-27 18:46:28,107 - importer.py[DEBUG]: Looking for modules ['DataSourceAltCloud', 'cloudinit.sources.DataSourceAltCloud'] that have attributes ['get_datasource_list']
2013-11-27 18:46:28,108 - importer.py[DEBUG]: Found DataSourceAltCloud with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceAltCloud']
2013-11-27 18:46:28,109 - importer.py[DEBUG]: Looking for modules ['DataSourceOVF', 'cloudinit.sources.DataSourceOVF'] that have attributes ['get_datasource_list']
2013-11-27 1...

description: updated
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Download full text (122.3 KiB)

Log from exclusively Azure DS:

2013-11-27 20:17:04,957 - util.py[DEBUG]: Cloud-init v. 0.7.3 running 'init-local' at Wed, 27 Nov 2013 20:17:04 +0000. Up 24.64 seconds.
2013-11-27 20:17:04,961 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2013-11-27 20:17:04,962 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 101:4
2013-11-27 20:17:04,962 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2013-11-27 20:17:04,962 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2013-11-27 20:17:04,962 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2013-11-27 20:17:04,962 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2013-11-27 20:17:04,964 - importer.py[DEBUG]: Looking for modules ['ubuntu', 'cloudinit.distros.ubuntu'] that have attributes ['Distro']
2013-11-27 20:17:05,011 - importer.py[DEBUG]: Found ubuntu with attributes ['Distro'] in ['cloudinit.distros.ubuntu']
2013-11-27 20:17:05,011 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
2013-11-27 20:17:05,011 - __init__.py[DEBUG]: Looking for for data source in: ['Azure'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2013-11-27 20:17:05,011 - importer.py[DEBUG]: Looking for modules ['DataSourceAzure', 'cloudinit.sources.DataSourceAzure'] that have attributes ['get_datasource_list']
2013-11-27 20:17:05,151 - importer.py[DEBUG]: Found DataSourceAzure with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceAzure']
2013-11-27 20:17:05,151 - __init__.py[DEBUG]: Searching for data source in: []
2013-11-27 20:17:05,151 - cloud-init[DEBUG]: No local datasource found
2013-11-27 20:17:05,151 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2013-11-27 20:17:05,152 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2013-11-27 20:17:05,152 - util.py[DEBUG]: cloud-init mode 'init' took 0.359 seconds (0.36)
2013-11-27 20:17:05,584 - util.py[DEBUG]: Cloud-init v. 0.7.3 running 'init' at Wed, 27 Nov 2013 20:17:05 +0000. Up 25.37 seconds.
2013-11-27 20:17:05,586 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2013-11-27 20:17:05,587 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 101:4
2013-11-27 20:17:05,587 - util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
2013-11-27 20:17:05,607 - util.py[DEBUG]: Running command ['route', '-n'] with allowed return codes [0] (shell=False, capture=True)
2013-11-27 20:17:05,706 - cloud-init[DEBUG]: Checking to see if files that we need already exist from a previous run that would allow us to stop early.
2013-11-27 20:17:05,706 - util.py[DEBUG]: Reading from /var/lib/cloud/data/no-net (quiet=False)
2013-11-27 20:17:05,706 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2013-11-27 20:17:05,706 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2013-11-27 20:17:05,708 - importer.py[DEBUG]: Looking for modules ['ubuntu', 'cloudinit.distros.ubuntu'] that have attributes ['Distro']
2013-11-27 20:17:05,712 - ...

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

Ben,
  Do you see this sometime other that first boot?
  I cannot recreate this problem after boot.

I honestly can't come up with an explanation for the description you've given.

Changed in cloud-init (Ubuntu):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Ben Howard (utlemming)
Changed in cloud-init (Ubuntu):
assignee: Ben Howard (utlemming) → nobody
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Setting this to incomplete, given that utlemming is unassigned, and the latest request for details unanswered.

Changed in cloud-init (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-init (Ubuntu) because there has been no activity for 60 days.]

Changed in cloud-init (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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