[one-users] vmware deploy error

2011-02-16 Thread antoni artigues
Hello

I'm still with the same problem.

I'm using opennebula 2.0.1, vmware driver addon, and vmware server 2.0.2

I can't be able to deploy a vm into any cluster node. The error is at
domain definition:

Failed to define domain from /srv/cloud/one/var/5/deployment.0

The vm template is:
--
NAME=ubuntuVM
VCPU = 1
MEMORY = 1024
OS = [ ARCH = i686 ]
DISK=[IMAGE=myVMwareVM]
NIC=[NETWORK=vmware LAN]
--

the domain file is:
-
domain type='vmware'
nameone-5/name
vcpu1/vcpu
memory1048576/memory
os
type arch='i686'hvm/type
/os
devices
disk type='file' device='disk'
source file='[cloudds] 5/images/disk.0/disk.vmdk'/
target dev='hda'/
/disk
interface type='bridge'
source bridge='vmnet0'/
mac address='02:00:c0:a8:05:03'/
/interface
/devices
/domain
-

I try to execute the virsh command directly with this result:
---
root@cloudmaster:# virsh -c gsx://oscarnode5?no_verify=1
define /srv/cloud/one/var/5/deployment.0

Enter username for oscarnode5 [root]: oneadmin

Enter oneadmin's password for oscarnode5: 

error: Failed to define domain from /srv/cloud/one/var/5/deployment.0

error: internal error HTTP response code 503 for upload to
'https://oscarnode5:8333/folder/5%2fimages%2fdisk%2e0/one%
2d5.vmx?dcPath=ha%2ddatacenterdsName=cloudds'
--


the complete log error is:

---
Wed Feb 16 09:02:42 2011 [LCM][I]: New VM state is BOOT
Wed Feb 16 09:02:42 2011 [VMM][I]: Generating deployment
file: /srv/cloud/one/var/5/deployment.0
Wed Feb 16 09:02:43 2011 [VMM][I]: Command execution
fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy
oscarnode5 /srv/cloud/one/var/5/deployment.0
Wed Feb 16 09:02:43 2011 [VMM][I]: STDERR follows.
Wed Feb 16 09:02:43 2011 [VMM][I]: [VMWARE] cmd failed
[/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c
gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/5/deployment.0   ].
Stderr:
Wed Feb 16 09:02:43 2011 [VMM][I]: error: Failed to define domain
from /srv/cloud/one/var/5/deployment.0
Wed Feb 16 09:02:43 2011 [VMM][I]: error: internal error HTTP response
code 503 for upload to 'https://oscarnode5:8333/folder/5%2fimages%2fdisk
%2e0/one%2d5.vmx?dcPath=ha%2ddatacenterdsName=cloudds'
Wed Feb 16 09:02:43 2011 [VMM][I]: 
Wed Feb 16 09:02:43 2011 [VMM][I]: . Stdout: ExitCode: 1
Wed Feb 16 09:02:43 2011 [VMM][I]: ExitCode: 1
Wed Feb 16 09:02:43 2011 [VMM][E]: Error deploying virtual machine
Wed Feb 16 09:02:43 2011 [DiM][I]: New VM state is FAILED
---

Thanks in advance

regards

Antoni Artigues


El mar, 15-02-2011 a las 14:50 +0100, antoni artigues escribió:
 Hello
 
 I'm trying to deploy a vm in vmware server.
 
 But the final state is fail. Here is the vm log:
 
 Tue Feb 15 14:43:48 2011 [VMM][I]: Generating deployment
 file: /srv/cloud/one/var/1/deployment.0
 Tue Feb 15 14:43:49 2011 [VMM][I]: Command execution
 fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy
 oscarnode5 /srv/cloud/one/var/1/deployment.0
 Tue Feb 15 14:43:49 2011 [VMM][I]: STDERR follows.
 Tue Feb 15 14:43:49 2011 [VMM][I]: [VMWARE] cmd failed
 [/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c
 gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/1/deployment.0].
 Stderr:
 Tue Feb 15 14:43:49 2011 [VMM][I]: error:Falló al definir un dominio
 para /srv/cloud/one/var/1/deployment.0
 Tue Feb 15 14:43:49 2011 [VMM][I]: error:error interno Código de
 respuesta HTTP 503 para enviar a 'https://oscarnode5:8333/folder/1%
 2fimages%2fdisk%2e0/one%2d1.vmx?dcPath=ha%2ddatacenterdsName=cloudds'
 Tue Feb 15 14:43:49 2011 [VMM][I]: 
 Tue Feb 15 14:43:49 2011 [VMM][I]: . Stdout: ExitCode: 1
 Tue Feb 15 14:43:49 2011 [VMM][I]: ExitCode: 1
 
 I don't know where could be the error.
 
 Thanks in advance
 
 regards
 
 Antoni Artigues
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Requirements and cluster

2011-02-16 Thread Ruben S. Montero
Hi

It should work in that way. Is not working for you?

Cheers

Ruben

On Wed, Feb 16, 2011 at 10:46 AM, Ruben Diez rd...@cesga.es wrote:

 Hi:

 We are watch for the way to force a VM to be executed only in nodes
 included in a specific cluster We think that the *REQUIREMENTS
 mechanism must be used by this

 It should look like this:
 *REQUIREMENTS = CLUSTER = \mycluster\

 Have anyone and information driver for use the cluster name of a node in
 the requirements???

 Regards


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] CfP 6th Workshop on Virtualization in High-Performance Cloud Computing (VHPC'11)

2011-02-16 Thread VHPC2011
Apologies if you received multiple copies of this message.


=

CALL FOR PAPERS

6th Workshop on

Virtualization in High-Performance Cloud Computing

VHPC'11

as part of Euro-Par 2011, Bordeaux, France

=

Date: August 30, 2011

Euro-Par 2011: http://europar2011.bordeaux.inria.fr/

Workshop URL: http://vhpc.org

SUBMISSION DEADLINE:

Abstracts: May 2, 2011
Full Paper: June 13, 2011

Scope:

Virtualization has become a common abstraction layer in modern data
centers, enabling resource owners to manage complex infrastructure
independently of their applications. Conjointly virtualization is
becoming a driving technology for a manifold of industry grade IT
services. The cloud concept includes the notion of a separation
between resource owners and users, adding services such as hosted
application frameworks and queuing. Utilizing the same infrastructure,
clouds carry significant potential for use in high-performance
scientific computing. The ability of clouds to provide for
requests and releases of vast computing resource dynamically and
close to the marginal cost of providing the services is unprecedented
in the history of scientific and commercial computing.

Distributed computing concepts that leverage federated resource access
are popular within the grid community, but have not seen previously
desired deployed levels so far. Also, many of the scientific
datacenters have not adopted virtualization or cloud concepts yet.

This workshop aims to bring together industrial providers with the
scientific community in order to foster discussion, collaboration and
mutual exchange of knowledge and experience.

The workshop will be one day in length, composed of 20 min paper
presentations, each followed by 10 min discussion sections.
Presentations may be accompanied by interactive demonstrations. It
concludes with a 30 min panel discussion by presenters.

TOPICS

Topics include, but are not limited to, the following subjects:

- Virtualization in cloud, cluster and grid environments
- VM-based cloud performance modeling
- Workload characterizations for VM-based environments
- Software as a Service (SaaS)
- Cloud reliability, fault-tolerance, and security
- Cloud, cluster and grid filesystems
- QoS and and service levels
- Cross-layer VM optimizations
- Virtualized I/O and storage
- Virtualization and HPC architectures including NUMA
- System and process/bytecode VM convergence
- Paravirtualized driver development
- Research and education use cases
- VM cloud, cluster distribution algorithms
- MPI on virtual machines and clouds
- Cloud frameworks and API sets
- Checkpointing of large compute jobs
- Cloud load balancing
- Accelerator virtualization
- Instrumentation interfaces and languages
- Hardware support for virtualization
- High-performance network virtualization
- Auto-tuning of VMM and VM parameters
- High-speed interconnects
- Hypervisor extensions and tools for cluster and grid computing
- VMMs/Hypervisors
- Cloud use cases including optimizations
- Performance modeling
- Fault tolerant VM environments
- VMM performance tuning on various load types
- Cloud provisioning
- Virtual machine monitor platforms
- Pass-through VM device access
- Management, deployment of VM-based environments

PAPER SUBMISSION

Papers submitted to the workshop will be reviewed by at least two
members of the program committee and external reviewers. Submissions
should include abstract, key words, the e-mail address of the
corresponding author, and must not exceed 10 pages, including tables
and figures at a main font size no smaller than 11 point. Submission
of a paper should be regarded as a commitment that, should the paper
be accepted, at least one of the authors will register and attend the
conference to present the work.

Accepted papers will be published in the Springer LNCS series - the
format must be according to the Springer LNCS Style. Initial
submissions are in PDF, accepted papers will be requested to provided
source files.

Format Guidelines: http://www.springer.de/comp/lncs/authors.html
Submission Link: http://edas.info/newPaper.php?c=10155


CHAIR

Michael Alexander (chair), IBM, Austria
Gianluigi Zanetti (co-chair), CRS4, Italy


PROGRAM COMMITTEE

Paolo Anedda, CRS4, Italy
Volker Buege, University of Karlsruhe, Germany
Giovanni Busonera, CRS4, Italy
Roberto Canonico, University of Napoli, Italy
Tommaso Cucinotta, Scuola Superiore Sant'Anna, Italy
William Gardner, University of Guelph, Canada
Werner Fischer, Thomas-Krenn AG, Germany
Wolfgang Gentzsch, Max Planck Gesellschaft, Germany
Marcus Hardt, Forschungszentrum Karlsruhe, Germany
Sverre Jarp, CERN, Switzerland
Shantenu Sjha, Louisiana State University, USA
Xuxian Jiang, NC State, USA
Kenji Kaneda, Google, USA
Simone Leo, CRS4, Italy
Ignancio Llorente, Universidad Complutense de Madrid, Spain,
Naoya Maruyama, Tokyo Institute of Technology, 

[one-users] (OpenNebula 2.0.1 - VMWare ESXi 4.1)

2011-02-16 Thread Luigi Fortunati
Hi,
I'm using OpenNebula 2.0.1 with ESXi 4.1 cluster nodes.
Up to now I've tested the usage of i686 guest OS architecture and it works
fine.
However it seems impossible to define and use VM templates that uses 64 bit
guest OS. Is it true?
Have you tested the deployment of 64 bit guest os with OpenNebula and ESXi
4.1?

-- 
Luigi Fortunati
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Requirements and cluster

2011-02-16 Thread Ruben Diez

Hi:

We are watch for the way to force a VM to be executed only in nodes 
included in a specific cluster We think that the *REQUIREMENTS 
mechanism must be used by this


It should look like this:
*REQUIREMENTS = CLUSTER = \mycluster\

Have anyone and information driver for use the cluster name of a node in the 
requirements???

Regards


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vmware deploy error

2011-02-16 Thread Tino Vazquez
Hi Antoni,

There is a couple of things we can check to find out the problem:

 * Is there in the front-end the following files:
 * $ONE_LOCATION/var/5/images/disk.0/disk.vmdk
 * $ONE_LOCATION/var/5/images/disk.0/one-5.vmx

  * If the above is true, try registering the one-5.vmx VM using the
VI client (windows needed).

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor  / Cloud Researcher
www.OpenNebula.org | @tinova79



On Wed, Feb 16, 2011 at 9:19 AM, antoni artigues tartig...@iac3.eu wrote:
 : internal error HTTP response code 503 for upload to
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE server redundancy

2011-02-16 Thread Tino Vazquez
Hi Luis,

That setup is not easily achievable. Operations are not transactional,
and also ONE keeps a cache, so the information of multiple  ONEs won't
be in sync.

It can be achieved, but not out of the box, a fair amount of fiddling
is involved.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor  / Cloud Researcher
www.OpenNebula.org | @tinova79



On Mon, Jan 31, 2011 at 6:15 PM, Luis M. Carril lmcar...@cesga.es wrote:
 Hello,
    We have an OpenNebula installation and we wanted to deploy another ONE
 server for redundacy monitoring the same hosts and MVs. Could this be
 achieved if both ONE installations use the same mysql database? Are all the
 operations transactional?

 Cheers

 --
 Luis M. Carril
 Project Technician
 Galicia Supercomputing Center (CESGA)
 Avda. de Vigo s/n
 15706 Santiago de Compostela
 SPAIN

 Tel: 34-981569810 ext 249
 lmcar...@cesga.es
 www.cesga.es


 ==

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vmware deploy error

2011-02-16 Thread antoni artigues
Hi

Thanks for the answer.

Well, the opennebula deletes the images folder after the error.

But, I have been watching the disk.0 folder, before the error, and I
haven't seen the one-5.vmx file.

When it is generated?

Regards

Antoni Artigues

El mié, 16-02-2011 a las 12:07 +0100, Tino Vazquez escribió:
 Hi Antoni,
 
 There is a couple of things we can check to find out the problem:
 
  * Is there in the front-end the following files:
  * $ONE_LOCATION/var/5/images/disk.0/disk.vmdk
  * $ONE_LOCATION/var/5/images/disk.0/one-5.vmx
 
   * If the above is true, try registering the one-5.vmx VM using the
 VI client (windows needed).
 
 Regards,
 
 -Tino
 
 --
 Constantino Vázquez Blanco, MSc
 OpenNebula Major Contributor  / Cloud Researcher
 www.OpenNebula.org | @tinova79
 
 
 
 On Wed, Feb 16, 2011 at 9:19 AM, antoni artigues tartig...@iac3.eu wrote:
  : internal error HTTP response code 503 for upload to


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Error with TM_LVM

2011-02-16 Thread Anoop L
Hi,

I have successfully created a VM from Front-End to a Xen node However on
creating the second VM I get an error:

Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0
Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: ERROR: Command /usr/bin/ssh
node-1 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00 failed.

My VM template:
NAME   = centos55
CPU= 1
MEMORY = 2048
OS  =   [ bootloader = /usr/bin/pygrub ]

DISK  = [  image = centos5564_Base.img]

DISK   = [
 type = swap,
 size = 5120
 #target   = sdb
]


NIC = [ BRIDGE = xenbr0, MAC = 00:16:3E:02:03:05 ]
FEATURES=[ acpi=no ]

GRAPHICS = [
 type= vnc,
 listen  = 0.0.0.0,
 port= 5916 ]

The same template is used for creating first VM and it all was working fine.
Except the swap is not created as an LV.

How can I change this template so as to create a new LV for swap partiotion.
Please note that I have not created any LV manually. If I create a LV
manually how can I specify this in the VM template.

I am stuck on this for some time and posted this multiple times with no
answer.

Any help would be appreciated.

Thanks,
Anoop
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE server redundancy

2011-02-16 Thread Steven Timm

Tino--are you saying that there is state information in the oned
that is not on disk at any given time?
We were thinking of setting up an active-passive failover
of our oned via heartbeat and DRBD. Is there any reason
why that might not work?

Steve Timm


On Wed, 16 Feb 2011, Tino Vazquez wrote:


Hi Luis,

That setup is not easily achievable. Operations are not transactional,
and also ONE keeps a cache, so the information of multiple  ONEs won't
be in sync.

It can be achieved, but not out of the box, a fair amount of fiddling
is involved.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor  / Cloud Researcher
www.OpenNebula.org | @tinova79



On Mon, Jan 31, 2011 at 6:15 PM, Luis M. Carril lmcar...@cesga.es wrote:

Hello,
   We have an OpenNebula installation and we wanted to deploy another ONE
server for redundacy monitoring the same hosts and MVs. Could this be
achieved if both ONE installations use the same mysql database? Are all the
operations transactional?

Cheers

--
Luis M. Carril
Project Technician
Galicia Supercomputing Center (CESGA)
Avda. de Vigo s/n
15706 Santiago de Compostela
SPAIN

Tel: 34-981569810 ext 249
lmcar...@cesga.es
www.cesga.es


==

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] probably hooks bugs

