Red Hat Bugzilla – Bug 871864
[TEXT] The logs of AddNetworkCommand's CanDoAction have wrong and missing data
Last modified: 2016-02-10 14:58:53 EST
1. Attach cluster's vlan-networks into a host nic, try that with wrong vlan number (4096 for instance) and try to add the same vlan-network to the same nic twice.
The following CanDoAction failures appear:
1. The following log is missing the vlan id, in addition, it says that the lowest acceptible vlan id is 2 while in practice it accepts vlan 0 and vlan 1 too.
2012-10-24 15:12:35,435 WARN [org.ovirt.engine.core.bll.storage.AddNetworkCommand] (ajp-/127.0.0.1:8702-12) [5b57f329] CanDoAction of action AddNetwork failed. Reasons:VAR__ACT
2012-10-24 15:12:35,446 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp-/127.0.0.1:8702-12) Operation Failed: [VLAN ID must be a number between 2 and 4905]
2. The following log is missing the vlan id.
2012-10-24 15:16:12,427 WARN [org.ovirt.engine.core.bll.storage.AddNetworkCommand] (ajp-/127.0.0.1:8702-15) [62781f9c] CanDoAction of action AddNetwork failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__NETWORK,NETWORK_VLAN_IN_USE
2012-10-24 15:16:12,427 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp-/127.0.0.1:8702-15) Operation Failed: [The specified VLAN ID is already in use.]
Created attachment 636167 [details]
Proposed fix in:
Verified on rhevm-3.2.0-7.el6ev.noarch
3.2 has been released