Re: [one-users] Clone images in datastore /w TM_MAD=qcow2

2015-02-23 Thread Ruben S. Montero
Hi Dimitri,

We are moving the community to the new forum by the end of the week [1].
This last week things are getting even worse with the hosting company...
seems a good time to move on ;)

Anyway  there are two drivers DS and TM. QoW is used for TM when a
persistent image (or master/golden) is cloned to fire a new VM. The
original image is moved to used state and so it won't be deleted.

On the other hand, a DS clone operation creates a completely (read
independent from) the original image. Using QoW for this would be faster,
but we will need more logic to flatten the snapshots when the original is
deleted, and potentially we will end up with multiple snapshot layers that
will degrade performance.

Cheers

Ruben

[1] http://opennebula.org/new-opennebula-community-forum/

On Mon, Feb 23, 2015 at 9:17 PM, Dmitri Chebotarov  wrote:

> I forgot to add that I'm running ONE 4.8.0
>
>
> --
> 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
>
>
> > On Feb 23, 2015, at 14:52 , Dmitri Chebotarov  wrote:
> >
> > Hi,
> >
> > I'm cloning image within a datastore /w TM_MAD=qcow2.
> > The cloning process is done using 'cp' command, but I thought it should
> be done /w 'qemu-image clone' command. What I'm missing?
> >
> > # onedatastore show 142
> > DATASTORE 142 INFORMATION
> > ID : 142
> > NAME   : [HOSTED] Data 1
> > USER   : dchebota
> > GROUP  : oneadmin
> > CLUSTER: -
> > TYPE   : IMAGE
> > DS_MAD : fs
> > TM_MAD : qcow2
> > BASE PATH  : /var/lib/one/datastores/142
> > DISK_TYPE  : FILE
> >
> > DATASTORE CAPACITY
> > TOTAL: : 285G
> > FREE:  : 118.6G
> > USED:  : 227.8G
> > LIMIT: : -
> >
> > PERMISSIONS
> > OWNER  : um-
> > GROUP  : u--
> > OTHER  : ---
> >
> > DATASTORE TEMPLATE
> > CLONE_TARGET="SYSTEM"
> > DISK_TYPE="FILE"
> > DS_MAD="fs"
> > INFO="Image DS for Hosted VMs"
> > LN_TARGET="NONE"
> > TM_MAD="qcow2"
> > TYPE="IMAGE_DS"
> >
> >
> > --
> > 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
> >
> >
> > ___
> > 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
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vxlan feature in upcoming 4.12

2015-02-20 Thread Ruben S. Montero
On Thu, Feb 19, 2015 at 11:19 PM, Karsten Nielsen 
wrote:

>  Thanks that clarified the setup.
>
> I have some related questions.
>
> Will this give the same network isolation as using openvswitch with vlan?
>

Yes. However note that isolation is achieved by a different mechanism that
may have implications in your network backend.


How does this compare to a setup of openvswtich with vxlan tunneling ?
>

AFAIK these are two implementations of the VXLAN protocol, but I don't know
any performance comparison. We prefer to depend on the Linux kernel
implementation to leverage the iptables filtering and not add extra
dependencies.


Cheers


> Best,
> - Karsten
>
> On 19/02/15 22:37, Ruben S. Montero wrote:
>
> You can take a look to the documentation
>
>
> https://github.com/OpenNebula/docs/blob/master/source/administration/networking/vxlan.rst
>
>  Let me known if you have any other question
>
>
>  Cheers
>
>  Ruben
>
> On Thu, Feb 19, 2015 at 9:38 PM, Karsten Nielsen 
> wrote:
>
>> Hi,
>>
>> Is there somewhere we can take a sneak peak at the upcoming 4.12 vxlan
>> feature ?
>> Or maybe somebody can describe it to me.
>>
>> Thanks,
>> - Karsten
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
>  --
>   Ruben S. Montero, PhD
>  Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
>
>


-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vxlan feature in upcoming 4.12

2015-02-19 Thread Ruben S. Montero
You can take a look to the documentation

https://github.com/OpenNebula/docs/blob/master/source/administration/networking/vxlan.rst

Let me known if you have any other question


Cheers

Ruben

On Thu, Feb 19, 2015 at 9:38 PM, Karsten Nielsen 
wrote:

> Hi,
>
> Is there somewhere we can take a sneak peak at the upcoming 4.12 vxlan
> feature ?
> Or maybe somebody can describe it to me.
>
> Thanks,
> - Karsten
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] clusters in 4.8

2015-02-14 Thread Ruben S. Montero
Hi

My Fault, you are right the cluster requirements are also used for
system datastores. Note that the default cluster behaves as described
for VNETs. This behavior is not coherent with the documentation as you
mentioned in a previous mail, so it seems a bug. I filled an issue [1]
to look at this before 4.12.

Thanks for the detailed feedback :)

Cheers

Ruben

[1] http://dev.opennebula.org/issues/3597

On Sat, Feb 14, 2015 at 1:27 AM, Steven C Timm  wrote:
> One more followup:
>
> host 156 + vnet2 + ds 100/102, all outside the cluster, no problem
> host 156 + vnet2 + ds100/102, all in the cluster, no problem
>
> host 156 and vnet2 in the cluster, DS outside of the cluster, problem.
> SCHED_MESSAGE="Fri Feb 13 18:06:29 2015 : No system datastore meets 
> SCHED_DS_REQUIREMENTS: CLUSTER_ID = 101 & !(PUBLIC_CLOUD = YES)"
>
> host 156 in the cluster, vnet2 and DS out of the cluster
> No error message but it never matches either.
>
> Fri Feb 13 18:24:29 2015 [Z0][HOST][D]: Discovered Hosts (enabled):
>  0 2 156
> Fri Feb 13 18:24:29 2015 [Z0][SCHED][D]: VM 1058: Host 0 filtered out. It 
> does not fulfill SCHED_REQUIREMENTS.
> Fri Feb 13 18:24:29 2015 [Z0][SCHED][D]: VM 1058: Host 2 filtered out. It 
> does not fulfill SCHED_REQUIREMENTS.
> Fri Feb 13 18:24:29 2015 [Z0][SCHED][I]: Scheduling Results:
> Virtual Machine: 1058
>
> PRI ID - HOSTS
> 
> 1   156
>
> PRI ID - DATASTORES
> 
> 0   100
> 0   0
>
>
> Fri Feb 13 18:24:29 2015 [Z0][SCHED][I]: VM 1058: No suitable System DS found 
> for Host: 156. Filtering out host.
>
> Steve Timm
>
>
>
> 
> From: Steven C Timm
> Sent: Friday, February 13, 2015 6:01 PM
> To: Ruben S. Montero
> Cc: users@lists.opennebula.org
> Subject: RE: [one-users] clusters in 4.8
>
> PS--if there are other vm's still launched and running from the time when the 
> datastore used to be part of
> a cluster, could that confuse anything?  Do I have to restart oned to clear 
> anything up?
>
> Steve Timm
>
> 
> From: Steven C Timm
> Sent: Friday, February 13, 2015 5:56 PM
> To: Ruben S. Montero
> Cc: users@lists.opennebula.org
> Subject: RE: [one-users] clusters in 4.8
>
> OK here we go:
>
> VM in question is taking an image from image store 102 (currently in no 
> cluster),
> vnet 0 "routable private" from cluster 100 "cloud worker"
> also a number of hosts, including hosts # 0 and 2, also part of cluster 
> "cloud worker"
>
> VM stays pending for ever, hold reason is below.--it is requiring that 
> cluster ID has to be 100.
>
> Same image and same datastore and same vnet outside of the cluster, work just 
> fine.
>
> Seems like if I require any resource from the cluster, in this case a vnet, 
> then all resources
> have to be in the cluster.  Am I missing something?
>
> Steve Timm
>
>
>
> [root@fclheadgpvm01 one]# onevm show 1054 | more
> VIRTUAL MACHINE 1054 INFORMATION
> ID  : 1054
> NAME: CLI_PRIV_SLF6Vanilla-1054
> USER: oneadmin
> GROUP   : oneadmin
> STATE   : PENDING
> LCM_STATE   : LCM_INIT
> RESCHED : No
> START TIME  : 02/13 17:44:52
> END TIME: -
> DEPLOY ID   : -
>
> VIRTUAL MACHINE MONITORING
> NET_RX  : 0K
> USED MEMORY : 0K
> USED CPU: 0
> NET_TX  : 0K
>
> PERMISSIONS
> OWNER   : um-
> GROUP   : ---
> OTHER   : ---
>
> VM DISKS
>  ID TARGET IMAGE   TYPE SAVE SAVE_AS
>   0 vdaSLF6Vanilla file   NO   -
>
> VM NICS
>  ID NETWORK  VLAN BRIDGE   IP  MAC
>   0 routable-private   no br1  10.128.1.9  54:52:00:02:0d:09
>
> USER TEMPLATE
> NPTYPE="NPERNLM"
> SCHED_MESSAGE="Fri Feb 13 17:46:29 2015 : No system datastore meets 
> SCHED_DS_REQ
> UIREMENTS: CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES)"
> SCHED_RANK="FREE_MEM"
> SCHED_REQUIREMENTS="HYPERVISOR=\"kvm\" & HOSTNAME=\"cloudworker*\""
>
> VIRTUAL MACHINE TEMPLATE
> AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 100 & !(PUBLIC_CLOUD = YES)"
> CONTEXT=[
>   
> CTX_USER="PFVTRVI+PElEPjA8L0lEPjxHSUQ+MDwvR0lEPjxHUk9VUFM+PElEPjA8L0lEPjwvR1JP
> VVBTPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+b25lYWRtaW48L05BTUU+PFBBU1NXT1JEPi9E
> Qz1jb20vREM9

Re: [one-users] clusters in 4.8

2015-02-13 Thread Ruben S. Montero
Yes, you can do:

Cluster A: Host_A0, Host_A1...  + VNET_A0, VNET_A1...
Cluster B: HostB0, HostB1... + VNET_B0, VNET_B1...
Cluster Default: DS, DS_System

Then a VM that uses VNET_A0 + DS would be scheduled to Cluster A. Note
that using VNET_A0 constrain resources from Cluster A + Cluster
Default.

Cheers

Ruben

On Fri, Feb 13, 2015 at 10:42 PM, Steven C Timm  wrote:
> I know if I just take the vnet and the datastore out of the cluster, and have 
> no clusters at all,  then everything
> will work.. I was hoping to have a cluster structure of (host,vnet) pairings 
> that could
> all share a common data store.  However from the documentation, it looks like 
> if
> your template requests any resource that is part of a cluster (vnet or image 
> from datastore)
> then the scheduler will constrain you to resources that are part of that same 
> cluster.
>
> Is that correct?
>
> Steve Timm
>
> ____________
> From: Ruben S. Montero [rsmont...@opennebula.org]
> Sent: Friday, February 13, 2015 3:11 PM
> To: Steven C Timm
> Cc: users@lists.opennebula.org
> Subject: Re: [one-users] clusters in 4.8
>
> Hi
>
> If both clusters has access to the same datastores, just move them out
> of the first cluster. When a datastore or network is not assigned to
> any cluster (cluster default) OpenNebula assumes it can be used with
> any host (no matter in which cluster is set).
>
> BTW, although you do not needed for your use case, 4.12 will come with
> extended VDC support to create complex provision scenarios. Basically
> you can define generic "resource providers" that aggregate any
> resource (cluster, host, network, datastores)  more here
> http://opennebula.org/4-12-features-virtual-data-center-redesign/
>
> Cheers
>
> On Fri, Feb 13, 2015 at 6:37 PM, Steven Timm  wrote:
>>
>> I have had my one4.8 host up for a while with a single cluster
>> that has 150 hosts, one vnet, and a system and image datastore.
>>
>> I am now adding hosts from a different vnet.
>> want to make second host + vnet cluster but still use
>> the same system and image data stores.
>>
>> What's the right way to do that.. just remove the datastores
>> from the first cluster... they can't be in more than one
>> cluster at a time, can they?
>>
>>
>> Thanks for any suggestions.
>>
>> Steve Timm
>>
>>
>> --
>> Steven C. Timm, Ph.D  (630) 840-8525
>> t...@fnal.gov  http://home.fnal.gov/~timm/
>> Office:  Wilson Hall room 804
>> Fermilab Scientific Computing Division,
>> Scientific Computing Facilities Quadrant.,
>> Experimental Computing Facilities Dept.,
>> Project Lead for Virtual Facility Project.
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] clusters in 4.8

2015-02-13 Thread Ruben S. Montero
Hi

If both clusters has access to the same datastores, just move them out
of the first cluster. When a datastore or network is not assigned to
any cluster (cluster default) OpenNebula assumes it can be used with
any host (no matter in which cluster is set).

BTW, although you do not needed for your use case, 4.12 will come with
extended VDC support to create complex provision scenarios. Basically
you can define generic "resource providers" that aggregate any
resource (cluster, host, network, datastores)  more here
http://opennebula.org/4-12-features-virtual-data-center-redesign/

Cheers

On Fri, Feb 13, 2015 at 6:37 PM, Steven Timm  wrote:
>
> I have had my one4.8 host up for a while with a single cluster
> that has 150 hosts, one vnet, and a system and image datastore.
>
> I am now adding hosts from a different vnet.
> want to make second host + vnet cluster but still use
> the same system and image data stores.
>
> What's the right way to do that.. just remove the datastores
> from the first cluster... they can't be in more than one
> cluster at a time, can they?
>
>
> Thanks for any suggestions.
>
> Steve Timm
>
>
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Office:  Wilson Hall room 804
> Fermilab Scientific Computing Division,
> Scientific Computing Facilities Quadrant.,
> Experimental Computing Facilities Dept.,
> Project Lead for Virtual Facility Project.
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] What are the causes let OpenNebula "thinks" VM is "POWEROFF" and how to recover?

2015-02-13 Thread Ruben S. Montero
Hi

This problem is as described by Ondra becasue of a kind of race condition
between the boot process and the monitor probes. You may or may not see it
depending on timing network and the like.

OpenNebula 4.10.2 includes some logic to deal with this and also to recover
automatically the VM when its again monitored. What version are you running?

Ruben

On Fri Feb 13 2015 at 3:51:40 PM Hamada, Ondrej 
wrote:

>  Hi,
>
> I would suspect this to happen when the probe times out somehow (due to
> the network issues etc.) or simply it cannot detect the VM at the moment.
> Does the VM remain in ‘poweroff’ state forever or does it become ‘running’
> again after some time?
>
>
>
> Ondra
>
>
>
> *From:* Users [mailto:users-boun...@lists.opennebula.org] *On Behalf Of *Liu,
> Gene
> *Sent:* Friday, February 13, 2015 3:34 PM
> *To:* users@lists.opennebula.org
> *Subject:* [one-users] What are the causes let OpenNebula "thinks" VM is
> "POWEROFF" and how to recover?
>
>
>
> Hi Everyone,
>
> Anyone had ever encounter an issue about VM stat changes to "POWEROFF" a
> few minutes (2 ~ 3 minutes) after "RUNNING"?
>
> The actual problem is that the "POWEROFF" stat is incorrect as the VM is
> actually running on the computing node. If you try to "boot" it back, it
> will failed as that instance is already running on the same computing node.
>
> Is it a bug of OpenNebula? Any suggestions to get it recovered?
>
> Thanks,
>
> Gene
>
> * VM log 
> Thu Feb 12 14:46:36 2015 [Z0][DiM][I]: New VM state is ACTIVE.
> Thu Feb 12 14:46:37 2015 [Z0][LCM][I]: New VM state is PROLOG.
> Thu Feb 12 14:49:43 2015 [Z0][LCM][I]: New VM state is BOOT
> Thu Feb 12 14:49:43 2015 [Z0][VMM][I]: Generating deployment file:
> /var/lib/one/vms/42922/deployment.0
> Thu Feb 12 14:49:43 2015 [Z0][VMM][I]: ExitCode: 0
> Thu Feb 12 14:49:43 2015 [Z0][VMM][I]: Successfully execute network driver
> operation: pre.
> Thu Feb 12 14:49:46 2015 [Z0][VMM][I]: ExitCode: 0
> Thu Feb 12 14:49:46 2015 [Z0][VMM][I]: Successfully execute virtualization
> driver operation: deploy.
> Thu Feb 12 14:49:46 2015 [Z0][VMM][I]: ExitCode: 0
> Thu Feb 12 14:49:46 2015 [Z0][VMM][I]: Successfully execute network driver
> operation: post.
> Thu Feb 12 14:49:46 2015 [Z0][LCM][I]: New VM state is RUNNING
> Thu Feb 12 14:51:48 2015 [Z0][DiM][I]: New VM state is POWEROFF
>  --
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
>  ___
> 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] Looking for support for Sheepdog in Opennebula

2015-02-12 Thread Ruben S. Montero
FYI,

this has been already merged upstream.

Cheers

On Wed Feb 11 2015 at 11:55:23 PM Nico Schottelius <
nico-opennebula@schottelius.org> wrote:

> Hello,
>
> I was wondering what the status of Sheepdog integration in Opennebula is?
>
> I have seen the old [0] and new [1] pull request and wonder when the
> new one will be merged? According to the bugtracker [2], Sheepdog
> support already exists in Opennebula and the patch originates from
> May 2014 [3].
>
> We are very keen on testing the sheepdog backend, so if there was a
> pre-release with sheepdog, we could give you instantly feedback.
>
> Cheers,
>
> Nico
>
> [0] https://github.com/OpenNebula/one/pull/25
> [1] https://github.com/OpenNebula/one/pull/40
> [2] http://dev.opennebula.org/issues/1118
> [3] http://comments.gmane.org/gmane.comp.distributed.opennebula.devel/120
>
> --
> New PGP key: 659B 0D91 E86E 7E24 FD15  69D0 C729 21A1 293F 2D24
> ___
> 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] Looking for support for Sheepdog in Opennebula

2015-02-12 Thread Ruben S. Montero
Just updated the pull request in github. We'll try to get this merged for
the next release.

I'll update the issue in redmine/git when the core code is merged.

Keep us updated on the sheepdog integration/performance with OpenNebula!

Cheers

Ruben

On Wed Feb 11 2015 at 11:55:23 PM Nico Schottelius <
nico-opennebula@schottelius.org> wrote:

> Hello,
>
> I was wondering what the status of Sheepdog integration in Opennebula is?
>
> I have seen the old [0] and new [1] pull request and wonder when the
> new one will be merged? According to the bugtracker [2], Sheepdog
> support already exists in Opennebula and the patch originates from
> May 2014 [3].
>
> We are very keen on testing the sheepdog backend, so if there was a
> pre-release with sheepdog, we could give you instantly feedback.
>
> Cheers,
>
> Nico
>
> [0] https://github.com/OpenNebula/one/pull/25
> [1] https://github.com/OpenNebula/one/pull/40
> [2] http://dev.opennebula.org/issues/1118
> [3] http://comments.gmane.org/gmane.comp.distributed.opennebula.devel/120
>
> --
> New PGP key: 659B 0D91 E86E 7E24 FD15  69D0 C729 21A1 293F 2D24
> ___
> 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] Unable to migrate back to the original host

2015-02-10 Thread Ruben S. Montero
The log says that the domain already exists, so either it was restarted
outside OpenNebula when you reconnect the host or VM 6 was not actually
moved from node2 or you are somehow reusing ID's;

On Sun Feb 08 2015 at 9:03:35 AM clmyuan  wrote:

>  Hi All
>
> I have one manager server and nfs share /var/lib/one,two host node,all
> server installed 4.10.2.
>
> I deploy and running a vm on node2,use sunstone migrate live vm node2 to
> node1 and back to node2 ,These operations do not have a problem.
>
> but i disconnect node2 and migrate live vm to node1,When node2 reconnect
> after,migrating from node1 to node2 does not correctly completed,Below is
>  the log information:
>
> Sun Feb  8 23:47:07 2015 [Z0][LCM][I]: New VM state is MIGRATE
> Sun Feb  8 23:47:07 2015 [Z0][VMM][I]: Successfully execute transfer
> manager driver operation: tm_premigrate.
> Sun Feb  8 23:47:07 2015 [Z0][VMM][I]: ExitCode: 0
> Sun Feb  8 23:47:07 2015 [Z0][VMM][I]: Successfully execute network driver
> operation: pre.
> Sun Feb  8 23:47:07 2015 [Z0][VMM][I]: Command execution fail:
> /var/tmp/one/vmm/kvm/migrate 'one-6' 'node2' 'node1' 6 node1
> Sun Feb  8 23:47:07 2015 [Z0][VMM][E]: migrate: Command "virsh --connect
> qemu:///system migrate --live one-6 qemu+ssh://node2/system" failed: error:
> operation failed: domain 'one-6' already exists with uuid
> 15835de7-671d-497e-b099-02119cd81668
> Sun Feb  8 23:47:07 2015 [Z0][VMM][E]: Could not migrate one-6 to node2
> Sun Feb  8 23:47:07 2015 [Z0][VMM][I]: ExitCode: 1
> Sun Feb  8 23:47:07 2015 [Z0][VMM][I]: Failed to execute virtualization
> driver operation: migrate.
> Sun Feb  8 23:47:07 2015 [Z0][VMM][E]: Error live migrating VM: Could not
> migrate one-6 to node2
> Sun Feb  8 23:47:08 2015 [Z0][LCM][I]: Fail to live migrate VM. Assuming
> that the VM is still RUNNING (will poll VM).
>
> I think old VM information are not cleared. Do you have any
> suggestions,Thanks.
>
> clm
>  ___
> 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] templates and images explanation needed

2015-02-09 Thread Ruben S. Montero
Hi,

This is in our radar and something we'd like to prioritize. The relevant
issues in our roadmap are:

http://dev.opennebula.org/issues/2637
http://dev.opennebula.org/issues/2051


Feel free to add comment to them if they do not capture completely your use
case.

The above feature (for single disk VMs) is implemented through the cloud
view. You can save a VM (non-persistent) as a template and instantiate a
new (different) VM from it.

Also the above are now somehow available but with a few clicks in between
(i.e. clone image, clone associated template, update cloned template to
point to the image, instantiate it...) The above issues will provide it as
a single operation, in the meantime it could be easily scripted.

Cheers

On Wed Feb 04 2015 at 12:11:24 PM David Komanek 
wrote:

> Hi,
>
> I am also completely frustrated by this. In my opinion, templates should
> allow us to do simple "mass instantiation" even with persistent disks:
> create VM => save it as a template => instantiate i.e. 10 new VMs at
> once, each with its own copy of template-based persistent disk
>
> Another highly appreciated feature of templates would be the "linked"
> state: to propagate future changes in the template to the VMs
> instantiated from it, at least for some attributes.
>
> Is there any chance some of those features get implemented in the near
> future ? Or has it already been done and I am just missing the whole
> concept by misunderstandning the documentation ? If so, is there any
> direct URL to a step-by-step guide, how to achieve this ?
>
> Thanks in advance,
>
>   David
>
>
> > Hi,
> >
> > I'm running against this same issue as described here.
> > Regardless of how I try to look at it, non-persistent  (and thus,
> volatile
> > images) are kinda annoying.
> >
> > I understand how to create a template, install an OS using that template
> > (CDROM and persistent OS images linked) and then after installation
> marking
> > the OS image as non persistent which then can be used to deploy multiple
> > VM's with that image as "base".
> >
> > But what I would expect (in experience with other virtualisation
> > technologies) is the creation of a clone image in the *Image datastore*,
> > which would be linked to the new VM. But instead I see that these VM's
> use
> > the non persistent image, which is physically stored in the *System
> > datastore* and at that point it's still a volatile image. Also, when
> > shutting down that VM it simple deletes it all together (same as
> > any volatile image, I really don't see the point of it).
> >
> > So basically, de deployment works, but what I want is the deployment of
> > "persistent" images (in the image datastore) which are based on a "non
> > persistent" base image. Is this at all possible?
> >
> > So in any way, my questions are pretty much the same as Pawel.
> >
> > Based on this topic I don't see any answers, so could someone please help
> > us understand how this is all supposed to work and what the basic idea is
> > behind it all?
> >
> > 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] Ceph snapshot

2015-01-16 Thread Ruben S. Montero
Excellent, thanks for the update...

On Fri Jan 16 2015 at 3:10:21 PM Fabian Zimmermann 
wrote:

> Hi,
>
> answering myself:
>
> Am 16.01.15 um 13:59 schrieb Fabian Zimmermann:
> > Hi,
> >
> > Am 22.10.14 um 10:42 schrieb Ruben S. Montero:
> >> They should be supported for RBD 2 images, you may want to take a look
> to
> >> the actual cloning process in tm/ceph/clone
> > looks like /var/lib/one/remotes/tm/ceph/cpds is used in case of a hot
> > hdd-snapshot.
> yes, because ceph would block the deletion of the source-image until the
> new image is flatten and all snapshots are removed.
> > Should one use this script to create a hot snapshot?
> >
> > If yes, is it a good idea to reuse the
> >
> > if RBD_FORMAT=2
> > then
> >clone
> > else
> >   copy
> >
> > system of tm/ceph/clone in tm/ceph/cpds or may this lead to other
> problems?
> Already asked at ceph-mailinglist if "rbd cp" is doing an internal
> snapshot to protect consistency of data. If not a "snap, protect,
> flatten, unprotect, rm" would be done with the following patch:
>
> --
> --- cpds.orig2015-01-16 14:09:10.116016425 +0100
> +++ cpds2015-01-16 15:00:26.666220420 +0100
> @@ -1,5 +1,7 @@
>  #!/bin/bash
>
> +echo $* > /tmp/$$
> +
>  #
> --
> #
>  # Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G
> Labs#
>  #
> #
> @@ -80,8 +82,27 @@
>  RBD="$RBD --id ${CEPH_USER}"
>  fi
>
> +RBD_SNAP="cpds-${VM_ID}-${DISK_ID}-$( date +%s )"
> +
> +CP_CMD=$(
> +cat < +set -e
> +
> +RBD_FORMAT=\$($RBD info $RBD_DST | sed -n 's/.*format: // p')
> +if [ "\$RBD_FORMAT" = "2" ]; then
> +$RBD snap create "$RBD_DST@$RBD_SNAP"
> +$RBD snap protect "$RBD_DST@$RBD_SNAP"
> +$RBD clone "$RBD_DST@$RBD_SNAP" $DST
> +$RBD flatten $DST
> +$RBD snap unprotect "$RBD_DST@$RBD_SNAP"
> +$RBD snap rm "$RBD_DST@$RBD_SNAP"
> +else
> +$RBD copy $RBD_DST $DST
> +fi
> +EOF
> +)
>
> -ssh_exec_and_log "$SRC_HOST" "$RBD copy $RBD_DST $DST" \
> +ssh_exec_and_log "$SRC_HOST" "$CP_CMD" \
>   "Error cloning $RBD_DST to $DST in $SRC_HOST"
>
>  exit 0
> --
>
> I will create a feature-request if "rbd cp" isn't using an internal
> snapshot.
>
> Fabian
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] disk not none in template

2014-12-29 Thread Ruben S. Montero
You can migrate the VM using the unsafe flag in the virsh command. Just
update the migrate script for the kvm driver and onehost sync the
hypervisors.

We plan to add a flag in a future release to deal with this issue

http://dev.opennebula.org/issues/3473

Cheers

On Thu Dec 11 2014 at 3:36:24 AM Rhesa Mahendra 
wrote:

> Guys,
>
> We couldn't live migrate vm with cache not 'none', how to change this vm
> use cache none, without delete recreate or shutdown VM? thanks.
>
> Regards,
> Rhesa Mahendra.
> ___
> 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] request for improvement

2014-12-29 Thread Ruben S. Montero
Hi,

This should work in 4.10.

Cheers

Ruben

On Mon Dec 29 2014 at 10:29:45 AM Alejandro Feijóo 
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi.
>
> Thats ist only a idea, maybe now it works at 4.10 but at 4.80 not work.
>
> I mean a poff state when the machine start using virsh comand (for kvm
> for example)
>
> Some times at Systems dpt we need to change a hard drive, we use a
> peculiar architecture that force us a stop 1 dom0 to change the hard
> drive in other dom0 yes... a bit quirky
>
> To do that action asap we stop the MV at dom0 with virsh stop (or at
> cloud service with stop command) the machines state change to power off
> (poff)
>
> after reboot the dom0, we use virsh create deployment.0 (and not start
> button at cloud service)... we know thats is not correct but for us at
> CPD its faster than connect to cloud and set VM to start
>
> We were doing this at 4.4 version and others after some "checks"
> Opennebula change the poff state to runn state... but now at 4.80 the VM
> state remains freezes (poff).
>
> Its there a possible improvement or just a bad config? (sure a bad
> habits from us)
>
>
> Thanks in advance.
>
> - --
> Alejandro Feijóo Fraga
> Systems Technician
> CESGA
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
>
> iQEcBAEBCgAGBQJUoRN+AAoJEKshAoM6XWq5YmsH/0qWdd+S6T2Xi5sWjOY0MfT8
> Z52d4rKNBJ4FFTLCmsYxfnWSmT2UovgHn9dwy7+OntitBVlQzUYS977kfMyWzlLy
> o8WN7WZwp+QkqDIN7fOSfbJJhHQ7ywZQdXsbeOSp3Vo3UMGAbfU/f1l++INQRZMx
> BebFKjZSbFEl/DR5oI6eatXToeu1n4Q1GB1ovxwvruMTfovT3Eq4rUL+fDXQej3p
> lVQGOj8oMXBLin8k93Z13DUVUwtRf6qMqkqLRhGiqXZurPQXi+YfTaoEW7VyhN/O
> 4nP6sy30PUOGHwN9sfVPxljST2u0TKMbl1NnufevmF4sbqiUYCGUDDItFHIsp/Q=
> =Nz/b
> -END PGP SIGNATURE-
> ___
> 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] one and hooks for networks on hardware nodes

2014-12-18 Thread Ruben S. Montero
This could be done with a oned VM hook as they could be executed in the
target host.

However, I think it should be better to extend one of the existing network
drivers. There you can tune the pre (before booting the VM) post
(after booting the VM) and clean (after deleteing the VM from the host).
Those are also used in migrations and stop/resume, attach/detach NICs
More information [1]. As I said you probably can hook on one of the
existing drivers and add your code afterwards...

About the VM name, it MUST be one-, that cannot be changed. There are
other drivers that may relay on that naming convention. Also one- is
unique across your cloud.

Cheers

Ruben


[1]
http://docs.opennebula.org/4.10/integration/infrastructure_integration/devel-nm.html





On Thu Dec 18 2014 at 9:25:37 AM Thomas Stein  wrote:

> Hello.
>
> Usually i configure my networks for virtual machines with hook files
> located in /etc/libvirt/hooks. For example this one:
>
> #!/bin/bash
>
> guest_name=some_name
> guest_ipaddr=123.123.123.123
> if [ "${1}" = "${guest_name}" ]; then
>if [ "${2}" = "stopped" -o "${2}" = "reconnect" ]; then
> ip route del 123.123.123.123 via 192.0.0.1 dev virbr1
> ip neigh del proxy 123.123.123.123 dev eth0
> sleep ${RANDOM:0:1}.${RANDOM:-1:1}
> iptables -D FORWARD -i eth0 -o virbr1 -s 0.0.0.0/0 -d
> 123.123.123.123/32 -j ACCEPT
> iptables -D FORWARD -i virbr1 -o eth0 -s
> 123.123.123.123/32 -d 0.0.0.0/0 -j ACCEPT
>fi
>if [ "${2}" = "start" -o "${2}" = "reconnect" ]; then
> ip route add 123.123.123.123 via 192.0.0.1 dev virbr1
> ip neigh add proxy 123.123.123.123 dev eth0
> sleep ${RANDOM:0:1}.${RANDOM:-1:1}
> iptables -I FORWARD 4 -i eth0 -o virbr1 -s 0.0.0.0/0 -d
> 123.123.123.123/32 -j ACCEPT
> iptables -I FORWARD 4 -i virbr1 -o eth0 -s
> 123.123.123.123/32 -d 0.0.0.0/0 -j ACCEPT
>fi
> fi
>
> How would i accomplish this whit opennebula hooks? Can i even set the
> $guest_name? It's always like one-$number i guess. Okay, there is for
> sure another way of setting this up. Is there?
>
> thanks and best regards
> t.
> ___
> 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] Delete & Recreate fails in case of Host-Error

2014-12-15 Thread Ruben S. Montero
This is now fixed for the next release. The snapshot will be reused, the
only potential problem is that  reusing the same volume with old images
from a previous installation, may lead to inconsistent copies. This is an
anomalous situation, and reusing the snapshot is probably faster and safer.

Cheers

Ruben

On Sat Dec 13 2014 at 8:58:41 AM Damon (Albino Geek) 
wrote:

> On Fri, 12 Dec 2014 04:15:34 -0800, Fabian Zimmermann 
> wrote:
> > Hi,
> >
> > Ah! Thanks I just misread the oned.conf
> >
> > Nevertheless, I used "-r" and assumed it would re-create the VM, but
> > this failed if you use (ceph) shared storage, because clone will abort
> > if previous cleanup failed, so there is (in my opinion) a bug, because
> > tm should handle this by removing or using the old snap/disk, isn't it?
> >
> > Fabian
>
> I do think that it should be better handled by the CephFS TM.
> ___
> 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] Delete & Recreate fails in case of Host-Error

2014-12-12 Thread Ruben S. Montero
Hi Fabian,

If you have shared storage, you can simply issue onevm resched (I think the
hook can do that with the -m option).

If there is no shared storage then you have to go through the
delete-recreate step, that will fail for the host as it is down. The host
should be cleaned up manually once it is online again.

Cheers

On Fri Dec 12 2014 at 12:44:50 PM Fabian Zimmermann 
wrote:

> Hi Ruben,
>
>
> Am 12.12.14 11:20, schrieb Ruben S. Montero:
> > In OpenNebula 4.10 if the VM is in UNKNOWN it should go directly to boot
> > (bypassing CLEANUP and PROLOG) , provided you are using shared storage...
> we are using 4.10.1 and it looks like CLEANUP is executed isn't it?
>
> --
> Wed Dec 10 16:38:45 2014 [Z0][LCM][I]: New VM state is RUNNING
> Thu Dec 11 09:16:01 2014 [Z0][LCM][I]: New VM state is UNKNOWN
> Thu Dec 11 09:23:32 2014 [Z0][LCM][I]: New VM state is CLEANUP.
> Thu Dec 11 09:23:32 2014 [Z0][DiM][I]: New VM state is PENDING
> --
>
> As written, i'm just using the ERR-Host-Hook to execute the
> host-error.rb and delete&recreate the VMs.
>
> Fabian
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Delete & Recreate fails in case of Host-Error

2014-12-12 Thread Ruben S. Montero
Totally, tm-ceph should work in this case... The issue for this:

http://dev.opennebula.org/issues/3446

THANKS your feedback!!!

Ruben

On Fri Dec 12 2014 at 1:15:38 PM Fabian Zimmermann 
wrote:

> Hi,
>
> Am 12.12.14 13:04, schrieb Ruben S. Montero:
> > If you have shared storage, you can simply issue onevm resched (I think
> the
> > hook can do that with the -m option).
> >
> > If there is no shared storage then you have to go through the
> > delete-recreate step, that will fail for the host as it is down. The host
> > should be cleaned up manually once it is online again.
> Ah! Thanks I just misread the oned.conf
>
> Nevertheless, I used "-r" and assumed it would re-create the VM, but
> this failed if you use (ceph) shared storage, because clone will abort
> if previous cleanup failed, so there is (in my opinion) a bug, because
> tm should handle this by removing or using the old snap/disk, isn't it?
>
> Fabian
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Delete & Recreate fails in case of Host-Error

2014-12-12 Thread Ruben S. Montero
Hi Fabian,

In OpenNebula 4.10 if the VM is in UNKNOWN it should go directly to boot
(bypassing CLEANUP and PROLOG) , provided you are using shared storage...

Cheers

Ruben

On Fri Dec 12 2014 at 4:16:11 AM Fabian Zimmermann 
wrote:

> Hi,
>
> I just setup our fencing system and everything is working so far, but if
> I use the HOST-ERROR-Hook to delete&recreate the VMs this will fail.
>
> The CLEANUP is tried on the broken host - of course it will fail - and
> the followed CLONE will fail, because of already existing snapshots/disks.
>
> I just workaround this - see attached patch, which will just skip clone
> if disk/snap already exists, but what's the correct way to handle this?
>
> Thanks a lot,
>
> Fabian Zimmermann
> ___
> 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] New to OpenNebula

2014-12-10 Thread Ruben S. Montero
Could you check that the onadmin user can ssh without being ask for a
password to 192.168.1.2?

Cheers

Ruben

On Tue Dec 09 2014 at 11:11:35 PM Michael A Cooper 
wrote:

> Hello Everyone,
>
>I am new to OpenNebula, I am having a problem adding a host to my
> OpenNebula installation, it is the Sandbox version, the appliance to be
> exact. I added my host but it gave me an error
>
> Tue Dec 9 10:54:06 2014 : Error monitoring Host 192.168.1.2 (1): -
>
> I am not sure where to get the details of this error, Also I noticed I can
> not find where to change the credentials for the host I added.
>
> Thanks for your help,
> Michael A Cooper
> Linux/Windows Web Administrator
>  ___
> 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] OpenNebula lost ip addressess.

2014-12-08 Thread Ruben S. Montero
>
> The second thing is that when i started my vm's the ip addresses got
> messed up. How can it happen ? How to secure my infrastructure from
> changing ip addressed?
>

Could you give some more details about it? For example, How did you restart
the VMs? How did the VMs get the IP? By messed up, do you mean at the
OpenNebula DB level or at the guest level?






> ___
> 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] Changing default datastore location

2014-12-08 Thread Ruben S. Montero
Hi Diego,

Note that system datastores are the only ones affected by
DATASTORE_LOCATION and this path is only for the hypervisors. You can set a
default for all of them in oned.conf or it can be defined for each cluster
in the cluster template.

Cheers

Ruben

On Sun Nov 30 2014 at 2:41:26 PM Diego M. 
wrote:

> Hi dears,
> Today I have tried to create a datastore in a different location to start
> creating new VMs there (I was running out of space on the default one), so
> I created all the datastores (File, system and image datastores) in this
> new location and my surprise was that file and image datastores were
> working as expected, but the system datastore for some reason was not
> working, all the VMs were being created in the default datastore location
> even when I was selecting the new datastore on the deployment.
>
> I gave up at the end and changed the default datastore location on the
> oned.conf file, and as a workaround is working.
>
> But I would like to understand why this is happening, and what is wrong
> with my configuration, in a much more complex landscape this could be an
> interesting headache :)
>
> Best regards!
>  ___
> 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] How to change directory of capacity check

2014-11-27 Thread Ruben S. Montero
Hi

System DS capacity is obtained through the host monitorization, so could
you check onehost show  , for the information of the non-shared DS.

The information is obtained by the execution of monitor_ds.sh script, you
can take a look at it to debug it. The script should received the
DATASTORE_LOCATION path from oned. Maybe the monitor probe is not aware of
this change and need to be restarted. Could you try onehost sync so the
monitor probes are restarted?

Cheers

Ruben


On Mon Nov 24 2014 at 12:28:31 PM Akihiko Ota 
wrote:

> Hi,
>
> I have created additional system datastore with TM_MAD:ssh, and add it
> to specific cluster by 'onecluster adddatastore'.
>
> My Host's /var/lib/one is very small (about 5GB), so I have set
> DATASTORE_LOCATION to the cluster to use another large filesystem by
> 'onecluster update'. However, the scheduler is still checking default
> directory (/var/lib/one), and it determines "Not enough capacity".
> I have changed the datastore's BASE_PATH to large filesystem by
> 'onedatastore update', but its behavior remained.
>
> How can I change directory of capacity check of specific cluster?
>
> I am using OpenNebula 4.10.1 on Ubuntu 14.04 server.
>
> Thanks,
>
> --
> Akihiko Ota
> ___
> 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] Fencing

2014-11-27 Thread Ruben S. Montero
Just in case you haven't figured out yet host_id and host_name holds
the id and name of the host, you can easily execute your fencing command
like `fence #{host_name}` ...

Good luck

Ruben

On Tue Nov 18 2014 at 8:13:23 PM Sander Klein  wrote:

> Hi,
>
> Can anyone help me with modifying ft/host_error.rb to call a custom
> fencing script.
>
> I would like to feed my script the ID of the failing host. My script
> will then do some checks and return 0 if the host is indeed dead and
> host_error.rb can continue resubmitting VM's. It will return 1 if the
> host is not dead and host_error.rb must do nothing.
>
> Since I'm not a ruby guy I was hoping if anyone could help me with a
> couple of lines or a small patch.
>
> Greets,
>
> Sander
> ___
> 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] IOPS in quota section for 4.12

2014-11-27 Thread Ruben S. Montero
Forgot to share that this was already in our roadmap, the issue is here:

http://dev.opennebula.org/issues/3210

Thanks for your feedback,

Ruben

On Sat Nov 15 2014 at 12:55:19 PM kiran ranjane 
wrote:

> Yeah, both IOPS and Network Bandwidth should be in quota section. This
> would really be useful.
>
> Regards
> Kiran Ranjane
>
> On Fri, Nov 14, 2014 at 5:10 AM, Steven C Timm  wrote:
>
>>  Good idea.  In general it would be nice to be able to set the various
>> quantities which can
>> be controlled by the RHEV extended libvirt functions which include IOPS
>> but also network bandwidth.
>>
>>  Steve
>>
>>  --
>> *From:* Users [users-boun...@lists.opennebula.org] on behalf of kiran
>> ranjane [kiran.ranj...@gmail.com]
>> *Sent:* Thursday, November 13, 2014 5:16 PM
>> *To:* users
>> *Subject:* [one-users] IOPS in quota section for 4.12
>>
>>   Hi Team,
>>
>>  I think we should add IOPS in quota section where in oneadmin can
>> assign IOPS at user and group level.
>>
>>  For example :
>>
>>  -- Oneadmin assigns 2000 IOPS to a particular user, which means that
>> particular user should not exceed 2000 IOPS on his total number of VM that
>> he is running.
>>
>>  -- After IOPS is assigned to user/group through quota section, Cloud
>> view user should be able to assign IOPS at VM disks level as per his
>> choice. (eg: if a user/group is assigned quota of 2000 IOPS then he should
>> have the ability to set IOPS of the VM disk before starting the VM.)
>>
>>  User/Group have total IOPS Quota = 2000
>>
>>  User Sets IOPS at Disk Level :
>> Virtual Machine OS disk = 300 IOPS
>> Virtual Machine Data Disk  = 300 IOPS
>>
>>  Total remaining IOPS = 1400 IOPS
>>
>>  I really think this feature should be a must add in quota section as it
>> will easy many things related to default way of assigning IOPS to VM.
>>
>>  Regards
>> Kiran Ranjane
>>
>
> ___
> 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] Fencing and/or STONITH in case of an host error (ft/host_error.rb)

2014-11-23 Thread Ruben S. Montero
Yes it is included...

On Fri Nov 21 2014 at 2:30:04 PM Jeff Shotnik  wrote:

> > As a side note, we are now working (it maybe incorporated in 4.8.1) in
> a
> > "off-line" migration capability. This is, once the host is fence (the
> > VM
> > will be in UNKNOWN), the error hook will be able to set the reschedule
> > flag
> > and the scheduler will look for a new host. The VM will move from
> UNKNOWN
> > to BOOT and then RUNNING in a different host. Provided you have a >
> shared
> > storage NFS or Ceph like across cluster hosts that will preserve >
> volatile
> > disk changes and speed up the restart process.
>
> Ruben, this would be great. I'm running 4.10.0-1, is "off-line"
> migration capability included?
>
> ___
> 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] VNC and serial console

2014-11-20 Thread Ruben S. Montero
Hi Liu,

Would you be interested in contributing it back? Maybe we could either use
the addons collections for it, or include it in the main distribution

Thanks


On Wed Nov 19 2014 at 4:38:31 PM Liu, Gene 
wrote:

> FYI.
>
> We added virtual serial console feature on our private cloud via adding
> and modifying a few back-end scripts and UI change a little bit.
>
> Gene
> On 14-11-19 07:37 AM, Vassilis Vatikiotis wrote:
> > Is it possible to setup both noVNC and a serial console?
> >
> > I've already setup a template for serial access like this (in the
> > Other-> RAW data)
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Whenever I try to setup something like the following, noVNC proceeds
> > normally but never reaches login:
> > In /etc/init/ttyS1.conf:
> >
> > # ttyS1 - getty
> > #
> > # This service maintains a getty on ttyS1 from the point the system is
> > # started until it is shut down again.
> >
> > start on stopped rc or RUNLEVEL=[12345]
> > stop on runlevel [!12345]
> >
> > respawn
> > exec /sbin/getty -L ttyS1 vt102
> >
> > When I remove the above file noVNC start behaves as expected i.e. I can
> login.
> >
> > So, in my test, I can have, either serial console access *or* noVNC.
> > Never both. Is this possible?
> >
> > Thanks!
> >
> >
>
> ___
> 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] onevm nic-attach and onevm resize

2014-11-19 Thread Ruben S. Montero
Hi

You are quite right, the ability to cold attach nic and disks are also high
priority and probably ready for 4.12

Cheers

On Wed Nov 19 2014 at 9:32:15 AM Karsten Nielsen 
wrote:

> Hi,
>
> I was looking at the onevm man pages.
>
> The nic-attach the state required is running.
> The resize the state is offline.
>
> I do not quit understand why you cannot do both regardless if the vm is
> running or in poweroff state.
> Switching networks would be much easier if it could be done in poweroff
> state and it would be handy to be able to hot add cpu + memory..
>
> - Karsten
> ___
> 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] move VM to different host

2014-11-19 Thread Ruben S. Montero
If you are using 4.10, we do support migrations when a VM is in unknown
(i.e. hypervisor is down) provided there is a shared storage. Next release
(4.12) will include the ability to migrate in poweroff.

Meanwhile a work around, (there are two actually fake a hypervisor failure
to get the VM in unknown and use the previous feature or fake a migration
failure).

I've not tested this myself so watch out:

1.- Update the kvm migrate script by adding at the very beginning something
like:

sleep 600
return

We want to get the VM in MIGRATE state for a while

2.- Manually move the VM: Go to the hypervisor, and shut it down (i.e.
virsh...); move the config files (those in ssh system datastore); got to
the other hypervisor and manually create the VM.

3.- use onevm recover  success, the VM should become running in the
new host. (The sleep'ed migrate operation should be ignored as the VM would
be RUNNING)

4.- Undo the changes in the migrate script.

Good Luck

On Wed Nov 19 2014 at 9:54:52 AM Karsten Nielsen 
wrote:

> HI,
>
> Is there a way to move a VM from one host to an other when migrate/live
> migrate fails.
>
> We are using ceph as backend and have ssh systemstore.
>
> A process like
> 1 poweroff VM
> 2 Move the configs
> 3 -- I guess that we should do some manual db changes --
> 4 poweron machine on new host
>
> Any comments would be great.
>
> Thanks,
> - Karsten
> ___
> 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] Changing a onehost name within opennebula

2014-11-17 Thread Ruben S. Montero
Also there are 11 VMs running on localhost, that name is in the history
records of the VM and it will be used to issue VM actions. So it is
important to double check the SSH auth as suggested by Daniel.

Cheers

On Mon Nov 17 2014 at 11:45:31 AM Daniel Dehennin <
daniel.dehen...@baby-gnu.org> wrote:

> Sergi  writes:
>
> > Hello,
>
> Hello,
>
>
> [...]
>
> > I would like to change 'localhost' to its real uname name. Will it be
> > seamless? Or are there implications I have to address before?
>
> I think this has impact on SSH authentication.
>
> If you change localhost to $(hostname -s) then you must accept the key
> for the new name.
>
> Regards.
> --
> Daniel Dehennin
> Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
> Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
> ___
> 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] Ceph image format 2 issue for nonpersistent disks

2014-11-12 Thread Ruben S. Montero
Hi Joe

