Re: [one-users] VM State Pending and Stuck in it

2013-12-09 Thread Documented Facts
Hi

Thanks for the replying but I have switched backed to 4.2 since I couldn't
find the solution and I have enough time to do my Assignment.

Thank You


On Mon, Dec 9, 2013 at 11:37 PM, Carlos Martín Sánchez <
cmar...@opennebula.org> wrote:

> Hi,
>
> On Sat, Dec 7, 2013 at 5:13 PM, Documented Facts <
> documentedfa...@gmail.com> wrote:
>
>> Hi
>>
>> I had a small testing cloud that has set up with OpenNebula 4.2 with Xen
>> hypervisor. I have completely remove OSes and intall OpenNebula 4.4 with
>> fresh Operating Systems. After I created a virtual machine it does not move
>> beyond "PENDING" state. My hosts has not assign to a any cluster so it
>> might be in default cluster (-). Please help me to overcome this problem.
>>
>
> You should have a SCHED_MESSAGE in the VM template with the reason. The
> scheduler log file /var/log/one/sched.log will also have more useful
> information.
>
>
>> I also need some clarifications for update data system store
>>
>> What is  "SHARED="NO" " in system datastore update ? I have assigned it
>> with "NO" since I use SSH data store.
>>
>> SHARED="NO"
>> TM_MAD="ssh"
>> TYPE="SYSTEM_DS"
>>
>
> That's a configuration attribute set by OpenNebula, you don't need to
> change it.
>
> Regards.
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org  | cmar...@opennebula.org
>  | @OpenNebula 
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula 4.4 esxi 5.1 windows vms lose nic dirver

2013-12-09 Thread hansz
Hi Tino,
thinks for your replay,
without the e1000 model (but has select virtual Networks) ,the VM boot, but 
does not has NIC driver. the vm i have ready install vmware tools
the following are the steps i create a vm
1)i  first create vms throuht the vmware's esxi (while create the vm ,i select 
the network  ,and the model,after the vm boot ,i install the 
vmware tools,at that moment the vm has NIC driver,and i can ping to other vms),
2)and then tar the window-flat.vmdk and the disk.vmdk a xxx.tar.bz2
3) upload the xxx.tar.bz2 through the sunstone to the image ,
4)create template 
5)create  vms


