From: Caz Yokoyama Subject: RE: Virt-manager issue resolved Date: Thu, 5 Nov 2009 04:21:30 -0800 Message-ID: <40B1446CE2F74D4993AD0F24590C8F1E@xpjpn> References: <907894.56570.qm@web94616.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0692755876==" Return-path: In-Reply-To: <907894.56570.qm@web94616.mail.in2.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'Fasiha Ashraf' , 'xen' Cc: 'Fedora Xen' , virt-tools-list@redhat.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0692755876== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0058_01CA5DCF.73A977E0" This is a multi-part message in MIME format. ------=_NextPart_000_0058_01CA5DCF.73A977E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello Fasiha, [root@tragi caz]# 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 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 REJECT all -- anywhere anywhere reject-with icmp-host-prohibited Chain OUTPUT (policy ACCEPT) target prot opt source destination Thank you. -caz _____ From: Fasiha Ashraf [mailto:feehapk@yahoo.co.in] Sent: Thursday, November 05, 2009 1:07 AM To: 'xen'; Caz Yokoyama Cc: virt-tools-list@redhat.com; 'Fedora Xen' Subject: RE: [Xen-devel] Virt-manager issue resolved Please send the output of #iptables -L Regards, Fasiha Ashraf --- On Thu, 5/11/09, Caz Yokoyama wrote: From: Caz Yokoyama Subject: RE: [Xen-devel] Virt-manager issue resolved To: "'Fasiha Ashraf'" , "'xen'" Cc: virt-tools-list@redhat.com, "'Fedora Xen'" Date: Thursday, 5 November, 2009, 11:03 AM Hello Fasiha, Thank you for summarizing the procedure. I don't have xend running. Here is the procedure I did. Install Fedora 11 x86_64, full update. su yum install transfig texi2html libaio-devel dev86 glibc-devel.i586 yum install PyXML bridge-utils qemu-img qemu-common wget http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/5.fc12/src/xen-3.4.1-5. fc12.src.rpm rpm -ivh xen-3.4.1-5.fc12.src.rpm cd cd rpmbuild/SPECS/ rpmbuild -bb xen.spec cd ~/rpmbuild/RPMS/x86_64 rpm -ivh *.rpm cat > /etc/yum.repos.d/fedora-virt-preview.repo << EOF [virt-preview] name=Virtualization Rawhide for Fedora 11 baseurl=http://markmc.fedorapeople.org/virt-preview/f11/\$basearch/ enabled=1 gpgcheck=0 EOF yum install libvirt libvirt-python python-virtinst virt-manager virt-viewer rpm -qa | grep virt cd virt-manager git clone git://git.kernel.org/pub/scm/linux/kernel/git/Jeremy/xen.git JeremyDom0 make menuconfig make all su make modules_install install reboot with xen > Does "virsh list" work # virsh list error: Unable to connect to 'localhost:8000': Connection refused error: failed to connect to the hypervisor "/etc/init.d/xend start" failed because /usr/sbin/xend returns 1. Suggestion? I have attached .config. -caz _____ From: Fasiha Ashraf [mailto:feehapk@yahoo.co.in] Sent: Thursday, October 29, 2009 10:31 PM To: 'xen'; Caz Yokoyama Cc: virt-tools-list@redhat.com; 'Fedora Xen' Subject: RE: [Xen-devel] Virt-manager issue resolved Latest virt-manager doesn't work with the previous version of libvirt on fc11. You need to build xen and latest libvirt form rpm. Follow the steps below. Install packages required by rpmbuild:- # yum install transfig texi2html libaio-devel dev86 glibc-devel.i586 Download xen-3.4.1-1.fc12.src.rpm # wget http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/src/xen-3.4.1-1. fc12.src.rpm # rpm -iv xen-3.4.1-1.fc12.src.rpm # cd /root/rpmbuild/SPECS # rpmbuild -ba ./xen.spec To install hypervisor and tools # cd ../RPMS/x86_64 # yum install xen-3.4.1-1.fc11.x86_64.rpm \ xen-debuginfo-3.4.1-1.fc11.x86_64.rpm \ xen-devel-3.4.1-1.fc11.x86_64.rpm \ xen-doc-3.4.1-1.fc11.x86_64.rpm \ xen-hypervisor-3.4.1-1.fc11.x86_64.rpm \ xen-libs-3.4.1-1.fc11.x86_64.rpm \ xen-runtime-3.4.1-1.fc11.x86_64.rpm To install new libvirt-0.7.0-6 # cat > /etc/yum.repos.d/fedora-virt-preview.repo << EOF [virt-preview] name=Virtualization Rawhide for Fedora 11 baseurl=http://markmc.fedorapeople.org/virt-preview/f11/\$basearch/ enabled=1 gpgcheck=0 EOF # yum install libvirt libvirt-python python-virtinst \ virt-manager virt-viewer # rpm -qa|grep virt the following list must be there may be with higher version numbers. libvirt-client-0.7.0-6.fc11.x86_64 libvirt-python-0.7.0-6.fc11.x86_64 virt-viewer-0.2.0-1.fc11.x86_64 virt-manager-0.7.0-5.fc11.x86_64 libvirt-0.7.0-6.fc11.x86_64 python-virtinst-0.500.0-1.fc11.noarch All the above steps should be done on the base kernel. Now compile and build xen with paravirt kernel. Now boot into the new xen kernel after starting xend run this # xm info to check. now you can use virt-manager in your set-up Regards, Fasiha Ashraf --- On Thu, 29/10/09, Caz Yokoyama wrote: From: Caz Yokoyama Subject: RE: [Xen-devel] Virt-manager issue resolved To: "'Fasiha Ashraf'" , "'xen'" Cc: virt-tools-list@redhat.com, "'Fedora Xen'" Date: Thursday, 29 October, 2009, 6:19 PM Could you summarize the procedure? I am trying to run virt-manager on Fedora 11 with Xen-3.5-unstable and Jeremy's Dom0 (git://git.kernel.org/pub/scm/linux/kernel/git/Jeremy/xen.git). I am wondering what option should be good on make on xen-3.5-unstable. I did Make xen tools Make install-xen install-tools What else I need do? Booting dom0 is fine. -caz _____ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Fasiha Ashraf Sent: Tuesday, October 27, 2009 4:49 AM To: Cole Robinson; xen Cc: Fedora Xen; virt-tools-list@redhat.com Subject: [Xen-devel] Virt-manager issue resolved I have got para-virt option enabled by installing vm using through http. the problem was, i was trying to install it from DVD. Now the issue is it doesn't find the file on the givern location although i can access them from the same location in browser. PFA, the screen shots for the problem. Regards Fasiha Ashraf --- On Mon, 26/10/09, Cole Robinson wrote: From: Cole Robinson Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName To: "Fasiha Ashraf" Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen users" , "Fedora Xen" Date: Monday, 26 October, 2009, 7:08 PM On 10/26/2009 09:24 AM, Fasiha Ashraf wrote: > It seem that its trying to install HVM guest that is not possible using virt-manager. > But you can see from the attached screen shot that virt type option is disabled and i can't select paravirt from it. what should i do? > here's the log .virt-manager/virt-manager.log > Please include the other information I asked for: virsh --connect xen:/// capabilities virsh --connect xen:/// version - Cole > [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0 > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0 > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default storage path is: /var/lib/libvirt/images/f.img > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f.img'. > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0 > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default storage path is: /var/lib/libvirt/images/f.img > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f.img'. > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating a VM f > Type: xen,hvm > UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 > Install Source: /dev/sr0 > OS: linux:fedora11 > Kernel args: None > Memory: 512 > Max Memory: 512 > # VCPUs: 1 > Filesize: 7.0 > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1565) Starting background install process > [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating storage volume 'f.img' with xml: > > f.img > 7516192768 > 7516192768 > > > > > [Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage volume 'f.img' install complete. > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating guest from: > > f > 524288 > 524288 > 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 > > hvm > /usr/lib/xen/boot/hvmloader > > > > > > > destroy > destroy > destroy > 1 > > /usr/lib64/xen/bin/qemu-dm > > > > > > > > > > > > > > > > > > > > > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (netdevhelper:176) Adding net device vif3.0 fe:ff:ff:ff:ff:ff /sys/class/net/vif3.0 (bridge: None) > [Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate. > [Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate. > [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate. > [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate. > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138) Removing physical net device vif3.0 from list. > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (opticalhelper:205) Optical device removed: /org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76) Uncaught Error: Unable to complete install: 'POST operation failed: xend_post: error from xen $ > Traceback (most recent call last): > File "/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install > dom = guest.start_install(False, meter = meter) > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install > return self._do_install(consolecb, meter, removeOld, wait) > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install > self.domain = self.conn.createLinux(install_xml, 0) > File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux > if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) > libvirtError: POST operation failed: xend_post: error from xen daemon: > ' > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window counter decremented to 0 > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting app normally. > > > > Fasiha Ashraf > > --- On Mon, 26/10/09, Cole Robinson wrote: > > From: Cole Robinson > Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName > To: "Fasiha Ashraf" > Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen users" , "Fedora Xen" > Date: Monday, 26 October, 2009, 5:58 PM > > On 10/26/2009 06:48 AM, Fasiha Ashraf wrote: >> Hi all >> I am facing this error while installing Guest VM on FC11 using virt-manager >> Unable to complete install ' Domain not found: xenUnifiedDomainLookupByName >> Traceback (most recent call last): >> File "/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install >> dom = guest.start_install(False, meter = meter) >> File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install >> return self._do_install(consolecb, meter, removeOld, wait) >> File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install >> self.domain = self.conn.createLinux(install_xml, 0) >> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux >> if ret is >> None:raise libvirtError('virDomainCreateLinux() failed', conn=self) >> libvirtError: Domain not found: xenUnifiedDomainLookupByName >> ' >> What should i do to avoid it? please help! >> Boris! How did you create PV guests using virt-manager i am following your article >> http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1- dom0-on-to-fedora-11-64-bit/#comment-623 >> PFA, a screen-shot of the virt-manager >> >> Regards, >> Fasiha Ashraf >> > > CCing fedora-xen list. > > Rather than a screenshot, can you include: > > ~/.virt-manager/virt-manager.log > virsh --connect xen:/// capabilities > virsh --connect xen:/// version > > Thanks, > Cole _____ Yahoo! India has a new look. Take a sneak peek . -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _____ Add whatever you love to the Yahoo! India homepage. Try now! _____ Now, send attachments up to 25MB with Yahoo! India Mail. Learn how . ------=_NextPart_000_0058_01CA5DCF.73A977E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello = Fasiha,

