Hide Forgot
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
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.