Bug 1654346
| Summary: | [iscsi-ansible] rbd images with snapshots present are not deleted by purge-iscsi-gateways.yml | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Madhavi Kasturi <mkasturi> |
| Component: | iSCSI | Assignee: | Mike Christie <mchristi> |
| Status: | CLOSED WONTFIX | QA Contact: | Madhavi Kasturi <mkasturi> |
| Severity: | medium | Docs Contact: | Bara Ancincova <bancinco> |
| Priority: | medium | ||
| Version: | 3.2 | CC: | ceph-eng-bugs, ceph-qe-bugs, hnallurv, jdillama, mchristi, pasik, rperiyas |
| Target Milestone: | rc | ||
| Target Release: | 3.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
.Ansible fails to purge RBD images with snapshots
The `purge-iscsi-gateways.yml` Ansible playbook does not purge RBD images with snapshots. To purge the images and their snapshots, use the `rbd` command-line utility:
* To purge a snapshot:
+
[subs="quotes"]
----
rbd snap purge _pool-name_/_image-name_
----
+
For example:
+
----
# rbd snap purge data/image1
----
* To delete an image:
+
[subs="quotes"]
----
rbd rm _image-name_
----
+
For example:
+
----
# rbd rm image1
----
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-26 16:07:43 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1629656 | ||
|
Comment 5
Jason Dillaman
2019-02-26 16:07:43 UTC
|