but ,if i set model=e1000 at the template when the vm startup the vm will stay 
on the starting screen,
else if i set model=E1000 at the template the vm will faild 
the log (for model=E1000)
Tue Dec 10 04:58:00 2013 [DiM][I]: New VM state is ACTIVE.
Tue Dec 10 04:58:00 2013 [LCM][I]: New VM state is PROLOG.
Tue Dec 10 04:59:40 2013 [LCM][I]: New VM state is BOOT
Tue Dec 10 04:59:40 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/30/deployment.0
Tue Dec 10 04:59:41 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Dec 10 04:59:48 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/30/deployment.0' 
'esxi01' 30 esxi01
Tue Dec 10 04:59:48 2013 [VMM][I]: 
/var/lib/one/remotes/vmm/vmware/vi_driver.rb:138:in `initialize': Cannot find 
VM one-30 (RuntimeError)
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:418:in `new'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:418:in `handle_metadata'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:398:in `define_domain'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:88:in `deploy'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/deploy:38
Tue Dec 10 04:59:48 2013 [VMM][I]: ExitCode: 1
Tue Dec 10 04:59:48 2013 [VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Tue Dec 10 04:59:48 2013 [VMM][E]: Error deploying virtual machine
Tue Dec 10 04:59:48 2013 [DiM][I]: New VM state is FAILED 
anyother may be wrong ? wait for your replay ,thinks










At 2013-12-09 22:44:36,"Tino Vazquez"  wrote:
>Hi,
>
>Without the E1000 model, does the VM boot? If so, does it recognise
>the NIC if you install the vmware tools?
>
>This may be of help:
>http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1001805
>
>I suggest approaching the problem by creating a Windows VM in VMware
>that recognises the NIC, and afterwards creating the same VM through
>OpenNebula.
>
>Regards,
>
>-Tino
>--
>OpenNebula - Flexible Enterprise Cloud Made Simple
>
>--
>Constantino Vázquez Blanco, PhD, MSc
>Senior Infrastructure Architect at C12G Labs
>www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
>--
>Confidentiality Warning: The information contained in this e-mail and
>any accompanying documents, unless otherwise expressly indicated, is
>confidential and privileged, and is intended solely for the person
>and/or entity to whom it is addressed (i.e. those identified in the
>"To" and "cc" box). They are the property of C12G Labs S.L..
>Unauthorized distribution, review, use, disclosure, or copying of this
>communication, or any part thereof, is strictly prohibited and may be
>unlawful. If you have received this e-mail in error, please notify us
>immediately by e-mail at ab...@c12g.com and delete the e-mail and
>attachments and any copy from your system. C12G thanks you for your
>cooperation.
>
>
>On Fri, Dec 6, 2013 at 8:47 AM, hansz  wrote:
>> hi man,
>> yesterday i install opennebula4.4 on centos,but the windows2008r2 vms also
>> has  NIC driver problem
>> if i add  model =e1000 ,the vms will black screen ,when the vms startup, the
>> follow are the network and the template
>> the network
>> [oneadmin@nebula ~]$ onevnet show 0 -x
>> 
>>   0
>>   0
>>   0
>>   oneadmin
>>   oneadmin
>>   EsxiNetwork
>>   
>> 1
>> 1
>> 0
>> 0
>> 0
>> 0
>> 0
>> 0
>> 0
>>   
>>   -1
>>   
>>   0
>>   VM Network
>>   0
>>   
>>   
>>   
>>   
>>   
>> 10.24.101.95
>> 10.24.101.103
>>   
>>   2
>>   
>> 
>> 
>> 
>>   
>>   
>> 
>>   02:00:0a:18:65:5f
>>   10.24.101.95
>>   fe80::400:aff:fe18:655f
>>   1
>>   2
>> 
>> 
>>   02:00:0a:18:65:60
>>   10.24.101.96
>>   fe80::400:aff:fe18:6560
>>   1
>>   3
>> 
>>   
>> 
>> [oneadmin@nebula ~]$
>>
>> the template
>> [oneadmin@nebula ~]$ onetemplate show 2 -x
>> 
>>   2
>>   0
>>   0
>>   oneadmin
>>   oneadmin
>>   windows2
>>   
>> 1
>> 1
>> 0
>> 0
>> 0
>> 0
>> 0
>> 0
>> 0
>>   
>>   1386342845
>>   
>> 
>>   
>>   
>> 
>> 
>> 
>>   
>>   
>> 
>> 
>>   
>> 
>> 
>>   
>>

Re: [one-users] reg oneflow - service template

2013-12-09 Thread Carlos Martín Sánchez
Hi,

On Wed, Dec 4, 2013 at 2:40 AM, Rajendar K  wrote:

> Hi Carlos,
> Thanks for the mail. Here are my queries,
>
>
> On Tue, Dec 3, 2013 at 7:52 PM, Carlos Martín Sánchez <
> cmar...@opennebula.org> wrote:
>
>> Hi,
>>
>>  On Mon, Dec 2, 2013 at 4:51 AM, Rajendar K  wrote:
>>
>>> Hi Carlos,
>>>   I have updated the files [oneflow-templates and
>>> service] as per your instructions. Hereby specify the output of oneflow
>>>
>>> => Elasticty conditions
>>>
>>>  "min_vms": 1,
>>>   "max_vms": 3,
>>> *  "cooldown": 60, => At what period , this parameter is
>>> being employed?   *
>>>   "elasticity_policies": [
>>> {
>>>   "type": "CHANGE",
>>>   "adjust": 1,
>>>   "expression": "CPU < 60",
>>>   "period": 3,
>>>   "period_number": 30,
>>>   "cooldown": 30
>>> }
>>>   ],
>>>   "scheduled_policies": [
>>>
>>>   ]
>>> }
>>>
>>>
>>> kindly provide detail on how auto-scaling is happened in the above
>>> sample, with relates to "period_number" , "period" and "cooldown"
>>>
>>
>> The period_number, period and cooldown attributes are explained in detail
>> in the documentation [1].
>> In your example, the expression CPU < 60 must be true 30 times, each 3
>> seconds.
>>
>
>
> *So the scaling should be triggered after 1.30 minutes (30 * 3 seconds)
> (90 seconds)  is it right?*
>
> *The log shows that scaling is triggered after 16 minutes,*
>
> LOG MESSAGES
>
> 12/02/13 10:06 [I] New state: DEPLOYING
> *12/02/13 10:07 [I] New state: RUNNING*
> *12/02/13 10:22 [I] Role role1 scaling up from 1 to 2 nodes*
> 12/02/13 10:22 [I] New state: SCALING
> 12/02/13 10:23 [I] New state: COOLDOWN
> 12/02/13 10:23 [I] New state: RUNNING
> *12/02/13 10:38 [I] Role role1 scaling up from 2 to 3 nodes*
> 12/02/13 10:38 [I] New state: SCALING
> 12/02/13 10:39 [I] New state: COOLDOWN
> 12/02/13 10:39 [I] New state: RUNNING
>

