Lifecycle Management for VMs

Registered by Anilkumar Thovi

As we are aware user will create VM instances when ever required. For handling the health of private cloud,user need to terminate the instances which are not required(either through automation or manually). But in order to do this Cloud admin should send user, periodic report on the VM's which user owns. This can be achieved using simple cron tab script which sends periodic mail to the user on VM status,so that user can decide on terminating it.
   This might be the sub story of the user story https://specs.openstack.org/openstack/openstack-user-stories/user-stories/proposed/lifecycle_management.html.

As monasca is an Monitoring-as-a-service, it might be useful to add this plugin.

Blueprint information

Status:
Not started
Approver:
Monasca
Priority:
Undefined
Drafter:
Anilkumar Thovi
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Following is the more details on plan and implementation.
Step 1)To get VM instances details: Connect to nova database like "nova_cell0" and table "instances" and get VM instance details like created date ,user_id(owner),VM status etc
Step 2)To get user details like mail id :Connect to keystone database get all user details like email.

Detailed Design :
Step 1: connect to databases nova and keystone
Step 2: get user and VM instance details
Step 3: For each user get all the VM instances details which he owns
Step 4: Send an email to each user with Vm instance details like created date,power status etc

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.