Help needed to debug problem with the maas provider
Julian Edwards
julian.edwards at canonical.com
Fri Mar 16 06:25:13 UTC 2012
Hi,
I've got problems when running a "juju deploy". The client end reports that
it has succeeded but the provisioning agent on the master node bails out when
it tries to start another node as below.
As far as I can determine, a value of None is being massed for machind_id when
calling start_machine (I know this because the code path always calls
set_machine_id, so getattr in the cloud-init validation check is seeing a
None). My knowledge of the rest of juju is not good enough to understand why
this would be, so can someone help me figure this out please?
Thank you
J.
2012-03-16 16:10:03,648: juju.agents.provision at INFO: Starting machine id:0 ...
2012-03-16 16:10:03,854: juju.maas at ERROR: Failed to launch machine
/api/1.0/nodes/odev-node02/; attempting to release.
Traceback (most recent call last):
File "/usr/lib/juju/juju/juju/providers/maas/launch.py", line 50, in
start_machine
machine = MaaSMachine.from_dict(node_data)
File "/usr/lib/juju/juju/juju/providers/common/cloudinit.py", line 247, in
render
self._validate()
File "/usr/lib/juju/juju/juju/providers/common/cloudinit.py", line 272, in
_validate
% ", ".join(missing))
CloudInitError: Incomplete cloud-init: you need to call set_machine_id
2012-03-16 16:10:03,941: juju.agents.provision at ERROR: Cannot process machine 0
Traceback (most recent call last):
File "/usr/lib/juju/juju/juju/agents/provision.py", line 187, in
process_machines
machine_state_id, provider_machines)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
1037, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382,
in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/juju/juju/juju/agents/provision.py", line 229, in
process_machine
{"machine-id": machine_state.id})
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
1037, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382,
in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/juju/juju/juju/providers/common/launch.py", line 45, in run
machines = yield self.start_machine(machine_id, zookeepers)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
1039, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/juju/juju/juju/providers/maas/launch.py", line 50, in
start_machine
machine = MaaSMachine.from_dict(node_data)
File "/usr/lib/juju/juju/juju/providers/common/cloudinit.py", line 247, in
render
self._validate()
File "/usr/lib/juju/juju/juju/providers/common/cloudinit.py", line 272, in
_validate
% ", ".join(missing))
CloudInitError: Incomplete cloud-init: you need to call set_machine_id
2012-03-16 16:10:03,966: juju.agents.provision at INFO: Shutting down machine
id:node-29d7ad70-4671-11e1-93b8-00225f89f211 ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120316/f6e66d0d/attachment.html>
More information about the Juju
mailing list