The role will scale up *if the expression is true* those 90 seconds. When
the expression is false, the counter is reset.


>
>> After the scaling, your service will be in the cooldown period for 30
>> seconds before returning to running. The only defined policy is overriding
>> the default cooldown of 60 that you set.
>>
>>
> if my understanding is correct, if we didn't specify any cooldown for each
> role , it takes the default policy as "60" using that parameter?
>

That's right, if you set a default cooldown for the service you can leave
it unset for the roles.


Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM State Pending and Stuck in it

2013-12-09 Thread Carlos Martín Sánchez
Hi,

On Sat, Dec 7, 2013 at 5:13 PM, Documented Facts
wrote:

> Hi
>
> I had a small testing cloud that has set up with OpenNebula 4.2 with Xen
> hypervisor. I have completely remove OSes and intall OpenNebula 4.4 with
> fresh Operating Systems. After I created a virtual machine it does not move
> beyond "PENDING" state. My hosts has not assign to a any cluster so it
> might be in default cluster (-). Please help me to overcome this problem.
>

You should have a SCHED_MESSAGE in the VM template with the reason. The
scheduler log file /var/log/one/sched.log will also have more useful
information.


> I also need some clarifications for update data system store
>
> What is  "SHARED="NO" " in system datastore update ? I have assigned it
> with "NO" since I use SSH data store.
>
> SHARED="NO"
> TM_MAD="ssh"
> TYPE="SYSTEM_DS"
>

That's a configuration attribute set by OpenNebula, you don't need to
change it.

Regards.

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org  | cmar...@opennebula.org |
@OpenNebula 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VMWare image on ONE 4.4

2013-12-09 Thread Eduardo Roloff
Tino,

When I try to use a "vmfs" volume for image repository, It not works.

I follow the instructions on the documentation, but ONE can't get the
size of the volume.

When I try to upload an image to this datastore, I receive the message
"not enough space"



Mon Dec  9 17:43:59 2013 [ReM][E]: Req:192 UID:0 ImageAllocate result
FAILURE Not enough space in datastore



Eduardo

