Transient error /w MAAS provider: Unknown operation: 'list_allocated'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
High
|
Unassigned | ||
pyjuju |
New
|
Undecided
|
Unassigned |
Bug Description
I've seen this with my own eyes once in the last couple of days when running 'juju status' but it seems to be happening sporadically in our scripted deployments.
After deploying a bunch of services, waiting for them to hit 'started' state, and adding a number of relations, I've noticed this in our logs:
2012-07-06 13:32:40,953 INFO Connecting to environment...
2012-07-06 13:32:41,781 INFO Connected to environment.
2012-07-06 13:32:42,055 INFO Added mysql-shared relation to all service units.
2012-07-06 13:32:42,055 INFO 'add_relation' command finished successfully
2012-07-06 13:32:47,432 INFO Connecting to environment...
2012-07-06 13:32:47,738 ERROR Cannot connect to environment: Unknown operation: 'list_allocated'.
Traceback (most recent call last):
File "/usr/lib/
client = yield self._internal_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
candidates = yield self._provider.
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
machine = yield provider.
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
instances = yield self.maas_
File "/usr/lib/
current.result = callback(
File "/usr/lib/
raise ProviderError(
ProviderError: Unknown operation: 'list_allocated'.
2012-07-06 13:32:47,739 ERROR Unknown operation: 'list_allocated'.
2012-07-06 13:32:53,109 INFO Connecting to environment...
2012-07-06 13:32:53,927 INFO Connected to environment.
2012-07-06 13:32:54,159 INFO Added rabbitmq relation to all service units.
2012-07-06 13:32:54,159 INFO 'add_relation' command finished successfully
2012-07-06 13:32:59,545 INFO Connecting to environment...
In this case, the mysql relation is the first of many to be added. The others seem to be added fine. I'm unsure where to look in MAAS's logfiles for any relevant traces on that end.
I've also been experiencing transient errors deploying services, though I'm not certain it is the same issue. I will update here if it turns out the same traceback is popping up around those failures.
juju 0.5.1+bzr555- 0juju1~ precise1 dfsg-0ubuntu1 common 2.2.2-0ubuntu4
maas 0.1+bzr482+
maas-provision-