Re: [one-users] OCCI vm status indication

2013-06-07 Thread Miloš Kozák

Hi,
I tried to redefine the features, you can see bellow, but the hypervisor 
still keeps it as active.. According to my understanding anc compute.js 
it should change to shutdown isnt it? Is there any state diagram fot 
STATE as is for LVM_STATE?


Milos

BTW current:
[oneadmin@kvasi occi]$ onevm show 112
VIRTUAL MACHINE 112 INFORMATION
ID  : 112
NAME: one-112
USER: oneadmin
GROUP   : oneadmin
STATE   : ACTIVE
LCM_STATE   : SHUTDOWN_POWEROFF
RESCHED : No
HOST: kvasi.k13132.local
START TIME  : 06/07 08:02:30
END TIME: -
DEPLOY ID   : one-112

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

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

VIRTUAL MACHINE TEMPLATE
CPU=1
DISK=[
  CLONE=NO,
  DATASTORE=emc-spc,
  DATASTORE_ID=104,
  DEV_PREFIX=hd,
  DISK_ID=0,
  DRIVER=raw,
  IMAGE=ttylinux-per,
  IMAGE_ID=76,
  IMAGE_UNAME=oneadmin,
  PERSISTENT=YES,
  READONLY=NO,
  SAVE=YES,
  SOURCE=/dev/vg-c/lv-one-76,
  TARGET=hda,
  TM_MAD=shared_lvm,
  TYPE=FILE ]
FEATURES=[
  ACPI=yes ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  PORT=6012,
  TYPE=vnc ]
MEMORY=1024
NAME=one-112
OS=[
  ARCH=i686,
  BOOT=hd ]
RAW=[
  TYPE=kvm ]
TEMPLATE_ID=1
VCPU=2
VMID=112

VIRTUAL MACHINE HISTORY
 SEQ HOSTREASON   STARTTIME PROLOG_TIME
   0 kvasi.k13132.lo user06/07 08:02:560d 00h01m45s0d 00h00m00s
   1 kvasi.k13132.lo none06/07 08:04:560d 00h01m14s0d 00h00m00s
[oneadmin@kvasi occi]$
[oneadmin@kvasi occi]$ occi-compute show 112
COMPUTE href='http://127.0.0.1:4567/compute/112'
  ID112/ID
  USER name='oneadmin' href='http://127.0.0.1:4567/user/0'/
  GROUPoneadmin/GROUP
  CPU1/CPU
  MEMORY1024/MEMORY
  NAMEone-112/NAME
  STATEACTIVE/STATE
  DISK id='0'
STORAGE name='ttylinux-per' href='http://127.0.0.1:4567/storage/76'/
TYPEFILE/TYPE
TARGEThda/TARGET
  /DISK
/COMPUTE


Dne 6.6.2013 17:47, Daniel Molina napsal(a):

Hi Miloš,


On 6 June 2013 10:37, Miloš Kozák milos.ko...@lejmr.com 
mailto:milos.ko...@lejmr.com wrote:


Hi,

Template:
ACPI=yes
CPU=1
DISK=[
  IMAGE=ttylinux-per,
  IMAGE_UNAME=oneadmin ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=vnc ]
MEMORY=1024
NAME=ttylinux
OS=[
  ARCH=i686,
  BOOT=hd ]
RAW=[
  TYPE=kvm ]
TEMPLATE_ID=1
VCPU=2


States:

110 oneadmin oneadmin one-110 shut0 0K kvasi.k131   0d
00h01
occi-compute show 110
COMPUTE href='http://127.0.0.1:4567/compute/110'
  ID110/ID
  USER href='http://127.0.0.1:4567/user/0' name='oneadmin'/
  GROUPoneadmin/GROUP
  CPU1/CPU
  MEMORY1024/MEMORY
  NAMEone-110/NAME
  STATEACTIVE/STATE
  DISK id='0'
STORAGE href='http://127.0.0.1:4567/storage/76'
name='ttylinux-per'/
TYPEFILE/TYPE
TARGEThda/TARGET
  /DISK
/COMPUTE

After poweroff:

onevm show 110
VIRTUAL MACHINE 110 INFORMATION
ID  : 110
NAME: one-110
USER: oneadmin
GROUP   : oneadmin
STATE   : ACTIVE
LCM_STATE   : SHUTDOWN_POWEROFF
RESCHED : No
HOST: kvasi.k13132.local
START TIME  : 06/03 10:00:41
END TIME: -
DEPLOY ID   : one-110

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

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

VIRTUAL MACHINE TEMPLATE
ACPI=yes
CPU=1
DISK=[
  CLONE=NO,
  DATASTORE=emc-spc,
  DATASTORE_ID=104,
  DEV_PREFIX=hd,
  DISK_ID=0,
  DRIVER=raw,
  IMAGE=ttylinux-per,
  IMAGE_ID=76,
  IMAGE_UNAME=oneadmin,
  PERSISTENT=YES,
  READONLY=NO,
  SAVE=YES,
  SOURCE=/dev/vg-c/lv-one-76,
  TARGET=hda,
  TM_MAD=shared_lvm,
  TYPE=FILE ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  PORT=6010,
  TYPE=vnc ]
MEMORY=1024
NAME=one-110
OS=[
  ARCH=i686,
  BOOT=hd ]
RAW=[
  TYPE=kvm ]
TEMPLATE_ID=1
VCPU=2
VMID=110

VIRTUAL MACHINE HISTORY
 SEQ HOSTREASON STARTTIME PROLOG_TIME
   0 kvasi.k13132.lo user06/03 10:00:560d 00h04m10s0d
00h00m00s
   1 kvasi.k13132.lo none06/03 10:05:260d 00h00m26s0d
00h00m00s
[oneadmin@kvasi occi]$ occi-compute show 110
COMPUTE href='http://127.0.0.1:4567/compute/110'
  ID110/ID
  USER name='oneadmin' href='http://127.0.0.1:4567/user/0'/
http://127.0.0.1:4567/user/0%27/
  GROUPoneadmin/GROUP
  CPU1/CPU
  MEMORY1024/MEMORY
  NAMEone-110/NAME
  

Re: [one-users] Access an oZones zone using EC2 ..... (Users Digest, Vol 64, Issue 33)

2013-06-07 Thread Rolandas Naujikas

On 2013-06-07 10:11, Andranik Hayrapetyan wrote:

Hi,

Thank you for response! I tried this but I had a problem.
I am exporting this environmental variables
export EC2_SECRET_KEY=x
export EC2_ACCESS_KEY=oneadmin
export ONE_AUTH=$HOME/one_auth
export EC2_URL=http://localhost:4567

and econe commands work fine.

In my apache configuration I added the following for reverse proxy:
ProxyPass /ec2/ http://localhost:4567
ProxyPassReverse /ec2/ http://localhost:4567

And after I changed the export EC2_URL=http://localhost:4567 with export
EC2_URL=http://MY_IP_ADDRESS/ec2/


In econe.conf you have to put
:ssl_server: http://MY_IP_ADDRESS/ec2/

Because it is used in EC2 authentication, it will not work with 
different EC2_URL=http://localhost:4567 anymore. You have to use 
EC2_URL=http://MY_IP_ADDRESS/ec2/ (sometimes final / is not required, 
but it depends on EC2 client).


Regards, Rolandas


but this way I am getting the following error:
econe-describe-images: The username or password is not correct

May be I am missing something?

Thanks in advance!


On Thu, Jun 6, 2013 at 2:56 PM, Tino Vazquez tin...@opennebula.org wrote:


Hi,

The rules for the reverse proxy are only set for the CLI and Sunstone,
but in principle i don't see why it shouldn't work as well with EC2
and OCCI as well. If you think this is interesting, please open a
feature request in the dev.opennebula.org portal.

Best regards,

-Tino
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
www.opennebulaconf.com

--
Constantino V?zquez Blanco, PhD, MSc
Project Engineer | OpenNebula - The Open-Source Solution for Data
Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Thu, Jun 6, 2013 at 10:05 AM, Andranik Hayrapetyan
andranik@gmail.com wrote:

Good day,

I would like to know, if it is possible to access a zone which I have
created with oZones server using EC2 API, or it is only possible with
OpenNebul CLI and Sunestone server like it is said here
http://opennebula.org/documentation:rel4.0:ozones .

P.S. I am using OpenNebula 4

Thanks in advance!

___
Users mailing list
Users@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/20130607/7d5e4757/attachment.htm





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


Re: [one-users] Backporting ONE 3.8 context scripts into ONE 3.2 cloud?

2013-06-07 Thread Javier Fontan
Contextualization scripts should be backwards compatible. You will
also be able to add network information to the contextualization part
of the template.

On Thu, Jun 6, 2013 at 8:27 PM, Steven Timm t...@fnal.gov wrote:

 Is there any reason that the one-context scripts that were
 released with ONE 3.8 couldn't be used in a ONE 3.2 cloud?

 I am hoping I can use them to solve some nasty udev/network problems I've
 been having on 32-bit guests.

 Steve Timm


 --
 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



-- 
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!

Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] No filed for VLAN_ID when adding a new network?

2013-06-07 Thread Daniel Molina
Fixed in the repo:
http://dev.opennebula.org/issues/2107

Thank you


On 6 June 2013 19:53, Dmitri Chebotarov dcheb...@gmu.edu wrote:

 Thank you. It worked.

 On Jun 6, 2013, at 11:57 , Daniel Molina dmol...@opennebula.org wrote:

  Hi,
 
 
  On 6 June 2013 16:43, Dmitri Chebotarov dcheb...@gmu.edu wrote:
  Hi
 
  I think Sunstore's interface is missing VLAN_ID field when adding a new
 network with VLAN set to YES (i.e. OVS model).
  I'm pretty sure it was there before 4.0.1 - I have few networks which
 I've created on 4.0 with VLAN_ID set, before I updated to 4.0.1.
 
  This is what it shows in my case (print screen attached)
 
  Indeed, that is a bug. Could you try applying the following patch?
 
  -8
  diff --git a/src/sunstone/public/js/plugins/vnets-tab.js
 b/src/sunstone/public/js/plugins/vnets-tab.js
  index 792b960..e33a8a2 100644
  --- a/src/sunstone/public/js/plugins/vnets-tab.js
  +++ b/src/sunstone/public/js/plugins/vnets-tab.js
  @@ -1190,6 +1190,7 @@ function setupCreateVNetDialog() {
 
  $('input#phydev,label[for=phydev]',$create_vn_dialog).hide();
   $('select#vlan,label[for=vlan]',$create_vn_dialog).show();
 
  $('input#vlan_id,label[for=vlan_id]',$create_vn_dialog).show();
  +break;
   case vmware:
 
  $('input#bridge,label[for=bridge]',$create_vn_dialog).show();
 
  $('input#phydev,label[for=phydev]',$create_vn_dialog).hide();
  @@ -1197,9 +1198,6 @@ function setupCreateVNetDialog() {
 
  $('input#vlan_id,label[for=vlan_id]',$create_vn_dialog).show();
   break;
   };
  -
  -if (!mustBeAdmin())
  -
  $('input#vlan_id,label[for=vlan_id]',$create_vn_dialog).hide();
   });
 
   //Initialize shown options
 
  -8
 
 
 
  --
  Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
  --
  Daniel Molina
  Project Engineer
  OpenNebula - The Open Source Solution for Data Center Virtualization
  www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula



 --
 Thank you,

 Dmitri Chebotarov
 VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers 
 Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175 | Fax: (703) 993-3404






-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] NetApp + Openstack folsom

2013-06-07 Thread Alexandre De Carvalho
Hi !


I have : 1 controller, 1 compute, 1 block storage and all that this works
well.  (Ubuntu 12.04 LTS + OpenStack Folsom)

And i would like to add a NetApp iSCSI FAS2020 for this structure. But i
don't know how and I don't find any document to do it.


If you can help me, i'm interested !


Thanks for your help !

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


Re: [one-users] Access an oZones zone using EC2 .....

2013-06-07 Thread Tino Vazquez
Hi,

Looks like the auth information is getting mangled. Is there anything
showing in /var/lib/one/oned.log or /var/lib/one/econe-server.log?

Regards,

-Tino
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
www.opennebulaconf.com

--
Constantino Vázquez Blanco, PhD, MSc
Project Engineer | OpenNebula - The Open-Source Solution for Data
Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Fri, Jun 7, 2013 at 9:11 AM, Andranik Hayrapetyan
andranik@gmail.com wrote:
 Hi,

 Thank you for response! I tried this but I had a problem.
 I am exporting this environmental variables
 export EC2_SECRET_KEY=x
 export EC2_ACCESS_KEY=oneadmin
 export ONE_AUTH=$HOME/one_auth
 export EC2_URL=http://localhost:4567

 and econe commands work fine.

 In my apache configuration I added the following for reverse proxy:
 ProxyPass /ec2/ http://localhost:4567
 ProxyPassReverse /ec2/ http://localhost:4567

 And after I changed the export EC2_URL=http://localhost:4567 with export
 EC2_URL=http://MY_IP_ADDRESS/ec2/

 but this way I am getting the following error:
 econe-describe-images: The username or password is not correct

 May be I am missing something?

 Thanks in advance!


 On Thu, Jun 6, 2013 at 2:56 PM, Tino Vazquez tin...@opennebula.org wrote:

 Hi,

 The rules for the reverse proxy are only set for the CLI and Sunstone,
 but in principle i don't see why it shouldn't work as well with EC2
 and OCCI as well. If you think this is interesting, please open a
 feature request in the dev.opennebula.org portal.

 Best regards,

 -Tino
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
 www.opennebulaconf.com

 --
 Constantino Vázquez Blanco, PhD, MSc
 Project Engineer | OpenNebula - The Open-Source Solution for Data
 Center Virtualization
 www.OpenNebula.org | @tinova79 | @OpenNebula


 On Thu, Jun 6, 2013 at 10:05 AM, Andranik Hayrapetyan
 andranik@gmail.com wrote:
  Good day,
 
  I would like to know, if it is possible to access a zone which I have
  created with oZones server using EC2 API, or it is only possible with
  OpenNebul CLI and Sunestone server like it is said here
  http://opennebula.org/documentation:rel4.0:ozones .
 
  P.S. I am using OpenNebula 4
 
  Thanks in advance!
 
  ___
  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] No bootfile name recieved

2013-06-07 Thread Tino Vazquez
Hi Monish,

The problem is the next bit of the VM template:

OS=[
  ARCH=x86_64,
  BOOT=sda ]

change that to:

OS=[
  ARCH=x86_64,
  BOOT=hd ]

Best regards,

-Tino

--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
www.opennebulaconf.com

--
Constantino Vázquez Blanco, PhD, MSc
Project Engineer | OpenNebula - The Open-Source Solution for Data
Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Thu, Jun 6, 2013 at 5:45 PM, Monish Jain monish.j...@rsystems.com wrote:




 From: Monish Jain
 Sent: Thursday, June 06, 2013 9:15 PM
 To: 'Tino Vazquez'
 Subject: RE: [one-users] No bootfile name recieved



 [root@cloud1 apparmor-2.8.1]# onevm show 14

 VIRTUAL MACHINE 14 INFORMATION

 ID  : 14

 NAME: monvm

 USER: oneadmin

 GROUP   : oneadmin

 STATE   : DONE

 LCM_STATE   : LCM_INIT

 RESCHED : No

 START TIME  : 05/29 12:18:01

 END TIME: 05/29 12:31:13

 DEPLOY ID   : -



 VIRTUAL MACHINE MONITORING

 USED CPU: 0

 NET_TX  : 0K

 USED MEMORY : 0K

 NET_RX  : 0K



 PERMISSIONS

 OWNER   : um-

 GROUP   : ---

 OTHER   : ---



 VM DISKS

 ID TARGET IMAGE   TYPE SAVE SAVE_AS

   0 hdattylinux - VMware   file   NO   -



 VM NICS

 ID NETWORK  VLAN BRIDGE   IP  MAC

   0 exinet no VM Network   10.196.221.124  02:00:0a:c4:dd:7c

fe80::400:aff:fec4:dd7c



 VIRTUAL MACHINE HISTORY

 SEQ HOSTACTION   REAS   STARTTIME
 PROLOG

   0 esxinone erro  05/29 12:18:04   0d 00h00m
 0h00m32s



 VIRTUAL MACHINE TEMPLATE

 AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 100

 CONTEXT=[

   DISK_ID=1,

   ETH0_GATEWAY=10.196.221.254,

   ETH0_IP=10.196.221.124,

   ETH0_MASK=255.255.255.0,

   ETH0_NETWORK=10.196.221.0,

   TARGET=hdb ]

 CPU=1

 FEATURES=[

   ACPI=no ]

 GRAPHICS=[

   LISTEN=0.0.0.0,

   PORT=5905,

   TYPE=VNC ]

 MEMORY=1024

 OS=[

   ARCH=x86_64,

   BOOT=sda ]

 TEMPLATE_ID=3

 VMID=14



 .









 Dear Monish,



 Please send us the template of the VM (onevm show vid, where vid is the ID
 of the VM).



 Regards,



 -Tino


 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
 www.opennebulaconf.com

 --
 Constantino Vázquez Blanco, PhD, MSc
 Project Engineer | OpenNebula - The Open-Source Solution for Data Center
 Virtualization
 www.OpenNebula.org | @tinova79 | @OpenNebula



 On Wed, Jun 5, 2013 at 4:00 PM, Monish Jain monish.j...@rsystems.com
 wrote:

 Hi,



 I am using an image of my own in the VM creation, it is running successfully
 ,but is not booting.

 The following message I am getting from the console of VM:

 Please help.









 Thanks  Regards

 Monish jain







 

 The information contained in this e-mail and any accompanying documents may
 contain information that is confidential or otherwise protected from
 disclosure. If you are not the intended recipient of this message, please
 immediately alert the sender by reply e-mail and then delete this message.
 Any dissemination, distribution or other use of the contents of this message
 by anyone other than the intended recipient is strictly prohibited. R
 Systems has taken every reasonable precaution to minimize the risk, but is
 not liable for any damage you may sustain as a result of any virus in this
 e-mail. You should carry out your own virus checks before opening the e-mail
 or attachment.


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




 
 The information contained in this e-mail and any accompanying documents may
 contain information that is confidential or otherwise protected from
 disclosure. If you are not the intended recipient of this message, please
 immediately alert the sender by reply e-mail and then delete this message.
 Any dissemination, distribution or other use of the contents of this message
 by anyone other than the intended recipient is strictly prohibited. R
 Systems has taken every reasonable precaution to minimize the risk, but is
 not liable for any damage you may sustain as a result of any virus in this
 e-mail. You should carry out your own virus checks before opening the e-mail
 or attachment.

 ___
 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] Problems with Appmarket on ONE 4.0.1

2013-06-07 Thread Daniel Molina
Hi,


On 6 June 2013 16:14, Uli ulih...@gmail.com wrote:

 Hi

 I have installed Opennebula 4.0.1 and Oneapps 3.9.80 (I don't see a 4.0 or
 4.0.1 version of this).  I have installed the appmarket as per the
 instructions.  The appmarket service and  mongo is up and running.  I can
 see the market database files (same size as the test database).


That's OK, 3.9.80 is version number for OpenNebulaApps 4.0 Beta, we''ll
release the final version soon.



 Clicking on the refresh button on the Opennebula Appmarket page gives an
 entry in the appmarket-server.error log:
 127.0.0.1 - - [06/Jun/2013 15:01:30] GET /appliance HTTP/1.1 200 42
 0.0099
 Clicking on the Import button does nothing.

 I have defined AppMarket to run under a reverse ssh Apache2 proxy.  The
 Sunstone part works but I am not sure if I can do it as follows?

 VirtualHost _default_:443
 ...
 Location /
   RequestHeader set SSL_CLIENT_S_DN %{SSL_CLIENT_S_DN}s
   RequestHeader set SSL_CLIENT_I_DN %{SSL_CLIENT_I_DN}s
   RequestHeader set SSL_SERVER_S_DN_OU %{SSL_SERVER_S_DN_OU}s
   RequestHeader set SSL_CLIENT_VERIFY %{SSL_CLIENT_VERIFY}s
   RequestHeader set SSL_CLIENT_CERT %{SSL_CLIENT_CERT}s

   ProxyPasshttp://localhost:9869/
   ProxyPassReverse http://localhost:9869/
  /Location
 Location /market/
   ProxyPasshttp://localhost:6242/
   ProxyPassReverse http://localhost:6242/
 /Location
 /VirtualHost




I am sorry, but I don't understand what's the error.

1. Appliances should be created through the AppMarket interface (not
Sunstone). Note that the AppMarket only keeps metadata of the appliance and
not the file; the file must be hosted elsewhere.
http://opennebula.org/documentation:rel4.0:appmarket_use#create_an_appliance_user

2. Once you have created some appliances in your Appmarket you will be able
to list them in the Sunstone tab and import them form the AppMarket to one
of your OpenNebula datastores creating a new image (Import button).
http://opennebula.org/documentation:rel4.0:appmarket_use#interacting_with_the_appmarket_from_opennebula

Cheers


-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] xen block type for contextualization

2013-06-07 Thread Paulo A L Rego
Hello all,

My private cloud is configured with Xen and LVM; but the vm creation with
context is failing with the following error: *Error: Device 5632 (vbd)
could not be connected. /srv/cloud/one/var//datastores/0/9/disk.2 is not a
block device.*