2011-02-16 Thread Tino Vazquez
Hi Paolo,

This is now fixed in the master branch of the ONE repo [1]. We would
appreciate feedback on whether this solves your problem.

Thanks!

-T

[1] 
http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/share/hooks/ebtables-xen

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor  / Cloud Researcher
www.OpenNebula.org | @tinova79



On Tue, Feb 8, 2011 at 12:33 PM, Paolo Smiraglia
paolo.smirag...@gmail.com wrote:
 This looks like an issue indeed. In order to reproduce it, could you
 please share in which linux flavor did you experience this?

 RedHat Enterprise 6 beta2 x86_64 using Opennebula 2.0.1 installed from 
 sources.

 Regards,

   PAOLO

 --
 PAOLO SMIRAGLIA
 http://portale.isf.polito.it/paolo-smiraglia
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error with TM_LVM

2011-02-16 Thread Jaime Melis
Hello Anoop,

Is the ID of the VM you're trying to deploy '0' ? When you deploy a new vm
the following LV volume will be created: lv-one-ID. If that LV already
exists then it fails. My guess is that it's failing because for some reason
OpenNebula didn't get the change to do a 'delete' removing the LV partition.

I suggest you remove manually all the LVM partitions. You can find out the
existing ones with lvs and remove them with lvremove (do that as root in
the Xen node).