[root@tragi caz]# iptables -L

Chain INPUT (policy ACCEPT)

target     prot = opt source           &= nbsp;   = 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     = 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           &= nbsp;   = 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

REJECT     = all  --  anywhere           = ;  = anywhere           = ; reject-with icmp-host-prohibited

 

Chain OUTPUT (policy ACCEPT)

target     prot = opt source           &= nbsp;   = destination         =

Thank = you.

-caz

 =


From: Fasiha = Ashraf [mailto:feehapk@yahoo.co.in]
Sent: Thursday, November = 05, 2009 1:07 AM
To: 'xen'; Caz = Yokoyama
Cc: = virt-tools-list@redhat.com; 'Fedora Xen'
Subject: RE: [Xen-devel] Virt-manager issue resolved

 

Please send the output of #iptables -L

Regards,
Fasiha Ashraf

--- On Thu, 5/11/09, Caz Yokoyama = <cazyokoyama@gmail.com> wrote:


From: Caz Yokoyama <cazyokoyama@gmail.com>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <feehapk@yahoo.co.in>, "'xen'" <xen-devel@lists.xensource.com>
Cc: virt-tools-list@redhat.com, "'Fedora Xen'" <fedora-xen@redhat.com>
Date: Thursday, 5 November, 2009, 11:03 = AM

