[one-users] Users Digest, Vol 67, Issue 99

Luis lmartinez073 at yahoo.com
Fri Sep 27 03:55:59 PDT 2013


Hi Randall

Thanks for answering

I created this template

MEMORY 768 
OS  
ARCH x86_64 
GUESTOS ubuntu64Guest 
BOOT hd 
GRAPHICS  
LISTEN 0.0.0.0 
TYPE VNC 
DISK  
IMAGE_ID 0 
CONTEXT  
SSH_PUBLIC_KEY $USER[SSH_PUBLIC_KEY] 
NETWORK YES 
CPU 1.5 

Then, i create a VM

VMID 0 
TEMPLATE_ID 0 
MEMORY 768 
OS  
ARCH x86_64 
GUESTOS ubuntu64Guest 
BOOT hd 
GRAPHICS  
LISTEN 0.0.0.0 
TYPE VNC 
PORT 5900 
DISK  
SOURCE /var/lib/one/datastores/1/508dc1c7feca56ce91423635bc339bf0 
SAVE NO 
IMAGE Ubuntu Server 12.04 (Precise Pangolin) - kvm 
DRIVER raw 
DISK_ID 0 
DEV_PREFIX hd 
TYPE FILE 
IMAGE_ID 0 
CLONE YES 
DATASTORE default 
TARGET hda 
READONLY NO 
TM_MAD shared 
DATASTORE_ID 1 
CONTEXT  
NETWORK YES 
DISK_ID 1 
TARGET hdb 
CPU 1.5
 


And this is the log from SunStone
Thu Sep 26 20:31:26 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/0/deployment.2
Thu Sep 26 20:31:27 2013 [VMM][I]: ExitCode: 0
Thu Sep 26 20:31:27 2013 [VMM][I]: Successfully execute network driver operation: pre.
Thu Sep 26 20:31:30 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.2' 'node1' 0 node1
Thu Sep 26 20:31:30 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/0/deployment.2
Thu Sep 26 20:31:30 2013 [VMM][I]: error: internal error process exited while connecting to monitor: Could not access KVM kernel module: No such file or directory
Thu Sep 26 20:31:30 2013 [VMM][I]: failed to initialize KVM: No such file or directory
Thu Sep 26 20:31:30 2013 [VMM][I]: No accelerator found!
Thu Sep 26 20:31:30 2013 [VMM][I]: 
Thu Sep 26 20:31:30 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/0/deployment.2
Thu Sep 26 20:31:30 2013 [VMM][I]: ExitCode: 255
Thu Sep 26 20:31:30 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Thu Sep 26 20:31:30 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/0/deployment.2
Thu Sep 26 20:31:30 2013 [DiM][I]: New VM state is FAILED




it looks like the VM is being transfer to the node but after a while i get the error

in the oned.log file this is what i get

Fri Sep 27 06:53:02 2013 [ReM][D]: Req:5584 UID:0 DatastorePoolInfo invoked
Fri Sep 27 06:53:02 2013 [ReM][D]: Req:5584 UID:0 DatastorePoolInfo result SUCCESS, "<DATASTORE_POOL><DAT..."
Fri Sep 27 06:53:07 2013 [TM][D]: Message received: TRANSFER SUCCESS 0 -

Fri Sep 27 06:53:08 2013 [VMM][D]: Message received: LOG I 0 ExitCode: 0

Fri Sep 27 06:53:08 2013 [VMM][D]: Message received: LOG I 0 Successfully execute network driver operation: pre.

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.3' 'node1' 0 node1

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 error: Failed to create domain from /var/lib/one//datastores/0/0/deployment.3

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 error: internal error process exited while connecting to monitor: Could not access KVM kernel module: No such file or directory

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 failed to initialize KVM: No such file or directory

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 No accelerator found!

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG E 0 Could not create domain from /var/lib/one//datastores/0/0/deployment.3

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 ExitCode: 255

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: LOG I 0 Failed to execute virtualization driver operation: deploy.

Fri Sep 27 06:53:10 2013 [VMM][D]: Message received: DEPLOY FAILURE 0 Could not create domain from /var/lib/one//datastores/0/0/deployment.3



if it helps, i am using a bulldozer from AMD 8 core, running Ubuntu 12.04 and opennebula and the node1 are running in virtualbox

Thank you for your help.




________________________________
 From: "users-request at lists.opennebula.org" <users-request at lists.opennebula.org>
To: users at lists.opennebula.org 
Sent: Friday, September 27, 2013 1:50 AM
Subject: Users Digest, Vol 67, Issue 99
 

Send Users mailing list submissions to
    users at lists.opennebula.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
