| Summary: | [webadmin] - Wrong message, when attempting to delete a LN that is being used by a Template[TEXT] | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | zvi <zfridler> |
| Component: | ovirt-engine-core | Assignee: | lpeer <lpeer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, ecohen, iheim, yeylon, ykaul |
| Target Milestone: | --- | Keywords: | EasyFix |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | network | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-16 05:30:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
backend doesn't send the relevant "action" and "type" messages within the CanDoActionMessages list returned in this case.
BTW, it seems that a similar problem happens for the "NETWORK_INTERFACE_IN_USE_BY_VM" message key, which translates to "Cannot ${action} ${type}. There is at least one running VM that uses this Network."
It is working with the upstream version now. |
Description of problem: Wrong message when attemting to delete a Cluster LN that is being used by a Template. or Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Attemt to delete a Cluster LN that is being used by a Template 2. 3. Actual results: Message: Oops! Error: Cannot ${action} ${type}. The Network is in use by a Template.<br/>Network definition cannot be detached unless all references to it are cleared. Expected results: Message: "Can't remove Network, it is being used by: (Template name)" Additional info: Engine log: -001a4a169746 Type: VDS 2012-02-06 12:37:53,704 INFO [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (pool-5-thread-50) Running command: HandleVdsVersionCommand internal: true. Entities affected : ID: cf51fd24-50a7-11e1-a45a-001a4a169746 Type: VDS 2012-02-06 12:37:53,706 INFO [org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (pool-5-thread-50) FINISH, ActivateVdsVDSCommand, log id: 6124cf94 2012-02-06 12:38:06,809 WARN [org.ovirt.engine.core.bll.DetachNetworkToVdsGroupCommand] (http--0.0.0.0-8080-6) CanDoAction of action DetachNetworkToVdsGroup failed. Reasons:NETWORK_CANNOT_REMOVE_NETWORK_IN_USE_BY_TEMPLATE