On Mon, Dec 9, 2013 at 1:50 PM, Tino Vazquez  wrote:
> Hi Eduardo.
>
>
> On Mon, Dec 9, 2013 at 4:09 PM, Eduardo Roloff  wrote:
>>   fs
>
> That's the problem. The images datastore for VMware _must_ have a
> 'vmfs' DS drivers (as well as a BRIDGE_LIST). This explains why the
> .vmdk is getting renamed (as the 'fs' ds drivers don't know howto
> perform this renaming.
>
> Regards,
>
> -Tino
>
>
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at ab...@c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VMWare image on ONE 4.4

2013-12-09 Thread Tino Vazquez
Hi Eduardo.


On Mon, Dec 9, 2013 at 4:09 PM, Eduardo Roloff  wrote:
>   fs

That's the problem. The images datastore for VMware _must_ have a
'vmfs' DS drivers (as well as a BRIDGE_LIST). This explains why the
.vmdk is getting renamed (as the 'fs' ds drivers don't know howto
perform this renaming.

Regards,

-Tino



--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VMWare image on ONE 4.4

2013-12-09 Thread Eduardo Roloff
Hello Tino,

here are the output.


  1
  0
  0
  oneadmin
  oneadmin
  default
  
1
1
0
1
0
0
1
0
0
  
  fs
  vmfs
  /var/lib/one/datastores/1
  0
  0
  -1
  
  10079
  5402
  2692
  
4
  
  






  


On Mon, Dec 9, 2013 at 7:53 AM, Tino Vazquez  wrote:
> Hi,
>
> On Fri, Dec 6, 2013 at 6:33 PM, Eduardo Roloff  wrote:
>> Configured to access the VMWare host and the System DS to use vmfs
>> (the Image DS I keep local).
>
> That might be the issue, what is the output of
>
> $ onedatastore show  -x
>
> Regards,
>
> -Tino
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at ab...@c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula 4.4 esxi 5.1 windows vms lose nic dirver

2013-12-09 Thread Tino Vazquez
Hi,

Without the E1000 model, does the VM boot? If so, does it recognise
the NIC if you install the vmware tools?

This may be of help:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1001805

I suggest approaching the problem by creating a Windows VM in VMware
that recognises the NIC, and afterwards creating the same VM through
OpenNebula.

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Fri, Dec 6, 2013 at 8:47 AM, hansz  wrote:
> hi man,
> yesterday i install opennebula4.4 on centos,but the windows2008r2 vms also
> has  NIC driver problem
> if i add  model =e1000 ,the vms will black screen ,when the vms startup, the
> follow are the network and the template
> the network
> [oneadmin@nebula ~]$ onevnet show 0 -x
> 
>   0
>   0
>   0
>   oneadmin
>   oneadmin
>   EsxiNetwork
>   
> 1
> 1
> 0
> 0
> 0
> 0
> 0
> 0
> 0
>   
>   -1
>   
>   0
>   VM Network
>   0
>   
>   
>   
>   
>   
> 10.24.101.95
> 10.24.101.103
>   
>   2
>   
> 
> 
> 
>   
>   
> 
>   02:00:0a:18:65:5f
>   10.24.101.95
>   fe80::400:aff:fe18:655f
>   1
>   2
> 
> 
>   02:00:0a:18:65:60
>   10.24.101.96
>   fe80::400:aff:fe18:6560
>   1
>   3
> 
>   
> 
> [oneadmin@nebula ~]$
>
> the template
> [oneadmin@nebula ~]$ onetemplate show 2 -x
> 
>   2
>   0
>   0
>   oneadmin
>   oneadmin
>   windows2
>   
> 1
> 1
> 0
> 0
> 0
> 0
> 0
> 0
> 0
>   
>   1386342845
>   
> 
>   
>   
> 
> 
> 
>   
>   
> 
> 
>   
> 
> 
>   
>   
> 
> 
>   
>   
> 
> 
>   
>   
> 
> 
>   
>   
> 
> 
> 
>   
>   
>   
> 
> 
>   
> 
> 
>   
> 
> [oneadmin@nebula ~]$
>
>
>
>
>
> ___
> 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] oZones Server Incomplete Information

2013-12-09 Thread Campbell, Bill
Thanks Tino, I can confirm this has fixed the issue. 

- Original Message -

From: "Tino Vazquez"  
To: "Bill Campbell"  
Cc: "users"  
Sent: Monday, December 9, 2013 7:09:12 AM 
Subject: Re: [one-users] oZones Server Incomplete Information 

Hi Bill, 

You are right, there is a bug that prevents certain pool correct 
retrieval. Please find the corresponding ticket [1] in the development 
portal, along with a revision [2] that fixes it. 

Regards, 

-Tino 

[1] http://dev.opennebula.org/issues/2548 
[2] 
http://dev.opennebula.org/projects/opennebula/repository/revisions/f213728b21226080d784259e74147379fa11d026
 
-- 
OpenNebula - Flexible Enterprise Cloud Made Simple 

-- 
Constantino Vázquez Blanco, PhD, MSc 
Senior Infrastructure Architect at C12G Labs 
www.c12g.com | @C12G | es.linkedin.com/in/tinova 

-- 
Confidentiality Warning: The information contained in this e-mail and 
any accompanying documents, unless otherwise expressly indicated, is 
confidential and privileged, and is intended solely for the person 
and/or entity to whom it is addressed (i.e. those identified in the 
"To" and "cc" box). They are the property of C12G Labs S.L.. 
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be 
unlawful. If you have received this e-mail in error, please notify us 
immediately by e-mail at ab...@c12g.com and delete the e-mail and 
attachments and any copy from your system. C12G thanks you for your 
cooperation. 


On Thu, Dec 5, 2013 at 3:04 PM, Campbell, Bill 
 wrote: 
> Sure, 
> I just created a 'bcampbell' user and added it to the 'oneadmin' group. 
> After that, I created resources, so ownership was 'bcampbell:oneadmin" 
> 
> As an aside, I connected the 4.4 oZones to our 3.8 instance of ONE, and 
> received the same result. I could only see things owned by my user, not 
> anything else. 
> 
>  
> From: "Tino Vazquez"  
> To: "Bill Campbell"  
> Cc: "users"  
> Sent: Thursday, December 5, 2013 5:59:41 AM 
> 
> Subject: Re: [one-users] oZones Server Incomplete Information 
> 
> Hi Bill, 
> 
> That shouldn't be the case. Can you send the permissions & ownership 
> of the resource not visible by 'oneadmin'? 
> 
> I'll try to reproduce that locally. 
> 
> Regards, 
> 
> -Tino 
> 
> -- 
> OpenNebula - Flexible Enterprise Cloud Made Simple 
> 
> -- 
> Constantino Vázquez Blanco, PhD, MSc 
> Senior Infrastructure Architect at C12G Labs 
> www.c12g.com | @C12G | es.linkedin.com/in/tinova 
> 
> -- 
> Confidentiality Warning: The information contained in this e-mail and 
> any accompanying documents, unless otherwise expressly indicated, is 
> confidential and privileged, and is intended solely for the person 
> and/or entity to whom it is addressed (i.e. those identified in the 
> "To" and "cc" box). They are the property of C12G Labs S.L.. 
> Unauthorized distribution, review, use, disclosure, or copying of this 
> communication, or any part thereof, is strictly prohibited and may be 
> unlawful. If you have received this e-mail in error, please notify us 
> immediately by e-mail at ab...@c12g.com and delete the e-mail and 
> attachments and any copy from your system. C12G thanks you for your 
> cooperation. 
> 
> 
> On Wed, Dec 4, 2013 at 7:52 PM, Campbell, Bill 
>  wrote: 
>> Tino, 
>> I figured out why they are not displaying. 
>> 
>> I'm connecting the oZones server using the 'oneadmin' account. All of the 
>> missing resources were created and owned by my account (not oneadmin). 
>> After changing the owner to oneadmin, the resources appeared in oZones. 
>> 
>> 
>> This poses a problem. Since we have multiple users and would like to use 
>> oZones as a dashboard for a broad overview of the entire environment, is 
>> there a way to ensure that all resources, no matter who they are owned by, 
>> are visible? 
>> 
>>  
>> From: "Bill Campbell"  
>> To: "Tino Vazquez"  
>> Cc: "users"  
>> Sent: Wednesday, December 4, 2013 1:42:08 PM 
>> 
>> Subject: Re: [one-users] oZones Server Incomplete Information 
>> 
>> Tino, 
>> I have 2 VMs running, 4 virtual networks defined, multiple images and 
>> templates defined prior to adding to oZones. 
>> 
>>  
>> From: "Tino Vazquez"  
>> To: "Bill Campbell"  
>> Cc: "users"  
>> Sent: Wednesday, December 4, 2013 1:19:14 PM 
>> Subject: Re: [one-users] oZones Server Incomplete Information 
>> 
>> Hi Bill, 
>> 
>> Just checking, are there VMs running in the zone? Could it be that 
>> there are no vms, templates, images nor vnets defined in the 
>> OpenNebula instance running in the zone? 
>> 
>> I'll check the users CLI bug, and come back if I need more input for 
>> debugging, thanks for the feedback. 
>> 
>> Regards, 
>> 
>> -Tino 
>> -- 
>> OpenNebula - Flexible Enterprise Cloud Made Simple 
>> 
>> -- 
>> Constantino Vázquez Blanco, PhD, MSc 
>> Senior Infrastructure Architect at C1

[one-users] Snapshots and other.....

2013-12-09 Thread Giancarlo De Filippis


Hi all, 

i've scheduled a snapshot-creation: (in snapshots view) 

SNAPSHOT-CREATE
9/12/2013 12:00:00
9/12/2013 12:00:21

It seems terminate after 21 seconds. 

If i look in VM log i see: 

Mon Dec 9 12:48:58 2013 [VMM][I]: VM SNAPSHOT SUCCESSFULLY CREATED.
Mon Dec 9 12:48:59 2013 [VMM][I]: VM running but it was not found. Boot
and delete actions available or try to recover it manually
Mon Dec 9 12:48:59 2013 [LCM][I]: New VM state is UNKNOWN
Mon Dec 9 12:49:19 2013 [VMM][I]: VM found again, state is RUNNING 

. After 48 minutes. 

How i can check for this delay 

Image is qcow2, on kvm opennebula 4.4 and a shared storage glusterfs
mounted on /var/lib/one/datastores. 

Another trouble tha vm clock ha a delay of about 60 minutesand i
see this message with DMESG: Clocksource tsc unstable... 

Someone can help me Thanks... 

Cheers 

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


Re: [one-users] oZones Server Incomplete Information

2013-12-09 Thread Tino Vazquez
Hi Bill,

You are right, there is a bug that prevents certain pool correct
retrieval. Please find the corresponding ticket [1] in the development
portal, along with a revision [2] that fixes it.

Regards,

-Tino

[1] http://dev.opennebula.org/issues/2548
[2] 
http://dev.opennebula.org/projects/opennebula/repository/revisions/f213728b21226080d784259e74147379fa11d026
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Thu, Dec 5, 2013 at 3:04 PM, Campbell, Bill
 wrote:
> Sure,
> I just created a 'bcampbell' user and added it to the 'oneadmin' group.
> After that, I created resources, so ownership was 'bcampbell:oneadmin"
>
> As an aside, I connected the 4.4 oZones to our 3.8 instance of ONE, and
> received the same result.  I could only see things owned by my user, not
> anything else.
>
> 
> From: "Tino Vazquez" 
> To: "Bill Campbell" 
> Cc: "users" 
> Sent: Thursday, December 5, 2013 5:59:41 AM
>
> Subject: Re: [one-users] oZones Server Incomplete Information
>
> Hi Bill,
>
> That shouldn't be the case. Can you send the permissions & ownership
> of the resource not visible by 'oneadmin'?
>
> I'll try to reproduce that locally.
>
> Regards,
>
> -Tino
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at ab...@c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Wed, Dec 4, 2013 at 7:52 PM, Campbell, Bill
>  wrote:
>> Tino,
>> I figured out why they are not displaying.
>>
>> I'm connecting the oZones server using the 'oneadmin' account.  All of the
>> missing resources were created and owned by my account (not oneadmin).
>> After changing the owner to oneadmin, the resources appeared in oZones.
>>
>>
>> This poses a problem.  Since we have multiple users and would like to use
>> oZones as a dashboard for a broad overview of the entire environment, is
>> there a way to ensure that all resources, no matter who they are owned by,
>> are visible?
>>
>> 
>> From: "Bill Campbell" 
>> To: "Tino Vazquez" 
>> Cc: "users" 
>> Sent: Wednesday, December 4, 2013 1:42:08 PM
>>
>> Subject: Re: [one-users] oZones Server Incomplete Information
>>
>> Tino,
>> I have 2 VMs running, 4 virtual networks defined, multiple images and
>> templates defined prior to adding to oZones.
>>
>> 
>> From: "Tino Vazquez" 
>> To: "Bill Campbell" 
>> Cc: "users" 
>> Sent: Wednesday, December 4, 2013 1:19:14 PM
>> Subject: Re: [one-users] oZones Server Incomplete Information
>>
>> Hi Bill,
>>
>> Just checking, are there VMs running in the zone? Could it be that
>> there are no  vms, templates, images nor vnets defined in the
>> OpenNebula instance running in the zone?
>>
>> I'll check the users CLI bug, and come back if I need more input for
>> debugging, thanks for the feedback.
>>
>> Regards,
>>
>> -Tino
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>> Senior Infrastructure Architect at C12G Labs
>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>
>> --
>> Confidentiality Warning: The information contained in this e-mail and
>> any accompanying documents, unless otherwise expressly indicated, is
>> confidential and privileged, and is intended solely for the person
>> and/or entity to whom it is addressed (i.e. those identified in the
>> "To" and "cc" box)

Re: [one-users] Sunstone problem after upgrading form 4.2 to 4.4

2013-12-09 Thread Carlos Martín Sánchez
Hi Giovanni,

Were you using the mysql backend? My guess is that the new package started
the opennebula daemon with the default 4.4 oned.conf file, and a new empty
sqlite DB was bootstrapped.

Regards.

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula


On Mon, Dec 9, 2013 at 10:45 AM, Daniel Molina wrote:

> Hi Giovanni,
>
> Some users had to remove the old sunstone package and install the new one:
> http://dev.opennebula.org/issues/2482
>
> Hope this helps
>
>
> On 5 December 2013 19:41, Giovanni Ponti  wrote:
>
>> It still doesn't work!
>> I also tried with other browser, but the problem remains!
>>
>>
>>
>> Il 05/12/2013 19:37, Campbell, Bill ha scritto:
>>
>>> I had the same problem, you may need to delete the contents of your
>>> browser cache and try again (some cached objects were causing those
>>> problems for me)
>>>
>>> 
>>> *From: *"Giovanni Ponti" 
>>> *To: *users@lists.opennebula.org
>>> *Sent: *Thursday, December 5, 2013 1:01:24 PM
>>> *Subject: *[one-users] Sunstone problem after upgrading form 4.2 to 4.4
>>>
>>>
>>> I have a problem with the Sunstone interface after upgrading from 4.2 to
>>> 4.4.
>>> I followed the procedure and everything went right. One daemons are
>>> running and VMs are in the correct state and they are reachable via
>>> remote connection. The sunstone server started correctly but, after
>>> logging in, it does not show any resource, user, datastores, images,
>>> network, etc..
>>> I've also checked the sunston-server.conf and all the settings seem to
>>> be right, included the ":table_order: desc" parameter.
>>>
>>> Thanks in advance for your reply(s)!
>>>
>>> Giovanni
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>> *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.*
>>>
>>
>> --
>> Ing. Giovanni Ponti, PhD
>> UTICT-HPC
>> ENEA - C.R. Portici
>> P.le E. Fermi, 1 (Loc. Granatello)
>> 80055 Portici (NA), Italy
>> phone : (+39) 081-7723564 | int.: [89] 2564
>> fax   : (+39) 081-7723344
>> email : giovanni.po...@enea.it
>> web   : http://www.afs.enea.it/gponti
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmol...@opennebula.org | @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] VMWare image on ONE 4.4