Cheers,
Jaime

On Wed, Feb 16, 2011 at 2:26 PM, Anoop L anpl1...@gmail.com wrote:

 Hi,

 I have successfully created a VM from Front-End to a Xen node However on
 creating the second VM I get an error:

 Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0
 Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: ERROR: Command /usr/bin/ssh
 node-1 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00 failed.

 My VM template:
 NAME   = centos55
 CPU= 1
 MEMORY = 2048
 OS  =   [ bootloader = /usr/bin/pygrub ]

 DISK  = [  image = centos5564_Base.img]

 DISK   = [
  type = swap,
  size = 5120
  #target   = sdb
 ]


 NIC = [ BRIDGE = xenbr0, MAC = 00:16:3E:02:03:05 ]
 FEATURES=[ acpi=no ]

 GRAPHICS = [
  type= vnc,
  listen  = 0.0.0.0,
  port= 5916 ]

 The same template is used for creating first VM and it all was working
 fine. Except the swap is not created as an LV.

 How can I change this template so as to create a new LV for swap
 partiotion. Please note that I have not created any LV manually. If I create
 a LV manually how can I specify this in the VM template.

 I am stuck on this for some time and posted this multiple times with no
 answer.

 Any help would be appreciated.

 Thanks,
 Anoop

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] (OpenNebula 2.0.1 - VMWare ESXi 4.1)

2011-02-16 Thread Tino Vazquez
Hi Luigi,

AFAIK, there shouldn't be no problems running 64 bit guests. What is
the error message?

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor  / Cloud Researcher
www.OpenNebula.org | @tinova79



On Wed, Feb 16, 2011 at 11:15 AM, Luigi Fortunati
luigi.fortun...@gmail.com wrote:
 Hi,
 I'm using OpenNebula 2.0.1 with ESXi 4.1 cluster nodes.
 Up to now I've tested the usage of i686 guest OS architecture and it works
 fine.
 However it seems impossible to define and use VM templates that uses 64 bit
 guest OS. Is it true?
 Have you tested the deployment of 64 bit guest os with OpenNebula and ESXi
 4.1?

 --
 Luigi Fortunati

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error with TM_LVM

2011-02-16 Thread Anoop L
Hi Jaime,

Thanks for the reply. My VM ID is 86 but still ONE uses 0 as identifier for
LV. Even the working VM with ID  is using lv-one--0.

I have already tried removing LV manually. I guess issue is that ONE is
trying to create the LV of same name and some how VM ID is not appended to
the LV_NAME.

One more things is when second VM fails it deletes the lv-one--0. Also any
idea how can I force set a VM template that a swap space/disk to be created
on LV.

Some more information:

 onevm list
   ID USER NAME STAT CPU MEMHOSTNAMETIME
   85 oneadmin centos55 runn   0  2G ast-wks-348 00 02:00:16
   86 oneadmin centos55 fail   0  0K ast-wks-348 00 00:00:42


