Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1516139

Summary: on removing a bootdisk host should also remove the attached boot iso from datastore
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Bootdisk PluginAssignee: Lukas Zapletal <lzap>
Status: CLOSED WONTFIX QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: lzap, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 12:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bootdisk_isos should also be removed from datastore when host is removed none

Description Sachin Ghai 2017-11-22 07:16:37 UTC
Created attachment 1357261 [details]
bootdisk_isos should also be removed from datastore when host is removed

Description of problem: I was trying to provision hosts through BOOtdisk provisioning method on vmware compute resource. Later, I removed a few hosts from satellite and hosts removed from backend, which is expected. Though I still see the bootdisk ISO in the datastore and for those hosts which are already removed.

Please see the attachment.


Version-Release number of selected component (if applicable):
sat6.3 GA snap25

How reproducible:


Steps to Reproduce:
1. create a host using bootdisk method on vmware
2. remove host from satellite
3.

Actual results:
on removing host from satellte, host was removed from vmware but not the attached bootdisk iso

Expected results:
on removing a bootdisk host should also remove the attached boot iso from datastore


Additional info:

Comment 2 Lukas Zapletal 2017-11-23 15:07:43 UTC
Sachin, can you test something for me? If you create another host with the same hostname, will it break the workflow because the ISO is already present?

If not, it's low priority bug, perhaps only backlog.

Comment 3 Sachin Ghai 2017-12-06 12:14:50 UTC
Yeah, I tried to create  another host with same name. Host was provisioned and ISO was over written as I see the modified date of today. 

So its just that ISO won't be deleted which may create amny small files in datastore.

Comment 5 Bryan Kearney 2018-11-30 15:01:02 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Rich Jerrido or Bryan Kearney or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 6 Bryan Kearney 2019-02-07 12:03:52 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.