2013-12-09 Thread Tino Vazquez
Hi,

On Fri, Dec 6, 2013 at 6:33 PM, Eduardo Roloff  wrote:
> Configured to access the VMWare host and the System DS to use vmfs
> (the Image DS I keep local).

That might be the issue, what is the output of

$ onedatastore show  -x

Regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone query ...

2013-12-09 Thread Daniel Molina
Hi Gareth,


On 6 December 2013 12:58, Gareth Bult  wrote:

> Hi,
>
> After performing an operation on the Sunstone, say migrating 10 VM's or
> Deploying 10VM's, I immediately
> see a status change one some or all of the VM's, and again at some point
> the screen will update again and
> more statuses will change.
>
> However, once I know the operation has completed, the screen does not do a
> final refresh to show me that
> everything is finished, it leaves it to me to click on the circular arrow
> next to "Create" to force a refresh.
>
> Do I have a problem - or is this the way it's supposed to work?? .. i.e.
> it requires a manual refresh??
>

After each action the information for the given resource is updated and the
information in the datatables is updated periodically. We don't know when
an operation has finished, so you will have to manual refresh the
information to get the last info.


>
> If this is the way it's supposed to be, is it possible to tune the display
> to make it more 'interactive' ?
>

What do you mean with "more interactive"?