onevm show 86 gives:

VIRTUAL MACHINE 86
INFORMATION
ID : 86
NAME   : centos55
STATE  : FAILED
LCM_STATE  : LCM_INIT
START TIME : 02/16 20:49:13
END TIME   : 02/16 20:49:55
DEPLOY ID: : -

VIRTUAL MACHINE
MONITORING
NET_TX : 0
NET_RX : 0
USED MEMORY: 0
USED CPU   : 0

VIRTUAL MACHINE
TEMPLATE
CPU=1
DISK=[
  CLONE=YES,
  DISK_ID=0,
  IMAGE=centos5564_Base.img,
  IMAGE_ID=8,
  READONLY=NO,
  SAVE=NO,

SOURCE=/opt/cloud/one/var//images/fd34675a5656d3b5b92e01b11dbae9c819e5f4c4,
  TARGET=hda,
  TYPE=DISK ]
DISK=[
  DISK_ID=1,
  SIZE=5120,
  TARGET=hdd,
  TYPE=swap ]
FEATURES=[
  ACPI=no ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  PORT=5916,
  TYPE=vnc ]
MEMORY=2048
NAME=centos55
NIC=[
  BRIDGE=xenbr0,
  IP=10.20.30.1,
  MAC=02:00:0a:14:1e:01,
  NETWORK=LAN2,
  NETWORK_ID=2 ]
OS=[
  BOOTLOADER=/usr/bin/pygrub ]
VMID=86



lvdisplay on node:

  --- Logical volume ---
  LV Name/dev/vg00/lv-one--0
  VG Namevg00
  LV UUID0ENQKV-L8qi-APmD-iGiv-uRfj-vVNv-nkWud4
  LV Write Accessread/write
  LV Status  available
  # open 2
  LV Size20.00 GB
  Current LE 640
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:2


Any help would be appreciated.

Thanks,
Anoop



On Wed, Feb 16, 2011 at 8:44 PM, Jaime Melis jme...@opennebula.org wrote:

 Hello Anoop,

 Is the ID of the VM you're trying to deploy '0' ? When you deploy a new vm
 the following LV volume will be created: lv-one-ID. If that LV already
 exists then it fails. My guess is that it's failing because for some reason
 OpenNebula didn't get the change to do a 'delete' removing the LV partition.

 I suggest you remove manually all the LVM partitions. You can find out the
 existing ones with lvs and remove them with lvremove (do that as root in
 the Xen node).

 Cheers,
 Jaime

 On Wed, Feb 16, 2011 at 2:26 PM, Anoop L anpl1...@gmail.com wrote:

 Hi,

 I have successfully created a VM from Front-End to a Xen node However on
 creating the second VM I get an error:

 Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0
 Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: ERROR: Command
 /usr/bin/ssh node-1 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00
 failed.

 My VM template:
 NAME   = centos55
 CPU= 1
 MEMORY = 2048
 OS  =   [ bootloader = /usr/bin/pygrub ]

 DISK  = [  image = centos5564_Base.img]

 DISK   = [
  type = swap,
  size = 5120
  #target   = sdb
 ]


 NIC = [ BRIDGE = xenbr0, MAC = 00:16:3E:02:03:05 ]
 FEATURES=[ acpi=no ]

 GRAPHICS = [
  type= vnc,
  listen  = 0.0.0.0,
  port= 5916 ]

 The same template is used for creating first VM and it all was working
 fine. Except the swap is not created as an LV.

 How can I change this template so as to create a new LV for swap
 partiotion. Please note that I have not created any LV manually. If I create
 a LV manually how can I specify this in the VM template.

 I am stuck on this for some time and posted this multiple times with no
 answer.

 Any help would be appreciated.

 Thanks,
 Anoop

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Jaime Melis, Cloud Technology Engineer/Researcher
 Major Contributor
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org | jme...@opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Fwd: OpenVZ

2011-02-16 Thread knawnd

Hi!

I am trying to enable OpenVZ support in ONE.

I used KVM scripts as an example since they are using libvirt library on 
cluster nodes what I am trying to use too.

The following sections were added in oned.conf:
#---
#  OpenVZ Information Driver Manager Configuration
#---
IM_MAD = [
  name   = im_ovz,
  executable = one_im_ssh,
  arguments  = ovz ]
#---


#---
#  OpenVZ Virtualization Driver Manager Configuration
#---
VM_MAD = [
name   = vmm_ovz,
executable = one_vmm_ssh,
arguments  = ovz,
default= vmm_ssh/vmm_ssh_ovz.conf,
type   = ovz ]
#---

But when I run oned I get the following error:
$ /etc/init.d/oned start
Starting OpenNebula daemon:
Error while parsing configuration file:
syntax error, unexpected OBRACKET, expecting STRING at line 176, columns 
7290:7296

Could not load nebula configuration file.
Error executing /usr/bin/oned.
   [FAILED]

176  line of oned.conf file is
name   = vmm_ovz,

from custom section mentioned above in that email.


$ ls -al /usr/lib/one/remotes/vmm/
total 12
drwxr-xr-x 2 root root 4096 Feb 11 14:42 kvm
drwxr-xr-x 2 root root 4096 Feb 16 18:28 ovz
drwxr-xr-x 2 root root 4096 Feb 11 14:45 xen

$ ls -al /usr/lib/one/remotes/vmm/ovz/
total 32
-rwxr-xr-x 1 root root 1289 Feb 16 18:20 cancel
-rwxr-xr-x 1 root root 1443 Feb 16 18:20 deploy
-rwxr-xr-x 1 root root 1347 Feb 16 16:32 migrate
-rw-r--r-- 1 root root 1281 Feb 16 16:28 ovzrc
-rwxr-xr-x 1 root root 1890 Feb 16 18:22 poll
-rwxr-xr-x 1 root root 1279 Feb 16 18:23 restore
-rwxr-xr-x 1 root root 1364 Feb 16 18:24 save
-rwxr-xr-x 1 root root 1664 Feb 16 18:28 shutdown

Some additional info:
$ rpm -q opennebula
opennebula-2.0.1-1

Both front-end host and cluster node are running CentOS release 5.5 
(Final) x86.


Any ideas what needs to be fixed?
Nikolay.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error with TM_LVM

2011-02-16 Thread Anoop L
sure Jaime.

I have attached the vm.log as well.

Vm.log:

Wed Feb 16 20:49:43 2011 [DiM][I]: New VM state is ACTIVE.
Wed Feb 16 20:49:43 2011 [LCM][I]: New VM state is PROLOG.
Wed Feb 16 20:49:43 2011 [VM][I]: Virtual Machine has no context
Wed Feb 16 20:49:54 2011 [TM][I]: Command execution fail:
/opt/cloud/one/lib/tm_commands/lvm/tm_clone.sh
ast462:/opt/cloud/one/var//images/fd34675a5656d3b5b92e01b11dbae9c819e5f4c4
ast-wks-348:/opt/cloud/one/var//86/images/disk.0
Wed Feb 16 20:49:54 2011 [TM][I]: STDERR follows.
Wed Feb 16 20:49:54 2011 [TM][I]: /bin/sed: -e expression #1, char 29:
invalid reference \1 on `s' command's RHS
Wed Feb 16 20:49:54 2011 [TM][I]: ERROR MESSAGE --8--
Wed Feb 16 20:49:54 2011 [TM][I]: Logical volume lv-one--0 already exists
in volume group vg00
Wed Feb 16 20:49:54 2011 [TM][I]: ERROR MESSAGE --8--
Wed Feb 16 20:49:54 2011 [TM][I]: ExitCode: 5
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh:
ast462:/opt/cloud/one/var//images/fd34675a5656d3b5b92e01b11dbae9c819e5f4c4
ast-wks-348:/opt/cloud/one/var//86/images/disk.0
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: DST:
/opt/cloud/one/var//86/images/disk.0
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: Creating directory
/opt/cloud/one/var//86/images
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: Executed /usr/bin/ssh
ast-wks-348 mkdir -p /opt/cloud/one/var//86/images.
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: ERROR: Command /usr/bin/ssh
ast-wks-348 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00 failed.
Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: ERROR:   Logical volume
lv-one--0 already exists in volume group vg00
Wed Feb 16 20:49:54 2011 [TM][E]: Error excuting image transfer script:
Logical volume lv-one--0 already exists in volume group vg00
Wed Feb 16 20:49:55 2011 [DiM][I]: New VM state is FAILED
Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 Command execution fail:
/opt/cloud/one/lib/tm_commands/lvm/tm_delete.sh
ast-wks-348:/opt/cloud/one/var//86/images

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 STDERR follows.

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 /bin/sed: -e expression
#1, char 29: invalid reference \1 on `s' command's RHS

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 ERROR MESSAGE --8--

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 Can't remove open
logical volume lv-one--0

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 ERROR MESSAGE --8--
Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 ExitCode: 5

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 tm_delete.sh: Deleting
remote LVs

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 tm_delete.sh: ERROR:
Command /usr/bin/ssh ast-wks-348 /usr/bin/sudo /sbin/lvremove -f $(echo
vg00/$(/usr/bin/sudo /sbin/lvs --noheadings vg00|awk '{print $1}'|grep
lv-one-)) failed.

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 tm_delete.sh: ERROR:
Can't remove open logical volume lv-one--0

Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: TRANSFER FAILURE 86 Can't remove
open logical volume lv-one--0

