Remove shutdown-terminate

Registered by Matt Riedemann

In Mitaka Nova removed the ec2 API code in https://review.openstack.org/#/c/263368/. That code should not be pulled from:

https://github.com/openstack/ec2-api

The instance.shutdown_terminate flag was only for ec2 compatibility. The nova REST API does not pass through any shutdown_terminate flag to the compute API when creating the instance.

Furthermore, the instance_initiated_shutdown_behavior flag is no longer honored in the ec2api code either:

https://github.com/openstack/ec2-api/blob/ed6814b0c60a7399bdd2630022bad6bf23d405be/ec2api/api/cloud.py#L453-L456

So this is all technical debt at this point in the compute API, data model and Instance object.

I propose that we start removing it from Nova in Newton.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Matt Riedemann
Direction:
Needs approval
Assignee:
Matt Riedemann
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

I just saw this spec proposing to add shutdown_terminate back into the nova REST API with a microversion so the ec2api can proxy it through:

https://review.openstack.org/#/c/234219/

So I guess I'll abandon this blueprint.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.