cloud-init fails to set user password on Windows Azure

Bug #1212723 reported by Ben Howard
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
High
Scott Moser
cloud-init (Ubuntu)
Fix Released
High
Scott Moser

Bug Description

Cloud-init provisioning on Windows Azure is failing to set the userpassword.

snippet from /var/lib/waagent/ovf-env.xml:
    <wa:ProvisioningSection><wa:Version>1.0</wa:Version><LinuxProvisioningConfigurationSet xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ConfigurationSetType>LinuxProvisioningConfiguration</ConfigurationSetType><HostName>utl-0815-s14a</HostName><UserName>utlemming</UserName><UserPassword>SuperAwesomePassword</UserPassword><DisableSshPasswordAuthentication>false</DisableSshPasswordAuthentication></LinuxProvisioningConfigurationSet></wa:ProvisioningSection>

$ sudo grep utlemming /etc/shadow
utlemming:!:15932:0:99999:7:::

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cloud-init 0.7.3~bzr851-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-1.4-generic 3.11.0-rc4
Uname: Linux 3.11.0-1-generic x86_64
ApportVersion: 2.12-0ubuntu3
Architecture: amd64
Date: Thu Aug 15 14:56:45 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

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

2013-08-15 14:13:22,488 - util.py[DEBUG]: Cloud-init v. 0.7.3 running 'init-local' at Thu, 15 Aug 2013 14:13:22 +0000. Up 24.37 seconds.
2013-08-15 14:13:22,494 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2013-08-15 14:13:22,498 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 101:4
2013-08-15 14:13:22,498 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2013-08-15 14:13:22,499 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2013-08-15 14:13:22,499 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2013-08-15 14:13:22,503 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2013-08-15 14:13:22,504 - importer.py[DEBUG]: Looking for modules ['ubuntu', 'cloudinit.distros.ubuntu'] that have attributes ['Distro']
2013-08-15 14:13:22,510 - importer.py[DEBUG]: Found ubuntu with attributes ['Distro'] in ['cloudinit.distros.ubuntu']
2013-08-15 14:13:22,510 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
2013-08-15 14:13:22,510 - __init__.py[DEBUG]: Looking for for data source in: ['NoCloud', 'ConfigDrive', 'Azure', 'AltCloud', 'OVF', 'MAAS', 'Ec2', 'CloudStack', 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM']
2013-08-15 14:13:22,510 - importer.py[DEBUG]: Looking for modules ['DataSourceNoCloud', 'cloudinit.sources.DataSourceNoCloud'] that have attributes ['get_datasource_list']
2013-08-15 14:13:22,530 - importer.py[DEBUG]: Found DataSourceNoCloud with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceNoCloud']
2013-08-15 14:13:22,530 - importer.py[DEBUG]: Looking for modules ['DataSourceConfigDrive', 'cloudinit.sources.DataSourceConfigDrive'] that have attributes ['get_datasource_list']
2013-08-15 14:13:22,532 - importer.py[DEBUG]: Found DataSourceConfigDrive with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceConfigDrive']
2013-08-15 14:13:22,533 - importer.py[DEBUG]: Looking for modules ['DataSourceAzure', 'cloudinit.sources.DataSourceAzure'] that have attributes ['get_datasource_list']
2013-08-15 14:13:22,544 - importer.py[DEBUG]: Found DataSourceAzure with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceAzure']
2013-08-15 14:13:22,544 - importer.py[DEBUG]: Looking for modules ['DataSourceAltCloud', 'cloudinit.sources.DataSourceAltCloud'] that have attributes ['get_datasource_list']
2013-08-15 14:13:22,546 - importer.py[DEBUG]: Found DataSourceAltCloud with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceAltCloud']
2013-08-15 14:13:22,546 - importer.py[DEBUG]: Looking for modules ['DataSourceOVF', 'cloudinit.sources.DataSourceOVF'] that have attributes ['get_datasource_list']
2013-08-15 14:13:22,547 - importer.py[DEBUG]: Found DataSourceOVF with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSourceOVF']
2013-08-15 14:13:22,547 - importer.py[DEBUG]: Looking for modules ['DataSourceMAAS', 'cloudinit.sources.DataSourceMAAS'] that have attributes ['get_datasource_list']
2013-08-15 14:13:22,552 - importer.py[DEBUG]: Found DataSourceMAAS with attributes ['get...

Scott Moser (smoser)
tags: added: cloud-images
removed: uec-images
Revision history for this message
Scott Moser (smoser) wrote :

fixed in trunk at revno 860.

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

This bug was fixed in the package cloud-init - 0.7.3~bzr860-0ubuntu1

---------------
cloud-init (0.7.3~bzr860-0ubuntu1) saucy; urgency=low

  * New upstream snapshot.
    * fix setting of password for a user on azure. (LP: #1212723)
 -- Scott Moser <email address hidden> Thu, 15 Aug 2013 16:01:40 -0400

Changed in cloud-init (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

fixed in 0.7.3

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.