Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1279791

Summary: [engine-backend] "Given Network Attachment (id '${NETWORK_ATTACHMENT_NOT_EXISTS_ENTITY}') does not exist" when confirming setup networks
Product: [oVirt] ovirt-engine Reporter: Elad <ebenahar>
Component: BLL.NetworkAssignee: Martin Mucha <mmucha>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0.2CC: alkaplan, bugs, danken, mburman, sbonazzo, ylavi
Target Milestone: ovirt-4.0.0-alphaFlags: rule-engine: ovirt-4.0.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt 4.0.0 alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 08:01:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log, /var/log/ from host and screenshot from webadmin none

Description Elad 2015-11-10 10:23:28 UTC
Created attachment 1092150 [details]
engine.log, /var/log/ from host and screenshot from webadmin

Description of problem:
I tried to confirm setup network after I modification of the interface IP and got an unclear error message:

2015-11-09 12:46:36,257 WARN  [org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (ajp-/127.0.0.1:8702-5) [4bba8dd6] CanDoAction of action 'HostSetupNetworks' failed for us
er admin@internal. Reasons: VAR__ACTION__SETUP,VAR__TYPE__NETWORKS,NETWORK_ATTACHMENT_NOT_EXISTS


Version-Release number of selected component (if applicable):
rhevm-3.6.0.2-0.1.el6.noarch
vdsm-4.17.10.1-0.el7ev.noarch

How reproducible:
Unknown
Set bug severity to medium since it's not 100% reproducible

Steps to Reproduce:
- Create a non-VM, non-required network
- Attach it to an inactive interface in the host with dhcp and confirm, ifup succeeds
- Change the interface ip to static with an occupied address, ifup fails
- Change interface ip to a non-occupied address

Actual results:
- Setup networks fails with the mentioned error
- The error is not readable in UI as seen in the attached screenshot

Expected results:
- Clear error message
- Not sure if setup network supposed to succeed

Additional info:
engine.log, /var/log/ from host and screenshot from webadmin
Unfortunately, I don't have the relevant vdsm.log

Comment 1 Michael Burman 2016-04-06 11:03:57 UTC
Verified on - 4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos

Error while executing action: 

orchid-vds1.qa.lab.tlv.redhat.com:
Cannot setup Networks. Given Network Attachment (id '649d73d4-2109-4b5f-bca3-5a4f7d0d8dac') does not exist. (update network that doesn't exist)


Error while executing action:

orchid-vds1.qa.lab.tlv.redhat.com:

    Cannot setup Networks. Following Network Attachments do not exist: 25764b19-6be1-4ce1-856e-06f38c5c7ba6. (remove network that doesn't exist)

Comment 2 Sandro Bonazzola 2016-07-05 08:01:49 UTC
oVirt 4.0.0 has been released, closing current release.