Bug 847719
| Summary: | Do not have '--force' option when using 'rhc domain delete' | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Wei Sun <wsun> |
| Component: | oc | Assignee: | John (J5) Palmieri <johnp> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | jinzhang, jkeck, rmillner, xtian |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhc-0.97.7-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-09-17 21:29:13 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: | |||
|
Description
Wei Sun
2012-08-13 10:57:40 UTC
We need to catch and handle this message and first display that the domain can't be deleted until the applications are removed. I'm not sure we need to add --force yet, it's too dangerous. They can delete individual apps for now. Catch error and reword for now. This bug will be verified with the build with fix is available. verified on devenv_1995,rhc-0.97.7-1.el6_3.noarch Delete a domain with applications [wsun@localhost ~]$ rhc domain delete -n wsundev816 -d Deleting domain 'wsundev816' Password: D, [2012-08-16T09:55:47.165448 #4272] DEBUG -- : Connecting to https://ec2-174-129-130-66.compute-1.amazonaws.com/broker/rest/api D, [2012-08-16T09:55:49.703145 #4272] DEBUG -- : Finding domain wsundev816 D, [2012-08-16T09:55:49.703208 #4272] DEBUG -- : Getting all domains RESULT: Domain contains applications. Delete applications first. |