Bug 1536937 - Guest's ipv4 and ipv6 show N/A on rhv4.2 no matter whether guest's MAC address is distributed by RHV network profile or not
Summary: Guest's ipv4 and ipv6 show N/A on rhv4.2 no matter whether guest's MAC addres...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.0
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-22 04:54 UTC by mxie@redhat.com
Modified: 2019-05-16 12:55 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-23 11:35:56 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:
mxie: needinfo-


Attachments (Terms of Use)
create-guest-rhv.png (273.28 KB, image/png)
2018-01-22 04:54 UTC, mxie@redhat.com
no flags Details
vmware-original-mac.png (35.03 KB, image/png)
2018-01-22 04:55 UTC, mxie@redhat.com
no flags Details
vmware-before-import (43.68 KB, image/png)
2018-01-22 04:55 UTC, mxie@redhat.com
no flags Details
vmware-after-import.png (404.79 KB, image/png)
2018-01-22 04:56 UTC, mxie@redhat.com
no flags Details
qemu-guest-agent (290.13 KB, image/png)
2018-01-23 02:19 UTC, mxie@redhat.com
no flags Details

Description mxie@redhat.com 2018-01-22 04:54:19 UTC
Created attachment 1384198 [details]
create-guest-rhv.png

Description of problem:
Guest's ipv4 and ipv6 show N/A on rhv4.2 no matter whether guest's MAC address is distributed by RHV network profile or not

Version-Release number of selected component (if applicable):
rhv:4.2.1.1-0.1.el7
vdsm-4.20.13-1.el7ev.x86_64


How reproducible:
100%

Steps to Reproduce:
Scenario1:create a new guest on rhv
1.Login rhv4.2 -> click dashboard-> click 'virtual machine'->click 'new'->input guest name, create instance image and network-> attach os image in CD option and set CD-ROM as first device-> click 'ok' to install os for guest

2.Power on guest after finishing os installation,check guest's network status in os and rhv
2.1 Guest's mac address of rhv is consistent with OS's 
2.2 guest could obtain IP in os normally but ipv4 and ipv6 show N/A at rhv, pls refer to screenshot "create-guest-rhv"



Scenario2:import guest from VMware source
1.Check guest's original mac address is "00:50:56:b7:a6:71"on vsphere client, pls refer to screenshot"vmware-original-mac"

2.Login rhv4.2 -> click dashboard-> click virtual machine -> select import -> choose "Vmware" and input related esxi host info-> load guests sucessfully->select above guest to import->check that guest's mac address is still "00:50:56:b7:a6:71" before import, pls refer to "vmware-before-import"->click 'ok' to import

3.Power on guest after finishing converting, guest could get ip in system normally but the guest's ipv4 and ipv6 still show N/A on rhv4.2, pls refer to screenshot "vmware-after-import"


Actual results:
As above description

Expected results:
Guest could show ipv4 and ipv6 normally on rhv4.2 

Additional info:

Comment 1 mxie@redhat.com 2018-01-22 04:55:03 UTC
Created attachment 1384199 [details]
vmware-original-mac.png

Comment 2 mxie@redhat.com 2018-01-22 04:55:37 UTC
Created attachment 1384200 [details]
vmware-before-import

Comment 3 mxie@redhat.com 2018-01-22 04:56:17 UTC
Created attachment 1384201 [details]
vmware-after-import.png

Comment 4 Michal Skrivanek 2018-01-22 11:52:44 UTC
is ovirt-guest-agent running in the guest? If not then no IP addresses are going o be displayed

Comment 5 mxie@redhat.com 2018-01-23 02:18:30 UTC
Hi Michal,

   This is the first time I heard ovirt-guest-agent service, could you please tell me how to configure this service in guest on rhv? By the way, there is qemu-guest-agent service running in the guest, pls refer to screenshot"qemu-guest-agent"

Thanks

Comment 6 mxie@redhat.com 2018-01-23 02:19:03 UTC
Created attachment 1384652 [details]
qemu-guest-agent

Comment 7 mxie@redhat.com 2018-01-23 04:07:43 UTC
(In reply to mxie from comment #5)
> Hi Michal,
> 
>    This is the first time I heard ovirt-guest-agent service, could you
> please tell me how to configure this service in guest on rhv? By the way,
> there is qemu-guest-agent service running in the guest, pls refer to
> screenshot"qemu-guest-agent"
> 
> Thanks


Hi Michal,

   Sorry for my stupid question, I just found package"ovirt-guest-agent-comment" and rhv-guest-tools-iso. IP address will be displayed on rhv if ovirt-guest-agent service is running in linux guest or launch RHEV-toolsSetup in windows guest,pls help to close the bug, thanks

Comment 8 Michal Skrivanek 2018-01-23 11:35:56 UTC
no problem, I'm glad it works now

Comment 9 Franta Kust 2019-05-16 12:55:12 UTC
BZ<2>Jira re-sync


Note You need to log in before you can comment on or make changes to this bug.