Hello Fasiha,

Thank you for summarizing the procedure. I don’t have xend running. = Here is the procedure I did.

Install Fedora 11 = x86_64, full update.

su

yum install = transfig texi2html libaio-devel dev86 = glibc-devel.i586

yum install PyXML = bridge-utils qemu-img qemu-common

wget = http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/5.fc12/src/xen-3.4.1= -5.fc12.src.rpm

rpm -ivh = xen-3.4.1-5.fc12.src.rpm

cd

cd = rpmbuild/SPECS/

rpmbuild -bb = xen.spec

cd = ~/rpmbuild/RPMS/x86_64

rpm -ivh = *.rpm

cat > = /etc/yum.repos.d/fedora-virt-preview.repo << = EOF

[virt-preview]

name=3DVirtualization Rawhide for = Fedora 11

baseurl=3Dhttp://markmc.fedorapeople.o= rg/virt-preview/f11/\$basearch/

enabled=3D1

gpgcheck=3D0

EOF

yum install = libvirt libvirt-python python-virtinst virt-manager virt-viewer

rpm -qa | grep = virt

cd = virt-manager

git clone git://git.kernel.org/pub/scm/linux/kernel/git/Jeremy/xen.git = JeremyDom0

make = menuconfig

make = all

su

make = modules_install install

