Skip to contentSkip to conversation

Virt-manager issue resolved

DISCUSSION Fasiha Ashraf 3 participants 13 messages Oct 27, 2009 – Nov 7, 2009

lore
Share & tools
lore
#0 lore raw

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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 4 lines · Fasiha Ashraf

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

Quoted 131 lines

[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='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='xen'>
   <name>f</name>
   <currentMemory>524288</currentMemory>
   <memory>524288</memory>
   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>
   <os>
     <type arch='x86_64'>hvm</type>
     <loader>/usr/lib/xen/boot/hvmloader</loader>
     <boot dev='cdrom'/>
   </os>
   <features>
     <acpi/><apic/><pae/>
   </features>
   <clock offset="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='file' device='disk'>
       <source file='/var/lib/libvirt/images/f.img'/>
       <target dev='hda' bus='ide'/>
     </disk>
     <disk type='block' device='cdrom'>
       <source dev='/dev/sr0'/>
       <target dev='hdc' bus='ide'/>
       <readonly/>
  </disk>
     <interface type='bridge'>
       <source bridge='eth0'/>
       <mac address='00:16:36:08:9e:36'/>
     </interface>
     <input type='tablet' bus='usb'/>
     <graphics type='vnc' port='-1'/>
     <console type='pty'/>
     <sound model='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 = 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: <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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 5:58 PM

Quoted 20 lines · Fasiha Ashraf

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 = 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

Quoted 3 lines

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 8 lines

Rather than a screenshot, can you include:

~/.virt-manager/virt-manager.log
virsh --connect xen:/// capabilities
virsh --connect xen:/// version

Thanks,
Cole

Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf
Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line

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?

Quoted 2 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating

a VM f

Quoted 10 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating

storage volume 'f.img' with xml:

Quoted 9 lines

<volume>
<name>f.img</name> <capacity>7516192768</capacity> <allocation>7516192768</allocation> <target>

    <format type='raw'/>

</target>
</volume>
[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage

volume 'f.img' install complete.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 37 lines

<domain type='xen'>
<name>f</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid> <os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>
Quoted 4 lines

</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)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line

[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

Quoted 1 line

[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 $

Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in

_do_install

Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 1 line

if ret is None:raise libvirtError('virDomainCreateLinux() failed',

conn=self)

Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 2 lines

'
[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 9 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines

To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users"

<[email protected]>, "Fedora Xen" <[email protected]>

Quoted 5 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 2 lines · Fasiha Ashraf

Hi all
I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'> Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 6 lines
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line

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

Quoted 8 lines
Quoted 5 lines

PFA, a screen-shot of the virt-manager

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 8 lines

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
<http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew> .

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 5 lines · Caz Yokoyama

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

Quoted 8 lines

Make xen tools

Make install-xen install-tools

What else I need do?

Booting dom0 is fine.

Do you have /proc/xen mounted?

Does "virsh list" work?
Does "virsh --connect xen:/// capabilities" work?
Does "virsh --connect xen:/// version" work?

Did you install all the latest updates to F11? Iirc there was some xen-related fixes in the virt* updates..

-- Pasi

Quoted 213 lines

-caz

--------------------------------------------------------------------------

From: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf
Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 2 lines · Fasiha Ashraf

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?

Quoted 2 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path:

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path:

/dev/sr0

Quoted 2 lines

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path:

/dev/sr0

Quoted 2 lines

[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'.

Quoted 59 lines

[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='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='xen'>
<name>f</name>
<currentMemory>524288</currentMemory>
<memory>524288</memory>
<uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>
<os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>
Quoted 4 lines

</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)

Quoted 6 lines

[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

Quoted 1 line

[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 $

Quoted 17 lines

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: <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.

Quoted 8 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[1][email protected]> wrote:

From: Cole Robinson <[2][email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[3][email protected]>
Cc: [4][email protected], [5][email protected], "Xen users" <[6][email protected]>, "Fedora Xen"

<[7][email protected]>

Quoted 29 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 20 lines · Fasiha Ashraf

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 = 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
[8]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

Quoted 3 lines

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 8 lines

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. [9]Take a sneak peek.

References

Visible links
1. file:///mc/[email protected]
2. file:///mc/[email protected]
3. file:///mc/[email protected]
4. file:///mc/[email protected]
5. file:///mc/[email protected]
6. file:///mc/[email protected]
7. file:///mc/[email protected]
8. 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
9. http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Hello Pasi,
Thank you for the reply.
Do you have /proc/xen mounted? - yes, there is. But there is nothing there. Does "virsh list" work? - error: failed to connect to the hypervisor This means xend is not running. I see S98xend in /etc/rd5.d. "ps ax" shows xenwatch and xenbus, but no xend.
-caz
-----Original Message-----
From: Pasi Kärkkäinen [mailto:[email protected]]
Sent: Thursday, October 29, 2009 6:44 AM
To: Caz Yokoyama
Cc: 'Fasiha Ashraf'; 'xen'; [email protected]; 'Fedora Xen'
Subject: Re: [Xen-devel] Virt-manager issue resolved

Quoted 5 lines · Caz Yokoyama

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

Quoted 8 lines

Make xen tools

Make install-xen install-tools

What else I need do?

Booting dom0 is fine.

Do you have /proc/xen mounted?

Does "virsh list" work?
Does "virsh --connect xen:/// capabilities" work?
Does "virsh --connect xen:/// version" work?

Did you install all the latest updates to F11? Iirc there was some xen-related fixes in the virt* updates..

-- Pasi

Quoted 3 lines

-caz

--------------------------------------------------------------------------

Quoted 3 lines

From: [email protected] [mailto:[email protected]] On Behalf Of Fasiha

Ashraf

Quoted 8 lines

Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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

Quoted 1 line

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

Quoted 9 lines

browser. PFA, the screen shots for the problem.

Regards
Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines

To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users"

<[email protected]>, "Fedora Xen"

Quoted 5 lines

<[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line
Quoted 1 line

But you can see from the attached screen shot that virt type option is

disabled and i can't select paravirt from it. what

Quoted 4 lines

should i do?

Quoted 2 lines

here's the log .virt-manager/virt-manager.log

Quoted 8 lines

Please include the other information I asked for:

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

- Cole

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path:

Quoted 2 lines

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path:

Quoted 2 lines

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:737)

Path '/var/lib/libvirt/images' is target for pool

Quoted 2 lines

'default'. Creating volume 'f.img'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path:

Quoted 2 lines

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (VirtualDisk:737)

Path '/var/lib/libvirt/images' is target for pool

Quoted 2 lines

'default'. Creating volume 'f.img'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516)

Creating a VM f

Quoted 10 lines
Quoted 10 lines

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

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950)

Creating storage volume 'f.img' with xml:

Quoted 9 lines
Quoted 9 lines

<volume>
<name>f.img</name> <capacity>7516192768</capacity> <allocation>7516192768</allocation> <target>

    <format type='raw'/>

</target>
</volume>
[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973)

Storage volume 'f.img' install complete.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 40 lines
Quoted 40 lines

<domain type='xen'>
<name>f</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid> <os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>

</devices>
</domain>

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (netdevhelper:176)

Adding net device vif3.0 fe:ff:ff:ff:ff:ff

Quoted 2 lines

/sys/class/net/vif3.0 (bridge: None)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (opticalhelper:205)

Optical device removed:

Quoted 2 lines

/org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76) Uncaught

Error: Unable to complete install: 'POST operation

Quoted 3 lines

failed: xend_post: error from xen $

Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 1 line
Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 1 line
Quoted 1 line

if ret is None:raise libvirtError('virDomainCreateLinux() failed',

conn=self)

Quoted 1 line
Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 2 lines
Quoted 2 lines

'
[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 9 lines
Quoted 9 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[1][email protected]> wrote:

From: Cole Robinson <[2][email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines

To: "Fasiha Ashraf" <[3][email protected]>
Cc: [4][email protected], [5][email protected], "Xen users"

<[6][email protected]>, "Fedora Xen"

Quoted 6 lines

<[7][email protected]>

Quoted 5 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 2 lines · Fasiha Ashraf

Hi all
I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'> Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

[8]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

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

PFA, a screen-shot of the virt-manager

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 10 lines
Quoted 8 lines

Rather than a screenshot, can you include:

~/.virt-manager/virt-manager.log virsh --connect xen:/// capabilities virsh --connect xen:/// version

Thanks,
Cole

--------------------------------------------------------------------------

Quoted 5 lines

Yahoo! India has a new look. [9]Take a sneak peek.

References

Quoted 9 lines

Visible links
1. file:///mc/[email protected]
2. file:///mc/[email protected]
3. file:///mc/[email protected]
4. file:///mc/[email protected]
5. file:///mc/[email protected]
6. file:///mc/[email protected]
7. file:///mc/[email protected] 8.

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

Quoted 6 lines

9. http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list [email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Caz Yokoyama

 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 infoto check. now you can use virt-manager in your set-up

Regards,
Fasiha Ashraf

--- On Thu, 29/10/09, Caz Yokoyama <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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:
[email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf

Sent: Tuesday, October 27, 2009
4:49 AM

To: Cole Robinson; xen

Cc: Fedora Xen;
[email protected]

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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>

Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found:
xenUnifiedDomainLookupByName

To: "Fasiha Ashraf" <[email protected]>

Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

Date: Monday, 26 October, 2009, 7:08 PM

On

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line

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?

Quoted 3 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516)

Creating a VM f

Quoted 12 lines

   Type: xen,hvm

   UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3

   Install Source: /dev/sr0

   OS: linux:fedora11

   Kernel args: None

   Memory: 512

Quoted 7 lines

   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

Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950)

Creating storage volume 'f.img' with xml:

Quoted 10 lines

<volume>

   <name>f.img</name>

   <capacity>7516192768</capacity>

   <allocation>7516192768</allocation>

   <target>

Quoted 7 lines

     <format type='raw'/>

   </target>

</volume>

[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973)

Storage volume 'f.img' install complete.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 8 lines

<domain type='xen'>

   <name>f</name>

   <currentMemory>524288</currentMemory>

   <memory>524288</memory>

Quoted 7 lines

   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>

   <os>

     <type arch='x86_64'>hvm</type>

   <loader>/usr/lib/xen/boot/hvmloader</loader>

Quoted 20 lines

     <boot dev='cdrom'/>

   </os>

   <features>

     <acpi/><apic/><pae/>

   </features>

   <clock offset="utc"/>

   <on_poweroff>destroy</on_poweroff>

   <on_reboot>destroy</on_reboot>

   <on_crash>destroy</on_crash>

   <vcpu>1</vcpu>

Quoted 7 lines

   <devices>

     <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>

     <disk type='file' device='disk'>

       <source

file='/var/lib/libvirt/images/f.img'/>

Quoted 30 lines

       <target dev='hda' bus='ide'/>

     </disk>

     <disk type='block' device='cdrom'>

       <source dev='/dev/sr0'/>

       <target dev='hdc' bus='ide'/>

       <readonly/>

  </disk>

     <interface type='bridge'>

       <source bridge='eth0'/>

       <mac address='00:16:36:08:9e:36'/>

     </interface>

     <input type='tablet' bus='usb'/>

     <graphics type='vnc' port='-1'/>

     <console type='pty'/>

     <sound model='es1370'/>

Quoted 7 lines

   </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)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line

[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

Quoted 1 line

[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 $

Quoted 3 lines

Traceback (most recent call last):

   File

"/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install

Quoted 3 lines

     dom = guest.start_install(False, meter = meter)

   File

"/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install

Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py",

line 628, in start_install

Quoted 1 line

     return self._do_install(consolecb, meter, removeOld,

wait)

Quoted 1 line

   File

"/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install

Quoted 1 line

     self.domain = self.conn.createLinux(install_xml,

0)

Quoted 1 line

   File

"/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux

Quoted 1 line

     if ret is None:raise

libvirtError('virDomainCreateLinux() failed', conn=self)

Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 3 lines

'

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 11 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]>

Quoted 5 lines · wrote:

From: Cole Robinson <[email protected]>

Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 3 lines

To: "Fasiha Ashraf" <[email protected]>

users" <[email protected]>,
"Fedora Xen" <[email protected]>

Quoted 9 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 3 lines · Fasiha Ashraf

Hi all

I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'>

Domain not found: xenUnifiedDomainLookupByName

Quoted 3 lines
Quoted 3 lines

Traceback (most recent call last):

    File "/usr/share/virt-manager/virtManager/create.py",

line 1575, in do_install

Quoted 3 lines
Quoted 3 lines

      dom = guest.start_install(False, meter = meter)

    File

"/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install

Quoted 1 line
Quoted 1 line

      return self._do_install(consolecb, meter,

removeOld, wait)

Quoted 1 line
Quoted 1 line

    File

"/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install

Quoted 1 line
Quoted 1 line

      self.domain = self.conn.createLinux(install_xml,

0)

Quoted 1 line
Quoted 1 line

    File

"/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux

Quoted 3 lines
Quoted 3 lines

      if ret is

   None:raise libvirtError('virDomainCreateLinux()

failed', conn=self)

Quoted 7 lines
Quoted 7 lines

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

Quoted 26 lines
Quoted 11 lines

   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

Quoted 7 lines

virsh --connect xen:/// version

Thanks,

Cole

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

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
In reply to Caz Yokoyama
Quoted 3 lines · Caz Yokoyama

Hello Pasi,
Thank you for the reply.
Do you have /proc/xen mounted? - yes, there is. But there is nothing there.

So it's not mounted :)
You should have files there..

http://wiki.xensource.com/xenwiki/XenParavirtOps

Do you have this line in /etc/fstab:
none /proc/xen xenfs defaults 0 0

Quoted 3 lines

Does "virsh list" work? - error: failed to connect to the hypervisor This means xend is not running. I see S98xend in /etc/rd5.d. "ps ax" shows xenwatch and xenbus, but no xend.

xend doesn't start because /proc/xen is not mounted.. most probably.

-- Pasi

Quoted 299 lines

-caz
-----Original Message-----
From: Pasi Kärkkäinen [mailto:[email protected]]
Sent: Thursday, October 29, 2009 6:44 AM
To: Caz Yokoyama
Cc: 'Fasiha Ashraf'; 'xen'; [email protected]; 'Fedora Xen'
Subject: Re: [Xen-devel] Virt-manager issue resolved

Quoted 5 lines · Caz Yokoyama

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

Quoted 8 lines

Make xen tools

Make install-xen install-tools

What else I need do?

Booting dom0 is fine.

Do you have /proc/xen mounted?

Does "virsh list" work?
Does "virsh --connect xen:/// capabilities" work?
Does "virsh --connect xen:/// version" work?

Did you install all the latest updates to F11? Iirc there was some xen-related fixes in the virt* updates..

-- Pasi

Quoted 3 lines

-caz

--------------------------------------------------------------------------

Quoted 3 lines

From: [email protected] [mailto:[email protected]] On Behalf Of Fasiha

Ashraf

Quoted 8 lines

Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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

Quoted 1 line

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

Quoted 9 lines

browser. PFA, the screen shots for the problem.

Regards
Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines

To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users"

<[email protected]>, "Fedora Xen"

Quoted 5 lines

<[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line
Quoted 1 line

But you can see from the attached screen shot that virt type option is

disabled and i can't select paravirt from it. what

Quoted 4 lines

should i do?

Quoted 2 lines

here's the log .virt-manager/virt-manager.log

Quoted 8 lines

Please include the other information I asked for:

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

- Cole

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path:

Quoted 2 lines

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path:

Quoted 2 lines

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:737)

Path '/var/lib/libvirt/images' is target for pool

Quoted 2 lines

'default'. Creating volume 'f.img'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG

(DistroInstaller:119) DistroInstaller location is a local file/path:

Quoted 2 lines

/dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (VirtualDisk:737)

Path '/var/lib/libvirt/images' is target for pool

Quoted 2 lines

'default'. Creating volume 'f.img'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516)

Creating a VM f

Quoted 10 lines
Quoted 10 lines

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

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950)

Creating storage volume 'f.img' with xml:

Quoted 9 lines
Quoted 9 lines

<volume>
<name>f.img</name> <capacity>7516192768</capacity> <allocation>7516192768</allocation> <target>

    <format type='raw'/>

</target>
</volume>
[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973)

Storage volume 'f.img' install complete.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 40 lines
Quoted 40 lines

<domain type='xen'>
<name>f</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid> <os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>

</devices>
</domain>

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (netdevhelper:176)

Adding net device vif3.0 fe:ff:ff:ff:ff:ff

Quoted 2 lines

/sys/class/net/vif3.0 (bridge: None)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (opticalhelper:205)

Optical device removed:

Quoted 2 lines

/org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76) Uncaught

Error: Unable to complete install: 'POST operation

Quoted 3 lines

failed: xend_post: error from xen $

Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 1 line
Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 1 line
Quoted 1 line

if ret is None:raise libvirtError('virDomainCreateLinux() failed',

conn=self)

Quoted 1 line
Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 2 lines
Quoted 2 lines

'
[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line
Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 9 lines
Quoted 9 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[1][email protected]> wrote:

From: Cole Robinson <[2][email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines

To: "Fasiha Ashraf" <[3][email protected]>
Cc: [4][email protected], [5][email protected], "Xen users"

<[6][email protected]>, "Fedora Xen"

Quoted 6 lines

<[7][email protected]>

Quoted 5 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 2 lines · Fasiha Ashraf

Hi all
I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'> Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

[8]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

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

PFA, a screen-shot of the virt-manager

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 10 lines
Quoted 8 lines

Rather than a screenshot, can you include:

~/.virt-manager/virt-manager.log virsh --connect xen:/// capabilities virsh --connect xen:/// version

Thanks,
Cole

--------------------------------------------------------------------------

Quoted 5 lines

Yahoo! India has a new look. [9]Take a sneak peek.

References

Quoted 9 lines

Visible links
1. file:///mc/[email protected]
2. file:///mc/[email protected]
3. file:///mc/[email protected]
4. file:///mc/[email protected]
5. file:///mc/[email protected]
6. file:///mc/[email protected]
7. file:///mc/[email protected] 8.

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

Quoted 6 lines

9. http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list [email protected]
http://lists.xensource.com/xen-devel

#6 lore raw
In reply to Fasiha Ashraf
Quoted 7 lines · Fasiha Ashraf

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

I'd recommend taking 3.4.1-5 package.. it has some bugfixes compared to -1.

-- Pasi

#7 lore raw
In reply to Fasiha Ashraf

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

Quoted 1 line

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:[email protected]]
Sent: Thursday, October 29, 2009 10:31 PM
To: 'xen'; Caz Yokoyama
Cc: [email protected]; '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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf
Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line

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?

Quoted 2 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating

a VM f

Quoted 10 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating

storage volume 'f.img' with xml:

Quoted 9 lines

<volume>
<name>f.img</name> <capacity>7516192768</capacity> <allocation>7516192768</allocation> <target>

    <format type='raw'/>

</target>
</volume>
[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage

volume 'f.img' install complete.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 37 lines

<domain type='xen'>
<name>f</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid> <os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>
Quoted 4 lines

</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)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line

[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

Quoted 1 line

[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 $

Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in

_do_install

Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 1 line

if ret is None:raise libvirtError('virDomainCreateLinux() failed',

conn=self)

Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 2 lines

'
[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 9 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines

To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users"

<[email protected]>, "Fedora Xen" <[email protected]>

Quoted 5 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 2 lines · Fasiha Ashraf

Hi all
I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'> Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 6 lines
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line

<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>
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

Quoted 8 lines
Quoted 5 lines

PFA, a screen-shot of the virt-manager

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 8 lines

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.
<http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew> Take a sneak peek.

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

_______________________________________________
Xen-devel mailing list
[email protected]
<http://lists.xensource.com/xen-devel> http://lists.xensource.com/xen-devel

_____

Add whatever you love to the Yahoo! India homepage.
<http://in.rd.yahoo.com/tagline_metro_3/*http:/in.yahoo.com/trynew> Try now!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

Please send the output of #iptables -L

Regards,
Fasiha Ashraf

--- On Thu, 5/11/09, Caz Yokoyama <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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

Quoted 1 line

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:[email protected]]

Sent: Thursday, October 29, 2009
10:31 PM

To: 'xen'; Caz Yokoyama

Cc: [email protected];
'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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>

Subject: RE: [Xen-devel] Virt-manager issue resolved

To: "'Fasiha Ashraf'" <[email protected]>,
"'xen'" <[email protected]>

Cc: [email protected], "'Fedora Xen'"
<[email protected]>

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:
[email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf

Sent: Tuesday, October 27, 2009 4:49
AM

To: Cole Robinson; xen

Cc: Fedora Xen;
[email protected]

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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>

Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName

To: "Fasiha Ashraf" <[email protected]>

Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

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='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='xen'>

>   <name>f</name>

>   <currentMemory>524288</currentMemory>

>   <memory>524288</memory>

>   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>

>   <os>

>     <type arch='x86_64'>hvm</type>

> <loader>/usr/lib/xen/boot/hvmloader</loader>

>     <boot dev='cdrom'/>

>   </os>

>   <features>

>     <acpi/><apic/><pae/>

>   </features>

>   <clock offset="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='file' device='disk'>

>       <source
file='/var/lib/libvirt/images/f.img'/>

>       <target dev='hda' bus='ide'/>

>     </disk>

>     <disk type='block' device='cdrom'>

>       <source dev='/dev/sr0'/>

>       <target dev='hdc' bus='ide'/>

>       <readonly/>

>  </disk>

>     <interface type='bridge'>

>       <source bridge='eth0'/>

>       <mac
address='00:16:36:08:9e:36'/>

>     </interface>

>     <input type='tablet' bus='usb'/>

>     <graphics type='vnc' port='-1'/>

>     <console type='pty'/>

>     <sound model='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 = 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:
<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 <[email protected]> wrote:

>

> From: Cole Robinson <[email protected]>

> Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName

> To: "Fasiha Ashraf" <[email protected]>

> Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

> 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 = 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

[email protected]

http://lists.xensource.com/xen-devel

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

From cricket scores to your friends. Try the Yahoo! India Homepage! http://in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw

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:[email protected]]
Sent: Thursday, November 05, 2009 1:07 AM
To: 'xen'; Caz Yokoyama
Cc: [email protected]; '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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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

Quoted 1 line

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:[email protected]]
Sent: Thursday, October 29, 2009 10:31 PM
To: 'xen'; Caz Yokoyama
Cc: [email protected]; '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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf
Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line

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?

Quoted 2 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating

a VM f

Quoted 10 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating

storage volume 'f.img' with xml:

Quoted 9 lines

<volume>
<name>f.img</name> <capacity>7516192768</capacity> <allocation>7516192768</allocation> <target>

    <format type='raw'/>

</target>
</volume>
[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage

volume 'f.img' install complete.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 37 lines

<domain type='xen'>
<name>f</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid> <os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>
Quoted 4 lines

</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)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line

[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

Quoted 1 line

[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 $

Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in

_do_install

Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 1 line

if ret is None:raise libvirtError('virDomainCreateLinux() failed',

conn=self)

Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 2 lines

'
[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 9 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines

To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users"

<[email protected]>, "Fedora Xen" <[email protected]>

Quoted 5 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 2 lines · Fasiha Ashraf

Hi all
I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'> Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 6 lines
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line

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

Quoted 8 lines
Quoted 5 lines

PFA, a screen-shot of the virt-manager

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 8 lines

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
<http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew> .

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_____

Add whatever you love to the Yahoo! India homepage. Try now!
<http://in.rd.yahoo.com/tagline_metro_3/*http:/in.yahoo.com/trynew>

_____

Now, send attachments up to 25MB with Yahoo! India Mail. Learn how
<http://in.rd.yahoo.com/tagline_galaxy_2/*http:/in.overview.mail.yahoo.com/p
hotos> .

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

Try starting xend and xendomains after flushing iptable rules. #iptables -F run
#iptables -F
then
#xend start
and then inside /etc/init.d
#./xendomains start
now to check whether xend is running or not. Use #xm info or #xm list

Regards,
Fasiha Ashraf

--- On Thu, 5/11/09, Caz Yokoyama <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: "'Fedora Xen'" <[email protected]>, [email protected]
Date: Thursday, 5 November, 2009, 5:21 PM

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:[email protected]]

Sent: Thursday, November 05, 2009
1:07 AM

To: 'xen'; Caz Yokoyama

Cc: [email protected];
'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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>

Subject: RE: [Xen-devel] Virt-manager issue resolved

To: "'Fasiha Ashraf'" <[email protected]>,
"'xen'" <[email protected]>

Cc: [email protected], "'Fedora Xen'"
<[email protected]>

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

Quoted 1 line

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:[email protected]]

Sent: Thursday, October 29, 2009
10:31 PM

To: 'xen'; Caz Yokoyama

Cc: [email protected];
'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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>

Subject: RE: [Xen-devel] Virt-manager issue resolved

To: "'Fasiha Ashraf'" <[email protected]>,
"'xen'" <[email protected]>

Cc: [email protected], "'Fedora Xen'" <[email protected]>

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: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf

Sent: Tuesday, October 27,
2009 4:49 AM

To: Cole Robinson; xen

Cc: Fedora Xen;
[email protected]

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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>

Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName

To: "Fasiha Ashraf" <[email protected]>

Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

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='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='xen'>

>   <name>f</name>

>   <currentMemory>524288</currentMemory>

>   <memory>524288</memory>

>   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>

>   <os>

>     <type arch='x86_64'>hvm</type>

> <loader>/usr/lib/xen/boot/hvmloader</loader>

>     <boot dev='cdrom'/>

>   </os>

>   <features>

>     <acpi/><apic/><pae/>

>   </features>

>   <clock offset="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='file' device='disk'>

>       <source
file='/var/lib/libvirt/images/f.img'/>

>       <target dev='hda' bus='ide'/>

>     </disk>

>     <disk type='block' device='cdrom'>

>       <source dev='/dev/sr0'/>

>       <target dev='hdc' bus='ide'/>

>       <readonly/>

>  </disk>

>     <interface type='bridge'>

>       <source bridge='eth0'/>

>       <mac address='00:16:36:08:9e:36'/>

>     </interface>

>     <input type='tablet' bus='usb'/>

>     <graphics type='vnc' port='-1'/>

>     <console type='pty'/>

>     <sound model='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 = 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: <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 <[email protected]> wrote:

>

> From: Cole Robinson <[email protected]>

> Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName

> To: "Fasiha Ashraf" <[email protected]>

> Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

> 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 = 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

[email protected]

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.

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

Hello Fasiha,

[root@tragi caz]# iptables -F

[root@tragi caz]# iptables -L

Chain INPUT (policy ACCEPT)

target prot opt source destination

Chain FORWARD (policy ACCEPT)

target prot opt source destination

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

[root@tragi caz]# sh -x /etc/init.d/xend start

+ . /etc/rc.d/init.d/functions

++ TEXTDOMAIN=initscripts

++ umask 022

++ PATH=/sbin:/usr/sbin:/bin:/usr/bin

++ export PATH

++ '[' -z '' ']'

++ COLUMNS=80

++ '[' -z '' ']'

+++ /sbin/consoletype

++ CONSOLETYPE=pty

++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'

++ . /etc/profile.d/lang.sh

+++ sourced=0

+++ '[' -n en_US.UTF-8 ']'

+++ saved_lang=en_US.UTF-8

+++ '[' -f /root/.i18n ']'

+++ LANG=en_US.UTF-8

+++ unset saved_lang

+++ '[' 0 = 1 ']'

+++ unset sourced

+++ unset langfile

++ unset LANGSH_SOURCED

++ '[' -z '' ']'

++ '[' -f /etc/sysconfig/init ']'

++ . /etc/sysconfig/init

+++ BOOTUP=color

+++ RES_COL=60

+++ MOVE_TO_COL='echo -en \033[60G'

+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'

+++ SETCOLOR_FAILURE='echo -en \033[0;31m'

+++ SETCOLOR_WARNING='echo -en \033[0;33m'

+++ SETCOLOR_NORMAL='echo -en \033[0;39m'

+++ LOGLEVEL=3

+++ PROMPT=yes

+++ AUTOSWAP=no

++ '[' pty = serial ']'

++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpm save\)$/d'

+ '[' '!' -d /proc/xen ']'

+ grep -q control_d /proc/xen/capabilities

+ RETVAL=0

+ case "$1" in

+ start

+ echo -n 'Starting xend daemon: '

Starting xend daemon: + /usr/sbin/xend

+ RETVAL=1

+ test 1 = 0

+ echo_failure

+ '[' color = color ']'

+ echo -en '\033[60G'

+ echo -n '['

[+ '[' color = color ']'

+ echo -en '\033[0;31m'

+ echo -n FAILED

FAILED+ '[' color = color ']'

+ echo -en '\033[0;39m'

+ echo -n ']'

]+ echo -ne '\r'

+ return 1

+ echo

+ '[' 1 -eq 0 ']'

+ exit 1

[root@tragi caz]# sh -x /etc/init.d/xendomains start

+ '[' -e /proc/xen/privcmd ']'

+ LOCKFILE=/var/lock/subsys/xendomains

+ XENDOM_CONFIG=/etc/sysconfig/xendomains

+ test -r /etc/sysconfig/xendomains

+ . /etc/sysconfig/xendomains

++ XENDOMAINS_SYSRQ=

++ XENDOMAINS_USLEEP=100000

++ XENDOMAINS_CREATE_USLEEP=5000000

++ XENDOMAINS_MIGRATE=

++ XENDOMAINS_SAVE=/var/lib/xen/save

++ XENDOMAINS_SHUTDOWN='--halt --wait'

++ XENDOMAINS_SHUTDOWN_ALL='--all --halt --wait'

++ XENDOMAINS_RESTORE=true

++ XENDOMAINS_AUTO=/etc/xen/auto

++ XENDOMAINS_AUTO_ONLY=false

++ XENDOMAINS_STOP_MAXWAIT=300

/etc/init.d/xendomains: line 125: syntax error near unexpected token `<'

/etc/init.d/xendomains: line 125: ` if test -z "$RUNLEVEL"; then read
RUNLEVEL REST < <(/sbin/runlevel); fi'

[root@tragi caz]# xm info

Error: Unable to connect to xend: No such file or directory. Is xend running?

The line which produces syntax error above does not produces an error when it is invoked manually. What xendomains do you have?

-caz

_____

From: Fasiha Ashraf [mailto:[email protected]]
Sent: Thursday, November 05, 2009 10:42 PM
To: 'xen'; Caz Yokoyama
Cc: 'Fedora Xen'; [email protected]
Subject: RE: [Xen-devel] Virt-manager issue resolved

Try starting xend and xendomains after flushing iptable rules. #iptables -F run
#iptables -F
then
#xend start
and then inside /etc/init.d
#./xendomains start
now to check whether xend is running or not. Use #xm info or #xm list

Regards,
Fasiha Ashraf

--- On Thu, 5/11/09, Caz Yokoyama <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: "'Fedora Xen'" <[email protected]>, [email protected]
Date: Thursday, 5 November, 2009, 5:21 PM

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:[email protected]]
Sent: Thursday, November 05, 2009 1:07 AM
To: 'xen'; Caz Yokoyama
Cc: [email protected]; '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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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

Quoted 1 line

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:[email protected]]
Sent: Thursday, October 29, 2009 10:31 PM
To: 'xen'; Caz Yokoyama
Cc: [email protected]; '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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: [email protected], "'Fedora Xen'" <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf
Sent: Tuesday, October 27, 2009 4:49 AM
To: Cole Robinson; xen
Cc: Fedora Xen; [email protected]
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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>
Date: Monday, 26 October, 2009, 7:08 PM

Quoted 1 line · Fasiha Ashraf

It seem that its trying to install HVM guest that is not possible using

virt-manager.

Quoted 1 line

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?

Quoted 2 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119)

DistroInstaller location is a local file/path: /dev/sr0

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default

storage path is: /var/lib/libvirt/images/f.img

Quoted 1 line

[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'.

Quoted 1 line

[Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating

a VM f

Quoted 10 lines

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

Quoted 1 line

[Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating

storage volume 'f.img' with xml:

Quoted 9 lines

<volume>
<name>f.img</name> <capacity>7516192768</capacity> <allocation>7516192768</allocation> <target>

    <format type='raw'/>

</target>
</volume>
[Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage

volume 'f.img' install complete.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating

guest from:

Quoted 37 lines

<domain type='xen'>
<name>f</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid> <os>

    <type arch='x86_64'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="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='file' device='disk'>
      <source file='/var/lib/libvirt/images/f.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
 </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <mac address='00:16:36:08:9e:36'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1'/>
    <console type='pty'/>
    <sound model='es1370'/>
Quoted 4 lines

</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)

Quoted 1 line

[Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is

slow, not running at requested rate.

Quoted 1 line

[Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)

Removing physical net device vif3.0 from list.

Quoted 1 line

[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

Quoted 1 line

[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 $

Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 1 line

File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in

start_install

Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in

_do_install

Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 1 line

if ret is None:raise libvirtError('virDomainCreateLinux() failed',

conn=self)

Quoted 1 line

libvirtError: POST operation failed: xend_post: error from xen daemon:

<Fault 3: 'f'>

Quoted 2 lines

'
[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window

counter decremented to 0

Quoted 1 line

[Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting

app normally.

Quoted 9 lines

Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <[email protected]> wrote:

From: Cole Robinson <[email protected]>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines

To: "Fasiha Ashraf" <[email protected]>
Cc: [email protected], [email protected], "Xen users"

<[email protected]>, "Fedora Xen" <[email protected]>

Quoted 5 lines

Date: Monday, 26 October, 2009, 5:58 PM

Quoted 2 lines · Fasiha Ashraf

Hi all
I am facing this error while installing Guest VM on FC11 using

virt-manager

Quoted 1 line
Quoted 1 line

Unable to complete install '<class 'libvirt.libvirtError'> Domain not

found: xenUnifiedDomainLookupByName

Quoted 2 lines
Quoted 2 lines

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1575, in

do_install

Quoted 2 lines
Quoted 2 lines

dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628,

in start_install

Quoted 2 lines
Quoted 2 lines

return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,

in _do_install

Quoted 2 lines
Quoted 2 lines

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in

createLinux

Quoted 6 lines
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line

<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>
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

Quoted 8 lines
Quoted 5 lines

PFA, a screen-shot of the virt-manager

Regards,
Fasiha Ashraf

CCing fedora-xen list.

Quoted 8 lines

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.
<http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew> Take a sneak peek.

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

_______________________________________________
Xen-devel mailing list
[email protected]
<http://lists.xensource.com/xen-devel> http://lists.xensource.com/xen-devel

_____

Add whatever you love to the Yahoo! India homepage.
<http://in.rd.yahoo.com/tagline_metro_3/*http:/in.yahoo.com/trynew> Try now!

_____

Now, send attachments up to 25MB with Yahoo! India Mail.
<http://in.rd.yahoo.com/tagline_galaxy_2/*http:/in.overview.mail.yahoo.com/p
hotos> Learn how.

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

_______________________________________________
Xen-devel mailing list
[email protected]
<http://lists.xensource.com/xen-devel> http://lists.xensource.com/xen-devel

_____

Now, send attachments up to 25MB with Yahoo! India Mail.
<http://in.rd.yahoo.com/tagline_galaxy_2/*http:/in.overview.mail.yahoo.com/p
hotos> Learn how.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#12 lore raw

you mean "#xend start" and "#./xendomains start" doesn't work in /etc/init.d? At first place dom0 must be listed in #xm list as a running domain

Regards,
Fasiha Ashraf

--- On Fri, 6/11/09, Caz Yokoyama <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>
Subject: RE: [Xen-devel] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>
Cc: "'Fedora Xen'" <[email protected]>, [email protected]
Date: Friday, 6 November, 2009, 5:03 PM

Hello Fasiha,

[root@tragi caz]#
iptables -F

[root@tragi caz]#
iptables -L

Chain INPUT (policy
ACCEPT)

target
prot opt
source
destination

Chain FORWARD
(policy ACCEPT)

target
prot opt
source
destination

Chain OUTPUT
(policy ACCEPT)

target
prot opt
source
destination

[root@tragi caz]#
sh -x /etc/init.d/xend start

+ .
/etc/rc.d/init.d/functions

++
TEXTDOMAIN=initscripts

++ umask 022

++
PATH=/sbin:/usr/sbin:/bin:/usr/bin

++ export PATH

++ '[' -z '' ']'

++ COLUMNS=80

++ '[' -z '' ']'

+++
/sbin/consoletype

++ CONSOLETYPE=pty

++ '[' -f
/etc/sysconfig/i18n -a -z '' -a -z '' ']'

++ .
/etc/profile.d/lang.sh

+++ sourced=0

+++ '[' -n
en_US.UTF-8 ']'

+++
saved_lang=en_US.UTF-8

+++ '[' -f
/root/.i18n ']'

+++
LANG=en_US.UTF-8

+++ unset
saved_lang

+++ '[' 0 = 1 ']'

+++ unset sourced

+++ unset langfile

++ unset
LANGSH_SOURCED

++ '[' -z '' ']'

++ '[' -f
/etc/sysconfig/init ']'

++ .
/etc/sysconfig/init

+++ BOOTUP=color

+++ RES_COL=60

+++
MOVE_TO_COL='echo -en \033[60G'

+++
SETCOLOR_SUCCESS='echo -en \033[0;32m'

+++
SETCOLOR_FAILURE='echo -en \033[0;31m'

+++
SETCOLOR_WARNING='echo -en \033[0;33m'

+++
SETCOLOR_NORMAL='echo -en \033[0;39m'

+++ LOGLEVEL=3

+++ PROMPT=yes

+++ AUTOSWAP=no

++ '[' pty = serial
']'

++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'

+ '[' '!' -d
/proc/xen ']'

+ grep -q control_d
/proc/xen/capabilities

+ RETVAL=0

+ case
"$1" in

+ start

+ echo -n 'Starting
xend daemon: '

Starting xend
daemon: + /usr/sbin/xend

+ RETVAL=1

+ test 1 = 0

+ echo_failure

+ '[' color = color
']'

+ echo -en
'\033[60G'


+ echo -n '['

[+ '[' color =
color ']'

+ echo -en
'\033[0;31m'

+ echo -n FAILED

FAILED+ '[' color =
color ']'

+ echo -en
'\033[0;39m'

+ echo -n ']'

]+ echo -ne '\r'

+ return 1

+ echo

+ '[' 1 -eq 0 ']'

+ exit 1

[root@tragi caz]#
sh -x /etc/init.d/xendomains start

+ '[' -e
/proc/xen/privcmd ']'

+
LOCKFILE=/var/lock/subsys/xendomains

+
XENDOM_CONFIG=/etc/sysconfig/xendomains

+ test -r
/etc/sysconfig/xendomains

+ .
/etc/sysconfig/xendomains

++
XENDOMAINS_SYSRQ=

++
XENDOMAINS_USLEEP=100000

++
XENDOMAINS_CREATE_USLEEP=5000000

++
XENDOMAINS_MIGRATE=

++
XENDOMAINS_SAVE=/var/lib/xen/save

++
XENDOMAINS_SHUTDOWN='--halt --wait'

++
XENDOMAINS_SHUTDOWN_ALL='--all --halt --wait'

++
XENDOMAINS_RESTORE=true

++
XENDOMAINS_AUTO=/etc/xen/auto

++
XENDOMAINS_AUTO_ONLY=false

++
XENDOMAINS_STOP_MAXWAIT=300

/etc/init.d/xendomains:
line 125: syntax error near unexpected token `<'

/etc/init.d/xendomains:
line 125: `     if test -z "$RUNLEVEL"; then read
RUNLEVEL REST < <(/sbin/runlevel); fi'

[root@tragi caz]#
xm info

Error: Unable to
connect to xend: No such file or directory. Is xend running?

The line which produces
syntax error above does not produces an error when it is invoked manually. What xendomains do you have?

-caz

From: Fasiha Ashraf
[mailto:[email protected]]

Sent: Thursday, November 05, 2009
10:42 PM

To: 'xen'; Caz Yokoyama

Cc: 'Fedora Xen';
[email protected]

Subject: RE: [Xen-devel]
Virt-manager issue resolved

Try starting xend and xendomains after
flushing iptable rules. #iptables -F

run

#iptables -F

then

#xend start

and then inside /etc/init.d

#./xendomains start

now to check whether xend is running or not. Use #xm info or #xm list

Regards,

Fasiha Ashraf

--- On Thu, 5/11/09, Caz Yokoyama <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>

Subject: RE: [Xen-devel] Virt-manager issue resolved

To: "'Fasiha Ashraf'" <[email protected]>,
"'xen'" <[email protected]>

Cc: "'Fedora Xen'" <[email protected]>,
[email protected]

Date: Thursday, 5 November, 2009, 5:21 PM

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:[email protected]]

Sent: Thursday, November 05,
2009 1:07 AM

To: 'xen'; Caz Yokoyama

Cc: [email protected];
'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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>

Subject: RE: [Xen-devel] Virt-manager issue resolved

To: "'Fasiha Ashraf'" <[email protected]>,
"'xen'" <[email protected]>

Cc: [email protected], "'Fedora Xen'" <[email protected]>

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:[email protected]]

Sent: Thursday, October 29,
2009 10:31 PM

To: 'xen'; Caz Yokoyama

Cc:
[email protected]; '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 <[email protected]> wrote:

From: Caz Yokoyama <[email protected]>

Subject: RE: [Xen-devel] Virt-manager issue resolved

To: "'Fasiha Ashraf'" <[email protected]>, "'xen'" <[email protected]>

Cc: [email protected], "'Fedora Xen'" <[email protected]>

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: [email protected] [mailto:[email protected]] On Behalf Of Fasiha Ashraf

Sent: Tuesday, October 27,
2009 4:49 AM

To: Cole Robinson; xen

Cc: Fedora Xen;
[email protected]

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 <[email protected]> wrote:

From: Cole Robinson <[email protected]>

Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not
found: xenUnifiedDomainLookupByName

To: "Fasiha Ashraf" <[email protected]>

Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

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='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='xen'>

>   <name>f</name>

>   <currentMemory>524288</currentMemory>

>   <memory>524288</memory>

>   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>

>   <os>

>     <type arch='x86_64'>hvm</type>

> <loader>/usr/lib/xen/boot/hvmloader</loader>

>     <boot dev='cdrom'/>

>   </os>

>   <features>

>     <acpi/><apic/><pae/>

>   </features>

>   <clock offset="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='file' device='disk'>

>       <source
file='/var/lib/libvirt/images/f.img'/>

>       <target dev='hda' bus='ide'/>

>     </disk>

>     <disk type='block' device='cdrom'>

>       <source dev='/dev/sr0'/>

>       <target dev='hdc' bus='ide'/>

>       <readonly/>

>  </disk>

>     <interface type='bridge'>

>       <source bridge='eth0'/>

>       <mac
address='00:16:36:08:9e:36'/>

>     </interface>

>     <input type='tablet' bus='usb'/>

>     <graphics type='vnc' port='-1'/>

>     <console type='pty'/>

>     <sound model='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 = 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: <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 <[email protected]> wrote:

>

> From: Cole Robinson <[email protected]>

> Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName

> To: "Fasiha Ashraf" <[email protected]>

> Cc: [email protected], [email protected], "Xen users" <[email protected]>, "Fedora Xen" <[email protected]>

> 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 = 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

[email protected]

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.

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

_______________________________________________

Xen-devel mailing list

[email protected]

http://lists.xensource.com/xen-devel

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

Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel