For a Boot From Volume Instance, How To Find Post Instance Creation if the Associated Volume is Set to be Deleted on Termination or Not?

Problem

For a Boot From Volume Instance, How To Find Post Instance Creation if the Associated Volume is Set to be Deleted on Termination or Not?

Environment

  • Platform9 Managed OpenStack - All Versions

Procedure

The following command will display the entire instance information.

# nova show [server]

In the output, look for os-extended-volumes:volumes_attached field to see the set delete_on_termination value.

Example:

# nova show abcdefgh-bd0e-466f-8ee9-7bb8ba4881db...| os-extended-volumes:volumes_attached | [{"id": "xyzxyzxy-8788-4a86-836e-9e6babb2a22b", "delete_on_termination": true}]

Last updated