can no longer deploy to model: 'error': 'shared state watcher was stopped'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-jujuclient |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using python-jujuclient via juju-deployer to deploy a bundle to a juju 2 model (backed by openstack).
python-jujuclient: 0.53.2+bzr95+37
juju-deployer: 1:0.9.0~bzr191~58
juju: 2.0.0-trusty-amd64
After deploying and removing applications and machines in this model, I'm no longer able to deploy anything with juju-deployer. I hit this Traceback:
$ juju-deployer -c /srv/mojo/
2016-11-03 19:29:58 Using deployment shopify-adapter
2016-11-03 19:29:58 Starting deployment of shopify-adapter
2016-11-03 19:30:00 Deploying applications...
2016-11-03 19:31:15 Config specifies num units for subordinate: canonical-livepatch
2016-11-03 19:32:15 Config specifies num units for subordinate: nrpe
Traceback (most recent call last):
File "/usr/lib/
result = self._rpc(
File "/usr/lib/
raise EnvError(result)
jujuclient.
{'error': 'shared state watcher was stopped', 'request-id': 2, 'response': {}}
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/juju-
load_
File "/usr/lib/
run()
File "/usr/lib/
importer.
File "/usr/lib/
self.
File "/usr/lib/
services=
File "/usr/lib/
services=
File "/usr/lib/
for change_set in self.watch:
File "/usr/lib/
return super(BaseTimeo
File "/usr/lib/
if not self.reconnect():
File "/usr/lib/
return super(BaseWatcher, self).reconnect()
File "/usr/lib/
self.conn = self.connector(
AttributeError: 'TimeoutWatcher' object has no attribute 'connector'
This occurs after removing all application and machines, and then trying to deploy again.
We experienced this on a HA controller running 2.0.3 recently; a rolling restart seemed to allow things to proceed.