API disconnects if Params are not provided

Reported by Gary Poster on 2013-03-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Low
Unassigned

Bug Description

Excerpt from /var/log/juju/machine-0/log

2013/03/07 21:05:47 JUJU:DEBUG api: <- {"Type":"Admin","Request":"Login","Params":{"EntityName":"user-admin","Password":"admin"},"RequestId":613}
2013/03/07 21:05:47 JUJU:DEBUG api: -> {"RequestId":613,"Response":{}}
2013/03/07 21:05:47 JUJU:DEBUG api: <- {"Type":"Client","Request":"EnvironmentInfo","Params":{},"RequestId":614}
2013/03/07 21:05:47 JUJU:DEBUG api: -> {"RequestId":614,"Response":{"DefaultSeries":"precise","ProviderType":"ec2"}}
2013/03/07 21:05:47 JUJU:DEBUG api: <- {"Type":"Client","Request":"WatchAll","RequestId":615}
2013/03/07 21:05:47 JUJU:DEBUG api: <- error: read tcp 67.201.80.8:48587: use of closed network connection

This cycle kept on happening until we included a Params: {} to the WatchAll call.

We can work around this trivially, but it looks like a nice thing to improve.

William Reade (fwereade) on 2013-06-15
tags: added: bitesize tech-debt
Changed in juju-core:
status: New → Triaged
importance: Undecided → Low
Curtis Hovey (sinzui) on 2013-10-11
tags: added: hours
removed: bitesize
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers