Move the stats out of the resource update periodic task

Registered by jiang, yunhong

Currently the resource tracker update the stats information in the update_available_resource periodic task. I think this is not necessary because the instance information is not dynamic one.

Currently we already track the instance state change in update_usage() in resource tracker, so we need only fetch the instance information at start time, then it will be enough.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
jiang, yunhong
Direction:
Needs approval
Assignee:
jiang, yunhong
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:stats-out-update-resource,n,z

Addressed by: https://review.openstack.org/87809
    Stats out of the update resource task

Spec not approved yet, un-targeting blueprint from juno-1 --johnthetubaguy (28th May 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.