or, via email, send a message with subject or body 'help' to
    users-request at lists.opennebula.org

You can reach the person managing the list at
    users-owner at lists.opennebula.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. Nodet not mountin (Luis)
   2. Re: Nodet not mountin (Randall Svancara)
   3. VM not running (Luis)
   4. Problem:scons parsers=yes (tiger123w)
   5. Error executing image transfer script: Transfer Driver    'shh'
      not available (Documented Facts)


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

Message: 1
Date: Thu, 26 Sep 2013 15:13:58 -0700 (PDT)
From: Luis <lmartinez073 at yahoo.com>
To: "users at lists.opennebula.org" <users at lists.opennebula.org>
Subject: [one-users] Nodet not mountin
Message-ID:
    <1380233638.65237.YahooMailNeo at web140403.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi

I am installing Opennebula 4.2 on Ubuntu 12.04 , front end and one node, i am getting this error, could some one guide me to fix it?

Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 0 node1.com; else ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?exit 42; fi'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130926/08e9ceab/attachment-0001.htm>

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

Message: 2
Date: Thu, 26 Sep 2013 15:34:07 -0700
From: Randall Svancara <rsvancara at wsu.edu>
To: users at lists.opennebula.org
Subject: Re: [one-users] Nodet not mountin
Message-ID: <5244B65F.40208 at wsu.edu>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Can you provide more context about the error message, like what were you 
doing when this happened?

Randall

On 09/26/2013 03:13 PM, Luis wrote:
> Hi
>
> I am installing Opennebula 4.2 on Ubuntu 12.04 , front end and one 
> node, i am getting this error, could some one guide me to fix it?
>
> Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then 
> /var/tmp/one/im/run_probes kvm 0 node1.com; else                exit 
> 42; fi'
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130926/18cbf88f/attachment-0001.htm>

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

Message: 3
Date: Thu, 26 Sep 2013 15:47:29 -0700 (PDT)
From: Luis <lmartinez073 at yahoo.com>
To: "users at lists.opennebula.org" <users at lists.opennebula.org>
Subject: [one-users] VM not running
Message-ID:
    <1380235649.47103.YahooMailNeo at web140405.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hi

I was installing Opennebula, i fixed some problems but i have this when i am creating a VM

Thu Sep 26 18:43:04 2013 [ReM][D]: Req:9984 UID:0 ImagePoolInfo result SUCCESS, "<IMAGE_POOL><IMAGE><..."
Thu Sep 26 18:43:06 2013 [VMM][D]: Message received: LOG I 0 Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0' 'node1' 0 node1


I am using Opennebula 4.2, one frontend with sunstone and a node, i can ssh without password, any idea i will apreciate.


thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130926/6611d25e/attachment-0001.htm>

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

Message: 4
Date: Fri, 27 Sep 2013 08:38:46 +0800 (CST)
From: tiger123w <tiger123w at 163.com>
To: users at lists.opennebula.org
Subject: [one-users] Problem:scons parsers=yes
Message-ID: <69d03157.1213.1415cda8487.Coremail.tiger123w at 163.com>
Content-Type: text/plain; charset="gbk"

Dear:
When I compile opennebula-4.2 use parsers=yes,Then errrors:
build_bison(["src/template/template_syntax.cc", "src/template/template_syntax.h"], ["src/template/template_syntax.y"])
g++ -o src/template/Template.o -c -I/usr/local/oce/third/flex-2.5.37/include -g -Wall -DSQLITE_DB -Iinclude -I/usr/local/oce/third/xmlrpc-c-1.25.24/include -I/usr/include/libxml2 src/template/Template.cc
template_syntax.hh:100: error: 'mem_collector' was not declared in this scope
template_syntax.hh:100: error: 'mc' was not declared in this scope
template_syntax.hh:100: error: expected primary-expression before '*' token
template_syntax.hh:100: error: 'tmpl' was not declared in this scope
template_syntax.hh:100: error: expected primary-expression before 'char'
template_syntax.hh:100: error: initializer expression list treated as compound expression
scons: *** [src/template/Template.o] Error 1
scons: building terminated because of errors.
[oce at ocean opennebula-4.2.0]$ which bison
/usr/local/oce/third/bison-2.7.1/bin/bison
[oce at ocean opennebula-4.2.0]$ which flex
/usr/local/oce/third/flex-2.5.37/bin/flex
[oce at ocean opennebula-4.2.0]$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130927/20ca452e/attachment-0001.htm>

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

Message: 5
Date: Fri, 27 Sep 2013 11:20:36 +0530
From: Documented Facts <documentedfacts at gmail.com>
To: users at lists.opennebula.org
Subject: [one-users] Error executing image transfer script: Transfer
    Driver    'shh' not available
