gui: viewing a service or a service unit causes the api server to enumerate all availalble tools

Bug #1217726 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Unassigned

Bug Description

Viewing a service or a unit causes the api server to enumerate all the tools visible too it.

This action causes the gui to stall while this expensive operation is competed.

2013-08-28 06:56:13 DEBUG juju codec.go:103 rpc/jsoncodec: <- {"Type":"AllWatcher","Request":"Next","Id":"1","Params":{},"RequestId":16}
2013-08-28 06:56:13 DEBUG juju codec.go:168 rpc/jsoncodec: -> {"RequestId":16,"Response":{"Deltas":[["machine","change",{"Id":"1","InstanceId":"","Status":"pending","StatusInfo":""}]]}}
2013-08-28 06:56:13 INFO juju tools.go:26 environs: reading tools with major version 1
2013-08-28 06:56:13 DEBUG juju.environs.tools storage.go:49 reading v1.* tools
2013-08-28 06:56:13 INFO juju tools.go:30 environs: falling back to public bucket
2013-08-28 06:56:13 DEBUG juju.environs.tools storage.go:49 reading v1.* tools
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.10.0-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.10.0-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.10.0-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.10.0-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.10.0-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.10.0-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.0-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.0-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.0-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.0-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.0-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.0-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.3-saucy-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-saucy-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.11.4-saucy-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-saucy-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.12.0-saucy-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-saucy-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.1-saucy-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-precise-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-precise-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-quantal-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-quantal-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-raring-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-raring-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-saucy-amd64
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.13.2-saucy-i386
2013-08-28 06:56:14 DEBUG juju.environs.tools storage.go:69 found 1.9.12-precise-amd64
... and more

Tags: api juju-gui
Revision history for this message
John A Meinel (jameinel) wrote :

This is also a 'talk to the Provider' step, which means round trips to a 3rd party service (which is why it is slow).

Changed in juju-core:
importance: Undecided → High
status: New → Triaged
Curtis Hovey (sinzui)
tags: added: api juju-gui
Changed in juju-core:
importance: High → Medium
Revision history for this message
Anastasia (anastasia-macmood) wrote :

There has been a lot of change since this bug was filed.

If current Juju 2 behavior is not performing to your expectations, please file a bug against "juju".

Changed in juju-core:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.