All pastes #2054597 Raw Edit

Something

public text v1 · immutable
#2054597 ·published 2011-05-06 16:09 UTC
rendered paste body
Thu May  5 17:14:56 2011 [DiM][I]: New VM state is PENDING.
Thu May  5 17:14:58 2011 [DiM][I]: New VM state is ACTIVE.
Thu May  5 17:14:58 2011 [LCM][I]: New VM state is PROLOG.
Thu May  5 17:14:58 2011 [VM][I]: Virtual Machine has no context
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: HostedOSCC1:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 209.239.12.22:/srv/cloud/images/0/images/disk.0
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: DST: /var/lib/one/0/images/disk.0
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one/0/images
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /var/lib/one/0/images".
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /var/lib/one/0/images".
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: Cloning /var/lib/one/images/8625d68b699fd30e64360471eb2c38fed47fcfb6
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: Executed "cp -r /var/lib/one/images/8625d68b699fd30e64360471eb2c38fed47fcfb6 /var/lib/one/0/images/disk.0".
Thu May  5 17:14:58 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /var/lib/one/0/images/disk.0".
Thu May  5 17:14:58 2011 [LCM][I]: New VM state is BOOT
Thu May  5 17:14:58 2011 [VMM][I]: Generating deployment file: /var/lib/one/0/deployment.3
Thu May  5 17:14:58 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/images/0/images/deployment.3; else                              exit 42; fi'
Thu May  5 17:14:58 2011 [VMM][I]: STDERR follows.
Thu May  5 17:14:58 2011 [VMM][I]: error: Failed to create domain from /srv/cloud/images/0/images/deployment.3
Thu May  5 17:14:58 2011 [VMM][I]: error: unable to set user and group to '103:112' on '/srv/cloud/images/0/images/disk.0': No such file or directory
Thu May  5 17:14:58 2011 [VMM][I]: ExitCode: 255
Thu May  5 17:14:58 2011 [VMM][E]: Error deploying virtual machine: error: Failed to create domain from /srv/cloud/images/0/images/deployment.3
Thu May  5 17:14:58 2011 [DiM][I]: New VM state is FAILED
Thu May  5 17:14:58 2011 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Deleting /var/lib/one/0/images

Thu May  5 17:14:58 2011 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Executed "rm -rf /var/lib/one/0/images".

Thu May  5 17:14:58 2011 [TM][W]: Ignored: TRANSFER SUCCESS 0 -



-------------------
root@HostedOSCC1:/var/lib/one/images# cat /etc/one/oned.conf | grep -v ^$ | grep -v ^#

HOST_MONITORING_INTERVAL = 600
VM_POLLING_INTERVAL      = 600
VM_DIR=/srv/cloud/images
SCRIPTS_REMOTE_DIR=/var/tmp/one
PORT=2633
 DB = [ backend = "mysql",
        server  = "localhost",
        port    = 0,
        user    = "oneadmin",
        passwd  = "oneadmin",
        db_name = "cloud" ]
VNC_BASE_PORT = 5900
DEBUG_LEVEL=3
NETWORK_SIZE = 254
MAC_PREFIX   = "02:00"
DEFAULT_IMAGE_TYPE    = "OS"
DEFAULT_DEVICE_PREFIX = "hd"
IM_MAD = [
      name       = "im_kvm",
      executable = "/usr/lib/one/mads/one_im_ssh",
      arguments  = "-r 0 -t 15 kvm" ]
VM_MAD = [
    name       = "vmm_kvm",
    executable = "/usr/lib/one/mads/one_vmm_ssh",
    arguments  = "-t 15 -r 0 kvm",
    default    = "/etc/one/vmm_ssh/vmm_ssh_kvm.conf",
    type       = "kvm" ]
TM_MAD = [
    name       = "tm_nfs",
    executable = "/usr/lib/one/mads/one_tm",
    arguments  = "/etc/one/tm_nfs/tm_nfs.conf" ]
HM_MAD = [
    executable = "/usr/lib/one/mads/one_hm" ]
VM_HOOK = [
    name      = "image",
    on        = "DONE",
    command   = "image.rb",
    arguments = "$VMID" ]


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

The directory "/srv/cloud" is a glusterfs mount -- shared between the nodes and the control server


opennebula was installed with the .deb package and is installed system-wide on the control machine.