Error on allwatcher api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Roger Peppe | ||
juju-deployer |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/home/
main()
File "/home/
run()
File "/home/
importer.
File "/home/
self.
File "/home/
int(timeout), watch=self.
File "/home/
self.
File "/usr/lib/
return WaitForUnits(watch, goal_state)
File "/usr/lib/
for change_set in self.watch:
File "/usr/lib/
return super(TimeoutWa
File "/usr/lib/
'Id': self.watcher_id})
File "/usr/lib/
raise EnvError(result)
jujuclient.
{ u'Error': u'state watcher was stopped', u'RequestId': 3, u'Response': { }}
>
Related branches
- Juju Engineering: Pending requested
-
Diff: 250 lines (+79/-48)5 files modifiedstate/apiserver/admin.go (+9/-9)
state/apiserver/apiserver.go (+66/-34)
state/megawatcher_internal_test.go (+1/-1)
state/multiwatcher/multiwatcher.go (+2/-3)
state/multiwatcher/multiwatcher_internal_test.go (+1/-1)
- Juju Engineering: Pending requested
-
Diff: 138 lines (+41/-15)4 files modifiedstate/apiserver/admin.go (+9/-1)
state/apiserver/export_test.go (+1/-0)
state/apiserver/pinger_test.go (+20/-5)
state/apiserver/root.go (+11/-9)
Changed in juju-deployer: | |
status: | New → Confirmed |
Changed in juju-core: | |
status: | New → In Progress |
milestone: | none → 1.17.1 |
importance: | Undecided → High |
assignee: | nobody → Roger Peppe (rogpeppe) |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-deployer: | |
status: | Confirmed → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Roger looked over the machine log for this env and isolated the api server conversation from the client to the server as, which seems to intimate an issue on the api server, as the client hasn't closed the watch or state connection before getting the error.
2014-01-15 17:26:30 DEBUG juju.state. apiserver apiserver.go:102 <- [1A] <unknown> {"RequestId" :0,"Type" :"Admin" ,"Request" :"Login" ,"Params" :{"AuthTag" :"user- admin", "Password" :"70e69ee9b8c02 eddd0a4a39d6fb6 7401"," Nonce": ""}} apiserver apiserver.go:109 -> [1A] user-admin 83.768352ms {"RequestId" :0,"Response" :{}} Admin[""].Login apiserver apiserver.go:102 <- [1A] user-admin {"RequestId" :0,"Type" :"Client" ,"Request" :"WatchAll" ,"Params" :{}} apiserver apiserver.go:109 -> [1A] user-admin 697.662us {"RequestId" :0,"Response" :{"AllWatcherId ":"1"}} Client[""].WatchAll apiserver apiserver.go:102 <- [1A] user-admin {"RequestId" :1,"Type" :"AllWatcher" ,"Id":" 1","Request" :"Next" ,"Params" :{}} apiserver apiserver.go:109 -> [1A] user-admin 482.836us {"RequestId" :1,"Response" :{"Deltas" :[["machine" ,"change" ,{"Id": "0","InstanceId ":"","Status" :"started" ,"StatusInfo" :"","StatusData ":null} ],["unit" ,"change" ,{"Name" :"django/ 0","Service" :"django" ,"Series" :"precise" ,"CharmURL" :"","PublicAddr ess":"" ,"PrivateAddres s":""," MachineId" :"1","Ports" :[],"Status" :"pending" ,"StatusInfo" :"","StatusData ":null} ],["service" ,"change" ,{"Name" :"django" ,"Exposed" :true," CharmURL" :"local: precise/ python- django- 7","OwnerTag" :"user- admin", "Life": "alive" ,"MinUnits" :0,"Constraints ":{},"Config" :{"additional_ distro_ packages" :"python- mock,python- oauth", "additional_ pip_packages" :"django- tastypie= =0.9.15" ,"application_ path":" ppa-assigner/ ","django_ extra_settings" :"LAUNCHPAD_ PPA_USER= \"ci-engineerin g-airline\ "","django_ settings" :"ppa_assigner. settings" ,"django_ south": true,"python_ path":" /srv/django/ ci-utils: /srv/django/ ppa-assigner" ,"repos_ url":"lp:ubuntu-ci-services-itself","vcs" :"bzr"} }],["service" ,"change" ,{"Name" :"gunicorn" ,"Exposed" :false, "CharmURL" :"local: precise/ gunicorn- 3","OwnerTag" :"user- admin", "Life": "alive" ,"MinUnits" :0,"Constraints ":{},"Config" :{"python_ path":" /srv/django/ ci-utils: /srv/django/ ppa-assigner" }}],["relation" ,"change" ,{"Key" :"postgres: replication" ,"Id":0, "Endpoints" :[{"ServiceName ":"postgres" ,"Relation" :{"Name" :"replication" ,"Role" :"peer" ,"Interface" :"pgreplication ","Optional" :false, "Limit" :1,"Scope" :"global" }}]}],[ "service" ,"change" ,{"Name" :"postgres" ,"Exposed" :false, "CharmURL" :"local: precise/ postgresql- 2","OwnerTag" :"user- admin", "Life": "alive" ,"MinUnits" :0,"Constraints ":{},"Config" :{}}],[ "unit", "change" ,{"Name" :"postgres/ 0","Service" :"postgres" ,"Series" :"precise" ,"CharmURL" :"","PublicAddr ess":"" ,"PrivateAddres s":""," MachineId" :"2","Ports" :[],"Status" :"pending" ,"StatusInfo" :"","StatusData ":null} ],["machine" ,"change" ,{"Id": "2","InstanceId ":"","Status" :"pending" ,"StatusInfo" :"","StatusData ":null} ],["machine" ,"change" ,{"Id": "1","InstanceId ":"a2b23356- c2ef-4795- 92bc-6905cdffa2 a6","Status" :"pending" ,"StatusInfo" :"","StatusData ":null} ]]}} AllWatcher[...
2014-01-15 17:26:30 DEBUG juju.state.
2014-01-15 17:26:30 DEBUG juju.state.
2014-01-15 17:26:30 DEBUG juju.state.
2014-01-15 17:26:30 DEBUG juju.state.
2014-01-15 17:26:30 DEBUG juju.state.