Cheers


>
> --
> *Gareth Bult*
> “The odds of hitting your target go up dramatically when you aim at it.”
>
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone problem after upgrading form 4.2 to 4.4

2013-12-09 Thread Daniel Molina
Hi Giovanni,

Some users had to remove the old sunstone package and install the new one:
http://dev.opennebula.org/issues/2482

Hope this helps


On 5 December 2013 19:41, Giovanni Ponti  wrote:

> It still doesn't work!
> I also tried with other browser, but the problem remains!
>
>
>
> Il 05/12/2013 19:37, Campbell, Bill ha scritto:
>
>> I had the same problem, you may need to delete the contents of your
>> browser cache and try again (some cached objects were causing those
>> problems for me)
>>
>> 
>> *From: *"Giovanni Ponti" 
>> *To: *users@lists.opennebula.org
>> *Sent: *Thursday, December 5, 2013 1:01:24 PM
>> *Subject: *[one-users] Sunstone problem after upgrading form 4.2 to 4.4
>>
>>
>> I have a problem with the Sunstone interface after upgrading from 4.2 to
>> 4.4.
>> I followed the procedure and everything went right. One daemons are
>> running and VMs are in the correct state and they are reachable via
>> remote connection. The sunstone server started correctly but, after
>> logging in, it does not show any resource, user, datastores, images,
>> network, etc..
>> I've also checked the sunston-server.conf and all the settings seem to
>> be right, included the ":table_order: desc" parameter.
>>
>> Thanks in advance for your reply(s)!
>>
>> Giovanni
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> *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.*
>>
>
> --
> Ing. Giovanni Ponti, PhD
> UTICT-HPC
> ENEA - C.R. Portici
> P.le E. Fermi, 1 (Loc. Granatello)
> 80055 Portici (NA), Italy
> phone : (+39) 081-7723564 | int.: [89] 2564
> fax   : (+39) 081-7723344
> email : giovanni.po...@enea.it
> web   : http://www.afs.enea.it/gponti
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] how to use CAS to sso with other web portal in sunstone?

2013-12-09 Thread Daniel Molina
Hi,

You have to implement the do_auth method in a new CASCloudAuth.rb, you can
see an example in the x509CloudAuth.rb:
https://github.com/OpenNebula/one/blob/master/src/cloud/common/CloudAuth/X509CloudAuth.rb

This method will authenticate the user, and will return the opennebula
username if success.

Cheers


On 5 December 2013 09:42, jack  wrote:

>  Dear:
> I want to use CAS to sso with other web portal in sunstone. Can you tell
> me how to do?
>
> Thanks a lot.
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org