reboot with = xen

 

> Does "virsh list" work

# virsh = list

error: Unable to connect to = ‘localhost:8000’: Connection refused

error: failed to connect to the = hypervisor

 

“/etc/init.d/xend start” = failed because /usr/sbin/xend returns 1.

 

Suggestion? I have attached = .config.

-caz

 


From: Fasiha Ashraf [mailto:feehapk@yahoo.co.in]
Sent: Thursday, October = 29, 2009 10:31 PM
To: 'xen'; Caz = Yokoyama
Cc: = virt-tools-list@redhat.com; 'Fedora Xen'
Subject: RE: = [Xen-devel] Virt-manager issue resolved

 

 Latest virt-manager doesn't work with the previous version of libvirt on = fc11. You need to build xen and latest libvirt form rpm. Follow the steps = below.

 

Install packages = required by rpmbuild:-
# yum install transfig texi2html libaio-devel dev86 = glibc-devel.i586
Download = xen-3.4.1-1.fc12.src.rpm
# wget = http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/src/xen-3.4.1= -1.fc12.src.rpm
# rpm -iv xen-3.4.1-1.fc12.src.rpm
# cd /root/rpmbuild/SPECS
# rpmbuild -ba ./xen.spec
To install = hypervisor and tools
# cd = ../RPMS/x86_64
# yum install xen-3.4.1-1.fc11.x86_64.rpm \
xen-debuginfo-3.4.1-1.fc11.x86_64.rpm \
xen-devel-3.4.1-1.fc11.x86_64.rpm \
xen-doc-3.4.1-1.fc11.x86_64.rpm \
xen-hypervisor-3.4.1-1.fc11.x86_64.rpm \
xen-libs-3.4.1-1.fc11.x86_64.rpm \
xen-runtime-3.4.1-1.fc11.x86_64.rpm

To install new = libvirt-0.7.0-6
# cat > /etc/yum.repos.d/fedora-virt-preview.repo << = EOF
[virt-preview]
name=3DVirtualization Rawhide for Fedora 11
baseurl=3Dhttp://markmc.fedorapeople.org/virt-preview/f11/\$= basearch/
enabled=3D1
gpgcheck=3D0
EOF

# yum install libvirt libvirt-python python-virtinst \
virt-manager virt-viewer

# rpm -qa|grep = virt

the following list must be there may be with higher version = numbers.

libvirt-client-0.7.0-6.fc11.x86_64
libvirt-python-0.7.0-6.fc11.x86_64
virt-viewer-0.2.0-1.fc11.x86_64
virt-manager-0.7.0-5.fc11.x86_64
libvirt-0.7.0-6.fc11.x86_64
python-virtinst-0.500.0-1.fc11.noarch


All the above steps should be done on the base kernel. Now compile = and build xen with paravirt kernel. Now boot into the new xen kernel = after starting xend run this

# xm = info

to check. now you can use virt-manager in your set-up


Regards,
Fasiha Ashraf

--- On Thu, 29/10/09, Caz = Yokoyama <cazyokoyama@gmail.com> wrote:


From: Caz Yokoyama <cazyokoyama@gmail.com>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <feehapk@yahoo.co.in>, "'xen'" <xen-devel@lists.xensource.com>
Cc: virt-tools-list@redhat.com, "'Fedora Xen'" <fedora-xen@redhat.com>
Date: Thursday, 29 October, 2009, 6:19 = PM

