[one-users] Problem deploying the example ttylinux image

Jack Jill jacknjill111 at gmail.com
Tue Jan 26 09:37:04 PST 2010


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/
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100126/483bd7de/attachment-0002.htm>


More information about the Users mailing list