Thanks,
Anoop


On Wed, Feb 16, 2011 at 9:12 PM, Jaime Melis jme...@opennebula.org wrote:

 Hi Anoop,

 could you please send me the full vm.log of that VM?

 cheers,
 Jaime


 On Wed, Feb 16, 2011 at 4:31 PM, Anoop L anpl1...@gmail.com wrote:

 Hi Jaime,

 Thanks for the reply. My VM ID is 86 but still ONE uses 0 as identifier
 for LV. Even the working VM with ID  is using lv-one--0.

 I have already tried removing LV manually. I guess issue is that ONE is
 trying to create the LV of same name and some how VM ID is not appended to
 the LV_NAME.

 One more things is when second VM fails it deletes the lv-one--0. Also any
 idea how can I force set a VM template that a swap space/disk to be created
 on LV.

 Some more information:

  onevm list
ID USER NAME STAT CPU MEMHOSTNAMETIME
85 oneadmin centos55 runn   0  2G ast-wks-348 00 02:00:16
86 oneadmin centos55 fail   0  0K ast-wks-348 00 00:00:42


 onevm show 86 gives:

 VIRTUAL MACHINE 86
 INFORMATION
 ID : 86
 NAME   : centos55
 STATE  : FAILED
 LCM_STATE  : LCM_INIT
 START TIME : 02/16 20:49:13
 END TIME   : 02/16 20:49:55
 DEPLOY ID: : -

 VIRTUAL MACHINE
 MONITORING
 NET_TX : 0
 NET_RX : 0
 USED MEMORY: 0
 USED CPU   : 0

 VIRTUAL MACHINE
 TEMPLATE
 CPU=1
 DISK=[
   CLONE=YES,
   DISK_ID=0,
   IMAGE=centos5564_Base.img,
   IMAGE_ID=8,
   READONLY=NO,
   SAVE=NO,

 SOURCE=/opt/cloud/one/var//images/fd34675a5656d3b5b92e01b11dbae9c819e5f4c4,
   TARGET=hda,
   TYPE=DISK ]
 DISK=[
   DISK_ID=1,
   SIZE=5120,
   TARGET=hdd,
   TYPE=swap ]
 FEATURES=[
   ACPI=no ]
 GRAPHICS=[
   LISTEN=0.0.0.0,
   PORT=5916,
   TYPE=vnc ]
 MEMORY=2048
 NAME=centos55
 NIC=[
   BRIDGE=xenbr0,
   IP=10.20.30.1,
   MAC=02:00:0a:14:1e:01,
   NETWORK=LAN2,
   NETWORK_ID=2 ]
 OS=[
   

[one-users] Does Opennebula 2.0.1 support disaster recovery?

2011-02-16 Thread YE LEI
Hello,
As mentioned in the mail title, does Opennebula 2.0.1 support disaster
recovery cross-regional?

Best Regards,
YE Lei


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org