mcollective fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Won't Fix
|
Low
|
Unassigned |
Bug Description
I try to config my ec2 instances using cloud-init, puppet and mcollective.
My ami is ami-c1aaabb5 (ubuntu precise pangolin)
My cloud-init script is:
#cloud-config
package_update: true
package_upgrade: true
package_
apt_pipelining: False
apt_preserve_
packages:
- puppet
- mcollective
- mcollective-
locale: es_ES.UTF-8
locale_configfile: /etc/default/locale
timezone: Europe/Madrid
hostname: puppetagent2-test
fqdn: puppetagent2-
manage_etc_hosts: true
output:
init: "> /var/log/
config: [ ">> /tmp/my-
final:
puppet:
conf:
mcollective:
conf:
Puppet config works fine but mcollectice don't
In the error log of cloud-init i can see:
File "/usr/lib/
for o, v in cfg.iteritems():
AttributeError: 'str' object has no attribute 'iteritems'
After see the code, I think that cfg always will be an str.
It seem like if be a bug but i don't know.
i try to trick it with:
mcollective:
conf:
but...
File "/usr/lib/
raise NoSectionError(
NoSectionError: No section: 'plugin.stomp'
Changed in cloud-init: | |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu): | |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu Precise): | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in cloud-init: | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Medium |
Can you please verify if this is still a problem against either trunk or quantal or raring?
I suspect it is fixed in all of those.
It should only currently be a problem in 12.04