| Summary: | libvirt say radvd not installed but radvd is already installed when start network supporting ipv6 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | xhu |
| Component: | libvirt | Assignee: | Eric Blake <eblake> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | ajia, dyuan, eblake, jdenemar, llim, weizhan |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.8.7-15.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:29:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
radvd is only built into libvirt if it is found during configure time; however, I don't see any BuildRequires on radvd in the specfile. Perhaps that's the issue; I'm pursuing that idea right now... Upstream patch proposal: https://www.redhat.com/archives/libvir-list/2011-March/msg01081.html verify PASS on
libvirt-0.8.7-15.el6.x86_64
qemu-kvm-0.12.1.2-2.153.el6.x86_64
kernel-2.6.32-125.el6.x86_64
# cat ipv6net.xml
<network>
<name>ipv6net</name>
<forward mode='nat'/>
<bridge name='virbr1' stp='on' delay='0' />
<ip address='192.168.100.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.100.2' end='192.168.100.254' />
</dhcp>
</ip>
<ip family='ipv6' address='2002:db8:ac10:fe01::1' prefix='64'>
</ip>
</network>
#virsh net-define ipv6net.xml
Network ipv6net defined from ipv6net.xml
# virsh net-start ipv6net
Network ipv6net started
# virsh net-list --all
Name State Autostart
-----------------------------------------
default active yes
ipv6net active no
# ifconfig
...
virbr1 Link encap:Ethernet HWaddr 52:54:00:DE:40:65
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fede:4065/64 Scope:Link
inet6 addr: 2002:db8:ac10:fe01::1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5181 (5.0 KiB)
define a guest with
...
<interface type='network'>
<mac address='52:54:00:74:5c:3e'/>
<source network='ipv6net'/>
<model type='rtl8139'/>
</interface>
...
on host do
# ifconfig eth0 inet6 add 2001:db8:ac10:fe01::2/64
start the guest and login to guest do
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 52:54:00:74:5C:3E
inet addr:192.168.100.104 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: 2002:db8:ac10:fe01:5054:ff:fe74:5c3e/64 Scope:Global
inet6 addr: fe80::5054:ff:fe74:5c3e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:125 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11219 (10.9 KiB) TX bytes:13469 (13.1 KiB)
Interrupt:11 Base address:0x6000
# ping6 2001:db8:ac10:fe01::2
PING 2001:db8:ac10:fe01::2(2001:db8:ac10:fe01::2) 56 data bytes
64 bytes from 2001:db8:ac10:fe01::2: icmp_seq=1 ttl=64 time=1.13 ms
64 bytes from 2001:db8:ac10:fe01::2: icmp_seq=2 ttl=64 time=0.193 ms
...
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html |
Description of problem: libvirt say radvd not installed but radvd is installed already Version-Release number of selected component (if applicable): libvirt-0.8.7-14.el6.x86_64 qemu-kvm-0.12.1.2-2.152.el6.x86_64 kernel-2.6.32-120.el6.x86_64 radvd-1.6-1.el6.x86_64 How reproducible: Everytimes Steps to Reproduce: 1. install radvd # yum install radvd ... Installed: radvd.x86_64 0:1.6-1.el6 # rpm -qa radvd radvd-1.6-1.el6.x86_64 2. define a network supporting ipv6 # virsh net-define ipv6net.xml Network ipv6net defined from ipv6net.xml # cat ipv6net.xml <network> <name>ipv6net</name> <forward mode='nat'/> <bridge name='virbr1' stp='on' delay='0' /> <ip address='192.168.100.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.100.2' end='192.168.100.254' /> </dhcp> </ip> <ip family='ipv6' address='2002:db8:ac10:fe01::1' prefix='64'> </ip> </network> 3. start the network # virsh net-start ipv6net error: Failed to start network ipv6net error: Cannot find radvd - Possibly the package isn't installed: No such file or directory Actual results: After step 3, libvirt prompt error. Expected results: After step 3, the network should be started successfully. Additional info: