[one-users] Fwd: 4.8 with vSphere single node datastores
Tino Vazquez
cvazquez at c12g.com
Wed Sep 17 03:59:23 PDT 2014
--
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 abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
---------- Forwarded message ----------
From: Stan Yarbrough <stan.yarbrough at oriontech.com>
Date: 17 September 2014 12:38
Subject: RE: [one-users] 4.8 with vSphere single node datastores
To: Tino Vazquez <cvazquez at c12g.com>
I'm not sure if you are asking me to locate vi_client.rb in
vi_driver.rb or just looking for the location of vi_client.rb...
There is no vi_client.rb installed and vi_driver is located in the
path that you provided. $ONE_LOCATION is not set:
[oneadmin at itwcsfe01-inthewoods-local vmware]$ locate vi_driver
/usr/lib/one/ruby/vi_driver.rb
/var/lib/one/remotes/vmm/vmware/vi_driver.rb
[oneadmin at itwcsfe01-inthewoods-local vmware]$ locate vi_client
[oneadmin at itwcsfe01-inthewoods-local vmware]$ locate vi_client.rb
[oneadmin at itwcsfe01-inthewoods-local vmware]$ echo $ONE_LOCATION
[oneadmin at itwcsfe01-inthewoods-local vmware]$
Stan Yarbrough
Chief Technology Officer
Orion Technology Services
704-307-1633
600 Galleria Parkway SE | Suite 1450
Atlanta, Georgia 30339
Stan.Yarbrough at oriontech.com | www.oriontech.com
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
-----Original Message-----
From: Tino Vazquez [mailto:cvazquez at c12g.com]
Sent: Wednesday, September 17, 2014 6:29 AM
To: Stan Yarbrough
Cc: users
Subject: Re: [one-users] 4.8 with vSphere single node datastores
Hi Stan,
It looks like the driver cannot find the OpenNebula vmware library
(vi_client.rb). Could you confirm that it is indeed present in
/var/lib/one/remotes/vmm/vmware/vi_driver.rb)?
Also, make sure that ONE_LOCATION is not set (echo $ONE_LOCATION).
Best,
-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 abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
On 17 September 2014 12:18, Stan Yarbrough <stan.yarbrough at oriontech.com> wrote:
> Tino:
>
> It is consistently not working now... I did a complete reinstallation to ensure that I haven’t missed something. Could it be a problem with the ruby version?
>
> [oneadmin at itwcsfe01-inthewoods-local ~]$ ruby -v ruby 2.0.0p353
> (2013-11-22) [x86_64-linux]
>
> [oneadmin at itwcsfe01-inthewoods-local ~]$
> /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01 /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require': cannot load such file -- vi_driver (LoadError)
> from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require'
> from /var/lib/one/remotes/im/vmware.d/vmware.rb:29:in `<main>'
>
> [oneadmin at itwcsfe01-inthewoods-local ~]$
> /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01.intehwoods.local /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require': cannot load such file -- vi_driver (LoadError)
> from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require'
> from /var/lib/one/remotes/im/vmware.d/vmware.rb:29:in `<main>'
>
> [oneadmin at itwcsfe01-inthewoods-local ~]$
> /var/lib/one/remotes/im/vmware.d/vmware.rb 172.31.34.31 /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require': cannot load such file -- vi_driver (LoadError)
> from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require'
> from /var/lib/one/remotes/im/vmware.d/vmware.rb:29:in `<main>'
> [oneadmin at itwcsfe01-inthewoods-local ~]$
>
> [oneadmin at itwcsfe01-inthewoods-local ~]$ onedatastore show 0 DATASTORE
> 0 INFORMATION
> ID : 0
> NAME : system
> USER : oneadmin
> GROUP : oneadmin
> CLUSTER : -
> TYPE : SYSTEM
> DS_MAD : -
> TM_MAD : vmfs
> BASE PATH : /vmfs/volumes/0
> DISK_TYPE : FILE
>
> DATASTORE CAPACITY
> TOTAL: : 0M
> FREE: : 0M
> USED: : 0M
> LIMIT: : -
>
> PERMISSIONS
> OWNER : um-
> GROUP : u--
> OTHER : ---
>
> DATASTORE TEMPLATE
> BASE_PATH="/vmfs/volumes/"
> SHARED="YES"
> TM_MAD="vmfs"
> TYPE="SYSTEM_DS"
>
> IMAGES
>
> [oneadmin at itwcsfe01-inthewoods-local ~]$ onedatastore show 1 DATASTORE 1 INFORMATION
> ID : 1
> NAME : default
> USER : oneadmin
> GROUP : oneadmin
> CLUSTER : -
> TYPE : IMAGE
> DS_MAD : vmfs
> TM_MAD : vmfs
> BASE PATH : /vmfs/volumes/1
> DISK_TYPE : FILE
>
> DATASTORE CAPACITY
> TOTAL: : 249M
> FREE: : 91M
> USED: : 0M
> LIMIT: : -
>
> PERMISSIONS
> OWNER : um-
> GROUP : u--
> OTHER : ---
>
> DATASTORE TEMPLATE
> BASE_PATH="/vmfs/volumes/"
> BRIDGE_LIST="itwesx01.inthewoods.local itwesx02.inthewoods.local itwesx03.inthewoods.local itwesx04.inthewoods.local itwesx05.inthewoods.local itwesx06.inthewoods.local"
> CLONE_TARGET="SYSTEM"
> DISK_TYPE="FILE"
> DS_MAD="vmfs"
> LN_TARGET="NONE"
> TM_MAD="vmfs"
> TYPE="IMAGE_DS"
>
> IMAGES
>
>
>
>
>
> Stan Yarbrough
> Chief Technology Officer
> Orion Technology Services
> 704-307-1633
> 600 Galleria Parkway SE | Suite 1450
> Atlanta, Georgia 30339
> Stan.Yarbrough at oriontech.com | www.oriontech.com
>
>
>
>
>
>
>
>
> The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
>
>
> -----Original Message-----
> From: Tino Vazquez [mailto:cvazquez at c12g.com]
> Sent: Wednesday, September 17, 2014 6:01 AM
> To: Stan Yarbrough
> Cc: users
> Subject: Re: [one-users] 4.8 with vSphere single node datastores
>
> Hi Stan,
>
> Strange, does it consistently work now, or are you getting randomly errors and correct behaviour from the IM driver?
>
> Best,
>
> -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 abuse at c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation.
>
>
> On 16 September 2014 21:35, Stan Yarbrough <stan.yarbrough at oriontech.com> wrote:
>> It works an hour later:
>>
>> [oneadmin at otscsfe01 vmware]$ /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01
>> MODELNAME="Intel(R) Xeon(R) CPU X5680 @ 3.33GHz"
>> CPUSPEED=3332
>> TOTALCPU=1200
>> USEDCPU=22.15
>> FREECPU=1177.85
>> TOTALMEMORY=75486960
>> USEDMEMORY=26682368
>> FREEMEMORY=48804592
>> NETRX=6719
>> NETTX=4659
>> DS=[ID="ITWESX01-DS01",USED_MB=972,TOTAL_MB=132352,FREE_MB=131380]
>> DS=[ID="ITWNTAP01-VOL01",USED_MB=440723,TOTAL_MB=1802240,FREE_MB=1361
>> 5
>> 17]
>> DS=[ID="ITWNTAP01-VOL02",USED_MB=266227,TOTAL_MB=1781760,FREE_MB=1515
>> 5 33]
>> DS=[ID="OTSCSFE01-DS0",USED_MB=4031,TOTAL_MB=36454,FREE_MB=32423]
>> DS=[ID="OTSCSFE01-DS1",USED_MB=4031,TOTAL_MB=36454,FREE_MB=32423]
>> VM_POLL=YES
>> VM = [ID=-1,DEPLOY_ID="ITWVCSPOOL01",POLL="STATE=a USEDCPU=3.18
>> USEDMEMORY=4241408 NETRX=134 NETTX=2"] VM =
>> [ID=-1,DEPLOY_ID="OTSCSFE01",POLL="STATE=a USEDCPU=27.16
>> USEDMEMORY=1746944 NETRX=2581 NETTX=604"] VM =
>> [ID=-1,DEPLOY_ID="ITWVDIESX01",POLL="STATE=a USEDCPU=5.88
>> USEDMEMORY=4382720 NETRX=0 NETTX=175"] VM =
>> [ID=-1,DEPLOY_ID="Analytics VM",POLL="STATE=a USEDCPU=2.28
>> USEDMEMORY=6758400 NETRX=217 NETTX=1"] VM =
>> [ID=-1,DEPLOY_ID="ITWVDIESX02",POLL="STATE=a USEDCPU=4.35
>> USEDMEMORY=2658304 NETRX=0 NETTX=42"] VM =
>> [ID=-1,DEPLOY_ID="ITWFS01",POLL="STATE=a USEDCPU=0.30
>> USEDMEMORY=4234240 NETRX=35 NETTX=0"]
>> [oneadmin at otscsfe01 vmware]$
>>
>>
>> Stan Yarbrough
>> Chief Technology Officer
>> Orion Technology Services
>> 704-307-1633
>> 600 Galleria Parkway SE | Suite 1450
>> Atlanta, Georgia 30339
>> Stan.Yarbrough at oriontech.com | www.oriontech.com
>>
>>
>>
>>
>>
>>
>>
>>
>> The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
>>
>>
>> -----Original Message-----
>> From: Tino Vazquez [mailto:cvazquez at c12g.com]
>> Sent: Tuesday, September 16, 2014 8:28 AM
>> To: users; Stan Yarbrough
>> Subject: Re: [one-users] 4.8 with vSphere single node datastores
>>
>> Hi Stan,
>>
>> From the last mail, I think you may be using ESX 5.5, please note that this version is currently not supported by OpenNebula. Having said this, we are in the process of supporting it and there seems to be no many issues, so we can try and fix it in your installation.
>>
>> The problem you are experiencing comes from a bad monitoring of the ESX host. Please send us the output of the following command (as oneadmin, in the front-end):
>>
>> $ /var/lib/one/remotes/im/vmware.d/vmware.rb
>> <hostname-of-esx-server>
>>
>> Best regards,
>>
>> -Tino
>>
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Stan Yarbrough <stan.yarbrough at oriontech.com>
>>> Date: 15 September 2014 20:36
>>> Subject: RE: [one-users] 4.8 with vSphere single node datastores
>>> To: Tino Vazquez <cvazquez at c12g.com>
>>>
>>>
>>> I did find one issue. The UID for ESX servers defaults to 1000 when
>>> you create the user oneadmin. The UID for FE is 1001, so icreated a
>>> dummy user in esx to increase the UID count. I also reconfigured
>>> SSH for the hosts so that it will login. Ensured that oneadmin has
>>> access to the ESX Shell. ESX shell and SSH services are running on
>>> all hosts.
>>>
>>> Nothing different though.
>>>
>>>
>>> Stan Yarbrough
>>> Chief Technology Officer
>>> Orion Technology Services
>>> 704-307-1633
>>> 600 Galleria Parkway SE | Suite 1450 Atlanta, Georgia 30339
>>> Stan.Yarbrough at oriontech.com | www.oriontech.com
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> The information transmitted is intended only for the person or
>>> entity to which it is addressed and may contain confidential and/or
>>> privileged material. Any review, retransmission, dissemination or
>>> other use of, or taking of any action in reliance upon, this
>>> information by persons or entities other than the intended recipient
>>> is prohibited. If you received this in error, please contact the
>>> sender and delete the material from any computer.
>>>
>>>
>>> -----Original Message-----
>>> From: Users [mailto:users-bounces at lists.opennebula.org] On Behalf Of
>>> Tino Vazquez
>>> Sent: Monday, September 15, 2014 12:12 PM
>>> To: users
>>> Subject: Re: [one-users] 4.8 with vSphere single node datastores
>>>
>>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Stan Yarbrough <stan.yarbrough at oriontech.com>
>>>> Date: 15 September 2014 18:08
>>>> Subject: RE: [one-users] 4.8 with vSphere single node datastores
>>>> To: Tino Vazquez <cvazquez at c12g.com>
>>>>
>>>>
>>>> Still empty and status is "Pending"
>>>
>>> This means that the scheduler is not able to find an available host,
>>> are the hosts still in the "on" state? If so, please send us the
>>> output of onehost list, and also the scheduler log
>>> (/var/log/one/sched.log).
>>>
>>>>
>>>>
>>>> [oneadmin at otscsfe01 one]$ ls -l
>>>> total 97784
>>>> -rw-r--r-- 1 root root 61 Sep 15 11:23 0.log
>>>> -rw-r--r-- 1 root root 61 Sep 15 11:23 1.log
>>>> -rw-r--r-- 1 root root 61 Sep 15 11:23 2.log
>>>> -rw-r--r-- 1 root root 61 Sep 15 11:23 3.log
>>>> -rw-r--r-- 1 root root 61 Sep 15 11:23 4.log
>>>> -rw-r--r-- 1 root root 0 Sep 15 11:25 5.log
>>>> -rw-r--r-- 1 root root 0 Sep 15 11:25 6.log
>>>> -rw-r--r-- 1 root root 0 Sep 15 11:25 7.log
>>>> -rw-r--r-- 1 root root 0 Sep 15 11:25 8.log <====
>>>
>>> About the file permissions, did you execute 'oned' as root? If so,
>>> you may need to chown to oneadmin /var/lib/one and /var/log/one.
>>>
>>> Best,
>>>
>>> -Tino
>>>
>>>
>>>>
>>>> Stan
>>>>
>>>> Stan Yarbrough
>>>> Chief Technology Officer
>>>> Orion Technology Services
>>>> 704-307-1633
>>>> 600 Galleria Parkway SE | Suite 1450 Atlanta, Georgia 30339
>>>> Stan.Yarbrough at oriontech.com | www.oriontech.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> The information transmitted is intended only for the person or
>>>> entity to which it is addressed and may contain confidential and/or
>>>> privileged material. Any review, retransmission, dissemination or
>>>> other use of, or taking of any action in reliance upon, this
>>>> information by persons or entities other than the intended
>>>> recipient is prohibited. If you received this in error, please
>>>> contact the sender and delete the material from any computer.
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Tino Vazquez [mailto:cvazquez at c12g.com]
>>>> Sent: Monday, September 15, 2014 11:38 AM
>>>> To: Stan Yarbrough
>>>> Cc: users
>>>> Subject: Re: [one-users] 4.8 with vSphere single node datastores
>>>>
>>>> Hi Stan,
>>>>
>>>> Ok, restart oned and please try again to deploy a VM and come back with the log.
>>>>
>>>> Best,
>>>>
>>>> -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 abuse at c12g.com and delete the
>>>> e-mail and attachments and any copy from your system. C12G thanks
>>>> you for your cooperation.
>>>>
>>>>
>>>> On 15 September 2014 17:33, Stan Yarbrough <stan.yarbrough at oriontech.com> wrote:
>>>>> I chowned the db and other files in this directory:
>>>>>
>>>>> [oneadmin at otscsfe01 one]$ ls -l
>>>>> total 1000
>>>>> -rw-r--r--. 1 oneadmin root 3005 Sep 15 11:27 config
>>>>> drwxr-x--- 4 oneadmin oneadmin 22 Sep 14 18:44 datastores
>>>>> -rw-r--r--. 1 oneadmin root 1013760 Sep 15 11:32 one.db
>>>>> drwxr-x--- 9 oneadmin oneadmin 145 Sep 14 18:44 remotes
>>>>> drwxrwxr-x. 2 oneadmin oneadmin 6 Sep 14 17:35 sunstone_vnc_tokens
>>>>> drwxr-x--- 11 oneadmin oneadmin 78 Sep 15 11:25 vms
>>>>>
>>>>>
>>>>> Stan Yarbrough
>>>>> Chief Technology Officer
>>>>> Orion Technology Services
>>>>> 704-307-1633
>>>>> 600 Galleria Parkway SE | Suite 1450 Atlanta, Georgia 30339
>>>>> Stan.Yarbrough at oriontech.com | www.oriontech.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Tino Vazquez [mailto:cvazquez at c12g.com]
>>>>> Sent: Monday, September 15, 2014 11:32 AM
>>>>> To: Stan Yarbrough
>>>>> Cc: users
>>>>> Subject: Re: [one-users] 4.8 with vSphere single node datastores
>>>>>
>>>>> Hi Stan,
>>>>>
>>>>> On 15 September 2014 17:17, Stan Yarbrough <stan.yarbrough at oriontech.com> wrote:
>>>>>> attempt to write a readonly database
>>>>>
>>>>> We need to solve this first. If you are using sqlite, check that
>>>>> oneadmin has writting access to /var/lib/one/one.db
>>>>>
>>>>> Best,
>>>>>
>>>>> -T
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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 abuse at 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 at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list