Could you summarize the procedure? I = am trying to run virt-manager on Fedora 11 with Xen-3.5-unstable and = Jeremy’s Dom0 (git://git.kernel.org/pub/scm/linux/kernel/git/Jeremy/xen.git). = I am wondering what option should be good on make on xen-3.5-unstable. I = did

Make xen tools

Make install-xen = install-tools

What else I need = do?

Booting dom0 is = fine.

-caz


From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Fasiha Ashraf
Sent: Tuesday, = October 27, 2009 4:49 AM
To: Cole Robinson; = xen
Cc: Fedora Xen; virt-tools-list@redhat.com
Subject: [Xen-devel] Virt-manager issue resolved

 

I have got para-virt option enabled = by installing vm using through http. the problem was, i was trying to install it from DVD. Now the issue is it doesn't find the file on = the givern location although i can access them from the same location = in browser. PFA, the screen shots for the problem.

Regards
Fasiha Ashraf

--- On Mon, 26/10/09, Cole = Robinson <crobinso@redhat.com>= wrote:


From: Cole Robinson <crobinso@redhat.com>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain = not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <feehapk@yahoo.co.in>
Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen users" <james.harper@bendigoit.com.au>, "Fedora = Xen" <fedora-xen@redhat.com>
Date: Monday, 26 October, 2009, 7:08 PM

On 10/26/2009 09:24 AM, Fasiha = Ashraf wrote:
> It seem that its trying to install HVM guest that is not = possible using virt-manager.
> But you can see from the attached screen shot that virt type = option is disabled and i can't select paravirt from it. what should i = do?
> here's the log .virt-manager/virt-manager.log
>

Please include the other information I asked for:

virsh --connect xen:/// capabilities
virsh --connect xen:/// version

- Cole

> [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local = file/path: /dev/sr0
> [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local = file/path: /dev/sr0
> [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG = (create:877) Default storage path is: /var/lib/libvirt/images/f.img
> [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for = pool 'default'. Creating volume 'f.img'.
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local = file/path: /dev/sr0
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG = (create:877) Default storage path is: /var/lib/libvirt/images/f.img
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for = pool 'default'. Creating volume 'f.img'.
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG = (create:1516) Creating a VM f
>   Type: xen,hvm
>   UUID: = 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3
>   Install Source: /dev/sr0
>   OS: linux:fedora11
>   Kernel args: None
>   Memory: 512
>   Max Memory: 512
>   # VCPUs: 1
>   Filesize: 7.0
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG = (create:1565) Starting background install process
> [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG = (Storage:950) Creating storage volume 'f.img' with xml:
> <volume>
>   <name>f.img</name>
= >   <capacity>7516192768</capacity>
= >   <allocation>7516192768</allocation>
= >   <target>
>     <format type=3D'raw'/>
>   </target>
> </volume>
> [Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG = (Storage:973) Storage volume 'f.img' install complete.
> [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG = (Guest:724) Creating guest from:
> <domain type=3D'xen'>
>   <name>f</name>
= >   <currentMemory>524288</currentMemory> >   <memory>524288</memory>
= >   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3<= ;/uuid>
>   <os>
>     <type = arch=3D'x86_64'>hvm</type>
>  =    <loader>/usr/lib/xen/boot/hvmloader</loader>= ;
>     <boot dev=3D'cdrom'/>
>   </os>
>   <features>
>  =    <acpi/><apic/><pae/>
>   </features>
>   <clock offset=3D"utc"/>
= >   <on_poweroff>destroy</on_poweroff>
= >   <on_reboot>destroy</on_reboot>
>   <on_crash>destroy</on_crash>
>   <vcpu>1</vcpu>
>   <devices>
>  =    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator= >
>     <disk type=3D'file' = device=3D'disk'>
>       <source file=3D'/var/lib/libvirt/images/f.img'/>
>       <target dev=3D'hda' = bus=3D'ide'/>
>     </disk>
>     <disk type=3D'block' = device=3D'cdrom'>
>       <source = dev=3D'/dev/sr0'/>
>       <target dev=3D'hdc' = bus=3D'ide'/>
>       <readonly/>
>  </disk>
>     <interface type=3D'bridge'>
>       <source = bridge=3D'eth0'/>
>       <mac = address=3D'00:16:36:08:9e:36'/>
>     </interface>
>     <input type=3D'tablet' = bus=3D'usb'/>
>     <graphics type=3D'vnc' = port=3D'-1'/>
>     <console type=3D'pty'/>
>     <sound model=3D'es1370'/>
>   </devices>
> </domain>
>
> [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG = (netdevhelper:176) Adding net device vif3.0 fe:ff:ff:ff:ff:ff /sys/class/net/vif3.0 = (bridge: None)
> [Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG = (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG = (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG = (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG = (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138) Removing physical net device vif3.0 from = list.
> [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (opticalhelper:205) Optical device removed: = /org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff
> [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG = (error:76) Uncaught Error: Unable to complete install: 'POST operation = failed: xend_post: error from xen $
> Traceback (most recent call last):
>   File = "/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install
>     dom =3D guest.start_install(False, = meter =3D meter)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", = line 628, in start_install
> File = "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install
>     return self._do_install(consolecb, = meter, removeOld, wait)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", = line 726, in _do_install
>     self.domain =3D self.conn.createLinux(install_xml, 0)
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line = 1077, in createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=3Dself)
> libvirtError: POST operation failed: xend_post: error from = xen daemon: <Fault 3: 'f'>
> '
> [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG = (engine:377) window counter decremented to 0
> [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG = (engine:385) Exiting app normally.
>
>
>
> Fasiha Ashraf
>
> --- On Mon, 26/10/09, Cole Robinson = <crobinso@redhat.com> wrote:
>
> From: Cole Robinson <crobinso@redhat.com>
> Subject: Re: [virt-tools-list] Unable to complete install: = 'Domain not found: xenUnifiedDomainLookupByName
> To: "Fasiha Ashraf" <feehapk@yahoo.co.in>
> Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, = "Xen users" <james.harper@bendigoit.com.au>, "Fedora = Xen" <fedora-xen@redhat.com>
> Date: Monday, 26 October, 2009, 5:58 PM
>
> On 10/26/2009 06:48 AM, Fasiha Ashraf wrote:
>> Hi all
>> I am facing this error while installing Guest VM on FC11 = using virt-manager
>> Unable to complete install '<class = 'libvirt.libvirtError'> Domain not found: xenUnifiedDomainLookupByName
>> Traceback (most recent call last):
>>    File "/usr/share/virt-manager/virtManager/create.py", line = 1575, in do_install
>>      dom =3D guest.start_install(False, = meter =3D meter)
>>    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", = line 628, in start_install
>>      return self._do_install(consolecb, = meter, removeOld, wait)
>>    File = "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install
>>      self.domain =3D self.conn.createLinux(install_xml, 0)
>>    File "/usr/lib64/python2.6/site-packages/libvirt.py", line = 1077, in createLinux
>>      if ret is
>>   None:raise = libvirtError('virDomainCreateLinux() failed', conn=3Dself)
>> libvirtError: Domain not found: = xenUnifiedDomainLookupByName
>> '
>> What should i do to avoid it? please help!
>> Boris! How did you create PV guests using virt-manager i = am following your article
>>   http://bderzhavets.wordpress.com/2009/08/20/setup-libvi= rt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/#comment-623
>> PFA, a screen-shot of the virt-manager
>>
>> Regards,
>> Fasiha Ashraf
>>
>
> CCing fedora-xen list.
>
> Rather than a screenshot, can you include:
>
> ~/.virt-manager/virt-manager.log
> virsh --connect xen:/// capabilities
> virsh --connect xen:/// version
>
> Thanks,
> Cole

 


Yahoo! = India has a new look. Take a sneak peek.


-----Inline Attachment Follows-----

______________________________________________= _
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

 


Add whatever you love to the Yahoo! India = homepage. Try now!




Now, send attachments up to 25MB with Yahoo! India Mail. Learn how.

------=_NextPart_000_0058_01CA5DCF.73A977E0-- --===============0692755876== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0692755876==--