[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Tue, 1 Mar 2011 21:04:58 +0530
  • Delivery-date: Tue, 01 Mar 2011 07:36:59 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=xoVfH6TEWDDK8mphCru3a5KgeL32J+rj9QQqlnOM2rpVSPfhcjvOMwaFwkizxBEx8p t2VNo/6HfgeSgchSGCV4ZCNJtqU0htGPBEK3wcaXkOV6vqczDGNQEgKsiQGCJ4lLvWRr AiW+qB5tVG8rq58odWJOfEKkCH8Oep+hfuP5o=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

virt-install is failing for some reason


virt-install --connect qemu:///system -n tapaspvg -r 512 --vcpus=1 -f /mnt/1/Guest\ OS/tapaspvg.qcow2 -s 8 -c /home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --vnc --noautoconsole --os-type linux --accelerate --network=bridge:br0 --hvm


Starting install...
Creating storage file tap 100% |=========================| 8.0 GB    00:00     
ERROR    Failed to add tap interface to bridge 'br0': No such device
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start tapaspvg'; otherwise, please
 restart your installation.
ERROR    Failed to add tap interface to bridge 'br0': No such device
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 943, in <module>
    main()
  File "/usr/bin/virt-install", line 839, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 894, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 660, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 758, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1097, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: Failed to add tap interface to bridge 'br0': No such device


###############################################################
then I tried (removing the bridge option here totally)

virt-install --connect qemu:///system -n tapaspvg -r 512 --vcpus=1 -f /mnt/1/Guest\ OS/tapaspvg.qcow2 -s 8 -c /home/tapas/Documents/ISO\'s/ubuntu-10.04.1-desktop-i386.iso --vnc --noautoconsole --os-type linux --accelerate  --hvm


Starting install...
ERROR    monitor socket did not show up.: Connection refused
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start tapaspvg'; otherwise, please
 restart your installation.
ERROR    monitor socket did not show up.: Connection refused
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 943, in <module>
    main()
  File "/usr/bin/virt-install", line 839, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 894, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 660, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 758, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1097, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: monitor socket did not show up.: Connection refused


On Tue, Mar 1, 2011 at 8:41 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
Before  I proceed with what you suggested I wanted to tell
virsh version shows following


Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.3

Can above output be some kind of source to several existing problems?

Though I am able to boot to pv-ops Dom0 kernel and xm info output confirms that.
xm info
host                   : tapas
release                : 2.6.32.27
version                : #1 SMP Tue Mar 1 12:52:19 IST 2011
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2100
hw_caps                : bfebfbff:20100800:00000000:00000940:0408e39d:00000000:00000001:00000000
virt_caps              :
total_memory           : 3036
free_memory            : 128
node_to_cpu            : node0:0-1
node_to_memory         : node0:128
node_to_dma32_mem      : node0:128
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dummy=dummy
cc_compiler            : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Mar  1 10:51:33 IST 2011
xend_config_format     : 4



 xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2870     2     r-----     36.9


On Tue, Mar 1, 2011 at 8:27 PM, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
> Now when I open virt-manager the option to install from Local ISO or
> PXE are greyed out.
> virt-manager version is 0.8.2

Try virt-install command line utility.

Boris.


--- On Tue, 3/1/11, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:

From: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: [Xen-users] virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel
To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Tuesday, March 1, 2011, 3:54 AM

Hi,
I just installed a pv-ops Dom0 2.6.32.27 Kernel on a 64 bit non VT machine.
Following instructions here
http://wiki.xensource.com/xenwiki/Xen4.0
for 64 bit Ubuntu 10.04

apt-get install bcc bin86 gawk bridge-utils iproute libcurl3
libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo
texlive-latex-base texlive-latex-recommended texlive-fonts-extra
texlive-fonts-recommended pciutils-dev mercurial build-essential make
gcc libc6-dev zlib1g-dev python python-dev python-twisted
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl
libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex

apt-get install gcc-multilib
apt-get install xz-utils

make xen
make tools
make install-xen
make install-tools PYTHON_PREFIX_ARG=

I did not do make install-stubdom.




It is a Ubuntu Desktop 10.04 amd64 bit version.
Then as  mentioned here on this guide
http://bderzhavets.wordpress.com/2010/03/26/virst-installvirt-manager-at-xen-4-0-rc8-2-6-32-10-pvops-dom0-on-top-ubuntu-karmic-koala-server/
(I did not follow the above guide strictly)

Commented out (xend-unix-server yes) in /etc/xen/xend-config.sxp ,
here is my xend-config.sxp
http://pastebin.com/M8CfrqBc
Then  exported variable  VIRSH_DEFAULT_CONNECT_URI=”xen:///”
in root’s .bashrc.
Then :-
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt

Now when I open virt-manager the option to install from Local ISO or
PXE are greyed out.
virt-manager version is 0.8.2


Let me know if there is any possibility of improvement so that I can
get the option of install from Local ISO here.




--
http://mightydreams.blogspot.com



--
http://mightydreams.blogspot.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.