| Summary: | cartridge-remove throws exception with downloadable cartridge url as cartridge name | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Jordan Liggitt <jliggitt> |
| Component: | oc | Assignee: | Jessica Forrester <jforrest> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | cdaley, jforrest, wsun, xiuwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-30 00:53:12 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: | |
|
Description
Jordan Liggitt
2013-12-12 14:46:48 UTC
At that point it would have to parse the .yml file for the cartridge name that was installed. Seems like it would be easier to do an "rhc app show $appname" and then remove the cartridge by name. I'm not sure I would have considered removing a cartridge with a url, interesting. We also store the url the cartridge was downloaded from, so we could just search the cartridges in the app which match that URL Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/0c7cdacfd92ccaa671f91ead2661984f3181e13e Bug 1041313 - allow all rhc catridge commands to accept a url Verified this issue on rhc-1.19.3 which build from devenv_4187. # rhc cartridge remove -a php -c https://raw.github.com/xiuwang/mongov2cart/master/metadata/manifest.yml Removing a cartridge is a destructive operation that may result in loss of data associated with the cartridge. Are you sure you wish to remove xiutest-mongodb-2.2 from 'php'? (yes|no): yes Removing xiutest-mongodb-2.2 from 'php' ... removed. So moved this bug to VERIFIED. |