update DataModel by Nova notifications

Registered by licanwei

Watcher consumes Nova notifications to update its Data Model. now only several notifications were used,
there are many notifications need to be consider, such as instance poweron/poweroff,
they all change the state of instance, Watcher should update the state of instance in the Data Model.
We should consume all the Nova notifications that influence the state of instance or compute.
And Nova plan to deprecate the legacy notifications, Watcher should consume just the versioned notifications.
https://docs.openstack.org/nova/latest/reference/notifications.html#existing-versioned-notifications

Blueprint information

Status:
Complete
Approver:
Alexander Chadin
Priority:
Medium
Drafter:
licanwei
Direction:
Needs approval
Assignee:
licanwei
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-1
Started by
licanwei
Completed by
licanwei

Related branches

Sprints

Whiteboard

I agree, we need a spec here.
BTW, I'd propose to suggest removing of legacy notifications as bug since this process is distinct and is pretty straightforward.
[licanwei]https://bugs.launchpad.net/watcher/+bug/1793048
Could you please include this blueprint into yours https://blueprints.launchpad.net/watcher/+spec/exclude-locked-instances ?
yes

Gerrit topic: https://review.openstack.org/#q,topic:bp/update-datamodel-by-nova-notifications,n,z

Addressed by: https://review.openstack.org/606352
    update datamodel by nova notifications

Addressed by: https://review.openstack.org/606830
    update datamodel by nova notifications

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.