My template is as follow:
DISK=[ DEV_PREFIX=xvd, DRIVER=phy:, IMAGE_ID=3 ]
DISK=[ DEV_PREX=xvd, DRIVER=file:, SIZE=512, TYPE=swap ]

The deployment file created has the following lines:
disk = [
'phy:/srv/cloud/one/var//datastores/0/9/disk.0,xvda,w',
'file:/srv/cloud/one/var//datastores/0/9/disk.1,hda,w',
'*phy*:/srv/cloud/one/var//datastores/0/9/disk.2,hdc,r',
]

disk.0 is the file system, disk.1 is the swap and disk.2 is the iso file
created for contextualization..
when i manually alter *phy:* for *file:*, the error disappears..

OpenNebula will always set phy: for the contextualization disk?
How can i fix this problem? Any tip?

Ps:. The vm is created normally if the contextualization is not set.

Thanks
--
Paulo Antonio Leal Rego
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] xen block type for contextualization

2013-06-07 Thread Ruben S. Montero
Hi

You can also use the DRIVER attribute in context

CONTEXT = [ DRIVER=file:,. ]

Cheers

Ruben


On Fri, Jun 7, 2013 at 9:00 PM, Paulo A L Rego pauloalr@gmail.comwrote:

 Hello all,

 My private cloud is configured with Xen and LVM; but the vm creation with
 context is failing with the following error: *Error: Device 5632 (vbd)
 could not be connected. /srv/cloud/one/var//datastores/0/9/disk.2 is not a
 block device.*

 My template is as follow:
 DISK=[ DEV_PREFIX=xvd, DRIVER=phy:, IMAGE_ID=3 ]
 DISK=[ DEV_PREX=xvd, DRIVER=file:, SIZE=512, TYPE=swap ]

 The deployment file created has the following lines:
 disk = [
 'phy:/srv/cloud/one/var//datastores/0/9/disk.0,xvda,w',
 'file:/srv/cloud/one/var//datastores/0/9/disk.1,hda,w',
 '*phy*:/srv/cloud/one/var//datastores/0/9/disk.2,hdc,r',
 ]

 disk.0 is the file system, disk.1 is the swap and disk.2 is the iso file
 created for contextualization..
 when i manually alter *phy:* for *file:*, the error disappears..

 OpenNebula will always set phy: for the contextualization disk?
 How can i fix this problem? Any tip?

 Ps:. The vm is created normally if the contextualization is not set.

 Thanks
 --
 Paulo Antonio Leal Rego

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




-- 
-- 
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Installing Open Nebula for the first time

2013-06-07 Thread aok pan
Dear All,
can you please advice what i can do to install open nebula cloud i need the
instructions and what is needed to be installed.
can some one please advice me.
B.rgds
Amira okasha
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] xen block type for contextualization

2013-06-07 Thread Paulo A L Rego
Thanks a lot. It works smoothly.

--
Paulo Antonio Leal Rego


2013/6/7 Ruben S. Montero rsmont...@opennebula.org

 Hi

 You can also use the DRIVER attribute in context

 CONTEXT = [ DRIVER=file:,. ]

 Cheers

 Ruben


 On Fri, Jun 7, 2013 at 9:00 PM, Paulo A L Rego pauloalr@gmail.comwrote:

 Hello all,

 My private cloud is configured with Xen and LVM; but the vm creation with
 context is failing with the following error: *Error: Device 5632 (vbd)
 could not be connected. /srv/cloud/one/var//datastores/0/9/disk.2 is not a
 block device.*

 My template is as follow:
 DISK=[ DEV_PREFIX=xvd, DRIVER=phy:, IMAGE_ID=3 ]
 DISK=[ DEV_PREX=xvd, DRIVER=file:, SIZE=512, TYPE=swap ]

 The deployment file created has the following lines:
 disk = [
 'phy:/srv/cloud/one/var//datastores/0/9/disk.0,xvda,w',
 'file:/srv/cloud/one/var//datastores/0/9/disk.1,hda,w',
 '*phy*:/srv/cloud/one/var//datastores/0/9/disk.2,hdc,r',
 ]

 disk.0 is the file system, disk.1 is the swap and disk.2 is the iso file
 created for contextualization..
 when i manually alter *phy:* for *file:*, the error disappears..

 OpenNebula will always set phy: for the contextualization disk?
 How can i fix this problem? Any tip?

 Ps:. The vm is created normally if the contextualization is not set.

 Thanks
 --
 Paulo Antonio Leal Rego

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




 --
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula

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