[fedora-virt] problem with kickstart via http from host httpd

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue May 4 18:46:12 UTC 2010


On Tue, May 4, 2010 at 4:27 PM, Justin M. Forbes <jmforbes at linuxtx.org>wrote:

> On Tue, 2010-05-04 at 16:09 +0200, Gianluca Cecchi wrote:
> > Hello,
> > using F12 x86_64 + rawvirt repo I'm experiencing this kind of problem
> > inside a vm.
> > vm is a rh el 5.5 x86 os
> > vm has defined default virtual network (nat; tried also creating a new
> > virtuial network nat-to-eth0; I only have eth0 on my host)
> > vm with virtio network card defined (tried also with rtl8139 model)
> >
> Which version of qemu is installed on the host? Is this the most up to
> date virt-preview package (0.12.3-8)
>
> Thanks,
> Justin
>
>
>

I had 0.12.3-7... strangely the graphical pop-up didn't propose update...
After doing it manually I now have 0.12.3-8 with this changelog
* Thu Apr 22 2010 Justin M. Forbes <jforbes at redhat.com> - 2:0.12.3-8
- Change requires to the noarch seabios-bin
- Add ownership of docdir to qemu-common (#572110)
- Fix "Cannot boot from non-existent NIC" error when using virt-install
(#577851)

But same problem.

At host side:
May  4 20:31:56 tekkaman dnsmasq-dhcp[1767]: DHCPDISCOVER(virbr1)
52:54:00:11:24:dd
May  4 20:31:56 tekkaman dnsmasq-dhcp[1767]: DHCPOFFER(virbr1)
192.168.101.160 52:54:00:11:24:dd
May  4 20:31:56 tekkaman dnsmasq-dhcp[1767]: DHCPREQUEST(virbr1)
192.168.101.160 52:54:00:11:24:dd
May  4 20:31:56 tekkaman dnsmasq-dhcp[1767]: DHCPACK(virbr1) 192.168.101.160
52:54:00:11:24:dd

At guest side console 3 with image vm.png content.
It gets ip but in console 1 I have "error downloading kickstart file" window

>From host I can run a ping to the ip assigned to vm...
[root at tekkaman ~]# ping 192.168.101.160
PING 192.168.101.160 (192.168.101.160) 56(84) bytes of data.
64 bytes from 192.168.101.160: icmp_seq=1 ttl=64 time=2.06 ms
64 bytes from 192.168.101.160: icmp_seq=2 ttl=64 time=0.439 ms
64 bytes from 192.168.101.160: icmp_seq=3 ttl=64 time=0.568 ms

[root at tekkaman ~]# ps -ef|grep [d]nsm
nobody    1767     1  0 20:05 ?        00:00:00 /usr/sbin/dnsmasq
--strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/nat1.pid --conf-file=  --listen-address
192.168.101.1 --except-interface lo --dhcp-range
192.168.101.128,192.168.101.254 --dhcp-lease-max=127
nobody    1803     1  0 20:05 ?        00:00:00 /usr/sbin/dnsmasq
--strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/default.pid --conf-file=
--listen-address 192.168.122.1 --except-interface lo --dhcp-range
192.168.122.101,192.168.122.254 --dhcp-lease-max=154

[root at tekkaman ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain
ACCEPT     udp  --  anywhere             anywhere            udp dpt:bootps
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:bootps
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain
ACCEPT     udp  --  anywhere             anywhere            udp dpt:bootps
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:bootps
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp
dpt:ssh
REJECT     all  --  anywhere             anywhere            reject-with
icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             192.168.122.0/24    state
RELATED,ESTABLISHED
ACCEPT     all  --  192.168.122.0/24     anywhere
ACCEPT     all  --  anywhere             anywhere
REJECT     all  --  anywhere             anywhere            reject-with
icmp-port-unreachable
REJECT     all  --  anywhere             anywhere            reject-with
icmp-port-unreachable
ACCEPT     all  --  anywhere             192.168.101.0/24    state
RELATED,ESTABLISHED
ACCEPT     all  --  192.168.101.0/24     anywhere
ACCEPT     all  --  anywhere             anywhere
REJECT     all  --  anywhere             anywhere            reject-with
icmp-port-unreachable
REJECT     all  --  anywhere             anywhere            reject-with
icmp-port-unreachable
ACCEPT     all  --  anywhere             anywhere            PHYSDEV match
--physdev-is-bridged
REJECT     all  --  anywhere             anywhere            reject-with
icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Nothing useful in my access.log or error.log of httpd....
I get the same error with a CentOS 5.4 32bit...

Thanks for helping.

My package list now (libvirt was updated on 24 of March; no reboot by me
after today updates:
May 04 20:20:04 Updated: virt-manager-0.8.3-3.fc12.noarch
May 04 20:21:43 Updated: 2:qemu-common-0.12.3-8.fc12.x86_64
May 04 20:21:44 Updated: 2:qemu-system-x86-0.12.3-8.fc12.x86_64
May 04 20:22:49 Updated: 2:qemu-img-0.12.3-8.fc12.x86_64
May 04 20:23:15 Updated: 2:qemu-kvm-0.12.3-8.fc12.x86_64
)
[root at tekkaman ~]# rpm -qa|egrep -i "qemu|kvm|virt"
python-virtinst-0.500.2-1.fc12.noarch
qemu-system-x86-0.12.3-8.fc12.x86_64
virt-viewer-0.2.1-1.fc12.x86_64
qemu-img-0.12.3-8.fc12.x86_64
virt-v2v-0.2.0-1.fc12.noarch
libvirt-python-0.7.7-2.fc12.x86_64
virt-manager-0.8.3-3.fc12.noarch
perl-Sys-Virt-0.2.1-1.fc12.x86_64
qemu-common-0.12.3-8.fc12.x86_64
virtuoso-opensource-6.1.0-2.fc12.x86_64
libvirt-client-0.7.7-2.fc12.x86_64
virt-top-1.0.4-1.fc12.1.x86_64
gpxe-roms-qemu-1.0.0-1.fc12.noarch
qemu-kvm-0.12.3-8.fc12.x86_64
virt-mem-0.3.1-9.fc12.x86_64
libvirt-0.7.7-2.fc12.x86_64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/virt/attachments/20100504/fea54265/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vm.png
Type: image/png
Size: 33324 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/virt/attachments/20100504/fea54265/attachment-0001.png 


More information about the virt mailing list