Message-ID:
    <CAOn8sjFSxgszkzq+CQYHkS_33h3TG25yavn45EhqjH_qu-p4hg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi

I' m new to OpenNebula. I m use OpenNebula 4.2 with hypervisor xen and
version 4.1.2. My host machines have Ubuntu 12.04.2 LTS installed on dx7400
machine with Q6600 processor without Vrtualization. Host machine xen has xm
command.I use Ubuntu PV guest image which was prepared according to below
link 1. But when I start to deploy host I got below error message.

"Error executing image transfer script: Transfer Driver 'shh' not available"

Log:

Thu Sep 26 08:27:26 2013 [DiM][I]: New VM state is ACTIVE.
Thu Sep 26 08:27:26 2013 [LCM][I]: New VM state is PROLOG.
Thu Sep 26 08:33:43 2013 [TM][E]: Error executing image transfer script:
Transfer Driver 'shh' not available
Thu Sep 26 08:33:43 2013 [DiM][I]: New VM state is FAILED

oned.conf file "required configuration" has show below and aditional
details about my datastores also given in "Additional Details" section of
this email.

Can anyone tell me what is the wrong in my configuration and does
opennebula supprt xen paravirtulization ? or at what point should I start
troubleshooting ?

Thank You

link 1:
https://help.ubuntu.com/community/Xen#Manually_creating_a_PV_Guest_VM


------Required Configuration-------------------
# Virtualization Driver Configuration
# Driver for Xen 3.x
IM_MAD = [
    name       = "xen",
    executable = "one_im_ssh",
    arguments  = "xen3" ]

# Transfer Manager Driver Configuration
TM_MAD  = [
     name = "tm_ssh",
     executable = "one_tm",
     arguments = "-t 15 -d ssh"]

# Datastore Driver Configuration
DATASTORE_MAD = [
    executable = "one_datastore",
    arguments  = "-t 15 -d dummy,fs,vmfs,iscsi,lvm,ceph"
]

-------Additional Details----------------------

$onedatastore list

ID   NAME     | SIZE     | AVAIL | CLUSTER |   IMAGES |   TYPE |  DS |  TM

   0   system      -              -                -                 0
        sys     -       shh
   1   default       133.9G    89%           -                 2
  img     fs     ssh
   2   files           133.9G    89%           -                 0
    fil       fs      ssh

$onedatastore show 1

DATASTORE 1 INFORMATION

ID             : 1
NAME           : default
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : -
TYPE           : IMAGE
DS_MAD         : fs
TM_MAD         : ssh
BASE PATH      : /var/lib/one/datastores/1
DISK_TYPE      : FILE

DATASTORE CAPACITY

TOTAL:         : 133.9G
USED:          : 8G
FREE:          : 118.6G

PERMISSIONS

OWNER          : um-
GROUP          : u--
OTHER          : u--

DATASTORE TEMPLATE

DS_MAD="fs"
TM_MAD="ssh"
TYPE="IMAGE_DS"

IMAGES
0
1

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

VIRTUAL MACHINE TEMPLATE

CONTEXT=[
  DISK_ID="1",
  ETH0_DNS="192.248.16.91",
  ETH0_GATEWAY="10.22.129.254",
  ETH0_IP="10.22.129.163",
  NETWORK="YES",
  TARGET="hdb" ]
CPU="0.5"
GRAPHICS=[
  LISTEN="0.0.0.0",
  PORT="5909",
  TYPE="VNC" ]
MEMORY="768"
OS=[
  ARCH="x86_64",
  BOOT="hd",
  ROOT="oneadmin" ]
TEMPLATE_ID="3"
VMID="9"

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

IMAGE 1 INFORMATION

ID             : 1
NAME           : Ubuntubackup
USER           : oneadmin
GROUP          : oneadmin
DATASTORE      : default
TYPE           : OS
REGISTER TIME  : 09/25 10:54:13
PERSISTENT     : No
SOURCE         : /var/lib/one/datastores/1/1ee31dfecaf79ad628ef78eee0d1ac74
PATH           : /var/lib/one/datastores/1/1c3dbb3dc4e29f2089c497f2c7e3f761
SIZE           : 4G
STATE          : used
RUNNING_VMS    : 1

PERMISSIONS

OWNER          : um-
GROUP          : ---
OTHER          : ---

IMAGE TEMPLATE

DESCRIPTION="Ubuntu 12.04 server image"
DEV_PREFIX="hd"
FSTYPE=""
-----------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130927/6a14c7ef/attachment.htm>

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

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


End of Users Digest, Vol 67, Issue 99
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130927/7ea24bdd/attachment-0001.htm>


More information about the Users mailing list