Bug 1691842

Summary: [OSP13][Deployment] Volumes remain in the attached state even when the instance is already deleted
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: openstack-tripleo-heat-templatesAssignee: Rajesh Tailor <ratailor>
Status: CLOSED CURRENTRELEASE QA Contact: Archit Modi <amodi>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: amodi, dasmith, eglynn, emacchi, jhakimra, kchamart, lyarwood, mbooth, mburns, nova-maint, sbauza, schhabdi, sgordon, slinaber, ssmolyak, vromanso
Target Milestone: z8Keywords: Patch, TestOnly, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-nova-12.4.0-20.el7ost puppet-tripleo-8.4.1-12.el7ost openstack-tripleo-heat-templates-8.3.1-40.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1691839 Environment:
Last Closed: 2019-08-14 10:45:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1691324, 1691839, 1691844    
Bug Blocks: 1691840    

Comment 2 Rajesh Tailor 2019-06-07 07:50:09 UTC
QE Steps:


* Create an env file on undercloud with below content, which will set the parameter on 

parameter_defaults:
  nova::config::nova_config:
    DEFAULT/reclaim_instance_interval:
      value: 60

* provide above file with overcloud deploy command.

* source overcloudrc

* create bootable volume from image.

* create instance from above bootable volume with delete_on_termination=true

* try to delete instance, instance will be deleted after reclaim_instance_interval timeout.

* once instance is deleted, check bootable volume status, it should be 'AVAILABLE'.

Comment 10 Lon Hohberger 2019-08-14 10:45:16 UTC
According to our records, this should be resolved by puppet-nova-12.4.0-21.el7ost.  This build is available now.

Comment 11 Lon Hohberger 2019-08-14 10:45:20 UTC
According to our records, this should be resolved by puppet-tripleo-8.4.1-20.el7ost.  This build is available now.

Comment 12 Lon Hohberger 2019-08-14 10:45:23 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-8.3.1-54.el7ost.  This build is available now.