[one-users] Problem deploying the example ttylinux image
Jack Jill
jacknjill111 at gmail.com
Mon Feb 1 07:03:34 PST 2010
Thank you for the response.
I purged the version (1.2.something) that I got from the Ubuntu
repositories, downloaded the 1.4 tar.gz and installed it on the Front
Controller. Deployed the ttylinux image and that worked i.e. I could ssh to
it when it was in the running state.
Perhaps when I find sometime I will reinstall the version from the Ubuntu
repositories and try the debug option you sent me.
Thanks,
RS
On Mon, Feb 1, 2010 at 5:38 AM, Javier Fontan <jfontan at gmail.com> wrote:
> Hello,
>
> Seems that something weird is happening in kvm driver. Can you add
> debugging information to the driver? You have to add this line:
>
> ONE_MAD_DEBUG=1
>
> to defaultrc file located in etc directory. After that restart
> OpenNebula daemons and you will have more information in a new log
> file called one_vmm_kvm.log. Resend the VM and send me that log file
> after the VM is in boot state for some time (couple of minutes will
> do).
>
> Concerning VMs not deletable when stuck in boot state, that is a known
> bug already fixed in 1.4 version.
>
> Bye
>
>
> On Tue, Jan 26, 2010 at 6:48 PM, Jack Jill <jacknjill111 at gmail.com> wrote:
> > Also, "onehost show 1" shows RUNNING_VMS = 3
> > But in reality, the VMs are stuck in the "boot" state and not in "runn"
> > state. So shouldn't RUNNING_VMS show 0 rather than 3. Was this a design
> > choice?
> >
> > onehost show 1
> > HID = 1
> > HOSTNAME = uecB
> > IM MAD = im_kvm
> > VMM MAD = vmm_kvm
> > TM MAD = tm_ssh
> > MANAGED = 1
> > ATTRIBUTES
> >
> > ARCH=i686
> > CPUSPEED=1000
> > FREECPU=160.4
> > FREEMEMORY=916328
> > HOSTNAME=uecB
> > MODELNAME=Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
> > NETRX=
> > NETTX=
> > PUBKEY=ssh-rsa
> >
> AAAAB3NzaC1yc2EAAAABIwAAAQEAzILPzcfds0904w/eRdYSCHev9+ZrkxWuNkNWOp9LjCi09T8tfOG6c/OlzXr1oCAH8WmMSI2VHHs1mU83ds9ezFgmQWqvPsFKHajEHw3PLyoDgoQtCgGL8KPeRiXN61bXfYEcA56R/LJO9UVhdQMxNINK9jFlJaB7RuPKzInzuYqyPYGHXkRmyamsbdBTCsgpYwHny7OrtVk71kS3TefyWYkFv6tvwggoLzatWxbA14REm4eOsQXGvAV+tiemyLAVyINTgcUCbd80uVnqNl7dxQ5ONwKlU8GvO4HwTwRtBBBkZnyfnlXHRLWXMTSjRjdBu1WSQgl+HUpbUC8VQxy36w==
> > oneadmin at uecB
> > TOTALCPU=200
> > TOTALMEMORY=1017284
> > USEDCPU=39.6
> > USEDMEMORY=994828
> > HOST SHARES
> > HID = 1
> > ENDPOINT =
> > MAX_CPU = 200
> > MAX_MEMORY = 1017284
> > MAX_DISK = 0
> > CPU_USAGE = 80
> > MEMORY_USAGE = 458752
> > DISK_USAGE = 0
> > RUNNING_VMS = 3
> >
> >
> > I am trying to get my pea-sized brain around open-nebula, therefore any
> help
> > would be deeply appreciated.
> >
> > Thanks.
> >
> >
> >
> > On Tue, Jan 26, 2010 at 11:37 AM, Jack Jill <jacknjill111 at gmail.com>
> wrote:
> >>
> >> I was attempting to submit the ttylinux vm, but ran into a problem with
> >> the deployment.0 file not being generated fully. This causes the vm to
> >> remain in the "boot" state. And then all commands (onevm, onevnet,
> onehost)
> >> seem to hang when I try to run them.
> >>
> >> Any idea what I am doing wrong?
> >>
> >> If I try to delete one of the VM (since I think they must be in an error
> >> state), I get an error message:
> >>
> >> $ onevm delete 10
> >> Error: Wrong state to perform action
> >>
> >> $ onevm list
> >> ID NAME STAT CPU MEM HOSTNAME TIME
> >> 10 ttylinux boot 0 0 uecB 00 02:35:13
> >> 11 ttylinux boot 0 0 uecB 00 02:07:07
> >> 12 ttylinux boot 0 0 uecB 00 00:27:51
> >>
> >> $ onevnet list
> >> NID NAME TYPE BRIDGE
> >> 2 Private LAN Ranged br0
> >> 3 Small network Fixed br0
> >>
> >> $ onehost list
> >> HID NAME RVM TCPU FCPU ACPU TMEM FMEM
> >> STAT
> >> 1 uecB 3 200 198 170 1017284 935036
> >> on
> >>
> >> ttylinux.one:
> >> ---------------
> >>
> >> NAME = ttylinux
> >> CPU = 0.1
> >> MEMORY = 64
> >>
> >> DISK = [
> >> source = "/home/james/opennebula/ttylinuxTemplate/ttylinux.img",
> >> target = "sda",
> >> readonly = "no" ]
> >>
> >> NIC = [ NETWORK = "Small network" ]
> >>
> >> FEATURES=[ acpi="no" ]
> >>
> >> CONTEXT = [
> >> hostname = "james",
> >> ip_public = "192.168.5.38",
> >> files = "/home/james/opennebula/ttylinuxTemplate/init.sh
> >> /home/james/opennebula/ttylinuxTemplate/id_rsa.pub",
> >> target = "hdc",
> >> root_pubkey = "id_rsa.pub",
> >> username = "opennebula",
> >> user_pubkey = "id_rsa.pub"
> >> ]
> >>
> >> where, 192.168.5.38 is an IP that is not used on my office network.
> >>
> >> small-network.net:
> >> ------------------------
> >> NAME = "Small network"
> >> TYPE = FIXED
> >>
> >> #Now we'll use the cluster private network (physical)
> >> BRIDGE = br0
> >> LEASES = [ IP="192.168.5.20"]
> >> LEASES = [ IP="192.168.5.22"]
> >> LEASES = [ IP="192.168.5.23"]
> >>
> >> where, the above IPs are not used on my office network
> >>
> >>
> >> As you can see from the deployment.0 file below, it doesn't seem to be
> >> generated fully.
> >>
> >> deployment.0 for one-10 vm:
> >> --------------------------------------
> >> <domain type='kvm'>
> >> <name>one-10</name>
> >> <vcpu>1</vcpu>
> >> <memory>65536</memory>
> >> <os>
> >> <type>hvm</type>
> >>
> >> 10.log:
> >> --------
> >> Tue Jan 26 08:44:56 2010 [DiM][I]: New VM state is ACTIVE.
> >> Tue Jan 26 08:44:56 2010 [LCM][I]: New VM state is PROLOG.
> >> Tue Jan 26 08:44:56 2010 [TM][I]: tm_clone.sh:
> >> uecA:/home/james/opennebula/ttylinuxTemplate/ttylinux.img
> >> uecB:/var/lib/one//10/images/disk.0
> >> Tue Jan 26 08:44:56 2010 [TM][I]: tm_clone.sh: DST:
> >> /var/lib/one//10/images/disk.0
> >> Tue Jan 26 08:44:56 2010 [TM][I]: tm_clone.sh: Creating directory
> >> /var/lib/one//10/images
> >> Tue Jan 26 08:44:56 2010 [TM][I]: tm_clone.sh: Executed "ssh uecB mkdir
> -p
> >> /var/lib/one//10/images".
> >> Tue Jan 26 08:44:56 2010 [TM][I]: tm_clone.sh: Cloning
> >> uecA:/home/james/opennebula/ttylinuxTemplate/ttylinux.img
> >> Tue Jan 26 08:45:02 2010 [TM][I]: tm_clone.sh: Executed "scp
> >> uecA:/home/james/opennebula/ttylinuxTemplate/ttylinux.img
> >> uecB:/var/lib/one//10/images/disk.0".
> >> Tue Jan 26 08:45:02 2010 [TM][I]: tm_clone.sh: Executed "ssh uecB chmod
> >> a+w /var/lib/one//10/images/disk.0".
> >> Tue Jan 26 08:45:02 2010 [LCM][I]: New VM state is BOOT
> >> Tue Jan 26 08:45:02 2010 [VMM][I]: Generating deployment file:
> >> /var/lib/one/10/deployment.0
> >>
> >> --------------------------------------
> >>
> >> My setup is show below:
> >>
> >> Front-end:
> >>
> >> OS: Ubuntu Karmic
> >> Running opennebula 1.2-0ubuntu6 as shown from "dpkg-query -s opennebula"
> >> command:
> >>
> >> Package: opennebula
> >> Status: install ok installed
> >> Priority: extra
> >> Section: utils
> >> Installed-Size: 1268
> >> Maintainer: Soren Hansen <soren at ubuntu.com>
> >> Architecture: i386
> >> Version: 1.2-0ubuntu6
> >> Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libsqlite3-0 (>= 3.6.16),
> >> libstdc++6 (>= 4.1.1), libxmlrpc-c3, libxmlrpc-core-c3, ruby, adduser,
> >> libsqlite3-ruby, opennebula-common, openssh-client
> >> Conffiles:
> >> /etc/one/im_kvm/im_kvmrc 2f2e4e7f63003fd53bee4941ecf93f93
> >> /etc/one/im_kvm/im_kvm.conf 4977bea99b8f200bdfe1077ec54ba758
> >> /etc/one/im_xen/im_xenrc 2f2e4e7f63003fd53bee4941ecf93f93
> >> /etc/one/im_xen/im_xen.conf 6475d4f1c8d61eddef7cd02e7c10145b
> >> /etc/one/im_ec2/im_ec2rc 2f2e4e7f63003fd53bee4941ecf93f93
> >> /etc/one/im_ec2/im_ec2.conf 05b02f27b37832ea88d699cf68427e7f
> >> /etc/one/vmm_kvm/vmm_kvmrc d14efaf83fd202636be7c3804cb28608
> >> /etc/one/vmm_kvm/vmm_kvm.conf 23d6bbc9d85f3e85c48218196d8e0a79
> >> /etc/one/vmm_xen/vmm_xenrc 427fc1f307455ddda41a15d3e48b6a00
> >> /etc/one/vmm_xen/vmm_xen.conf 90363cc7aa35e0dce357e14d698b821a
> >> /etc/one/vmm_ec2/vmm_ec2rc fda2986b105e4cb4d7ab418ddbe924cc
> >> /etc/one/vmm_ec2/vmm_ec2.conf ece85ae38731275a312dfb463d96e63b
> >> /etc/one/tm_nfs/tm_nfs.conf be9fbc3832ac9d170730a3cb7e67b24d
> >> /etc/one/tm_nfs/tm_nfsrc 2f2e4e7f63003fd53bee4941ecf93f93
> >> /etc/one/tm_ssh/tm_ssh.conf 998bcb361052b076a0d4ddeb316f5083
> >> /etc/one/tm_ssh/tm_sshrc 2f2e4e7f63003fd53bee4941ecf93f93
> >> /etc/one/tm_dummy/tm_dummy.conf 2b4f77505ce33aa04257883feddaa126
> >> /etc/one/tm_dummy/tm_dummyrc 29313c33a973b18bb9d56de77de5f924
> >> /etc/one/oned.conf c17d40551f546d23dfe09b9f4617010d
> >> /etc/one/defaultrc 3b712ce0e45bd4cbd24cc65655c1f942
> >> /etc/cron.hourly/opennebula 040e5d4621af9295e98545cb704d1800
> >> /etc/init.d/opennebula b25fc97e9c370c8a4b4d80358b4dd797
> >> Description: OpenNebula controller
> >> OpenNebula is an open source virtual infrastructure engine that enables
> >> the
> >> dynamic deployment and re-placement of virtual machines on a pool of
> >> physical
> >> resources.
> >> .
> >> ONE (OpenNebula) extends the benefits of virtualization platforms from
> a
> >> single physical resource to a pool of resources, decoupling the server
> >> not
> >> only from the physical infrastructure but also from the physical
> >> location.
> >> .
> >> This package contains the cloud controller.
> >> Homepage: http://opennebula.org/
> >>
> >> ----------------
> >>
> >> Node:
> >>
> >> OS: Ubuntu Karmic
> >> Running opennebula-node 1.2-ubuntu6
> >>
> >> dpkg-query -s opennebula-node
> >> Package: opennebula-node
> >> Status: install ok installed
> >> Priority: extra
> >> Section: utils
> >> Installed-Size: 36
> >> Maintainer: Soren Hansen <soren at ubuntu.com>
> >> Architecture: all
> >> Source: opennebula
> >> Version: 1.2-0ubuntu6
> >> Depends: adduser, libvirt-bin, kvm, opennebula-common, ruby
> >> Description: OpenNebula node
> >> OpenNebula is an open source virtual infrastructure engine that enables
> >> the
> >> dynamic deployment and re-placement of virtual machines on a pool of
> >> physical
> >> resources.
> >> .
> >> ONE (OpenNebula) extends the benefits of virtualization platforms from
> a
> >> single physical resource to a pool of resources, decoupling the server
> >> not
> >> only from the physical infrastructure but also from the physical
> >> location.
> >> .
> >> This package prepares the machine for being a node in an Ubuntu
> >> OpenNebula
> >> cloud.
> >> Homepage: http://opennebula.org/
> >> -----------------
> >>
> >>
> >>
> >>
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> >
>
>
>
> --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100201/052ecb8c/attachment-0003.htm>
More information about the Users
mailing list