None in cfgmnts second field gets converted to string

Bug #1046946 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Unassigned
cloud-init (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

This seems as a regression of bug 898365.

you can see this with:
#cloud-config
mounts:
 - [ ephemeral0, /opt , auto, "defaults,noexec" ]
 - [ swap, null ]
output: {all: '| tee -a /var/log/cloud-init-output.log'}

Saw this at [1]. basically None gets converted to a string and then compared to None.

--
[1] https://jenkins.qa.ubuntu.com/job/quantal-server-ec2/16/ARCH=i386,REGION=sa-east-1,STORAGE=ebs,TEST=cloud-config,label=ubuntu-server-ec2-testing/artifact/None/i386/m1.small/ebs/i-14041a09/uec2-20120905-2334-f00b6d20da9d41-terminated.console.txt

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cloud-init 0.7.0~bzr644-0ubuntu1 [modified: usr/share/pyshared/cloudinit/config/cc_mounts.py]
ProcVersionSignature: User Name 3.5.0-13.14-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu4
Architecture: amd64
Date: Thu Sep 6 17:03:26 2012
Ec2AMI: ami-5716a03e
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: t1.micro
Ec2Kernel: aki-825ea7eb
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

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

fix-committed in revno 646.

Changed in cloud-init:
importance: Undecided → Medium
Changed in cloud-init (Ubuntu):
importance: Undecided → Medium
Changed in cloud-init:
status: Confirmed → Fix Committed
Revision history for this message
Scott Moser (smoser) wrote :

This was fixed with upload 0.7.0~bzr659-0ubuntu1

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.

Other bug subscribers

Remote bug watches

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