Hi Michal,
Am 17.01.2012 09:19, schrieb Michal Privoznik:
On 16.01.2012 23:04, Marko Weber wrote:
Hi Michal,
i cant say the USEFLAGS, cause i removed at end the package,
heres a cut of logfile /var/log/libvirt/libvirt.log
2012-01-15 19:48:11.960+0000: 21586: error : virCommandWait:2192 :
Interner Fehler Child process (/sbin/iptables --table mangle --insert
POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68
--jump CHECKSUM --checksum-fill) status unexpected: exit status 1
2012-01-15 19:48:11.960+0000: 21586: warning :
networkAddGeneralIptablesRules:1259 : Could not add rule to fixup DHCP
response checksums on network 'default'.
2012-01-15 19:48:11.960+0000: 21586: warning :
networkAddGeneralIptablesRules:1260 : May need to update iptables
package & kernel to support CHECKSUM rule.
2012-01-15 19:48:11.977+0000: 21586: error : virCommandWait:2192 :
Interner Fehler Child process (/sbin/iptables --table filter --insert
FORWARD --in-interface virbr0 --jump REJECT) status unexpected: exit
status 1
2012-01-15 19:48:11.977+0000: 21586: error :
networkAddGeneralIptablesRules:1296 : Hinzufügen der iptables-Regel zum
Blockieren von ausgehenden Daten von 'virbr0' fehlgeschlagen
2012-01-15 19:55:06.133+0000: 21589: error :
virConnectNumOfInterfaces:9803 : this function is not supported by the
connection driver: virConnectNumOfInterfaces
This part says libvirt was not able to insert iptables rules for a
virtual network (NAT). This can be harmless if such rules already
exists.
2012-01-15 22:11:54.664+0000: 12093: info : libvirt version: 0.9.8
2012-01-15 22:11:54.664+0000: 12093: error : virCommandWait:2192 :
Interner Fehler Child process (/bin/sh -c EBT=/sbin/ebtables
cmd='$EBT -t nat -L'
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then echo "Failure to execute command '${cmd}' :
'${res}'."; exit 1;fi
) status unexpected: exit status 1
2012-01-15 22:12:01.356+0000: 12196: info : libvirt version: 0.9.8
2012-01-15 22:12:01.356+0000: 12196: error : virCommandWait:2192 :
Interner Fehler Child process (/bin/sh -c EBT=/sbin/ebtables
cmd='$EBT -t nat -L'
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then echo "Failure to execute command '${cmd}' :
'${res}'."; exit 1;fi
) status unexpected: exit status 1
2012-01-15 22:16:28.260+0000: 32646: info : libvirt version: 0.9.8
2012-01-15 22:16:28.260+0000: 32646: error : virCommandWait:2192 :
Interner Fehler Child process (/sbin/iptables --table mangle --insert
POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68
--jump CHECKSUM --checksum-fill) status unexpected: exit status 1
2012-01-15 22:16:28.260+0000: 32646: warning :
networkAddGeneralIptablesRules:1259 : Could not add rule to fixup DHCP
response checksums on network 'default'.
2012-01-15 22:16:28.260+0000: 32646: warning :
networkAddGeneralIptablesRules:1260 : May need to update iptables
package & kernel to support CHECKSUM rule.
2012-01-15 22:16:28.277+0000: 32646: error : virCommandWait:2192 :
Interner Fehler Child process (/sbin/iptables --table filter --insert
FORWARD --in-interface virbr0 --jump REJECT) status unexpected: exit
status 1
2012-01-15 22:16:28.277+0000: 32646: error :
networkAddGeneralIptablesRules:1296 : Hinzufügen der iptables-Regel zum
Blockieren von ausgehenden Daten von 'virbr0' fehlgeschlagen
2012-01-15 22:16:28.392+0000: 32646: error : virCommandWait:2192 :
Interner Fehler Child process (/bin/sh -c EBT=/sbin/ebtables
cmd='$EBT -t nat -L'
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then echo "Failure to execute command '${cmd}' :
'${res}'."; exit 1;fi
) status unexpected: exit status 1
2012-01-15 22:21:36.668+0000: 20936: info : libvirt version: 0.9.8
2012-01-15 22:21:36.668+0000: 20936: error : virCommandWait:2192 :
Interner Fehler Child process (/bin/sh -c EBT=/sbin/ebtables
cmd='$EBT -t nat -L'
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then echo "Failure to execute command '${cmd}' :
'${res}'."; exit 1;fi
) status unexpected: exit status 1
2012-01-15 22:25:14.718+0000: 8026: info : libvirt version: 0.9.8
2012-01-15 22:25:14.718+0000: 8026: error : virCommandWait:2192 :
Interner Fehler Child process (/bin/sh -c EBT=/sbin/ebtables
cmd='$EBT -t nat -L'
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then echo "Failure to execute command '${cmd}' :
'${res}'."; exit 1;fi
) status unexpected: exit status 1
2012-01-15 22:25:16.311+0000: 8018: error : do_open:1213 : no
connection
driver available for No connection for URI qemu:///system
2012-01-15 22:25:16.312+0000: 8015: error : virNetSocketReadWire:996 :
End of file while reading data: Eingabe-/Ausgabefehler
2012-01-15 22:25:16.333+0000: 8016: error : do_open:1213 : no
connection
driver available for No connection for URI qemu:///system
2012-01-15 22:25:16.333+0000: 8015: error : virNetSocketReadWire:996 :
End of file while reading data: Eingabe-/Ausgabefehler
This part is actually really wrong. Libvirt was unable to find any
qemu.
Do you have any qemu installed?
2012-01-15 22:25:16.508+0000: 8102: info : libvirt version: 0.9.8
2012-01-15 22:25:16.508+0000: 8102: error : virCommandWait:2192 :
Interner Fehler Child process (/bin/sh -c EBT=/sbin/ebtables
cmd='$EBT -t nat -L'
eval res=\$\("${cmd} 2>&1"\)
if [ $? -ne 0 ]; then echo "Failure to execute command '${cmd}' :
'${res}'."; exit 1;fi
I can give a try with your USEFLAGS.
Yeah, i bet it will work with them :)
Ok Ok, Tada!!!! after recompiling with the recommended useflags and
"restarting" of libvirt = Tada!
It works!
Is the logfile informativ for you?
Marko
Btw, on my Centos6 Boxes all is running like a charme.
Well, Centos/RHEL have strict dependencies for packages and therefore
force user to install many packages which user doesn't need in the end.
That's why we are using Gentoo, right? :)
Yes, right. But for customer related server i feel good to use
enterprise linux.
Gentoo is my personal fav and love ;-)
I wanted to give a try on latest vanilla 3.2.1 - it works like charm
now , libvirt, virt-manager.
Only trick i have to use is, before creating new virtual machine, i
have to a new harddisk for the vm.
When i do this in the process of creating new virtual machine, i cant
select (in step 3?) where to define the disk.
the windows just pop up for 1 sec and is gone, i have to kill then the
virt-manager and restart all.
what i really like is, when use Centos as Guest, u can use virtio from
beginning on hard disk and ethernet.
E.g. on Centos it is not easy to install just libvirt without qemu.
However, it is perfectly simple to do so on Gentoo.
Michal
Show replies by date