I can confirm this bug :( The problem is in the kvm/attach-disk plugin
script. It needs (as the core does) to look to the CLONE attribute for the
disk and use the snapshot instead of the base disk.

There should be no problem when attaching persistent disks.

Thank you very much for your detailed feedback!!

Ruben

for your reference: http://dev.opennebula.org/issues/3332

On Wed Nov 12 2014 at 4:27:46 PM Joe Mauer  wrote:

> Hi,
>
> I´m really sorry for the noise,
> but I am able to reproduce the problem now by attaching a non-persistent
> image to a diskless vm.
>
> Could somebody try to verify this, please?:
>
> Setup:
> ceph datastore, RBD_FORMAT=2
> opennebula 4.8 (Sorry, I was not able to update yet)
> I run Ubuntu 12.04, kvm
>
> Steps:
> 1) Create a disk on the ceph datastore (I used the marketplace),
> - non-persistent
> 2) create a template with no disk attached.
> 3) instantiate a vm from 2)
> 4) attach disk from 1)   -> (On my side, the original disk, not the clone
> is attached according to "virsh dumpxml")
>
> 5) write a file to the vm and sync or reboot
> 6) delete the vm and
> 7) recreate a new one with the disk from 1)
> 8) Look for file created in 5)
>
>
>
>
> On Wed, Nov 12, 2014 at 1:20 PM, Joe Mauer  wrote:
>
>> Dear list,
>> sometimes it helps to write things down.
>> By looking at "libvirt dumxml"
>>  vm 234 
>> 
>>   
>>   
>> 
>>   
>>   
>>   
>>   
>>   > function='0x0'/>
>> 
>>
>> 
>>
>> It seems like the vm has the wrong rbd image attached (one/one-90, not
>> one-90-234-1), or am I wrong here?
>>
>> vm 239 is fine:
>> ##
>> 
>>   
>>   
>> 
>>   
>>   
>>   
>>   
>>   > function='0x0'/>
>> 
>>
>>
>> looking at the deployment files, it seems that in the first vm(234), i
>> did attach the disk after creating the vm.
>>
>>
>>
>> On Wed, Nov 12, 2014 at 12:13 PM, Joe Mauer  wrote:
>>
>>> Dear List,
>>>
>>> I´m evaluating a one 4.8 setup, using a ceph 0.72.2 cluster, RBD_FORMAT=2
>>>
>>> Using the clone option instead of copying images to be able to
>>> instantiating vms quickly does make this solution very interesting for us,
>>> but I ran into a rather big issue that I´m currently
>>> not able to solve (I´m not a ceph or one expert ;-)).
>>> I could not find anything similar on the net, so it might be a
>>> configuration issue, but I currently ran out of ideas to debug it.
>>>
>>> In both test clouds, I instaniciated a virtual machine (ID 234 below)
>>> from a non-persistent image (e.g. Ubuntu 14.04 from the marketplace), did
>>> some changes (e.g. changed the hostname, thats why I discoverd the problem
>>> in the first place), updates ... software installation...
>>>
>>> After a while, when starting a new vm (ID 239) from the (still
>>> non-persistent) image I get fsck messages when booting and have packages,
>>> and e.g. the hostname from the first vm.
>>>
>>> Thank you in advance for taking a look.
>>>
>>> ## first vm ##
>>>  onevm show 234
>>> VIRTUAL MACHINE 234 INFORMATION
>>> ID  : 234
>>> NAME: jenkinssetup
>>> USER: op
>>> GROUP   : opsadmin
>>> STATE   : ACTIVE
>>> LCM_STATE   : RUNNING
>>> RESCHED : No
>>> HOST: vnode6
>>> CLUSTER ID  : 102
>>> CLUSTER : External
>>> START TIME  : 11/05 16:13:16
>>> END TIME: -
>>> DEPLOY ID   : one-234
>>>
>>> VM DISKS
>>>  ID TARGET IMAGE   TYPE SAVE SAVE_AS
>>>   1 vdaUbuntu-14.04-one-4.8rbdNO   -
>>>
>>> VM NICS
>>>  ID NETWORK  VLAN BRIDGE   IP  MAC
>>>   0 Net_ext yes br0  10.10.10.10   02:00:5e:e6:38:8c
>>>
>>> VIRTUAL MACHINE HISTORY
>>> SEQ HOSTACTION DS   START
>>> TIME PROLOG
>>>   0 vnode6  none  103  11/05 16:13:42   6d 19h27m
>>> 0h00m01s
>>>
>>> VIRTUAL MACHINE TEMPLATE
>>> AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 102 & !(PUBLIC_CLOUD = YES)"
>>> CONTEXT=[
>>>   DISK_ID="0",
>>>   ETH0_DNS="10.10.10.1",
>>>   ETH0_GATEWAY="10.10.10.1",
>>>   ETH0_IP="10.10.10.10",
>>>   ETH0_MAC="02:00:5e:e6:38:8c",
>>>   ETH0_MASK="255.255.255.0",
>>>   ETH0_NETWORK="10.10.10.0",
>>>   HOSTNAME="jenkinssetup",
>>>   NETWORK="YES",
>>>   TARGET="hda" ]
>>> CPU="2"
>>> GRAPHICS=[
>>>   KEYMAP="de",
>>>   LISTEN="0.0.0.0",
>>>   PORT="6134",
>>>   TYPE="VNC" ]
>>> MEMORY="2048"
>>> TEMPLATE_ID="15"
>>> VCPU="1"
>>> VMID="234"
>>>
>>>
>>> # second vm #
>>> onevm show 239
>>> VIRTUAL MACHINE 239 INFORMATION
>>> ID  : 239
>>> NAME: Ubuntu 14.04 - KVM - OpenNebula 4.8-239
>>> USER: oneadmin
>>> GROUP   : oneadmin
>>> STATE   : ACTIVE
>>> LCM_STATE   : RUNNING
>>> RESCHED 

Re: [one-users] Do we need to mount /var/lib/one with ceph

2014-11-11 Thread Ruben S. Montero
The system datastore is accessed from the front-end to generate the context
iso. Note that you don't need to be it exported from the front-end, the
nodes and the front-end itself can mount it from an different NAS server.

The /var/lib/one contents are needed in the front-end but not by the nodes.
Just the system datastore directory.

If the VM tries to access a disk from a device that is not mounted or the
NAS server is down you'll be in trouble. However, note that context ISO is
only accessed during the boot state and the main disks of the VM are in the
ceph pool, so you'll probably be fine (but if not tested it)

Cheers


On Mon Nov 10 2014 at 3:38:14 AM Huynh Dac Nguyen 
wrote:

> Dear Ruben,
>
> Thank you for replying
>
> So what happens if the front-end opennebula is down
> the /var/lib/one isn't mounted,only System Datastore is mounted,
> then the VM can't work, right? (the vm requires image and additional
> files)
>
> Can you explain why we don't need to export the whole /var/lib/one ?
>
> Regards,
> Ndhuynh
>
> >>> "Ruben S. Montero"  11/7/2014 4:52 PM
> >>>
> Hi Ndhuynh
>
> Ceph storage in OpenNebula is handled as follows:
>
>
> 1.- Image Datastores, hold disk images repository as well as images for
> running VMs in a Ceph volume
> 2.- System Datastore holds additional VM files, checkpoints, context
> disks and the like.
>
>
> If you need live-migration the easiest way is to have a shared
> filesystem for the System Datastore. You don't need to export the whole
> /var/lib/one, just the datastore directory, though.
>
>
> If you do not need to live-migrate VMs you should be ok with a ssh
> based system datastore
>
>
> Cheers
>
>
>
>
>
>
> On Wed Nov 05 2014 at 12:09:47 PM Huynh Dac Nguyen
>  wrote:
>
> Hi All,
>
>
> I'm researching opennebula with ceph, i saw that most of guide focus on
> using ceph as datastore - block device, right?
>
>
> Do we need to mount ceph to /var/lib/one as file system to prevent the
> opennebula frontend down expectedly?
>
>
> My script is:
>
>
> 1) Make a ceph file system : one and mount to /var/lib/one in all
> opennebula node (front-end and node)
> 2) Create a ceph block device and add to opennebula as datastore
>
>
> Is this a right way?
>
>
> Regards,
> Ndhuynh
> ndhu...@spsvietnam.vn
>
> This e-mail message including any attachments is for the sole use of
> the intended(s) and may contain privileged or confidential information.
> Any unauthorized review, use, disclosure or distribution is prohibited.
> If you are not intended recipient, please immediately contact the sender
> by reply e-mail and delete the original message and destroy all copies
> thereof.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> This e-mail message including any attachments is for the sole use of the
> intended(s) and may contain privileged or confidential information. Any
> unauthorized review, use, disclosure or distribution is prohibited. If
> you are not intended recipient, please immediately contact the sender by
> reply e-mail and delete the original message and destroy all copies
> thereof.
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Backing up virtual machines.

2014-11-11 Thread Ruben S. Montero
Hi Tao

The OpenNebula VM backup can be performed in  two different ways:

1.- via disk snapshots. Note that these are copies of the VM disks, and
they are stored in an Image Datastore.
  * The volume needs to be offline to guarantee FS consistency (e.g.
poweroff the VM or umount it from the VM). No need to shutdown the VM,
though: onevm disk-snapshot --live (onevm saveas is deprecated, use onevm
disk-snapshot instead).
  * If needed the operation can be automated by a simple script or an
scheduled action.
  * The VM can be recovered manually from OpenNebula (defining a new VM
based on the saved disk). Note that the life-cycle of the saved disk is
different from the original VM (no need to have it running for example)

2.- via the underlying storage system. You can create a special system DS
with its own backup policies (e.g. leveraging NAS features or FS features).
Note:
  * You would probably require some kind of synchronization from the VM to
prevent FS corruption.
  * The backup procedure is handled transparently to OpenNebula
  * The recovery process cannot be initiated from OpenNebula and need to be
in place.

In your case you could increase the reliability (different from backup)  by
configuring some of the local volumes used for the SSH Datastore with DRDB
or a RAID configuration.

Cheers

Ruben


On Mon Nov 10 2014 at 10:41:46 PM Tao Craig  wrote:

> Hi,
>
>
>
> I have a question about backing up and restoring virtual machines.
>
>
>
> I am using OpenNebula 4.8 and the SSH transfer drivers as a means to
> deploy virtual machines. My images are not persistent and I am using the
> qcow2 image format. All of my virtual machines and physical hosts are
> running CentOS 6.5 and using ext3 file systems.
>
>
>
> Is it possible in my current environment to back up a virtual machine
> without shutting it down?
>
>
>
> I know I can snapshot a virtual machine, but what if that machine is
> suddenly deleted for some reason (i.e. physical host crashes and has to be
> rebuilt). I’m under the impression snapshots are only usable as long as the
> original virtual machine is still running.
>
>
>
> I know I can also use the onevm saveas command, but that only works if you
> plan on shutting the virtual machine down at some point.
>
>
>
> Ideally, I would like to do something like copy the (running) disk image
> to offline storage and then have the ability to swap that out with a new
> running virtual machine to restore the back up in case the original virtual
> machine is lost. Rebooting in the case of restoring is acceptable of
> course, but I can’t shut my machines down every time I want to back them up.
>
>
>
> Is something like this possible?
>
>
>
> Thanks.
>
>
>
>
>
>
> ___
> 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] Do we need to mount /var/lib/one with ceph

2014-11-07 Thread Ruben S. Montero
Hi Ndhuynh

Ceph storage in OpenNebula is handled as follows:

1.- Image Datastores, hold disk images repository as well as images for
running VMs in a Ceph volume
2.- System Datastore holds additional VM files, checkpoints, context disks
and the like.

If you need live-migration the easiest way is to have a shared filesystem
for the System Datastore. You don't need to export the whole /var/lib/one,
just the datastore directory, though.

If you do not need to live-migrate VMs you should be ok with a ssh based
system datastore

Cheers



On Wed Nov 05 2014 at 12:09:47 PM Huynh Dac Nguyen 
wrote:

>  Hi All,
>
>  I'm researching opennebula with ceph, i saw that most of guide focus on
> using ceph as datastore - block device, right?
>
>  Do we need to mount ceph to /var/lib/one as file system to prevent the
> opennebula frontend down expectedly?
>
>  My script is:
>
>  1) Make a ceph file system : one and mount to /var/lib/one in all
> opennebula node (front-end and node)
>
> 2) Create a ceph block device and add to opennebula as datastore
>
>  Is this a right way?
>
>  Regards,
>
> Ndhuynh
>
> ndhu...@spsvietnam.vn
>
> This e-mail message including any attachments is for the sole use of the
> intended(s) and may contain privileged or confidential information. Any
> unauthorized review, use, disclosure or distribution is prohibited. If you
> are not intended recipient, please immediately contact the sender by reply
> e-mail and delete the original message and destroy all copies thereof.
>  ___
> 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] Cloud View with Persistent Image

2014-11-07 Thread Ruben S. Montero
filled an issue for this http://dev.opennebula.org/issues/3310

Thanks

On Fri Nov 07 2014 at 10:19:50 AM Stefan Kooman  wrote:

> Quoting Ruben S. Montero (rsmont...@opennebula.org):
> > We have the sheduled actions, as you know this feature triggers actions
> on
> > an specific date. We could extend these actions to be triggered on states
> > (i.e. triggered by the scheduler). This, compared with hooks (you can
> > program actions on given states), allow you to set the actions per VM.
> Also
> > users could access this feature, and no modification of oned.conf is
> > requires.
> >
> > Does it make sense?
>
> Totally, this would be really nice, and add a lot of flexibility.
>
> Gr. Stefan
>
> --
> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Cloud View with Persistent Image

2014-11-07 Thread Ruben S. Montero
We have the sheduled actions, as you know this feature triggers actions on
an specific date. We could extend these actions to be triggered on states
(i.e. triggered by the scheduler). This, compared with hooks (you can
program actions on given states), allow you to set the actions per VM. Also
users could access this feature, and no modification of oned.conf is
requires.

Does it make sense?

Cheers

On Tue Oct 14 2014 at 5:20:35 PM Stefan Kooman  wrote:

> Quoting Ruben S. Montero (rsmont...@opennebula.org):
> > Hi
> >
> > These two are on our radar and probably scheduled for the next release. I
> > totally agree that we need to simplify the provision process even more.
> >
> > About feature 1.
> >
> > We have two issues:
> >
> > [1] Clone a running VM. http://dev.opennebula.org/issues/2637
> > [2] Clone a template . http://dev.opennebula.org/issues/2051
> >
> > Last one includes images (pretty much the procedure outlined by
> Anandharaj
> > under "New VM request") and I think this will cover exactly your request.
> >
> > About feature 2.
> >
> > We want to add the ability to update any part of a template for VM, most
> of
> > it can be done if the VM is running (eg. attach a new disk or nic).
> Others
> > like memory can be resized when the VM is powered off. You would not need
> > to update and recreate the template.
> >
> > [3] http://dev.opennebula.org/issues/2065
>
> It would be nice if some actions could be "suspended" until the desired
> state has been reached. This would give you the possibility to perform
> for example resize actions (change (v)CPU, RAM, etc.) and have them
> be applied later, after the VM changes state: running -> poweroff ->
> running. Similar to the "Some changes may require a guest shutdown to
> take effect." message of "virt-manager". You can then schedule a
> power cycle to have the VM resized when convenient (midnight for
> example). Sure you could script this as (one)admin but for an end user
> this is more convenient.
>
> Gr. Stefan
>
> --
> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula resize Ceph RBD.

2014-11-07 Thread Ruben S. Montero
Hi

Currently is not supported, but this feature is high priority in our
roadmap:

http://dev.opennebula.org/issues/1727

Cheers

On Fri Nov 07 2014 at 9:04:47 AM Leszek Master  wrote:

> Is there any way to resize a rbd disk using opennebula ?
> ___
> 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 Live Migrate

2014-11-07 Thread Ruben S. Montero
This may happen when you are migrating VMs across hosts with different hw
specs (CPU model...), is that your case?

On Fri Nov 07 2014 at 8:21:29 AM Rhesa Mahendra 
wrote:

> Hi,
>
> I got error like this when i try to live migrate:
>
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> pc RHEL 6.4.0 PC (alias of rhel6.4.0)
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel6.4.0  RHEL 6.4.0 PC (default)
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel6.3.0  RHEL 6.3.0 PC
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel6.2.0  RHEL 6.2.0 PC
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel6.1.0  RHEL 6.1.0 PC
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel6.0.0  RHEL 6.0.0 PC
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel5.5.0  RHEL 5.5.0 PC
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel5.4.4  RHEL 5.4.4 PC
>
> Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
> rhel5.4.0  RHEL 5.4.0 PC
>
> How to fix it
> ___
> 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] failover datastore

2014-11-05 Thread Ruben S. Montero
Hi Resha,

Usually we achieve this by leveraging the storage infrastructure
underneath, OpenNebula by itself does not replicate disk images...

Cheers

Ruben

On Thu Oct 09 2014 at 12:53:52 AM Rhesa Mahendra <
rh...@lintasmediadanawa.com> wrote:

> I have 3 datastore, box a for datastore 0 & datastore 2, box b for
> datastore 1 and box c for datastore 150, box b and box c with default type.
>
> could we make box b and box c (datastore1&datastore 150) failover? so we
> can maintenance box b or box c without downtime, thanks.
>
> Regards,
> Rhesa Mahendra.
> ___
> 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] resize VM storage

2014-11-04 Thread Ruben S. Montero
This is currently not implemented...

Cheers

Ruben

On Tue Nov 04 2014 at 12:33:17 PM Giancarlo De Filippis 
wrote:

>  Hi all,
>
> With sunstone [1]  can i resize a vm disk (example from 10G to 50G or
> viceversa)?
>
> Thanks.
>
> [1] http://dev.opennebula.org/issues/1727
>
> Giancarlo.
>
>
>  ___
> 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] RANK=FREEMEMORY

2014-10-30 Thread Ruben S. Montero
Upgrade scripts update  VM templates in the OpenNebula database but not
running VMs, maybe this is the problem.

We've missed some variables, but for these ones, take a look to the upgrade
script 4.4.1_to_4.5.80.rb. The following should be updated:
gsub("TOTALCPU",   "MAX_CPU").
gsub("TOTALMEMORY","MAX_MEM").
gsub("FREECPU","FREE_CPU").
gsub("FREEMEMORY", "FREE_MEM").
gsub("USEDCPU","USED_CPU").
gsub("USEDMEMORY", "USED_MEM")

RANK is replaced by SCHED_RANK in 3.8.5_to_3.9.80.rb script.

Maybe there is a bug in the migration code...

Cheers

Ruben


On Thu, Oct 30, 2014 at 3:19 PM, Steven Timm  wrote:

> On Thu, 30 Oct 2014, Ruben S. Montero wrote:
>
>
>>
>> On Thu, Oct 30, 2014 at 2:57 PM, Steven Timm  wrote:
>>   I think I see what went wrong by looking at the documentation.
>>   The value as shown in onehost show -x
>>   is now labeled FREE_MEM instead of FREEMEMORY.
>>   (The current docs also correctly show the variable as FREE_MEM).
>>   I will edit my template and see if that has an effect.
>>
>>   Also it looks like RANK is deprecated in favor of SCHED_RANK
>>   and SCHED_DS_RANK is that correct?
>>
>>
>>
>> Yes,
>>
>>
>>
>>   Any way short of a text editor and onetemplate update to
>>   fix all the legacy templates that have it wrong?
>>
>>
>>
>> All of this should be automatically handled by the upgrade process...
>>
>
> It wasn't, the last time we tried a test upgrade using the
> upgrade scripts.  There were a lot of deprecated fields that stayed
> in the machine templates and some required ones that didn't get in.
>
> Steve
>
>
>
>>
>>   Steve Timm
>>
>>
>>   On Thu, 30 Oct 2014, Ruben S. Montero wrote:
>>
>> Hi Steven,
>> This should be working as long it is in the host
>> information. Could you send
>> the onehost show -x for one of the hosts? (You can
>> send it to me offlist if
>> there is any sensible information).
>>
>> The Rank expression is supposed to work with any
>> variable under the
>> following XPaths:
>>
>> "/HOST/TEMPLATE/",
>> "/HOST/HOST_SHARE/",
>> "/HOST/",
>> "/HOST/CLUSTER_TEMPLATE/
>>
>> Cheers
>>
>> Ruben
>>
>> On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm
>>  wrote:
>>
>>   Under OpenNebula 3 we have been using
>> RANK=FREEMEMORY
>>   to launch the next virtual machine on the
>> hypervisor which
>>   has the most memory available at the time.  I
>> am using the
>>   same in OpenNebula 4.8 but it does not appear
>> to be working,
>>   even though FREEMEMORY is still a documented
>> selection variable
>>   in the requirements section.  In particular
>>   all the RANKS of the machines show up as "0"
>> in the sched.log
>>   when you look at the allocation cycle and
>> there is no
>>   "FREEMEMORY"
>>   variable reported in the output of
>>   onehost show 
>>   under opennebula 4.8.
>>
>>   Are there other selection variables which
>> could have
>>   the same desired effect, i.e. a horizontal
>> fill of the cloud?
>>
>>   Steve Timm
>>
>>
>>
>> ------------
>> --
>>   Steven C. Timm, Ph.D  (630) 840-8525
>>   t...@fnal.gov  http://home.fnal.gov/~timm/
>>   Fermilab Scientific Computing Division,
>> Scientific Computing
>>   Services Quad.
>>   Grid and Cloud Services Dept., Associate Dept.
>> Head for Cloud
>>   Computing
>>
>>  

Re: [one-users] Deploying running vps to a different system datastore

2014-10-30 Thread Ruben S. Montero
Currently, this is not supported :( But this is in our short-term roadmap
and hopefully implemented after 4.10

Cheers

On Tue, Oct 28, 2014 at 6:39 PM, Sergi  wrote:

> Hello,
>
> We have an opennebula installation with two hypervisors (one acting also
> as NFS server for the shared datastores).
>
> We have a few running instances on a shared system datastore and would
> like them running on a newly created ssh datastore, that is, running on
> the hypervisor's local disks.
>
> Using the deploy command is not possible because instances are not in
> the right state. How can we achieve that?
>
> Thanks in advance,
> regards,
> Sergi
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to protect a virtual network from being used by users?

2014-10-30 Thread Ruben S. Montero
;
> >>> -Original Message-
> >>> From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of
> >>> Pavel Tankov
> >>> Sent: Friday, October 24, 2014 12:09 PM
> >>> To: users@lists.opennebula.org
> >>> Subject: [one-users] How to protect a virtual network from being used
> by users?
> >>>
> >>> Hello,
> >>>
> >>> I (as oneadmin) have configured two virtual networks:
> >>> - one named "default" for use by regular users to deploy disposable
> >>> test VMs
> >>> - one named "SPECIAL" for use by the admin to create servers that
> >>> will not be disposable but will stay always ON
> >>>
> >>> Both networks have different IP ranges so that you could easily tell
> whether it's a server or a disposable test VM by looking at it's IP address.
> >>>
> >>> I have set up Opennebula with LDAP authentication. LDAP users
> authenticate just fine and are able to create themselves VMs using those
> templates that the admin has allowed for them. Now, I'd like to make so
> that only "default" virtual network is exposed to regular users, and
> "SPECIAL" is not seen by them.
> >>>
> >>> Currently, both networks have the following permissions:
> >>>
> >>> - Owner: use, manage
> >>> - Group 
> >>> - Other: 
> >>>
> >>> Users still can use both of these when they deploy a test VM although
> permissions clearly state they shouldn't be able to see any of them.
> >>>
> >>> What is wrong with the permissions?
> >>>
> >>> --
> >>> Pavel Tankov
> >>> ___
> >>> Users mailing list
> >>> Users@lists.opennebula.org
> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>> 
> >>> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
> >>> ___
> >>> Users mailing list
> >>> Users@lists.opennebula.org
> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>>
> >> 
> >> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
> >>
> > 
> > This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
> >
> 
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] RANK=FREEMEMORY

2014-10-30 Thread Ruben S. Montero
On Thu, Oct 30, 2014 at 2:57 PM, Steven Timm  wrote:

> I think I see what went wrong by looking at the documentation.
> The value as shown in onehost show -x
> is now labeled FREE_MEM instead of FREEMEMORY.
> (The current docs also correctly show the variable as FREE_MEM).
> I will edit my template and see if that has an effect.
>
> Also it looks like RANK is deprecated in favor of SCHED_RANK
> and SCHED_DS_RANK is that correct?
>


Yes,



>
> Any way short of a text editor and onetemplate update to
> fix all the legacy templates that have it wrong?
>


All of this should be automatically handled by the upgrade process...


> Steve Timm
>
>
> On Thu, 30 Oct 2014, Ruben S. Montero wrote:
>
>  Hi Steven,
>> This should be working as long it is in the host information. Could you
>> send
>> the onehost show -x for one of the hosts? (You can send it to me offlist
>> if
>> there is any sensible information).
>>
>> The Rank expression is supposed to work with any variable under the
>> following XPaths:
>>
>> "/HOST/TEMPLATE/",
>> "/HOST/HOST_SHARE/",
>> "/HOST/",
>> "/HOST/CLUSTER_TEMPLATE/
>>
>> Cheers
>>
>> Ruben
>>
>> On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm  wrote:
>>
>>   Under OpenNebula 3 we have been using RANK=FREEMEMORY
>>   to launch the next virtual machine on the hypervisor which
>>   has the most memory available at the time.  I am using the
>>   same in OpenNebula 4.8 but it does not appear to be working,
>>   even though FREEMEMORY is still a documented selection variable
>>   in the requirements section.  In particular
>>   all the RANKS of the machines show up as "0" in the sched.log
>>   when you look at the allocation cycle and there is no
>>   "FREEMEMORY"
>>   variable reported in the output of
>>   onehost show 
>>   under opennebula 4.8.
>>
>>   Are there other selection variables which could have
>>   the same desired effect, i.e. a horizontal fill of the cloud?
>>
>>   Steve Timm
>>
>>
>>   --
>>   Steven C. Timm, Ph.D  (630) 840-8525
>>   t...@fnal.gov  http://home.fnal.gov/~timm/
>>   Fermilab Scientific Computing Division, Scientific Computing
>>   Services Quad.
>>   Grid and Cloud Services Dept., Associate Dept. Head for Cloud
>>   Computing
>>   ___
>>   Users mailing list
>>   Users@lists.opennebula.org
>>   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief ArchitectOpenNebula - Flexible Enterprise Cloud
>> Made Simple
>> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>>
>>
>>
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing




-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to integrate Swift storage in OpenNebula

2014-10-30 Thread Ruben S. Montero
Currently there is no Swift-backed datastore in OpenNebula, so you cannot
directly reference swift object in your templates.

However you could import the Swift objects as an image in a OpenNebula
Datastore using the URL of the object. AFAIK this is, to some extent,
similar to the Swift-Glance relationship... but I'm not an authority in
OpenStack...

Cheers

Ruben

On Wed, Oct 29, 2014 at 11:19 AM,  wrote:

> Hi
> I have configured OpenNebula 4.8 and working good.
>
> I have one Swift storage cluster in place. I want to store datastore on
> that Swift storage.
>
> I tried to create new datastore but in that there is no option for Swift.
>
> How can I add Swift storage for datastore?
>
> Regards
> Neelesh Gurjar
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> OpenNebula - Flexible Enterprise Cloud Made Simple
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] RANK=FREEMEMORY

2014-10-30 Thread Ruben S. Montero
Hi Steven,

This should be working as long it is in the host information. Could you
send the onehost show -x for one of the hosts? (You can send it to me
offlist if there is any sensible information).

The Rank expression is supposed to work with any variable under the
following XPaths:

"/HOST/TEMPLATE/",
"/HOST/HOST_SHARE/",
"/HOST/",
"/HOST/CLUSTER_TEMPLATE/

Cheers

Ruben

On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm  wrote:

>
> Under OpenNebula 3 we have been using RANK=FREEMEMORY
> to launch the next virtual machine on the hypervisor which
> has the most memory available at the time.  I am using the
> same in OpenNebula 4.8 but it does not appear to be working,
> even though FREEMEMORY is still a documented selection variable
> in the requirements section.  In particular
> all the RANKS of the machines show up as "0" in the sched.log
> when you look at the allocation cycle and there is no "FREEMEMORY"
> variable reported in the output of
> onehost show 
> under opennebula 4.8.
>
> Are there other selection variables which could have
> the same desired effect, i.e. a horizontal fill of the cloud?
>
> Steve Timm
>
>
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Is it possible to add a "ephemeral" disk on ON templates

2014-10-30 Thread Ruben S. Montero
You are probably interested in volatile disks,

http://docs.opennebula.org/4.8/user/references/template.html#volatile-disks

Cheers

Ruben

On Thu, Oct 30, 2014 at 10:10 AM, Esteban Freire  wrote:

> Hello all,
>
> I would like to ask you if it is possible to add a "ephemeral" disk on
> OpenNebula templates, so in order to have an extra space which is not on
> the image but which is created when the image is started. If it is so,
> could you please indicate me how to do it?
>
> Sorry, probably, it is already documented but I don't have enough time
> right now to have a look on it.
>
> Thanks in advance,
> Esteban
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Storage for Multi Location OpenNebula Setup

2014-10-30 Thread Ruben S. Montero
Hi

OpenNebula federation approach is that followed by commercial cloud
providers. Users, groups and access control policies are fedarated across
zones. However, networking, compute and storage resources are local to each
zone.

Typically you'll configure Datastores (of any type Ceph, Gluster, LVMs...)
for each zone. Sharing of images across zones can be achivied by a
marketplace.

Cheers

Ruben

On Thu, Oct 30, 2014 at 11:49 AM,  wrote:

> Hi,
> I want to setup OpenNebula Cloud across multiple locations.
> Which type of Storage is recommended for such type of setups ?
>
> For eg. in OpenStack Swift Storage is used.
>
> Regards
> Neelesh Gurjar
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Ceph snapshot

2014-10-22 Thread Ruben S. Montero
They should be supported for RBD 2 images, you may want to take a look to
the actual cloning process in tm/ceph/clone

Cheers

Ruben

On Wed, Oct 22, 2014 at 10:32 AM, Johan Kooijman 
wrote:

> Hi all,
>
> I'm running ONE 4.8 on a Ceph datastore. All works fine, but when I create
> a snapshot of a VM, it looks like it does a fat snapshot, instead of using
> Ceph's copy-on-write snapshots. Is there some way I can configure ONE to
> use the CoW?
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] change network from bridge to open vswitch

2014-10-16 Thread Ruben S. Montero
I've not tried my self, but as the driver scripts are excuted in the new
host it should work. You may have problems with the checkpoint files when
migrating the VM, i.e. different host cpu models and the like

On Wed, Oct 15, 2014 at 8:18 PM, Karsten Nielsen 
wrote:

> That sounds great.
> Would it work if I just added a new host with a ovs with the same bridge
> name and migrated the VMs to that ?
>
> - Karsten
> On 10/10/14 16:50, Ruben S. Montero wrote:
>
>>
>>
>> On Thu, Sep 4, 2014 at 3:02 PM, Karsten Nielsen > <mailto:kars...@unity3d.com>> wrote:
>>
>> Hi,
>>
>> We have a small env runing using bridged network which we would
>> like to switch to open vswitch.
>>
>> I was thinking about if it is possible?
>>
>> The logic steps would be:
>> 1 add a new host with open vswitch
>> 2 some how change the network from bridge to open vswitch
>> 3 start migration of VM's to that new server and change the
>> template to use open vswitch
>> 4 reinstall the hypervisor and move it to open vswitch the same way.
>>
>> Any thoughts ?
>>
>>
>> From the OpenNebula point of view you need:
>>
>> 1.- In order to update the Networks, you need either use the same
>> bridge_names or use the new BRIDGE_OVS attribute.
>> 2.- Shutdown the VMs
>> 3.- Recreate the hosts with the new drivers
>>
>> you should not need to update the VM templates, and if using the same
>> bridge names the Network templates neither.
>>
>> Cheers
>>
>>
>>
>>     - Karsten
>> ___
>> Users mailing list
>> Users@lists.opennebula.org <mailto:Users@lists.opennebula.org>
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org <http://www.OpenNebula.org> | rsmont...@opennebula.org
>> <mailto:rsmont...@opennebula.org> | @OpenNebula
>>
>
>


-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] CoreOS on opennebula

2014-10-10 Thread Ruben S. Montero
AFAIK, not... but we'll be very interested in the result and feedback about
it.

Keep us updated!

Cheers

Ruben

On Fri, Oct 10, 2014 at 2:18 PM, Sander Klein  wrote:

> Hi,
>
> I anyone using CoreOS on OpenNebula? I'm thinking about doing this because
> we have a mix of kvm machines and docker containers.
>
> Greets,
>
> Sander
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] portability

2014-10-10 Thread Ruben S. Montero
Hi Cyrill,

Usually our approach is not to migrate images between providers. In the
medium term it is a nightmare, multiple versions of the same image spread
across different clouds, it is very difficult to distributed patches and
image updates, and the cost of moving things in/out increases.

Our recommendation is to use vanilla OS installs plus a configuration
management software of your choice (ansible, chef, puppet...), this way you
just need to maintain a single receipt rather than multiple installations.

If you need to import an image, you could follow any procedure target for
your base hypervisor (if any).

Cheers

Ruben

On Fri, Oct 10, 2014 at 1:10 PM,  wrote:

>
> Dear OpenNebula Community
>
> I understand that there is no live migration functionality to public cloud
> vendors available.
> But what’s about manual migration or portability of virtual machines? Is
> there a way to migrate virtual machines to or from opennebula?
> We are interested to migrate images from ec2, softlayer, azure and
> Rackspace.
>
> -Cyrill
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] change network from bridge to open vswitch

2014-10-10 Thread Ruben S. Montero
On Thu, Sep 4, 2014 at 3:02 PM, Karsten Nielsen  wrote:

> Hi,
>
> We have a small env runing using bridged network which we would like to
> switch to open vswitch.
>
> I was thinking about if it is possible?
>
> The logic steps would be:
> 1 add a new host with open vswitch
> 2 some how change the network from bridge to open vswitch
> 3 start migration of VM's to that new server and change the template to
> use open vswitch
> 4 reinstall the hypervisor and move it to open vswitch the same way.
>
> Any thoughts ?
>

>From the OpenNebula point of view you need:

1.- In order to update the Networks, you need either use the same
bridge_names or use the new BRIDGE_OVS attribute.
2.- Shutdown the VMs
3.- Recreate the hosts with the new drivers

you should not need to update the VM templates, and if using the same
bridge names the Network templates neither.

Cheers




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



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Migrating from none to cephx authorization

2014-10-10 Thread Ruben S. Montero
Hi

On Tue, Sep 16, 2014 at 2:12 PM, Stanislav Yanchev 
wrote:

> Hello,
>
> We are migrating from authorization none to cephx in our ceph datastore.
> Is there a way to upgrade the available VMs with the CEPH_SECRET value?
>

I'm afraid that can be only done updating the DB directly. You need to stop
oned, and update the bidy column of the target VMs

Now only the new one are generated with CEPH_SECRET and working with
> libvirt. We’re using OpenNebula 4.6.2 at the moment.
>
>
>
> Regards,
>
> *Stanislav Yanchev*
> Sen. Core Systems Operations Admin
>
> [image: MAX TELECOM]
>
> Mobile: +359 882 549 441
> s.yanc...@maxtelecom.bg
> www.maxtelecom.bg
>
>
> <http://gfidisc.maxtelecom.bg>
>
> *Confidentiality notice*
>
>
>
> The information contained in this message (including any attachments) is
> confidential and may be legally privileged or otherwise protected from
> disclosure. This message is intended solely for the addressee(s). If you
> are not the intended recipient, please notify the sender by return e-mail
> and delete this message from your system. Any unauthorised use,
> reproduction, or dissemination of this message is strictly prohibited. Any
> liability arising from any third party acting, or refraining from acting,
> on any information contained in this e-mail is hereby excluded. Please note
> that e-mails are susceptible to change. Max Telecom shall not be liable for
> the improper or incomplete transmission of the information contained in
> this communication, nor shall it be liable for any delay in its receipt.
>
> <http://gfidisc.maxtelecom.bg>
>
> _______
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Real CPU/MEM = 0 after upgrade

2014-10-10 Thread Ruben S. Montero
Agree, filled an issue to take care of it in next versions

http://dev.opennebula.org/issues/3238

Cheers and thanks for the feedback

Ruben

On Wed, Sep 24, 2014 at 10:12 AM, Olivier Sallou 
wrote:

> I could not fix the issue, so i changed my hosts to use the new system
> and it works.
> The difficulty is to change the im/tm etc... on production hosts. I
> needed to manually change info in the database within the XML
>
>
>
>
> On 09/23/2014 07:01 PM, Javier Fontan wrote:
> > Ganglia IM drivers are no longer included in the distribution and we
> > have not modified them for quite some time so I'm not sure they will
> > work.
> >
> > There may be also a problem related with the new collectd system to
> > get information, now monitoring is pushed from the nodes and is active
> > by default.
> >
> > Check these documents:
> >
> > http://docs.opennebula.org/4.8/administration/monitoring/mon.html
> > http://docs.opennebula.org/4.8/administration/monitoring/imudppushg.html
> >
> > On Tue, Sep 23, 2014 at 11:58 AM, Olivier Sallou
> >  wrote:
> >> As additional info,
> >> I tested ganglia_probe, and it looks fine:
> >>
> >> oneadmin@genokvm4:/var/lib/one/remotes/im/ganglia.d$ ./ganglia_probe
> kvm
> >> 14 genokvm7
> >> TOTALCPU="2400"
> >> CPUSPEED="2666"
> >> TOTALMEMORY="99202048"
> >> USEDMEMORY="98827836"
> >> FREEMEMORY="374212"
> >> FREECPU="2181.6"
> >> USEDCPU="218.40001"
> >> NETTX="9129152.00"
> >> NETRX="9256168.00"
> >> VMS_INFORMATION=""
> >>
> >>
> >> On 09/23/2014 10:56 AM, Olivier Sallou wrote:
> >>> Hi,
> >>> I have upgraded from 4.2 to 4.8, and  all processes are fine BUT:
> >>>
> >>> the REAL CPU and MEM values of all my hosts remain at 0 (while
> allcoated
> >>> is ok).
> >>> I use the ganglia driver, I don't know if it is used for real values.
> >>>
> >>> Messages look fine:
> >>>
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm6 (13)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm7 (14)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm3 (21)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm8 (22)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm9 (24)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm10 (25)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm11 (26)
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm6 (13) successfully
> >>> monitored.
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm7 (14) successfully
> >>> monitored.
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm3 (21) successfully
> >>> monitored.
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm8 (22) successfully
> >>> monitored.
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm9 (24) successfully
> >>> monitored.
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm10 (25) successfully
> >>> monitored.
> >>> Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm11 (26) successfully
> >>> monitored.
> >>>
> >>>
> >>> I have waited for quite a long time, so it should not be a problem
> >>>
> >>> Any idea how to debug this ? This prevent VM scheduling
> >>>
> >>> Thanks
> >>>
> >>> Olivier
> >>>
> >> --
> >> Olivier Sallou
> >> IRISA / University of Rennes 1
> >> Campus de Beaulieu, 35000 RENNES - FRANCE
> >> Tel: 02.99.84.71.95
> >>
> >> gpg key id: 4096R/326D8438  (keyring.debian.org)
> >> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
> >>
> >> ___
> >> Users mailing list
> >> Users@lists.opennebula.org
> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> >
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Cloud View with Persistent Image

2014-10-10 Thread Ruben S. Montero
> received this email in error, please notify the sender immediately and
> delete the original message (including any attachments).
>
>  MIMOS Berhad is a research and development institution under the purview
> of the Malaysian Ministry of Science, Technology and Innovation. Opinions,
> conclusions and other information in this e-mail that do not relate to the
> official business of MIMOS Berhad and/or its subsidiaries shall be
> understood as neither given nor endorsed by MIMOS Berhad and/or its
> subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts
> responsibility for the same. All liability arising from or in connection
> with computer viruses and/or corrupted e-mails is excluded to the fullest
> extent permitted by law.
>
>
> ___
> Users mailing 
> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> OpenNebula - Flexible Enterprise Cloud Made Simple
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Ceph datastore monitoring in OpenNebula

2014-10-10 Thread Ruben S. Montero
Hi all
>> >>>>>
>> >>>>>
>> >>>>> We have included our ONE nodes into Ceph cluster, cephx auth is
>> working
>> >>>>> but OpenNebula is not able to detect the free space:
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>> $ onedatastore show 103
>> >>>>>> DATASTORE 103 INFORMATION
>> >>>>>> ID : 103
>> >>>>>> NAME   : ceph
>> >>>>>> USER   : oneadmin
>> >>>>>> GROUP  : oneadmin
>> >>>>>> CLUSTER: -
>> >>>>>> TYPE   : IMAGE
>> >>>>>> DS_MAD : ceph
>> >>>>>> TM_MAD : ceph
>> >>>>>> BASE PATH  : /var/lib/one//datastores/103
>> >>>>>> DISK_TYPE  : RBD
>> >>>>>>
>> >>>>>> DATASTORE CAPACITY
>> >>>>>> TOTAL: : 0M
>> >>>>>> FREE:  : 0M
>> >>>>>> USED:  : 0M
>> >>>>>> LIMIT: : -
>> >>>>>>
>> >>>>>> PERMISSIONS
>> >>>>>> OWNER  : um-
>> >>>>>> GROUP  : u--
>> >>>>>> OTHER  : ---
>> >>>>>
>> >>>>>
>> >>>>>> $ onedatastore list
>> >>>>>>  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS
>> >>>>>> TM
>> >>>>>>   0 system114.8G 85%   - 0 sys -
>> >>>>>> shared
>> >>>>>>   1 default   114.9G 84%   - 2 img fs
>> >>>>>> ssh
>> >>>>>>   2 files 114.9G 84%   - 0 fil fs
>> >>>>>> ssh
>> >>>>>> 103 ceph  0M - - 0 img ceph
>> >>>>>> ceph
>> >>>>>
>> >>>>>
>> >>>>> but if we run rados as oneadmin user:
>> >>>>>
>> >>>>>> $  rados df -p one --id libvirt
>> >>>>>> pool name   category KB  objects clones
>> >>>>>> degraded  unfound   rdrd KB   wr
>>  wr
>> >>>>>> KB
>> >>>>>> one -  0 00
>> >>>>>> 0   00 000
>> >>>>>>  total used 1581852   37
>> >>>>>>  total avail   140846865180
>> >>>>>>  total space   140848447032
>> >>>>>
>> >>>>>
>> >>>>> It's working correctly (we are using one pool and libvirt ceph id)
>> >>>>>
>> >>>>> the oned.log only shows this info:
>> >>>>> Tue Jun 17 10:06:37 2014 [InM][D]: Monitoring datastore default (1)
>> >>>>> Tue Jun 17 10:06:37 2014 [InM][D]: Monitoring datastore files (2)
>> >>>>> Tue Jun 17 10:06:37 2014 [InM][D]: Monitoring datastore ceph (103)
>> >>>>> Tue Jun 17 10:06:37 2014 [ImM][D]: Datastore default (1)
>> successfully
>> >>>>> monitored.
>> >>>>> Tue Jun 17 10:06:37 2014 [ImM][D]: Datastore files (2) successfully
>> >>>>> monitored.
>> >>>>> Tue Jun 17 10:06:37 2014 [ImM][D]: Datastore ceph (103) successfully
>> >>>>> monitored.
>> >>>>>
>> >>>>> Any clue about how to debug this issue?
>> >>>>>
>> >>>>> Thanks in advance!
>> >>>>> Alvaro
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> ___
>> >>>>> 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
>> >>>
>> >>>
>> >> ___
>> >> Users mailing list
>> >> Users@lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>> >
>>
>>
>>
>>  --
>> Javier Fontán Muiños
>> Developer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>>  ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
>  --
>  Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jme...@opennebula.org
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Live migrate with Snapshot

2014-10-07 Thread Ruben S. Montero
It seems that ubuntu 14 (libvirt 1.2.2 - qemu 2.0) supports it.

Cheers


On Fri, Oct 3, 2014 at 1:59 PM, Hamada, Ondrej 
wrote:

>  Hi guys,
>
>
>
> Since which version of qemu is it supported?
>
>
>
> Ondra
>
>
>
> *From:* Users [mailto:users-boun...@lists.opennebula.org] *On Behalf Of *Ruben
> S. Montero
> *Sent:* Thursday, October 02, 2014 1:27 PM
> *To:* Rhesa Mahendra
> *Cc:* users@lists.opennebula.org
> *Subject:* Re: [one-users] Live migrate with Snapshot
>
>
>
> Hi Rhesa,
>
>
>
> This is not supported for historical reasons. New versions of qemu seems
> to support this feature, nex version of OpenNebula should include this, see:
>
>
>
> http://dev.opennebula.org/issues/3187
>
>
>
> Cheers
>
>
>
> Ruben
>
>
>
> On Tue, Sep 23, 2014 at 11:30 AM, Rhesa Mahendra <
> rh...@lintasmediadanawa.com> wrote:
>
> Guys,
>
> Could we migrate vm with snapshots?how to make it works?thanks.
>
> Rhesa.
>
> ___________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
>
> --
>
> --
>
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
>
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>   --
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula disk throttling.

2014-10-07 Thread Ruben S. Montero
There are a couple of issues to ease the edition of VM instances to allow
for example adding new parameters to VM virtual hw, or virtual disks in
"not-running" states...

You can always edit the database, of course. Just stop oned, look for
active VMs (VM STATE 3) and update the body column. It is a XML document so
it should be fairly easy to add the attribute to the DISK entities.

After that you need to power-off powe-on the VMs; so the deployment file
with the new attributes are generated.

Cheers

On Mon, Oct 6, 2014 at 9:40 AM, Leszek Master  wrote:

> So you're telling me that if I deploy for example 1000 VM's and i want to
> add to them io throttling in iops i should do it manually and one more time
> after reboot of every VM?
>
> That's not even funny :)
>
> There must be a way to change the deploytment file in the opennebula, for
> example in the database?. Any one tried to "add io throttling iops and
> mbytes for all existing VM's at his cloud"?
>
>
>
> 2014-10-02 13:18 GMT+02:00 Ruben S. Montero :
>
>> Hi,
>>
>> I'm afraid that currently this is not supported. The template of the VM
>> is used to re-generate the xml file, and it cannot be added to the template
>> of the running VM.
>>
>> If you need to added to the VM, I'd suggest to:
>>
>> 1.- power-off the VM using ***virsh***
>> 2- Update the xml file
>> 3.- deploy the VM using ***virsh***
>>
>> You can do it in 4.6 without stopping oned. In 4.8 it is safer to stop
>> oned first.
>>
>> Cheers
>>
>> On Tue, Sep 30, 2014 at 12:03 PM, Leszek Master 
>> wrote:
>>
>>> How can i set disk throttling iops and MB/s to my existing VM's without
>>> redeploying ? If i add it to a xml file after rebooting my VM it disappear.
>>>
>>> Please help me solving it out.
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>>
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] MySQL deadlock when trying to register a new vm image

2014-10-06 Thread Ruben S. Montero
s  = "-r 3 -t 15 kvm" ]
>> VM_MAD = [
>> name   = "kvm",
>> executable = "one_vmm_exec",
>> arguments  = "-t 15 -r 0 kvm",
>> default= "vmm_exec/vmm_exec_kvm.conf",
>> type   = "kvm" ]
>> TM_MAD = [
>> executable = "one_tm",
>> arguments = "-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph"
>> ]
>> DATASTORE_MAD = [
>> executable = "one_datastore",
>> arguments  = "-t 15 -d dummy,fs,vmfs,lvm,ceph"
>> ]
>> HM_MAD = [
>> executable = "one_hm" ]
>> AUTH_MAD = [
>> executable = "one_auth_mad",
>> authn = "ssh,x509,ldap,server_cipher,server_x509"
>> ]
>> SESSION_EXPIRATION_TIME = 900
>> DEFAULT_UMASK = 177
>> VM_RESTRICTED_ATTR = "CONTEXT/FILES"
>> VM_RESTRICTED_ATTR = "NIC/MAC"
>> VM_RESTRICTED_ATTR = "NIC/VLAN_ID"
>> VM_RESTRICTED_ATTR = "NIC/BRIDGE"
>> IMAGE_RESTRICTED_ATTR = "SOURCE"
>> INHERIT_DATASTORE_ATTR  = "CEPH_HOST"
>> INHERIT_DATASTORE_ATTR  = "CEPH_SECRET"
>> INHERIT_DATASTORE_ATTR  = "CEPH_USER"
>> INHERIT_DATASTORE_ATTR  = "RBD_FORMAT"
>> INHERIT_DATASTORE_ATTR  = "GLUSTER_HOST"
>> INHERIT_DATASTORE_ATTR  = "GLUSTER_VOLUME"
>> INHERIT_VNET_ATTR   = "VLAN_TAGGED_ID"
>> TM_MAD_CONF = [
>> name = "dummy", ln_target = "NONE", clone_target = "SYSTEM", shared =
>> "yes"
>> ]
>> TM_MAD_CONF = [
>> name = "lvm", ln_target = "NONE", clone_target = "SELF", shared =
>> "yes"
>> ]
>> TM_MAD_CONF = [
>> name = "shared", ln_target = "NONE", clone_target = "SYSTEM", shared
>> = "yes"
>> ]
>> TM_MAD_CONF = [
>> name = "fs_lvm", ln_target = "SYSTEM", clone_target = "SYSTEM",
>> shared="yes"
>> ]
>> TM_MAD_CONF = [
>> name = "qcow2", ln_target = "NONE", clone_target = "SYSTEM", shared =
>> "yes"
>> ]
>> TM_MAD_CONF = [
>> name = "ssh", ln_target = "SYSTEM", clone_target = "SYSTEM", shared =
>> "no"
>> ]
>> TM_MAD_CONF = [
>> name = "vmfs", ln_target = "NONE", clone_target= "SYSTEM", shared =
>> "yes"
>> ]
>> TM_MAD_CONF = [
>> name = "ceph", ln_target = "NONE", clone_target = "SELF", shared =
>> "yes"
>> ]
>> /**/
>>
>> best regards
>>
>> galimba
>>
>>
>>
>> --
>>
>> [image: Image removed by sender.]
>>
>>
>>
>>
>> --
>>
>> [image: Image removed by sender.]
>>   --
>>
>> This e-mail and any attachment is for authorised use by the intended
>> recipient(s) only. It may contain proprietary material, confidential
>> information and/or be subject to legal privilege. It should not be copied,
>> disclosed to, retained or used by, any other party. If you are not an
>> intended recipient then please promptly delete this e-mail and any
>> attachment and all copies and inform the sender. Thank you for
>> understanding.
>>
>
>
>
> --
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Live migrate with Snapshot

2014-10-02 Thread Ruben S. Montero
Hi Rhesa,

This is not supported for historical reasons. New versions of qemu seems to
support this feature, nex version of OpenNebula should include this, see:

http://dev.opennebula.org/issues/3187

Cheers

Ruben

On Tue, Sep 23, 2014 at 11:30 AM, Rhesa Mahendra <
rh...@lintasmediadanawa.com> wrote:

> Guys,
>
> Could we migrate vm with snapshots?how to make it works?thanks.
>
> Rhesa.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE 4.8 - Datastore location

2014-10-02 Thread Ruben S. Montero
][I]: ExitCode: 1
>
> Wed Sep 17 15:03:06 2014 [Z0][TM][E]: Error executing image transfer
> script: Error copying
> server.mimos.local:/one/datastores/103/01420afc51ab1be828f0e877cb980113 to
> server.mimos.local:/var/lib/one//datastores/102/0/disk.1
>
> Wed Sep 17 15:03:06 2014 [Z0][DiM][I]: New VM state is FAILED
>
>
>
> From the above message, I can see that it is still referring to
> /var/lib/one/ directory. What I have missed here? The BASE_PATH in DS page
> is for what actually?
>
>
>
> Note: Management and Node on the same server.
>
>
>
> --
>
> Regards,
>
> Anandharaj
>
>
>
> --
>  *DISCLAIMER:*
>
>  This e-mail (including any attachments) is for the addressee(s) only and
> may be confidential, especially as regards personal data. If you are not
> the intended recipient, please note that any dealing, review, distribution,
> printing, copying or use of this e-mail is strictly prohibited. If you have
> received this email in error, please notify the sender immediately and
> delete the original message (including any attachments).
>
>  MIMOS Berhad is a research and development institution under the purview
> of the Malaysian Ministry of Science, Technology and Innovation. Opinions,
> conclusions and other information in this e-mail that do not relate to the
> official business of MIMOS Berhad and/or its subsidiaries shall be
> understood as neither given nor endorsed by MIMOS Berhad and/or its
> subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts
> responsibility for the same. All liability arising from or in connection
> with computer viruses and/or corrupted e-mails is excluded to the fullest
> extent permitted by law.
>
> --
> -
> -
> DISCLAIMER:
>
> This e-mail (including any attachments) is for the addressee(s)
> only and may contain confidential information. If you are not the
> intended recipient, please note that any dealing, review,
> distribution, printing, copying or use of this e-mail is strictly
> prohibited. If you have received this email in error, please notify
> the sender immediately and delete the original message.
> MIMOS Berhad is a research and development institution under
> the purview of the Malaysian Ministry of Science, Technology and
> Innovation. Opinions, conclusions and other information in this e-
> mail that do not relate to the official business of MIMOS Berhad
> and/or its subsidiaries shall be understood as neither given nor
> endorsed by MIMOS Berhad and/or its subsidiaries and neither
> MIMOS Berhad nor its subsidiaries accepts responsibility for the
> same. All liability arising from or in connection with computer
> viruses and/or corrupted e-mails is excluded to the fullest extent
> permitted by law.
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> OpenNebula - Flexible Enterprise Cloud Made Simple
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula disk throttling.

2014-10-02 Thread Ruben S. Montero
Hi,

I'm afraid that currently this is not supported. The template of the VM is
used to re-generate the xml file, and it cannot be added to the template of
the running VM.

If you need to added to the VM, I'd suggest to:

1.- power-off the VM using ***virsh***
2- Update the xml file
3.- deploy the VM using ***virsh***

You can do it in 4.6 without stopping oned. In 4.8 it is safer to stop oned
first.

Cheers

On Tue, Sep 30, 2014 at 12:03 PM, Leszek Master  wrote:

> How can i set disk throttling iops and MB/s to my existing VM's without
> redeploying ? If i add it to a xml file after rebooting my VM it disappear.
>
> Please help me solving it out.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Multiple network cards with same MAC address

2014-09-16 Thread Ruben S. Montero
Hi

MAC address  is checked to not collide within a VNET - AR. If you want to
set different MAC on different VNETs you need to define the MAC address
ranges in such a way they do not overlap.

Cheers

Ruben

On Mon, Sep 8, 2014 at 11:29 AM, Daniel Dehennin <
daniel.dehen...@baby-gnu.org> wrote:

> Hello,
>
> Using ONE 4.8 on two nodes with Open vSwitch networks, a crossover cable
> between the nodes as trunk.
>
> I have a router template using 4 different networks, each network is
> isolated in dedicated VLAN, but 3 network cards use the same MAC
> address.
>
> On another try two of them use the same MAC address.
>
> This result is miss-function on that router, the firt card is tagged
> with the VLAN ID two times, the next one is in trunk mode:
>
> Mon Sep 8 11:00:14 2014 [Z0][VMM][I]: post: Executed "sudo ovs-vsctl
> set Port vnet44 tag=655".
> Mon Sep 8 11:00:14 2014 [Z0][VMM][I]: post: Executed "sudo ovs-vsctl
> set Port vnet45 tag=659".
> Mon Sep 8 11:00:14 2014 [Z0][VMM][I]: post: Executed "sudo ovs-vsctl
> set Port vnet45 tag=660".
> Mon Sep 8 11:00:14 2014 [Z0][VMM][I]: post: Executed "sudo ovs-vsctl
> set Port vnet47 tag=661".
> Mon Sep 8 11:00:14 2014 [Z0][VMM][I]: ExitCode: 0
>
> The “vnet45” should bet tagged with “659”:
>
> ovs-vsctl find Port name=vnet45
> _uuid   : b5b33023-03ff-4229-8039-f2268096fb77
> bond_downdelay  : 0
> bond_fake_iface : false
> bond_mode   : []
> bond_updelay: 0
> external_ids: {}
> fake_bridge : false
> interfaces  : [349e0f2d-3cd7-4865-bb8d-72b82aebc437]
> lacp: []
> mac : []
> name: "vnet45"
> other_config: {}
> qos : []
> statistics  : {}
> status  : {}
> tag : 660
> trunks  : []
> vlan_mode   : []
>
> The “vnet46” has the same MAC address as “vnet45” and is in trunk
> mode:
>
> ovs-vsctl find Port name=vnet46
> _uuid   : cad4a6c7-5ab5-440f-81e7-59bfb19e00a6
> bond_downdelay  : 0
> bond_fake_iface : false
> bond_mode   : []
> bond_updelay: 0
> external_ids: {}
> fake_bridge : false
> interfaces  : [1b0a1deb-fdb3-44ea-b406-67afa953ee5f]
> lacp: []
> mac : []
> name: "vnet46"
> other_config: {}
> qos : []
> statistics  : {}
> status  : {}
> tag : []
> trunks  : []
> vlan_mode   : []
>
>
> Here is one of the networks definitions:
>
> oneadmin@nebula:~$ onevnet show 659
> VIRTUAL NETWORK 659 INFORMATION
> ID : 659
> NAME   : dmz1
> USER   : auser
> GROUP  : users
> CLUSTER: -
> BRIDGE : internal
> VLAN   : Yes
> USED LEASES: 2
>
> PERMISSIONS
> OWNER  : um-
> GROUP  : ---
> OTHER  : ---
>
> VIRTUAL NETWORK TEMPLATE
> BRIDGE="internal"
> PHYDEV=""
> PUBLIC="NO"
> VLAN="YES"
> VLAN_ID=""
>
> ADDRESS RANGE POOL
>  AR TYPESIZE LEASES   MAC  IP
> GLOBAL_PREFIX
>   0 ETHER254  1 02:00:2b:94:f7:fa   -
> -
>
> LEASES
> AR  OWNERMAC  IP
> IP6_GLOBAL
> 0   VM : 6113  02:00:2b:94:f7:fa   -
>  -
>
>
> I could define random mac prefixes for each network but I assumed that ONE
> will pick different MAC
> for each cards.
>
> Regards.
> --
> Daniel Dehennin
> Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
> Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ipv6

2014-09-15 Thread Ruben S. Montero
Hi

It seems that the size of an address range is limited to an unsigned int so
giving you an effective size of 2^32 instead of 2^64. I'll open an issue to
address this:

http://dev.opennebula.org/issues/3188

Thanks for the feedback.

Cheers

Ruben

On Fri, Sep 12, 2014 at 3:21 PM, Johan Kooijman 
wrote:

> Hi all,
>
> I'd like to add an ipv6 /64 range to ONE. I can add it, it works, but I
> set it the SIZE attribute to the real value of a /64 range, both sunstone
> and onevnet.
>
> oneadmin@admin:~$ onevnet create net.conf
> [VirtualNetworkAllocate] Error allocating a new virtual network. Wrong
> SIZE for address range
>
> Am I missing something here? The manual doesn't help me in this instance.
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Fencing and/or STONITH in case of an host error (ft/host_error.rb)

2014-08-15 Thread Ruben S. Montero
Hi Sebastian,

>
> I think this is the "right" place for adding those functions?
>




>
>
> Is this the "right" way to trigger fencing actions with OpenNebula, or are
> there better ways to implement fencing/STONITH - how do you implement it?
> Perhaps virtual machine disk locking (e.g. SANLOCK) could be a solution
> for some environments?
>

Exactly that's the place to fence the misbehaving host and the recommended
procedure.


>
> I think there is (currently) a lack of a proper fencing mechanism in
> OpenNebula, isn`t it?
>

Right, we relay in a separated fencing mechanism as a proper HA requires.


As a side note, we are now working (it maybe incorporated in 4.8.1) in a
"off-line" migration capability. This is, once the host is fence (the VM
will be in UNKNOWN), the error hook will be able to set the reschedule flag
and the scheduler will look for a new host. The VM will move from UNKNOWN
to BOOT and then RUNNING in a different host. Provided you have a shared
storage NFS or Ceph like across cluster hosts that will preserve volatile
disk changes and speed up the restart process.



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



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] What remotes commands does one 4.6 use:

2014-07-30 Thread Ruben S. Montero
Sorry for the noise, just saw it in the other thread...


On Wed, Jul 30, 2014 at 5:01 PM, Ruben S. Montero 
wrote:

> BTW, Could you paste the ouput of run_probes commands once it finish?
>
>
> On Wed, Jul 30, 2014 at 4:58 PM, Ruben S. Montero <
> rsmont...@opennebula.org> wrote:
>
>> This seems to be a bug, when collectd does not respond (because of
>> waiting for sudo password) OpenNebula does not move the hosts to ERROR. The
>> probes are designed to not start another collectd process; but probably we
>> should check that a running one it is not working and send the ERROR
>> message to OpenNebula.
>>
>> Pointer to the issue:
>> http://dev.opennebula.org/issues/3118
>>
>> Cheers
>>
>>
>> On Wed, Jul 30, 2014 at 4:53 PM, Steven Timm  wrote:
>>
>>> On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>>>
>>>  Hi,
>>>> 1.- monitor_ds.sh may use LVM commands (vgdisplay) that needs sudo
>>>> access. It should be automatically setup by the opennebula node
>>>> packages.
>>>>
>>>> 2.- It is not a real daemon, the first time a host is monitored a
>>>> process is left to periodically send information. OpenNebula
>>>> restarts it if no information is received in 3 monitor steps. Nothing
>>>> needs to be set up...
>>>>
>>>> Cheers
>>>>
>>>>
>>> On further inspection I found that this collectd was running on my
>>> nodes, and obviously failing up until now because the sudoers was not set
>>> correctly.  But there was nothing to warn us about it.  Nothing on
>>> the opennebula head node to even tell us that the information was stale.
>>> No log file on the node to show the errors we were getting. In short,
>>> it was just quietly dying and we had no idea.  How to make sure this
>>> doesn't happen again in the future?
>>>
>>> Steve Timm
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>> On Wed, Jul 30, 2014 at 3:50 PM, Steven Timm  wrote:
>>>>   On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>>>>
>>>>
>>>> Maybe you could try to execute the  monitor probes in the
>>>> node,
>>>>
>>>> 1. ssh the node
>>>> 2. Go to /var/tmp/one/im
>>>> 3. Execute run_probes kvm-probes
>>>>
>>>>
>>>>   When I do that, (using sh -x ) I get the following:
>>>>
>>>>   -bash-4.1$ sh -x ./run_probes kvm-probes
>>>>   ++ dirname ./run_probes
>>>>   + source ./../scripts_common.sh
>>>>   ++ export LANG=C
>>>>   ++ LANG=C
>>>>   ++ export
>>>>   PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>>>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>>>>   ++
>>>>   PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>>>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>>>>   ++ AWK=awk
>>>>   ++ BASH=bash
>>>>   ++ CUT=cut
>>>>   ++ DATE=date
>>>>   ++ DD=dd
>>>>   ++ DF=df
>>>>   ++ DU=du
>>>>   ++ GREP=grep
>>>>   ++ ISCSIADM=iscsiadm
>>>>   ++ LVCREATE=lvcreate
>>>>   ++ LVREMOVE=lvremove
>>>>   ++ LVRENAME=lvrename
>>>>   ++ LVS=lvs
>>>>   ++ LN=ln
>>>>   ++ MD5SUM=md5sum
>>>>   ++ MKFS=mkfs
>>>>   ++ MKISOFS=genisoimage
>>>>   ++ MKSWAP=mkswap
>>>>   ++ QEMU_IMG=qemu-img
>>>>   ++ RADOS=rados
>>>>   ++ RBD=rbd
>>>>   ++ READLINK=readlink
>>>>   ++ RM=rm
>>>>   ++ SCP=scp
>>>>   ++ SED=sed
>>>>   ++ SSH=ssh
>>>>   ++ SUDO=sudo
>>>>   ++ SYNC=sync
>>>>   ++ TAR=tar
>>>>   ++ TGTADM=tgtadm
>>>>   ++ TGTADMIN=tgt-admin
>>>>   ++ TGTSETUPLUN=tgt-setup-lun-one
>>>>   ++ TR=tr
>>>>   ++ VGDISPLAY=vgdisplay
>>>>   ++ VMKFSTOOLS=vmkfstools
>>>>   ++ WGET=wget
>>>>   +++ uname -s
>>>>   ++ '[' xLinux = xLinux ']'
>>>>   ++ SED='sed -r'
>>>>   +++ ba

Re: [one-users] What remotes commands does one 4.6 use:

2014-07-30 Thread Ruben S. Montero
BTW, If you are not using the LVM Datastore, just replace LVM_SIZE_CMD with

LVM_SIZE_CMD=""

We are looking for a better method to handle this

http://dev.opennebula.org/issues/2912

Note that this is not a change because of the monitoring system but by the
need of monitoring the Datastore Size.

Also, any change made in monitor_ds.sh can be propagated with onehost sync
and versioned with VERSION attribute:

http://docs.opennebula.org/4.6/administration/hosts_and_clusters/host_guide.html#sync




On Wed, Jul 30, 2014 at 4:45 PM, Ruben S. Montero 
wrote:

> Hi,
>
> 1.- monitor_ds.sh may use LVM commands (vgdisplay) that needs sudo access.
> It should be automatically setup by the opennebula node packages.
>
> 2.- It is not a real daemon, the first time a host is monitored a process
> is left to periodically send information. OpenNebula restarts it if no
> information is received in 3 monitor steps. Nothing needs to be set up...
>
> Cheers
>
>
> On Wed, Jul 30, 2014 at 3:50 PM, Steven Timm  wrote:
>
>> On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>>
>>
>>> Maybe you could try to execute the  monitor probes in the node,
>>>
>>> 1. ssh the node
>>> 2. Go to /var/tmp/one/im
>>> 3. Execute run_probes kvm-probes
>>>
>>
>> When I do that, (using sh -x ) I get the following:
>>
>> -bash-4.1$ sh -x ./run_probes kvm-probes
>> ++ dirname ./run_probes
>> + source ./../scripts_common.sh
>> ++ export LANG=C
>> ++ LANG=C
>> ++ export PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>> ++ PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>> ++ AWK=awk
>> ++ BASH=bash
>> ++ CUT=cut
>> ++ DATE=date
>> ++ DD=dd
>> ++ DF=df
>> ++ DU=du
>> ++ GREP=grep
>> ++ ISCSIADM=iscsiadm
>> ++ LVCREATE=lvcreate
>> ++ LVREMOVE=lvremove
>> ++ LVRENAME=lvrename
>> ++ LVS=lvs
>> ++ LN=ln
>> ++ MD5SUM=md5sum
>> ++ MKFS=mkfs
>> ++ MKISOFS=genisoimage
>> ++ MKSWAP=mkswap
>> ++ QEMU_IMG=qemu-img
>> ++ RADOS=rados
>> ++ RBD=rbd
>> ++ READLINK=readlink
>> ++ RM=rm
>> ++ SCP=scp
>> ++ SED=sed
>> ++ SSH=ssh
>> ++ SUDO=sudo
>> ++ SYNC=sync
>> ++ TAR=tar
>> ++ TGTADM=tgtadm
>> ++ TGTADMIN=tgt-admin
>> ++ TGTSETUPLUN=tgt-setup-lun-one
>> ++ TR=tr
>> ++ VGDISPLAY=vgdisplay
>> ++ VMKFSTOOLS=vmkfstools
>> ++ WGET=wget
>> +++ uname -s
>> ++ '[' xLinux = xLinux ']'
>> ++ SED='sed -r'
>> +++ basename ./run_probes
>> ++ SCRIPT_NAME=run_probes
>> + export LANG=C
>> + LANG=C
>> + HYPERVISOR_DIR=kvm-probes.d
>> + ARGUMENTS=kvm-probes
>> ++ dirname ./run_probes
>> + SCRIPTS_DIR=.
>> + cd .
>> ++ '[' -d kvm-probes.d ']'
>> ++ run_dir kvm-probes.d
>> ++ cd kvm-probes.d
>> +++ ls architecture.sh collectd-client-shepherd.sh cpu.sh kvm.rb
>> monitor_ds.sh name.sh poll.sh version.sh
>> ++ for i in '`ls *`'
>> ++ '[' -x architecture.sh ']'
>> ++ ./architecture.sh kvm-probes
>> ++ EXIT_CODE=0
>> ++ '[' x0 '!=' x0 ']'
>> ++ for i in '`ls *`'
>> ++ '[' -x collectd-client-shepherd.sh ']'
>> ++ ./collectd-client-shepherd.sh kvm-probes
>> ++ EXIT_CODE=0
>> ++ '[' x0 '!=' x0 ']'
>> ++ for i in '`ls *`'
>> ++ '[' -x cpu.sh ']'
>> ++ ./cpu.sh kvm-probes
>> ++ EXIT_CODE=0
>> ++ '[' x0 '!=' x0 ']'
>> ++ for i in '`ls *`'
>> ++ '[' -x kvm.rb ']'
>> ++ ./kvm.rb kvm-probes
>> ++ EXIT_CODE=0
>> ++ '[' x0 '!=' x0 ']'
>> ++ for i in '`ls *`'
>> ++ '[' -x monitor_ds.sh ']'
>> ++ ./monitor_ds.sh kvm-probes
>> [sudo] password for oneadmin:
>>
>> and it stays hung on the password for oneadmin.
>>
>> What's going on?
>>
>> Also, you mentioned a collectd--are you saying that OpenNebula 4.6 now
>> needs to run a daemon on every single VM host?  Where is it documented
>> on how to set it up?
>>
>> Steve
>>
>>
>>
>>
>>
>>
>>
>>> Make sure you do not have a host using the same hostname fgtest14 and
>>> running a  collectd process
>>>
>>> On Jul 29

Re: [one-users] What remotes commands does one 4.6 use:

2014-07-30 Thread Ruben S. Montero
BTW, Could you paste the ouput of run_probes commands once it finish?


On Wed, Jul 30, 2014 at 4:58 PM, Ruben S. Montero 
wrote:

> This seems to be a bug, when collectd does not respond (because of waiting
> for sudo password) OpenNebula does not move the hosts to ERROR. The probes
> are designed to not start another collectd process; but probably we should
> check that a running one it is not working and send the ERROR message to
> OpenNebula.
>
> Pointer to the issue:
> http://dev.opennebula.org/issues/3118
>
> Cheers
>
>
> On Wed, Jul 30, 2014 at 4:53 PM, Steven Timm  wrote:
>
>> On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>>
>>  Hi,
>>> 1.- monitor_ds.sh may use LVM commands (vgdisplay) that needs sudo
>>> access. It should be automatically setup by the opennebula node
>>> packages.
>>>
>>> 2.- It is not a real daemon, the first time a host is monitored a
>>> process is left to periodically send information. OpenNebula
>>> restarts it if no information is received in 3 monitor steps. Nothing
>>> needs to be set up...
>>>
>>> Cheers
>>>
>>>
>> On further inspection I found that this collectd was running on my nodes,
>> and obviously failing up until now because the sudoers was not set
>> correctly.  But there was nothing to warn us about it.  Nothing on
>> the opennebula head node to even tell us that the information was stale.
>> No log file on the node to show the errors we were getting. In short,
>> it was just quietly dying and we had no idea.  How to make sure this
>> doesn't happen again in the future?
>>
>> Steve Timm
>>
>>
>>
>>
>>
>>
>>
>>> On Wed, Jul 30, 2014 at 3:50 PM, Steven Timm  wrote:
>>>   On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>>>
>>>
>>> Maybe you could try to execute the  monitor probes in the
>>> node,
>>>
>>> 1. ssh the node
>>> 2. Go to /var/tmp/one/im
>>> 3. Execute run_probes kvm-probes
>>>
>>>
>>>   When I do that, (using sh -x ) I get the following:
>>>
>>>   -bash-4.1$ sh -x ./run_probes kvm-probes
>>>   ++ dirname ./run_probes
>>>   + source ./../scripts_common.sh
>>>   ++ export LANG=C
>>>   ++ LANG=C
>>>   ++ export
>>>   PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>>>   ++
>>>   PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>>>   ++ AWK=awk
>>>   ++ BASH=bash
>>>   ++ CUT=cut
>>>   ++ DATE=date
>>>   ++ DD=dd
>>>   ++ DF=df
>>>   ++ DU=du
>>>   ++ GREP=grep
>>>   ++ ISCSIADM=iscsiadm
>>>   ++ LVCREATE=lvcreate
>>>   ++ LVREMOVE=lvremove
>>>   ++ LVRENAME=lvrename
>>>   ++ LVS=lvs
>>>   ++ LN=ln
>>>   ++ MD5SUM=md5sum
>>>   ++ MKFS=mkfs
>>>   ++ MKISOFS=genisoimage
>>>   ++ MKSWAP=mkswap
>>>   ++ QEMU_IMG=qemu-img
>>>   ++ RADOS=rados
>>>   ++ RBD=rbd
>>>   ++ READLINK=readlink
>>>   ++ RM=rm
>>>   ++ SCP=scp
>>>   ++ SED=sed
>>>   ++ SSH=ssh
>>>   ++ SUDO=sudo
>>>   ++ SYNC=sync
>>>   ++ TAR=tar
>>>   ++ TGTADM=tgtadm
>>>   ++ TGTADMIN=tgt-admin
>>>   ++ TGTSETUPLUN=tgt-setup-lun-one
>>>   ++ TR=tr
>>>   ++ VGDISPLAY=vgdisplay
>>>   ++ VMKFSTOOLS=vmkfstools
>>>   ++ WGET=wget
>>>   +++ uname -s
>>>   ++ '[' xLinux = xLinux ']'
>>>   ++ SED='sed -r'
>>>   +++ basename ./run_probes
>>>   ++ SCRIPT_NAME=run_probes
>>>   + export LANG=C
>>>   + LANG=C
>>>   + HYPERVISOR_DIR=kvm-probes.d
>>>   + ARGUMENTS=kvm-probes
>>>   ++ dirname ./run_probes
>>>   + SCRIPTS_DIR=.
>>>   + cd .
>>>   ++ '[' -d kvm-probes.d ']'
>>>   ++ run_dir kvm-probes.d
>>>   ++ cd kvm-probes.d
>>>   +++ ls architecture.sh collectd-client-shepherd.sh cpu.sh kvm.rb
>>> monitor_ds.sh name.sh poll.sh version.sh
>>>   ++ f

Re: [one-users] What remotes commands does one 4.6 use:

2014-07-30 Thread Ruben S. Montero
This seems to be a bug, when collectd does not respond (because of waiting
for sudo password) OpenNebula does not move the hosts to ERROR. The probes
are designed to not start another collectd process; but probably we should
check that a running one it is not working and send the ERROR message to
OpenNebula.

Pointer to the issue:
http://dev.opennebula.org/issues/3118

Cheers


On Wed, Jul 30, 2014 at 4:53 PM, Steven Timm  wrote:

> On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>
>  Hi,
>> 1.- monitor_ds.sh may use LVM commands (vgdisplay) that needs sudo
>> access. It should be automatically setup by the opennebula node
>> packages.
>>
>> 2.- It is not a real daemon, the first time a host is monitored a process
>> is left to periodically send information. OpenNebula
>> restarts it if no information is received in 3 monitor steps. Nothing
>> needs to be set up...
>>
>> Cheers
>>
>>
> On further inspection I found that this collectd was running on my nodes,
> and obviously failing up until now because the sudoers was not set
> correctly.  But there was nothing to warn us about it.  Nothing on
> the opennebula head node to even tell us that the information was stale.
> No log file on the node to show the errors we were getting. In short,
> it was just quietly dying and we had no idea.  How to make sure this
> doesn't happen again in the future?
>
> Steve Timm
>
>
>
>
>
>
>
>> On Wed, Jul 30, 2014 at 3:50 PM, Steven Timm  wrote:
>>   On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>>
>>
>> Maybe you could try to execute the  monitor probes in the
>> node,
>>
>> 1. ssh the node
>> 2. Go to /var/tmp/one/im
>> 3. Execute run_probes kvm-probes
>>
>>
>>   When I do that, (using sh -x ) I get the following:
>>
>>   -bash-4.1$ sh -x ./run_probes kvm-probes
>>   ++ dirname ./run_probes
>>   + source ./../scripts_common.sh
>>   ++ export LANG=C
>>   ++ LANG=C
>>   ++ export
>>   PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>>   ++
>>   PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
>> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
>>   ++ AWK=awk
>>   ++ BASH=bash
>>   ++ CUT=cut
>>   ++ DATE=date
>>   ++ DD=dd
>>   ++ DF=df
>>   ++ DU=du
>>   ++ GREP=grep
>>   ++ ISCSIADM=iscsiadm
>>   ++ LVCREATE=lvcreate
>>   ++ LVREMOVE=lvremove
>>   ++ LVRENAME=lvrename
>>   ++ LVS=lvs
>>   ++ LN=ln
>>   ++ MD5SUM=md5sum
>>   ++ MKFS=mkfs
>>   ++ MKISOFS=genisoimage
>>   ++ MKSWAP=mkswap
>>   ++ QEMU_IMG=qemu-img
>>   ++ RADOS=rados
>>   ++ RBD=rbd
>>   ++ READLINK=readlink
>>   ++ RM=rm
>>   ++ SCP=scp
>>   ++ SED=sed
>>   ++ SSH=ssh
>>   ++ SUDO=sudo
>>   ++ SYNC=sync
>>   ++ TAR=tar
>>   ++ TGTADM=tgtadm
>>   ++ TGTADMIN=tgt-admin
>>   ++ TGTSETUPLUN=tgt-setup-lun-one
>>   ++ TR=tr
>>   ++ VGDISPLAY=vgdisplay
>>   ++ VMKFSTOOLS=vmkfstools
>>   ++ WGET=wget
>>   +++ uname -s
>>   ++ '[' xLinux = xLinux ']'
>>   ++ SED='sed -r'
>>   +++ basename ./run_probes
>>   ++ SCRIPT_NAME=run_probes
>>   + export LANG=C
>>   + LANG=C
>>   + HYPERVISOR_DIR=kvm-probes.d
>>   + ARGUMENTS=kvm-probes
>>   ++ dirname ./run_probes
>>   + SCRIPTS_DIR=.
>>   + cd .
>>   ++ '[' -d kvm-probes.d ']'
>>   ++ run_dir kvm-probes.d
>>   ++ cd kvm-probes.d
>>   +++ ls architecture.sh collectd-client-shepherd.sh cpu.sh kvm.rb
>> monitor_ds.sh name.sh poll.sh version.sh
>>   ++ for i in '`ls *`'
>>   ++ '[' -x architecture.sh ']'
>>   ++ ./architecture.sh kvm-probes
>>   ++ EXIT_CODE=0
>>   ++ '[' x0 '!=' x0 ']'
>>   ++ for i in '`ls *`'
>>   ++ '[' -x collectd-client-shepherd.sh ']'
>>   ++ ./collectd-client-shepherd.sh kvm-probes
>>   ++ EXIT_CODE=0
>>   ++ '[' x0 '!=' x0 ']'
>>   ++ for i in '`ls *`'
>>   ++ '[' -x cpu.sh ']'
>>

Re: [one-users] What remotes commands does one 4.6 use:

2014-07-30 Thread Ruben S. Montero
Hi,

1.- monitor_ds.sh may use LVM commands (vgdisplay) that needs sudo access.
It should be automatically setup by the opennebula node packages.

2.- It is not a real daemon, the first time a host is monitored a process
is left to periodically send information. OpenNebula restarts it if no
information is received in 3 monitor steps. Nothing needs to be set up...

Cheers


On Wed, Jul 30, 2014 at 3:50 PM, Steven Timm  wrote:

> On Wed, 30 Jul 2014, Ruben S. Montero wrote:
>
>
>> Maybe you could try to execute the  monitor probes in the node,
>>
>> 1. ssh the node
>> 2. Go to /var/tmp/one/im
>> 3. Execute run_probes kvm-probes
>>
>
> When I do that, (using sh -x ) I get the following:
>
> -bash-4.1$ sh -x ./run_probes kvm-probes
> ++ dirname ./run_probes
> + source ./../scripts_common.sh
> ++ export LANG=C
> ++ LANG=C
> ++ export PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
> ++ PATH=/bin:/sbin:/usr/bin:/usr/krb5/bin:/usr/lib64/qt-3.3/
> bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
> ++ AWK=awk
> ++ BASH=bash
> ++ CUT=cut
> ++ DATE=date
> ++ DD=dd
> ++ DF=df
> ++ DU=du
> ++ GREP=grep
> ++ ISCSIADM=iscsiadm
> ++ LVCREATE=lvcreate
> ++ LVREMOVE=lvremove
> ++ LVRENAME=lvrename
> ++ LVS=lvs
> ++ LN=ln
> ++ MD5SUM=md5sum
> ++ MKFS=mkfs
> ++ MKISOFS=genisoimage
> ++ MKSWAP=mkswap
> ++ QEMU_IMG=qemu-img
> ++ RADOS=rados
> ++ RBD=rbd
> ++ READLINK=readlink
> ++ RM=rm
> ++ SCP=scp
> ++ SED=sed
> ++ SSH=ssh
> ++ SUDO=sudo
> ++ SYNC=sync
> ++ TAR=tar
> ++ TGTADM=tgtadm
> ++ TGTADMIN=tgt-admin
> ++ TGTSETUPLUN=tgt-setup-lun-one
> ++ TR=tr
> ++ VGDISPLAY=vgdisplay
> ++ VMKFSTOOLS=vmkfstools
> ++ WGET=wget
> +++ uname -s
> ++ '[' xLinux = xLinux ']'
> ++ SED='sed -r'
> +++ basename ./run_probes
> ++ SCRIPT_NAME=run_probes
> + export LANG=C
> + LANG=C
> + HYPERVISOR_DIR=kvm-probes.d
> + ARGUMENTS=kvm-probes
> ++ dirname ./run_probes
> + SCRIPTS_DIR=.
> + cd .
> ++ '[' -d kvm-probes.d ']'
> ++ run_dir kvm-probes.d
> ++ cd kvm-probes.d
> +++ ls architecture.sh collectd-client-shepherd.sh cpu.sh kvm.rb
> monitor_ds.sh name.sh poll.sh version.sh
> ++ for i in '`ls *`'
> ++ '[' -x architecture.sh ']'
> ++ ./architecture.sh kvm-probes
> ++ EXIT_CODE=0
> ++ '[' x0 '!=' x0 ']'
> ++ for i in '`ls *`'
> ++ '[' -x collectd-client-shepherd.sh ']'
> ++ ./collectd-client-shepherd.sh kvm-probes
> ++ EXIT_CODE=0
> ++ '[' x0 '!=' x0 ']'
> ++ for i in '`ls *`'
> ++ '[' -x cpu.sh ']'
> ++ ./cpu.sh kvm-probes
> ++ EXIT_CODE=0
> ++ '[' x0 '!=' x0 ']'
> ++ for i in '`ls *`'
> ++ '[' -x kvm.rb ']'
> ++ ./kvm.rb kvm-probes
> ++ EXIT_CODE=0
> ++ '[' x0 '!=' x0 ']'
> ++ for i in '`ls *`'
> ++ '[' -x monitor_ds.sh ']'
> ++ ./monitor_ds.sh kvm-probes
> [sudo] password for oneadmin:
>
> and it stays hung on the password for oneadmin.
>
> What's going on?
>
> Also, you mentioned a collectd--are you saying that OpenNebula 4.6 now
> needs to run a daemon on every single VM host?  Where is it documented
> on how to set it up?
>
> Steve
>
>
>
>
>
>
>
>> Make sure you do not have a host using the same hostname fgtest14 and
>> running a  collectd process
>>
>> On Jul 29, 2014 4:35 PM, "Steven Timm"  wrote:
>>
>>   I am still trying to debug a nasty monitoring inconsistency.
>>
>>   -bash-4.1$ onevm list | grep fgtest14
>>   26 oneadmin oneadmin fgt6x4-26   runn6  4G fgtest14
>>   117d 19h50
>>   27 oneadmin oneadmin fgt5x4-27   runn   10  4G fgtest14
>>   117d 17h57
>>   28 oneadmin oneadmin fgt1x1-28   runn   104.1G fgtest14
>>   117d 16h59
>>   30 oneadmin oneadmin fgt5x1-30   runn0  4G fgtest14
>>   116d 23h50
>>   33 oneadmin oneadmin ip6sl5vda-33runn6  4G fgtest14
>>   116d 19h57
>>   -bash-4.1$ onehost list
>> ID NAMECLUSTER   RVM  ALLOCATED_CPU
>>  ALLOCATED_MEM STAT
>>  3 fgtest11ipv60   0 / 400 (0%)0K / 15.7G
>> (0%) on
>>  4 fgtest12ipv60   0 / 400 (0%)0K / 15.7G
>> (0%) on
>>  7 fgtest13ipv6   

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-30 Thread Ruben S. Montero
Maybe the rocci is adding it,  could you try to remove the context,  create
the Vm and check the VM template afterwards to see if there is another
CONTEXT attribute.
On Jul 24, 2014 4:03 PM, "Alexandr Baranov"  wrote:

> Thank you, Valentin!
> 24.07.2014 18:01 пользователь "Valentin Bud" 
> написал:
>
>> Looks good to me Alexandr. It seems it's another problem somewhere else.
>> I have never used rocci so I am unable to help you further :|. Maybe
>> others
>> will.
>>
>> Best,
>> Valentin
>>
>>
>> On Thu, Jul 24, 2014 at 4:55 PM, Alexandr Baranov <
>> telecastcl...@gmail.com> wrote:
>>
>>> My template:
>>> NIC=[NETWORK="36-kvm",NETWORK_UNAME="oneadmin"] MEMORY="1024" CPU="1"
>>> DISK=[IMAGE="SL65-cvmfs-cloudinit",IMAGE_UNAME=$IMAGE_UNAME]
>>> GRAPHICS=[TYPE="VNC",LISTEN="0.0.0.0"] CONTEXT=[SSH_PUBLIC_KEY="ssh-rsa
>>> [KEY]",NETWORK="YES"] RAW=[TYPE="kvm"] OS=[ARCH="x86_64",BOOT="hd"]
>>> 24.07.2014 17:46 пользователь "Valentin Bud" 
>>> написал:
>>>
>>>  Hi Alexandr,

 Can you post your template please. Have you somehow defined two CONTEXT
 arrays inside the template?

 Bad Request : "[VirtualMachineAllocate] Error allocating a new virtual
 machine. Only one CONTEXT attribute can be defined."

 The above makes me think you did.

 Best,
 Valentin


 On Thu, Jul 24, 2014 at 4:37 PM, Alexandr Baranov <
 telecastcl...@gmail.com> wrote:

> Hi,
> I have problems to create new virtual machines with rocci although i
> can create new virtual machines through sunstone web interface.
>
> Here's the output:
> $ occi --endpoint  --action create --resource compute
> --mixin os_tpl#uuid_kvm_scientific_6_x86_64_1cpu_1gb_ram_clstkvm_155
> --mixin resource_tpl#small --attribute
> occi.core.title="uuid_sl65_cvmfs_cloudinit_276_cloudinit_1406193329"
> --output-format json --auth basic --username  --password  
> F,
>
> [2014-07-24T17:25:32.944541 #28565] FATAL -- : [rOCCI-cli] An error
> occurred! Message: HTTP POST with
> ID["72735417-9542-4e74-b04d-7d0c09b6c525"] failed! HTTP Response status:
> [400]
> Bad Request : "[VirtualMachineAllocate] Error allocating a new virtual
> machine. Only one CONTEXT attribute can be defined."
>
> What could be the problem?
>
> ___
> 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
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] DHCP

2014-07-30 Thread Ruben S. Montero
Hi Kerry,

It seems that you are confused about not seeing the IP assigned by
OpenNebula matching the IP assigned by the DHCP server:

1. If the IP addresses are managed by the DHCP server, then you can just
ignore the IP assigned by OpenNebula. It is derived from the MAC and it is
not used in this case by OpenNebula.

if you need to populate the IP of the VM to the VM Template to be queried
through  Sunstone or CLI that could be done by onegate or a custom monitor
probe.

2. If OpenNebula manages the IPs you can integrate the DHCP server as
explained by Valentin

3. In 4.8 you can define the network as type Ethernet, to express that the
IP is manged externally and get rid of the IP inconsistency you may be
seeing.

Hope it  helps

Cheers

Ruben
On Jul 24, 2014 9:37 PM, "kerryhall ."  wrote:

> Valentin,
>
> Thank you for the help!
>
> Yes, AFAIK the DNS server is configured with a dynamic zone that is
> updated from the DHCP server.
>
> It sounds like the DHCP server in use is Microsoft DHCP. I would like to
> avoid using the DHCP API if possible, just because I have no experience in
> that area, and seems like a messy solution.
>
> Thinking about this more, here are the desired steps:
> 1. User spins up vm via web interface.
> 2. Contextualization sets "DHCP_HOSTNAME" to vm name.
> 3. DHCP server gives vm an IP address.
> 4. Sunstone sets the correct IP information in its database.
>
> I can basically do all this manually by
> 1. Spin up vm
> 2. edit ifcfg-eth0, setting BOOTPROTO and DHCP_HOSTNAME
> 3. restart networking
>
> So it sounds like I can write a bash script that takes care of 2. and 3.,
> something that runs when the vm is spun up.
>
> However, I don't know how to manually tell Sunstone what the new, correct
> IP is. Do you know how I could accomplish that?
>
> I can write a bash or perl script that fixes this manually in MySQLbut
> that seems like a Really Bad Idea. :)
>
> I'm surprised that OpenNebula doesn't support DHCP out of the box. Seems
> like a common use case. I wonder if I should make a feature request.
>
> Thanks!
> Kerry
>
>
>
> On Wed, Jul 23, 2014 at 10:03 PM, Valentin Bud 
> wrote:
>
>> Hello Kerry,
>>
>> When you say "DNS and DHCP are tied into one system on my network" you
>> mean
>> your DNS server is configured with a dynamic zone that is updated from
>> the DHCP
>> server?
>>
>> If that is so, I guess you want a VM to acquire a lease from the DHCP
>> server equal
>> to the IP given by OpenNebula to that specific VM. This way it maintains
>> consistency.
>>
>> If you populate CONTEXT with NETWORK="YES", the contextualization
>> packages
>> will do the job of configuring the network. As far as I know it's not
>> possible to "tell"
>> the contextualization packages to leave the network unconfigured. So
>> using this approach
>> would not get you where you want.
>>
>> One way of achieving what you desire is to program a hook that inserts a
>> host in the
>> DHCP server via OMAPI [1]. From the hook you have access to the entire
>> template.
>> I am assuming you are using ISC DHCP. This would solve the consistency
>> issue.
>>
>> Now the VM needs to be configured for DHCP as you mentioned in your
>> previous E-Mail.
>>
>> For that you can define SET_HOSTNAME in the CONTEXT to have it available
>> in the
>> VM, create a simple (bash) program that reads it and sets ifcfg-eth0
>> accordingly. Put the
>> script in the files datastore and update the context to use it via
>> FILES_DS and INIT_SCRIPTS.
>>
>> For example you name your super script set_dhcp.sh. You can insert in the
>> files datastore [2]
>> using `oneimage create -d files --name set_dhcp.sh --type CONTEXT
>> /path/to/set_dhcp.sh`.
>>
>> Update the template to use it.
>>
>> CONTEXT=[
>> FILES_DS="$FILE[IMAGE=\"set_dhcp.sh\",
>> INIT_SCRIPTS="set_dhcp.sh"]
>>
>> This way the vmcontext init.d script from the contextualization packages
>> would skip the
>> network configuration, note NETWORK="YES" is missing and it would run the
>> set_dhcp.sh
>> script.
>>
>> One more thing that comes to mind, SET_HOSTNAME would instruct the
>> vmcontext init
>> script to set the hostname and maybe that's not what you want, maybe you
>> want your VM
>> to set it's hostname from DHCP. In this case use another variable, like
>> DHCP_HOSTNAME
>> in CONTEXT and process it in set_dhcp.sh to configure ifcfg-eth0.
>>
>> You can set DHCP_HOSTNAME=$NAME inside the template. This way the name you
>> give the VM in Sunstone would end up being used.
>>
>> Take the above with a grain of salt, I am sure there are other (better)
>> ways of achieving
>> what you desire.
>>
>> @Diego could you please point me where have you find DHCP in the VNET
>> template?
>> I have looked over the docs and couldn't find it.
>>
>> [1]: http://ipamworldwide.com/dhcp-api.html
>> [2]: http://docs.opennebula.org/4.6/administration/storage/file_ds.html
>>
>> Best,
>> Valentin
>>
>> On Wed, Jul 23, 2014 at 10:45 PM, kerryhall . 
>> wrote:
>>
>>> I have managed to figure o

Re: [one-users] What remotes commands does one 4.6 use:

2014-07-30 Thread Ruben S. Montero
Maybe you could try to execute the  monitor probes in the node,

1. ssh the node
2. Go to /var/tmp/one/im
3. Execute run_probes kvm-probes

Make sure you do not have a host using the same hostname fgtest14 and
running a  collectd process
On Jul 29, 2014 4:35 PM, "Steven Timm"  wrote:

>
> I am still trying to debug a nasty monitoring inconsistency.
>
> -bash-4.1$ onevm list | grep fgtest14
> 26 oneadmin oneadmin fgt6x4-26   runn6  4G fgtest14   117d
> 19h50
> 27 oneadmin oneadmin fgt5x4-27   runn   10  4G fgtest14   117d
> 17h57
> 28 oneadmin oneadmin fgt1x1-28   runn   104.1G fgtest14   117d
> 16h59
> 30 oneadmin oneadmin fgt5x1-30   runn0  4G fgtest14   116d
> 23h50
> 33 oneadmin oneadmin ip6sl5vda-33runn6  4G fgtest14   116d
> 19h57
> -bash-4.1$ onehost list
>   ID NAMECLUSTER   RVM  ALLOCATED_CPU  ALLOCATED_MEM
> STAT
>3 fgtest11ipv60   0 / 400 (0%)0K / 15.7G (0%) on
>4 fgtest12ipv60   0 / 400 (0%)0K / 15.7G (0%) on
>7 fgtest13ipv60   0 / 800 (0%)0K / 23.6G (0%) on
>8 fgtest14ipv65   0 / 800 (0%)0K / 23.6G (0%) on
>9 fgtest20ipv63300 / 800 (37%)  12G / 31.4G (38%) on
>   11 fgtest19ipv60   0 / 800 (0%)0K / 31.5G (0%) on
> -bash-4.1$ onehost show 8
> HOST 8 INFORMATION
> ID: 8
> NAME  : fgtest14
> CLUSTER   : ipv6
> STATE : MONITORED
> IM_MAD: kvm
> VM_MAD: kvm
> VN_MAD: dummy
> LAST MONITORING TIME  : 07/29 09:25:45
>
> HOST SHARES
> TOTAL MEM : 23.6G
> USED MEM (REAL)   : 876.4M
> USED MEM (ALLOCATED)  : 0K
> TOTAL CPU : 800
> USED CPU (REAL)   : 0
> USED CPU (ALLOCATED)  : 0
> RUNNING VMS   : 5
>
> LOCAL SYSTEM DATASTORE #102 CAPACITY
> TOTAL:: 548.8G
> USED: : 175.3G
> FREE: : 345.6G
>
> MONITORING INFORMATION
> ARCH="x86_64"
> CPUSPEED="2992"
> HOSTNAME="fgtest14.fnal.gov"
> HYPERVISOR="kvm"
> MODELNAME="Intel(R) Xeon(R) CPU   E5450  @ 3.00GHz"
> NETRX="234844577"
> NETTX="21553126"
> RESERVED_CPU=""
> RESERVED_MEM=""
> VERSION="4.6.0"
>
> VIRTUAL MACHINES
>
> ID USER GROUPNAMESTAT UCPUUMEM HOST TIME
> 26 oneadmin oneadmin fgt6x4-26   runn6  4G fgtest14   117d
> 19h50
> 27 oneadmin oneadmin fgt5x4-27   runn   10  4G fgtest14   117d
> 17h57
> 28 oneadmin oneadmin fgt1x1-28   runn   104.1G fgtest14   117d
> 17h00
> 30 oneadmin oneadmin fgt5x1-30   runn0  4G fgtest14   116d
> 23h50
> 33 oneadmin oneadmin ip6sl5vda-33runn6  4G fgtest14   116d
> 19h57
> 
> ---
>
> All of this looks great, right?
> Just one problem:  There are no VM's running on fgtest14 and
> haven't been for 4 days.
>
> [root@fgtest14 ~]# virsh list
>  IdName   State
> 
>
> [root@fgtest14 ~]#
>
> -
> Yet the monitoring reports no errors.
>
> Tue Jul 29 09:28:10 2014 [InM][D]: Host fgtest14 (8) successfully
> monitored.
>
> 
> -
> At the same time, there is no evidence that ONE is actually trying to or
> succeeding to monitor these five vm's yet they are still stuck in "runn"
> which means I can't do a onevm restart to restart them.
> (the vm images of these 5 vm's are still out there on the VM host and
> I would like to save and restart them if I can).
>
> What is the remotes command that ONE4.6 would use to monitor this host?
> Can I do it manually and see what output I get?
>
> Are we dealing with some kind of a bug, or just a very confused system?
> Any help is appreciated. I have to get this sorted out before
> I dare deploy one4.x in production.
>
> Steve Timm
>
>
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
> ___
> 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] OpenNebula 4.6.0 monitoring question

2014-07-30 Thread Ruben S. Montero
Not really sure what can be going on...  The monitor scripts return the
information of all VMs running in the node.  In 4.6 the monitoring system
uses a push approach,  through UDP,  so you may have the information being
reported by misbehaved monitoring daemons.  Sometimes this may happen in
dev environments if you are resetting the DB,...
On Jul 28, 2014 6:32 PM, "Steven Timm"  wrote:

>
> I am currently dealing with an unexplained monitoring question
> in OpenNebula 4.6 on my development cloud.
>
> I frequently see OpenNebula return that the status of a ONe
> host is "ON" even in the case of a system misconfiguration where,
> given the credentials, it is impossible for opennebula to
> even ssh into the node as oneadmin.
>
>
> I've fixed all those instances, restarted OpenNebula,
> but opennebula still reports a number of VM's
> in state "running" even though the node they are running
> on was rebooted three days ago and is running no
> virtual machines whatsoever.
>
> I think I could be dealing with database corruption of some type
> (generated on the one4.4->one4.6 update), or there could
> be some problem with the remote scripts on the nodes.
> I saw, and I think I fixed, the problems with the database
> corruption (namely one of the hosts and one of the datastores
> got knocked out of the database for reasons unknown, and I
> re-inserted them).   But in any case there is some
> error handling that is not working in the monitoring
> and something is exiting with status 0 that shouldn't be.
>
> ideas?  Has anyone else seen something like this?
>
> Steve Timm
>
>
>
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
> ___
> 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] OpenNebula does not use MAC value included into VM NIC template

2014-07-18 Thread Ruben S. Montero
Hi

Note that when a NIC requests an IP from a network you use IP or MAC
(supported in 4.8) to select the IP defined in the network, and not to set
its MAC. This is IP/MAC are keys to search the lease, in your example the
IP is used to select the lease and you get the MAC address associated to
it. You need to update the network so the IP has the desired MAC.

Cheers

Ruben


On Wed, Jul 16, 2014 at 3:24 PM, Alvaro Simon Garcia <
alvaro.simongar...@ugent.be> wrote:

> Hi
>
> We need to set (and modify from time to time) the MAC address in our VM
> templates, by default ONE generates this MAC using the default prefix value
> and the VM ip, but we need to set a different MAC in some cases. We are
> including the MAC address into NIC section, as example:
>
>  NIC=[
>>   IP="10.141.8.30",
>>   MAC="AA:00:00:80:01:00",
>>   MODEL="virtio",
>>   NETWORK="br100",
>>   NETWORK_UNAME="oneadmin",
>>   TARGET="eth0" ]
>>
>
> but OpenNebula is still using the default value, and at the end we have to
> include the harcoded mac into our vnet conf (and we don't want to do that):
>
> LEASE=[ MAC="aa:01:00:80:01:00", IP="10.141.8.40",
> IP6_LINK="fe80::ac01:ff:fe80:100", USED="0", VID="-1" ]
>
> do you know if this is a known issue, or do we need to do something else
> to set the MAC from the VM template? We are testing opennebula 4.6 right now
>
> Thanks in advance!
> Álvaro
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Failed VMs because of VNC port conflict

2014-07-17 Thread Ruben S. Montero
Hi

The only thing you can do is to manually set the VNC port (or disable ir),
which It is not very convenient. We are considering a solution as the one
you propose (VNC table with ports in use) in your email as part of
http://dev.opennebula.org/issues/2980

Cheers

Ruben


On Thu, Jul 17, 2014 at 9:36 AM, Ondrej Hamada 
wrote:

> Hi guys,
> we are recently having problems with VNC port conflict. Our recent VM
> IDs are arroung number 10, we keep creating quite a lot of new VMs
> and terminating the old ones. But some of the old ones are kept for long
> term purposes. Time to time our VMs failed on creation because their
> designated VNC port is already used. We have probably met the corner
> case as described in http://dev.opennebula.org/issues/2045
>
> My question is - is there any way to fix it except disabling VNC? Have
> you ever considered keeping a table of reserved VNC ports per host in
> OpenNebula's db?
>
> Thank you in advance
>
> Ondra
>
> 
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you for
> understanding.
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] variables in RAW section

2014-07-02 Thread Ruben S. Montero
The VM ID is in fact the third argument of the deploy script so you do not
need to get it from the deployment file.

Cheers


On Wed, Jul 2, 2014 at 3:45 PM, Ruben S. Montero 
wrote:

> I am afraid that it is not currently supported by the OpenNebula core.
> Only variables in CONTEXT get parsed and $VMID substituted.
>
> If you need this, you could add it in the deploy script. You can get the
> VM-ID with a grep of the deployment file ($domain) for  and sed to
> remove the one- part. And then simply cat the contents of raw data to the
> deployment file. Note that this will be added to any VM so you probably
> want to filter it through a variable (e.g. a dummy raw data or whaterver...)
>
> Cheers
>
> Ruben
>
>
> On Tue, Jul 1, 2014 at 9:31 PM, Damien Waber 
> wrote:
>
>> Hi,
>>
>> I try to add virtual shared folder to my KVM guests. I tried adding a RAW
>> section to template
>>
>> RAW = [
>>  type = "kvm",
>>  data = "> dir='/tmp/shares/$VMID'/>"
>> ]
>>
>> But VMID is not replaced dynamically. Is there an alternative way to
>> specify dynamic VMID in this section?
>>
>> Best regards,
>>
>> Damien
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] variables in RAW section

2014-07-02 Thread Ruben S. Montero
I am afraid that it is not currently supported by the OpenNebula core. Only
variables in CONTEXT get parsed and $VMID substituted.

If you need this, you could add it in the deploy script. You can get the
VM-ID with a grep of the deployment file ($domain) for  and sed to
remove the one- part. And then simply cat the contents of raw data to the
deployment file. Note that this will be added to any VM so you probably
want to filter it through a variable (e.g. a dummy raw data or whaterver...)

Cheers

Ruben


On Tue, Jul 1, 2014 at 9:31 PM, Damien Waber  wrote:

> Hi,
>
> I try to add virtual shared folder to my KVM guests. I tried adding a RAW
> section to template
>
> RAW = [
>  type = "kvm",
>  data = " dir='/tmp/shares/$VMID'/>"
> ]
>
> But VMID is not replaced dynamically. Is there an alternative way to
> specify dynamic VMID in this section?
>
> Best regards,
>
> Damien
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] DATASTORE_BASE_PATH or BASE_PATH ?

2014-06-23 Thread Ruben S. Montero
Hi Valerio

It is as stated in the docs. BASE_PATH for the DATASTORE template and
DATASTORE_BASE_PATH is the default set in oned.conf. Note that these two
guys go in different places. We prepend the DATASTORE for the oned.conf as
there are other configuration attributes for other systems in that file

Cheers

Ruben


On Tue, Jun 24, 2014 at 1:06 AM, Valerio Schiavoni <
valerio.schiav...@gmail.com> wrote:

> Hello,
> here
> http://docs.opennebula.org/4.6/administration/storage/fs_ds.html#host-configuration
> there is this note: “When needed, the front-end will access the datastores
> using BASE_PATH (defaults to /var/lib/one/datastores). You can set the
> BASE_PATH for the datastore at creation time.”
>
> Does it mean this rule only apply to the front-end, and not the hosts ?
>
> Also, the comments in oned.conf say:
>
> #  DATASTORE_BASE_PATH: This is the base path for the SOURCE attribute of
> #  the images registered in a Datastore. This is a default value, that can
> be
> #  changed when the datastore is created.
>
>
> So, which one is it, DATASTORE_BASE_PATH or just BASE_PATH ?
>
>
> Thanks,
> VAlerio
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to move an existing image from one datastore to another one?

2014-06-23 Thread Ruben S. Montero
Images should not be in used by any VM. In that case, it should not matter
if the image is persistent or not. Note also that moving images between DS
is in our roadmap...


On Mon, Jun 23, 2014 at 3:53 PM, Valerio Schiavoni <
valerio.schiav...@gmail.com> wrote:

> Hello,
> we configured a new image datastore based on a shared filesystem.
> We'd like to migrate few of our images (currently hosted on a different,
> ssh-based datastore )  to this new datastore.
>
> What would it be the less painful way to do this ?
> I found this old message on the ML:
>
> http://lists.opennebula.org/pipermail/users-opennebula.org/2013-May/023011.html
>
> In there, Ruben says:
>
> You can also re-gister the images again using a dummy path and then just mv
>> the original SOURCE to the new one
>
>
> But, what if the image we want to move is a persistent image? Can you
> provide an example?
> Assume the previous datastore has id 100, the new one has id 106 and the
> image we need to move has id 360, what is the sequence of commands you had
> in mind ?
>
>
> Best,
> Valerio
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Database problems with update to 4.6.2

2014-06-18 Thread Ruben S. Montero
Hi,

It seems more related to an optimization of the mysql server rather than a
problem because of the update process. Yo may try to check the database
size, and maybe try purge the binary logs or optimize the tables.

Cheers


Ruben


On Wed, Jun 18, 2014 at 11:43 AM, Fernando Durá  wrote:

> Hello,
>
> We tried to update to 4.6.2 from 4.6.0-1 (Debian Wheezy system with
> packages obtained from opennebula.org), and MySql database. The
> opennebula database wasn't upgraded (no "onedb upgrade..."), as it
> wasn't needed, as stated in the upgrade instructions.
>
> The upgrade went apparently well, but when we tried to start a vm via
> sunstone it got stuck in "boot" state, even when we checked with "onevm
> top". But this wasn't the real state as we were able to connect to the
> vm vía ssh (so, the vm was really running).
>
> Looking to the logs, we saw lots of messages like:
>
> Tue Jun 17 13:15:17 2014 [ONE][E]: SQL command was: REPLACE INTO
> vm_monitoring (vmid, last_poll, body),...
> ... (lots of stuff)... error 1205 : Lock wait timeout exceeded; try
> restarting transaction
>
> Moreover, when we noticed that , after stopping opennebula, a
> "/etc/init.d/mysql stop" needed a couple of minutes (instead of just a
> few seconds).
>
> We went back to 4.6.0 and both problems dissapeared.
>
> Is this a known problem with the update? Are we missing something? Any
> suggestions?
>
> Thank you for your help.
> Best regards.
>
> --
> Fernando Durá Colomina  e-mail:
> fernando.d...@uv.es
> Servei d'Informàtica; Univ.de València Tel: +34 96 354 43 10
> E-46100 Burjassot (Valencia) - SPAIN
>
> ___________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE repos for RHEL7

2014-06-12 Thread Ruben S. Montero
Hi Alvaro,

Support for CentOS7 will be included in the next release, we'll update when
the first builds are ready.

Cheers

Ruben


On Wed, Jun 11, 2014 at 4:17 PM, Alvaro Simon Garcia <
alvaro.simongar...@ugent.be> wrote:

>  Hi
>
> RHEL7 is now out but it's available a ONE repo for this version? I have
> tested the current ONE CentOS/RHEL repo with RHEL7+EPEL but some packages
> are not available from EPEL7 repository:
>
> Error: Package: opennebula-server-4.6.1-1.x86_64 (opennebula)
>Requires: log4cpp
> Error: Package: opennebula-server-4.6.1-1.x86_64 (opennebula)
>Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: rubygem-thin
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: rubygem-uuidtools
> Error: Package: opennebula-server-4.6.1-1.x86_64 (opennebula)
>Requires: liblog4cpp.so.4()(64bit)
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: ruby-mysql
> Error: Package: opennebula-node-kvm-4.6.1-1.x86_64 (opennebula)
>Requires: vconfig
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: rubygem-sequel
> Error: Package: opennebula-server-4.6.1-1.x86_64 (opennebula)
>Requires: libmysqlclient.so.16()(64bit)
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: rubygem-sinatra
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: rubygem-rack
> Error: Package: opennebula-ruby-4.6.1-1.x86_64 (opennebula)
>Requires: rubygem-sqlite3-ruby
>
> anyone has tried it?
>
> Thanks in advance!
> Alvaro
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> OpenNebula - Flexible Enterprise Cloud Made Simple
>  <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] About Haizea support

2014-06-09 Thread Ruben S. Montero
HI

AFAIK Haizea development has been discontinued, so it probably does not
work with recent versions of OpenNebula. I believe that the last version
was 1.4 or so.

Cheers

Ruben


On Sat, Jun 7, 2014 at 3:40 PM, Hamdy Abdel-Badeea 
wrote:

> Hello.
> Does Opennebula recent versions still support haizea
> http://haizea.cs.uchicago.edu/?
>
> If no, what are the most recent version that supports haizea?
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Billing/Invoicing software integration with Opennebula

2014-06-09 Thread Ruben S. Montero
Hi,

We've currently stopped such development. We've concentrated in improving
the accounting interface and probably we'll include the possibility to add
 a cost to the cloud resources, eg. host1 is 0.5$/CPU hour, datastore2 is
0.03$/GB and so on,  so users can get a monetary representation of their
usage.

Cheers

Ruben


On Mon, Jun 9, 2014 at 8:20 AM, kiran ranjane 
wrote:

> Hello Everyone,
>
> Looking for a invoicing/billing system that can be integrated with
> opennebula such as quickbooks, freshbook, WHMCS etc.
>
> *Links:*
>
>
> *1)  http://www.freshbooks.com/home <http://www.freshbooks.com/home>*
> *2)  http://www.quickbooks.in/index.jsp
> <http://www.quickbooks.in/index.jsp>*
>
> *3)  http://www.whmcs.com/ <http://www.whmcs.com/>*
>
> As read in below link that opennebula team started the development of a
> plugin for WHMCS but it was not yet finished.
>
> *1)
> http://www.linkedin.com/groups/OpenNebula-host-billing-2292500.S.89309210
> <http://www.linkedin.com/groups/OpenNebula-host-billing-2292500.S.89309210>*
>
> Kindly let me know if the plugin is finished or if development is stopped.
>
> Also if anyone from community has integrated or using any kind of
> billing/invoicing software, Please shed some light on this.
>
> Thanks
> Kiran Ranjane
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula and JuJu

2014-05-19 Thread Ruben S. Montero
Hi Bill


There were in fact some meetings with the Ubuntu people to integrate JuJuwith
OpenNebula. Unfortunately, Ubuntu is completely biased towards OpenStack,
and for us service composition is a very important feature to outsource
without a minimum commitment. As a result we decided to invest all our
effort in the OpenNebula Flow component.

Cheers

Ruben



On Fri, May 16, 2014 at 6:00 PM, Campbell, Bill <
bcampb...@axcess-financial.com> wrote:

> Hello,
> I saw some archived messages that had shown *some* interest in developing
> a provider for JuJu to work with OpenNebula.  Has this ever taken off or is
> that something that has been put aside?
>
> *NOTICE: Protect the information in this message in accordance with the
> company's security policies. If you received this message in error,
> immediately notify the sender and destroy all copies.*
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM monitoring information do not get deleted

2014-05-14 Thread Ruben S. Montero
Hi

I confirm the bug, it was introduced to address "Feature #2848: Add a
configuration flag to enable individual VM monitoring".

By default VM monitoring is disable to prevent a tsunami of pro-active VM
monitoring requests in case of massive failure of hypervisors. In that
situation OpenNebula would try to contact the VMs collapsing the drivers
and effectively blocking any other healthy hypervisor.

We are doing a maintenance release (4.6.1) next week, and this will be
solved. In the meantime you can either delete the vm_monitoring table, or
just set VM_INDIVIDUAL_MONITORING to "yes".

Thanks Wilma for the heads up.

Cheers

Ruben





On Wed, May 14, 2014 at 11:08 PM, Stefan Kooman  wrote:

> Quoting Stefan Kooman (ste...@bit.nl):
>
> > After reading the above things start to make sense. We're using a
> > MySQL master-master replication setup, with one oned server as primary
> > master. The amount of network traffic, InnoDB activity, disk throughput,
> > etc have gone up tremendously. See attached images to get an impression.
> > For newly created vm's opening "capacity" or "network" tab this isn't a
> problem, yet.
> > But for vm's that are already running for month's this is a problem. I
> > see the sunstone instance that is serving me dropping out of the
> > load-balancer for not replying to health-checks in time. Just by
> > clicking the "network" tab of a long running vm.
> >
> > If this is a bug I need a workaround soon before running out of disk
> > space ;).
> >
> > Gr. Stefan
> >
> > P.s Thanks for Wilma for spotting this, haven't had time to look into
> > this issue: too busy with reverting back from trusty -> saucy on
> > hypervisors, more on that later.
>
> Pff, added those bloody attachments ;).
>
> Gr. Stefan
>
>
> --
> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
> | GPG: 0xD14839C6           +31 318 648 688 / i...@bit.nl
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] system datastores 0 not show capacity hdd

2014-05-14 Thread Ruben S. Montero
Hi,

Thanks Stefan, This seems to be causing a lot of confusion We've just
added a note to the documentation

"System DS size of 0 is normal for first time installations.

To accommodate different System Datastore types, they are monitored
using the host probes. The System DS size and usage will be reported as 0
till you add to OpenNebula a host configured to use that System DS. You may
also need to wait for the first VM to be deployed to get size and usage
information reported back."

Hope it helps


On Wed, May 14, 2014 at 7:08 PM, Ruben S. Montero wrote:

> Hi,
>
> Thanks Stefan, This seems to be causing a lot of confusion We've just
> added a note to the documentation
>
> "System DS size of 0 is normal for first time installations.
>
> To accommodate different System Datastore types, they are monitored
> using the host probes. The System DS size and usage will be reported as 0
> till you add to OpenNebula a host configured to use that System DS. You may
> also need to wait for the first VM to be deployed to get size and usage
> information reported back."
>
> Hope it helps
>
>
> On Wed, May 14, 2014 at 8:37 AM, Stefan Kooman  wrote:
>
>> Quoting Amier Anis (myma...@gmail.com):
>> > Dear List,
>> >
>> > I have an issue that system datastores 0 was not able to show the
>> capacity
>> > hdd.
>> > This is fresh installation with internal hdd. normal partition scheme,
>> > centos 6.5, opennebula 4.4
>>
>> Do you have a host in your setup? The "system" datastore is checked on
>> the host, not on the frontend.
>>
>> Gr. Stefan
>>
>> --
>> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
>> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
>> ___
>> 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
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] can user's RAM quota acount only running/active VMs?

2014-05-13 Thread Ruben S. Montero
Yes, there maybe a problem. There won't be nothing to stop the scheduler
from allocating the VM if it's resumed. That's the reason for accounting
the capacity even if you are not actually using it, you'll be granted with
it as soon you request it (and its available).

So you may be not making a "complete" use of the resource them but you have
a "reservation" for them, especially for SUSPENDED/POWER OFF. But also for
HOLD, PENDING, STOP, that will potentially interfere with other users when
the VM is resumed.

Now we could check the quota when the VM is moved to PENDING. For example,
OpenNebula won't let you resume the VM.

However, the other quotas should be also modified to follow the same
convention. For example, number of IP's leased from a network. The main
problem I see here is that would be conflicting with other metrics like
(number of VMs). If we only limit ACTIVE VMs a DoS attack could be done
easily by creating VMs in STOP (e.g. size of checkpoint files is implicitly
controlled by the MEMORY quota). If we preserve the quota as in 4.6, then
the MEMORY quota for ACTIVE VMs wouldn't be useful.

Maybe is not "fair" in all cases (I believe that only stop VMs are a
problem, and that operation is not exposed for the end-users, i.e. cloud
view ) but it is consistent for all the quotas...

Cheers

Ruben




On Tue, May 13, 2014 at 11:15 PM, Jon  wrote:

> How would that affect scheduling? For instance I have a vm that only comes
> on at certain times of the day.
>
> I think this is a good change too, I'm just curious if there are any
> repercussions to the change.
>
> Thanks,
> Jon A
> On May 13, 2014 2:04 PM, "kiran ranjane"  wrote:
>
>> +1 vote for this
>>
>> Thanks
>>
>> Kiran Ranjane
>>
>>
>> On Tue, May 13, 2014 at 3:05 PM, Stefan Kooman  wrote:
>>
>>> Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
>>> > Hi,
>>> >
>>> > On Fri, May 2, 2014 at 10:51 PM, Liu, Guang Jun (Gene) <
>>> > gene@alcatel-lucent.com> wrote:
>>> >
>>> > >  Hi there,
>>> > >
>>> > > Is there a way to config or twist OpenNebula so that quota management
>>> > > (e.g. RAM) counts resources of active VMs only?
>>> > >
>>> > > I found the quota management (RAM per user) counts all the VMs which
>>> > > created by a user. We found if the quota only counts the resources
>>> from the
>>> > > active VMs, that means more sense. E.g., I have 16RAM quota. I
>>> create one
>>> > > VM w/ 16G RAM. Then I save/stop my VM. The system should allow me to
>>> create
>>> > > another VM w/ 16G RAM if quota management counts only active VMs.
>>> > >
>>> > > Thanks!
>>> > > Gene
>>> > >
>>> >
>>> > There isn't a way to configure that. It would require to modify the
>>> core.
>>> >
>>> > But I think it makes sense. So I return the question to the community:
>>> > ¿Should we consider this change in the quota behaviour?
>>>
>>> I vote for this change. Your not actually consuming resources on the
>>> hypervisor(s) for not having running vm's ...
>>>
>>> Gr. Stefan
>>>
>>> --
>>> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
>>> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
>>> ___
>>> 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
>>
>>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief 
> Architect<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> OpenNebula - Flexible Enterprise Cloud Made Simple
>  <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula 4.6 delete VM

2014-05-12 Thread Ruben S. Montero
Hi

It seems that the deploy id; dedicated-04 is not an OpenNebula generated
id it should read something like one-04. Probably that's causing the
issue

Cheers


On Mon, May 12, 2014 at 12:28 PM, Jaime Melis  wrote:

> Thanks for reporting the issue. We will take a look at it:
> http://dev.opennebula.org/issues/2904
>
> cheers,
> Jaime
>
>
> On Thu, May 8, 2014 at 7:17 AM, Гусев Павел  wrote:
>
>> Hi!
>> I have installed opennebula 4.6 on my debian6@x86_64
>>
>> I have no trouble when create VMs, but when delete/shutdown there is
>> succesfull operation in sunstone, but in virsh vm works still, and I have
>> these log strings..
>> Wed May  7 01:58:29 2014 [ReM][D]: Req:1792 UID:0 VirtualMachineInfo
>> invoked, 7
>> Wed May  7 01:58:29 2014 [ReM][D]: Req:1792 UID:0 VirtualMachineInfo
>> result SUCCESS, "70..."
>> Wed May  7 01:58:29 2014 [ReM][D]: Req:9280 UID:0 VirtualMachineAction
>> invoked, "delete", 7
>> Wed May  7 01:58:29 2014 [DiM][D]: Finalizing VM 7
>> Wed May  7 01:58:29 2014 [ReM][D]: Req:9280 UID:0 VirtualMachineAction
>> result SUCCESS, 7
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 Driver
>> command for 7 cancelled
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 error:
>> failed to get domain 'virsh'
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 error:
>> Domain not found: no domain with matching name 'virsh'
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 error:
>> failed to get domain 'virsh'
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 error:
>> Domain not found: no domain with matching name 'virsh'
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 ExitCode: 0
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 Successfully
>> execute virtualization driver operation: cancel.
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 ExitCode: 0
>>
>> Wed May  7 01:58:29 2014 [VMM][D]: Message received: LOG I 7 Successfully
>> execute network driver operation: clean.
>>
>> Wed May  7 01:58:30 2014 [VMM][D]: Message received: LOG I 7 Successfully
>> execute transfer manager driver operation: tm_delete.
>>
>> Wed May  7 01:58:30 2014 [VMM][D]: Message received: LOG I 7 Successfully
>> execute transfer manager driver operation: tm_delete.
>>
>> Wed May  7 01:58:30 2014 [VMM][D]: Message received: CLEANUP SUCCESS 7
>>
>>
>>
>>
>> I have some test: in /var/tmp/one/vmm/kvm/cancel I write $@ variable to
>> file, and see:
>> virsh dedicated-04 8 dedicated-04
>>
>> but in script  /var/tmp/one/vmm/kvm/cancel I see:
>>
>> deploy_id=$1
>>
>> TIMEOUT=60
>>
>> function destroy_and_monitor
>> {
>> virsh --connect $LIBVIRT_URI destroy $deploy_id
>>
>> virsh --connect $LIBVIRT_URI --readonly dominfo $deploy_id
>> [ "x$?" != "x0" ]
>> }
>>
>> I think, when compare  content of variable $@ (virsh dedicated-04 8
>> dedicated-04) with deploy_id=$1 , deploy_id must be always eq "virsh", and
>> then command
>> virsh --connect $LIBVIRT_URI destroy virsh
>> will be never work fine.
>>
>> I have same test on opennebula 4.4, when delete operation, script
>>  /var/tmp/one/vmm/kvm/cancel have these arguments:
>> /var/tmp/one/vmm/kvm/cancel one-170 dedicated-01 170 dedicated-01
>> and all works fine.
>>
>> Is there a bug or I must do some configure for opennebula?
>> Thank you!
>>
>> --
>> С уважением,
>> Гусев Павел
>> Руководитель отдела системного администрирования
>>
>> QSOFT | Ведущий web-интегратор
>>
>> офис 7(495) 771-7363 #110 | моб. 7(926) 850-1108
>> pgu...@qsoft.ru
>> Москва, Авангардная улица, 3  |  qsoft.ru
>> San Francisco, 222 Columbus Ave |  qsoftus.com
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | jme...@opennebula.org
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief 
> Architect<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> OpenNebula - Flexible Enterprise Cloud Made Simple
>  <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] system datastores always have no space

2014-05-09 Thread Ruben S. Montero
Does this directory exist /var/lib/one//datastores/0?


On Fri, May 9, 2014 at 11:55 PM, Marius Rex  wrote:

>
> I am not sure I follow what you are trying to say.  What is the source
> of my problem?
>
> All of my datastores, which live on the same NFS mount, exist on the the
> monitored host.  They are mounted in /var/lib/one, which matches the
> BASE PATH for the datastore.  So I do not know how the NFS mount is not
> 'properly mounted.'
>
> The output I get from the command you specify is:
>
> [root@kvm04 ~]# /var/tmp/one/im/kvm-probes.d/monitor_ds.sh
> kvm /var/lib/one/datastores
> DS_LOCATION_USED_MB=1
> DS_LOCATION_TOTAL_MB=1409258
> DS_LOCATION_FREE_MB=1408682
>
> So it looks the probe is finding available space.  But according to the
> output of 'onedatastore' there is no available space.  Thus no VMs can
> be created on my KVM host/node.
>
> I am not sure what step or procedure I am missing.  I do not see
> anything in
>
> http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_centos_kvm.htmlthat
>  I have skipped.
>
> Does it matter that the KVM node already has VMs running on it?
> Otherwise the node fits the guide above precisely. The plan is to put
> everything under OpenNebula management.  But since the system DS reports
> having no space, I cannot launch a single VM, and thus will not be able
> to spin any of those machines down to bring them up under OpenNebula
> management.
>
> -Marius
>
>
>
> On Fri, 2014-05-09 at 15:35 -0400, Ruben S. Montero wrote:
> >
> > On Fri, May 9, 2014 at 3:43 PM, Marius Rex 
> > wrote:
> >
> > The system DS is not supposed to show up with any space until
> > a host is
> > configured?  That is a surprising because the pre-configured
> > sandbox
> > instance I downloaded first for testing (a Virtualbox
> > instance) has
> > space listed in the system DS even though that has no hosts
> > connected to
> > it.
> >
> >
> > I'm not sure about the sandbox configuration (e.g. there were some
> > data from the setup). Anyway, system DS is monitored from the hosts.
> >  Note that System DS is not need (not even accessible for some storage
> > backends) in the front-end, so the space is reported by the hosts.
> > Also System DS is used to run VMs from it, and mainly used in the
> > hosts.
> >
> >
> >
> > In any case, there are no hosts connected to the test instance
> > that I
> > gave the example on, but on some other instances which I have
> > configured
> > elsewhere do have hosts configured and they have the same
> > problem.  I
> > have /var/lib/one as a NFS mount that is mounted on both the
> > frontend
> > and the node.  That instance comes up with no space in the
> > system DS as
> > well.
> >
> >
> > This may be a problem with the configuration or the sytem DS not
> > properly mounted in the hosts. The information is obtained
> > with /var/tmp/one/im/kvm-probes.d, go to the host kvm04 and execute:
> >
> >
> >  /var/tmp/one/im/kvm-probes.d/monitor_ds.sh
> > kvm /var/lib/one/datastores/
> >
> >
> > The output should be similar to...
> >
> >
> > DS_LOCATION_USED_MB=1
> > DS_LOCATION_TOTAL_MB=9952
> > DS_LOCATION_FREE_MB=6318
> > DS = [
> >   ID = 101,
> >   USED_MB = 1,
> >   TOTAL_MB = 9952,
> >   FREE_MB = 6318
> > ]
> >
> >
> >
> > Here is some output from that showing the system DS with no
> > space even
> > though the logs say the node is successfully monitored:
> > http://pastebin.com/w6Wg909Y
> >
> >
> > -Marius
> > marius...@venda.com
> >
> >
> > On Fri, 2014-05-09 at 05:05 -0400, Carlos Martín Sánchez
> > wrote:
> > > Hi,
> > >
> > >
> > > System DS are monitored with the host probes. Do you have
> > any hosts
> > > configured?
> > >
> > > --
> > > Carlos Martín, MSc
> > > Project Engineer
> > > OpenNebula - Flexible Enterprise Cloud Made Simple
> > > www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
> > >
> > >
> > > On Fri, May 9, 2014 at 12:02 AM, Marius Rex
> > 

Re: [one-users] VM logs in /var/log/one dir

2014-05-09 Thread Ruben S. Montero
Yes, a hook will do. You can use the example provided here:

http://dev.opennebula.org/issues/1026

Cheers


On Tue, May 6, 2014 at 3:04 PM, Dmitri Chebotarov  wrote:

> Hi
>
> How do you handle VM log files under /var/log/one dir (i.e.
> {ONE_VM_ID}.log)?
>
> The ONE system is used as a back-end for VCL (https://vcl.apache.org)
> which results in many VMs per day/month and /var/log/one/ ends up with
> thousands of log files.
>
> I don't thing I can use logrotate for this task. May be a VM hook on
> shutdown/delete?
>
> --
> 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
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] system datastores always have no space

2014-05-09 Thread Ruben S. Montero
res/"
> > SHARED="YES"
> > TM_MAD="shared"
> > TYPE="SYSTEM_DS"
> >
> > IMAGES
> >
> > It is the same filesystem the other volumes are on, yet they
> > have
> > available space.  I have tried two different versions of
> > OpenNebula.  I
> > have tried different base filesystems.   I have tried custom
> > RPMs.  It
> > comes up the same every time.
> >
> > Is there a bug or am I missing something very obvious?
> >
> >
> > --
> > Marius Rex
> > marius...@venda.com
> > ___
> > 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
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] AppMarket 2.0

2014-05-06 Thread Ruben S. Montero
We are targeting for next week, so we have one more week to fix any
important issue...


Cheers


On Mon, May 5, 2014 at 5:09 PM, ML mail  wrote:

> Hi,
>
> Any estimate date of release for the AppMarket 2.0?
>
> Regards
> ML
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vm deployment via image stored in ceph datastore

2014-04-29 Thread Ruben S. Montero
Could you try to set DEV_PREFIX=vd?


On Mon, Apr 28, 2014 at 9:14 PM, Steve @ MyEvolve wrote:

> Hi Ruben,
>
> I used the images from the marketplace.  Both the CENTOS and UBUNTU images
> did not work.  How do I edit grub when they don't even boot?
>
> Thanks,
> Steve
>
>
> On Mon, Apr 28, 2014 at 10:18 AM, Ruben S. Montero <
> rsmont...@opennebula.org> wrote:
>
>> No, the image does not need any parameter. We've seen this error: Geom
>> Error when installing an OS and grub not being able to get the geometry of
>> the disk, you need to specify it in grub.conf.
>>
>> ruben
>>
>>
>> On Sun, Apr 27, 2014 at 9:10 PM, Steve @ MyEvolve wrote:
>>
>>> Any help on this?
>>>
>>>
>>>
>>> -- Forwarded message --
>>>
>>>
>>> Hello Everyone,
>>>
>>> I imported ttylinux from the marketplace into ceph and successfully
>>> deployed it on the same host, so that would indicate things are working
>>> normally.
>>>
>>> I also imported Ubuntu, but it came up with grub error.
>>>
>>> I've attached two screenshots to show what the console is showing on
>>> boot.
>>>
>>> Any ideas?
>>>
>>> Thank you,
>>> Steve
>>>
>>>
>>> On Wed, Apr 23, 2014 at 6:03 AM, Steve @ MyEvolve wrote:
>>>
>>> Hello Everyone,
>>>>
>>>> I successfully imported the CentOS contextualized image from the
>>>> marketplace into my ceph image datastore.
>>>>
>>>> I then created a specific template for deploying this image and
>>>> successfully launched the vm.
>>>>
>>>> My problem is that when the vm is booting I am getting the message:
>>>>
>>>> Booting from Hard Disk...
>>>> Geom error
>>>>
>>>> Any ideas?
>>>>
>>>> Thanks,
>>>> Steve
>>>>
>>>>
>>>>
>>>> Template:
>>>>
>>>>  GRAPHICS TYPE VNCLISTEN 0.0.0.0 OS ARCH x86_64BOOT hd MEMORY 2048 NIC
>>>> NETWORK_UNAME oneadminNETWORK Public Network SCHED_REQUIREMENTS 
>>>> ID="4"FEATURES
>>>> ACPI yes CPU 1 DISK IMAGE CentOS Server 6.2 - kvm_file0 CephIMAGE_UNAME
>>>> oneadmin CONTEXT NETWORK YESSSH_PUBLIC_KEY $USER[SSH_PUBLIC_KEY]
>>>>
>>>>
>>>> And here is the template for the VM:
>>>>
>>>>  VMID 90 TEMPLATE_ID 23 GRAPHICS TYPE VNCLISTEN 0.0.0.0PORT 5990 OS
>>>> ARCH x86_64BOOT hd MEMORY 2048 AUTOMATIC_REQUIREMENTS CLUSTER_ID = 101
>>>> & !(PUBLIC_CLOUD = YES) NIC BRIDGE br0NETWORK_UNAME 
>>>> oneadminMAC02:00:26:6b:bb:96
>>>> VLAN NO NETWORK Public NetworkIP6_LINK fe80::400:26ff:fe6b:bb96 
>>>> IP38.107.187.150
>>>> NIC_ID 0 NETWORK_ID 0CLUSTER_ID 101 FEATURES ACPI yes CPU 1 DISK TARGEThda
>>>> DATASTORE_ID 126SIZE 10240IMAGE_ID 52IMAGE CentOS Server 6.2 -
>>>> kvm_file0 Ceph DISK_ID0 CLONE_TARGET SELFTYPE RBDSAVE NOCEPH_USERlibvirt
>>>> SOURCE one/one-52CEPH_SECRET *** removed *** CEPH_HOST cloudweb12:6789
>>>> TM_MAD ceph IMAGE_UNAME oneadminDEV_PREFIX hd LN_TARGET NONEREADONLY NO
>>>> CLUSTER_ID 101DATASTORE cephsystemCLONE YES CONTEXT TARGET 
>>>> hdbETH0_MASK255.255.255.0
>>>> ETH0_IP 38.107.187.150 ETH0_NETWORK 38.107.187.0ETH0_GATEWAY
>>>> 38.107.187.1 ETH0_DNS 8.8.8.8DISK_ID 1NETWORK YESETH0_MAC02:00:26:6b:bb:96
>>>> SSH_PUBLIC_KEY  removed 
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>>
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vm deployment via image stored in ceph datastore

2014-04-28 Thread Ruben S. Montero
No, the image does not need any parameter. We've seen this error: Geom
Error when installing an OS and grub not being able to get the geometry of
the disk, you need to specify it in grub.conf.

ruben


On Sun, Apr 27, 2014 at 9:10 PM, Steve @ MyEvolve wrote:

> Any help on this?
>
>
>
> -- Forwarded message --
>
>
> Hello Everyone,
>
> I imported ttylinux from the marketplace into ceph and successfully
> deployed it on the same host, so that would indicate things are working
> normally.
>
> I also imported Ubuntu, but it came up with grub error.
>
> I've attached two screenshots to show what the console is showing on boot.
>
>
> Any ideas?
>
> Thank you,
> Steve
>
>
> On Wed, Apr 23, 2014 at 6:03 AM, Steve @ MyEvolve wrote:
>
> Hello Everyone,
>>
>> I successfully imported the CentOS contextualized image from the
>> marketplace into my ceph image datastore.
>>
>> I then created a specific template for deploying this image and
>> successfully launched the vm.
>>
>> My problem is that when the vm is booting I am getting the message:
>>
>> Booting from Hard Disk...
>> Geom error
>>
>> Any ideas?
>>
>> Thanks,
>> Steve
>>
>>
>>
>> Template:
>>
>>  GRAPHICS TYPE VNCLISTEN 0.0.0.0 OS ARCH x86_64BOOT hd MEMORY 2048 NIC
>> NETWORK_UNAME oneadminNETWORK Public Network SCHED_REQUIREMENTS 
>> ID="4"FEATURES
>> ACPI yes CPU 1 DISK IMAGE CentOS Server 6.2 - kvm_file0 Ceph IMAGE_UNAME
>> oneadmin CONTEXT NETWORK YESSSH_PUBLIC_KEY $USER[SSH_PUBLIC_KEY]
>>
>>
>> And here is the template for the VM:
>>
>>  VMID 90 TEMPLATE_ID 23 GRAPHICS TYPE VNCLISTEN 0.0.0.0PORT 5990 OS 
>> ARCHx86_64
>> BOOT hd MEMORY 2048 AUTOMATIC_REQUIREMENTS CLUSTER_ID = 101 &
>> !(PUBLIC_CLOUD = YES) NIC BRIDGE br0NETWORK_UNAME 
>> oneadminMAC02:00:26:6b:bb:96
>> VLAN NO NETWORK Public NetworkIP6_LINK fe80::400:26ff:fe6b:bb96 
>> IP38.107.187.150
>> NIC_ID 0 NETWORK_ID 0CLUSTER_ID 101 FEATURES ACPI yes CPU 1 DISK TARGEThda
>> DATASTORE_ID 126SIZE 10240IMAGE_ID 52IMAGE CentOS Server 6.2 - kvm_file0
>> Ceph DISK_ID0 CLONE_TARGET SELFTYPE RBDSAVE NOCEPH_USER 
>> libvirtSOURCEone/one-52
>> CEPH_SECRET *** removed *** CEPH_HOST cloudweb12:6789TM_MAD ceph
>> IMAGE_UNAME oneadminDEV_PREFIX hd LN_TARGET NONEREADONLY NOCLUSTER_ID 101
>> DATASTORE cephsystemCLONE YES CONTEXT TARGET hdbETH0_MASK 255.255.255.0
>> ETH0_IP 38.107.187.150 ETH0_NETWORK 38.107.187.0ETH0_GATEWAY 38.107.187.1
>> ETH0_DNS 8.8.8.8DISK_ID 1NETWORK YESETH0_MAC 02:00:26:6b:bb:96
>> SSH_PUBLIC_KEY  removed 
>>
>>
>>
>>
>>
>>
>>
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] System volumes created with no space

2014-04-25 Thread Ruben S. Montero
Could it be the mount points? Datastores on the hosts have to be mounted
under DATASTORE_LOCATION as defined in oned.conf (defaults to
/var/lib/one/datastores). Note that BASE_PATH refers to the path used to
store the images when they are resitered (not needed for a system ds).
Roughly you go from BASE_PATH/ in the datastore to
DATASTORE_LOCATION///disk.0 in the hypervisor.

The monitoring probes (take a look to monitor_ds.sh in
/var/lib/one/remotes) looks for DATASTORE_LOCATION, not BASE_PATH...

Cheers


On Fri, Apr 25, 2014 at 4:21 PM, Marius Rex  wrote:

> On Fri, 2014-04-25 at 08:36 -0400, Stefan Kooman wrote:
> > Quoting Ruben S. Montero (rsmont...@opennebula.org):
> > > That's right Stefan
> > >
> > > System DS are monitored through the host (so we can accommodate ssh
> system
> > > ds and other types that cannot be accessed from the front-end). If no
> host
> > > is reporting space for the System DS size will be 0.
> >
> > Check, thanks for confirming. @MariusRex, so then the question is: why
> > aren't your host monitoring the system datastore?
> >
> > Gr. Stefan
> >
>
> I do have a healthy hypervisor which is being monitored, which has both
> shared NFS volumes.
>
> [oneadmin@snow-opennebula01 ~]$ onehost list
>   ID NAMECLUSTER   RVM  ALLOCATED_CPU  ALLOCATED_MEM
> STAT
>0 kvmhost04   snowman 0   0 / 800 (0%)0K / 66.9G (0%)
> update
>
>
> Having looked in oned.log I see no reference to the original system
> volume being mentioned.  But the second system volume I created is being
> successfully monitored:
>
> # grep system oned.log | tail
> Wed Apr 23 20:09:27 2014 [ImM][D]: Datastore systems_nfs (100)
> successfully monitored.
> Wed Apr 23 20:10:27 2014 [InM][D]: Monitoring datastore systems_nfs
> (100)
> Wed Apr 23 20:10:27 2014 [ImM][D]: Datastore systems_nfs (100)
> successfully monitored.
> Wed Apr 23 20:11:27 2014 [InM][D]: Monitoring datastore systems_nfs
> (100)
> Wed Apr 23 20:11:27 2014 [ImM][D]: Datastore systems_nfs (100)
> successfully monitored.
> Wed Apr 23 20:13:30 2014 [ReM][D]: Req:704 UID:0 DatastoreAllocate
> invoked, "NAME= systems_nf...", -1
> Wed Apr 23 20:14:26 2014 [ReM][D]: Req:2752 UID:0 DatastoreAllocate
> invoked, "NAME= systems_nf...", 100
> Wed Apr 23 20:15:39 2014 [ReM][D]: Req:3920 UID:0 DatastoreAllocate
> invoked, "NAME= systems_nf...", 100
> Wed Apr 23 20:42:18 2014 [ReM][D]: Req:704 UID:0 DatastoreAllocate
> invoked, "NAME= systems_nf...", 100
> Thu Apr 24 21:58:56 2014 [ReM][D]: Req:2176 UID:0 DatastoreAllocate
> invoked, "NAME= systems_nf...", 100
>
>
> But systems_nfs reports have no space available either.  (As seen in my
> original query.)
>
>
> --
> Marius Rex
> marius...@venda.com
> Senior linux Engineer
> cell# 347.565.5037
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] System volumes created with no space

2014-04-25 Thread Ruben S. Montero
03.of-1.uk.venda.com:/tank/systems
> >   1.4T  945M  1.4T   1% /mnt/systems
> >
> >
> > I am not sure what I am doing wrong.
>
> Hmm. I see the same over here:
>
> oneadmin@template-vm:~$ onedatastore list
>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>  100 dummy1_ds_sys 0M - - 0 sys  -
>  shared
>  101 dummy1_ds_ima   7.9G 44%   BITED_zone01  1 img  fs
> shared
>  102 dummy2_ds_ima   7.9G 44%   - 0 img  fs
> shared
>  103 dummy2_ds_sys 0M - - 0 sys  -
>  shared
>  104 dummy3_ds_sys 0M - - 0 sys  -
>  shared
>
> onedatastore show 104
> DATASTORE 104 INFORMATION
> ID : 104
> NAME   : dummy3_ds_system
> USER   : oneadmin
> GROUP  : oneadmin
> CLUSTER: -
> TYPE   : SYSTEM
> DS_MAD : -
> TM_MAD : shared
> BASE PATH  : /var/lib/one//datastores/104
> DISK_TYPE  : FILE
>
> DATASTORE CAPACITY
> TOTAL: : 0M
> FREE:  : 0M
> USED:  : 0M
> LIMIT: : -
>
> PERMISSIONS
> OWNER  : um-
> GROUP      : u--
> OTHER  : ---
>
> DATASTORE TEMPLATE
> BASE_PATH="/var/lib/one//datastores/"
> SHARED="YES"
> TM_MAD="shared"
> TYPE="SYSTEM_DS"
>
> IMAGES
>
> These datastores are on a ONE 4.5.85 test vm with only local storage. So
> it does not seem to matter if it's on nfs or not. One reason for having
> incorrect DATASTORE CAPACITY is that it's not monitored. I've checked
> oned.log and all image/file datastores are checked except for system
> datatores. DATASTORE_CAPACITY_CHECK is enabled. On this VM this proably
> is because there's no real host added (only dummy's). IM probes are
> copied to the host and executed in the host. Do you have enabled and
> healthy hypervisors (onehost list)? Can you check oned.log if those
> system datastores get monitored?
>
> Gr. Stefan
>
>
> --
> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] easy provisioning doesn't show template owner/group in sunstone

2014-04-23 Thread Ruben S. Montero
Hi

Using Cloud view, even if a user can access other's template he can only
delete its own templates. Note also that only the VDC admin can share
templates within group. We can think of adding this info to a kind of
extended view but I feel it is no needed

Thanks

Ruben


On Tue, Apr 22, 2014 at 8:37 PM, Rolandas Naujikas <
rolandas.nauji...@mif.vu.lt> wrote:

> Hi,
>
> Easy provisioning doesn't show template owner and group in >= 4.4. Also
> new cloud view in 4.6-RC is also missing this information.
>
> That could create security issues when users are allowed to share they own
> templates and images.
>
> Regards, Rolandas Naujikas
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] missing system DS information in sunstone VM placement tab

2014-04-23 Thread Ruben S. Montero
Right, we missed that. Thanks for the heads up...

Issue at [1]. We'll try to add it to final...

1 http://dev.opennebula.org/issues/2847


On Tue, Apr 22, 2014 at 8:34 PM, Rolandas Naujikas <
rolandas.nauji...@mif.vu.lt> wrote:

> Hi,
>
> In 4.4(.1) and 4.6-RC there is missing system DS information in sunstone
> VM placement tab. Users cannot find any way (only from CLI) to what system
> DS VM was deployed.
>
> Regards, Rolandas Naujikas
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


  1   2   3   4   5   6   7   8   >