[one-users] Fwd: 4.8 with vSphere single node datastores

Tino Vazquez cvazquez at c12g.com
Tue Sep 23 01:50:30 PDT 2014


Hi Stan,

This is looking like an installation problem indeed. The vi_driver.rb
should not be in /usr/lib/one/ruby/vi_driver.rb, but only in
/var/lib/one/remotes/vmm/vmware/vi_driver.rb. Please erase the former,
and if it is still failling due to not finding vi_driver, please send
the contents of /var/lib/one/remotes/vmm/vmware/vi_driver.rb, as well
as the output of:

 $ ls -la /var/lib/one/remotes/vmm/vmware/

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 22 September 2014 14:56, Stan Yarbrough <stan.yarbrough at oriontech.com> wrote:
> Tino:
>
> I have added the line "puts RUBY_LIB_LOCATION" at 26 in /var/lib/one/remotes/im/vmware.d/vmware.rb.
>
> Similar error is presented.
>
>
> ONE_LOCATION=ENV["ONE_LOCATION"] if !defined?(ONE_LOCATION)
>
> if !ONE_LOCATION
>     RUBY_LIB_LOCATION="/usr/lib/one/ruby" if !defined?(RUBY_LIB_LOCATION)
> else
>     RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" if !defined?(RUBY_LIB_LOCATION)
> end
> puts RUBY_LIB_LOCATION
> $: << "../../vmm/vmware/"
>
> require 'vi_driver'
>
> ...
>
> [root at itwcsfe01-inthewoods-local oneadmin]# vi /var/lib/one/remotes/im/vmware.d/vmware.rb
> [root at itwcsfe01-inthewoods-local oneadmin]# gem uninstall rbvmomi
> Remove executables:
>         rbvmomish
>
> in addition to the gem? [Yn]  y
> Removing rbvmomish
> Successfully uninstalled rbvmomi-1.8.1
> [root at itwcsfe01-inthewoods-local oneadmin]# /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01
> /usr/lib/one/ruby
> /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>'
> [root at itwcsfe01-inthewoods-local oneadmin]#
>
>
>
> 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: Friday, September 19, 2014 8:33 AM
> To: Stan Yarbrough
> Cc: users
> Subject: Re: [one-users] Fwd: 4.8 with vSphere single node datastores
>
> Hi Stan,
>
> rbvmomi is vendorized inside OpenNebula, so let's uninstall it
>
>  gem uninstall rbvmomi
>
> The driver not finding rbvmomi is equivalent to not finding the vi_driver.rb , something wrong with the library path. Let's check that, please add the following line into line 26 (and remember to remove it after the test) of
> /var/lib/one/remotes/im/vmware.d/vmware.rb:
>
>    puts RUBY_LIB_LOCATION
>
> and then send us the output of
>
>   /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01
>
> 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 18 September 2014 16:55, Stan Yarbrough <stan.yarbrough at oriontech.com> wrote:
>> Tino:
>>
>> What can I do next to weed out the installation process as the issue?
>>
>> 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: Users [mailto:users-bounces at lists.opennebula.org] On Behalf Of
>> Tino Vazquez
>> Sent: Wednesday, September 17, 2014 9:23 AM
>> To: users
>> Subject: Re: [one-users] Fwd: 4.8 with vSphere single node datastores
>>
>> Hi,
>>
>> The installation method seems to be correct. Let's discard other
>> problems, could you please send us the output of (as root, on the
>> front-end):
>>
>>  rpm -V opennebula-server
>>
>> 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 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 15:22, Tino Vazquez <cvazquez at c12g.com> wrote:
>>> --
>>> 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 13:18
>>> Subject: RE: [one-users] Fwd:  4.8 with vSphere single node
>>> datastores
>>> To: Tino Vazquez <cvazquez at c12g.com>
>>>
>>>
>>> rbvmomi.rb is there but the function wasn’t finding it.  It is located:
>>>
>>> [oneadmin at itwcsfe01-inthewoods-local vmware]$ locate rbvmomi.rb
>>> /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb
>>> /usr/local/share/gems/gems/rbvmomi-1.8.1/lib/rbvmomi.rb
>>>
>>> I have installed obennebula from the
>>> CentOS-7-opennebula-4.8.0-1.tar.gz from the /software/ location on
>>> the webpage.
>>>
>>> [root at itwcsfe01-inthewoods-local ~]# cat /etc/centos-release CentOS
>>> Linux release 7.0.1406 (Core)
>>>
>>> I activated the EPEL and then installed each of the packages using
>>> the package manager.
>>>
>>> The following entry from the documentation
>>> (http://docs.opennebula.org/4.8/design_and_installation/building_your
>>> _
>>> cloud/ignc.html) did not work failing on the GCC dependency.  However
>>> the packages found the correct compiler.
>>>
>>> For CentOS 7:
>>>
>>> # cat << EOT > /etc/yum.repos.d/opennebula.repo [opennebula]
>>> name=opennebula
>>> baseurl=http://downloads.opennebula.org/repo/4.8/CentOS/7/x86_64
>>> enabled=1
>>> gpgcheck=0
>>> EOT
>>> # yum install opennebula-server opennebula-sunstone opennebula-ruby
>>>
>>>
>>>
>>> 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: Wednesday, September 17, 2014 7:02 AM
>>> To: users
>>> Subject: [one-users] Fwd: 4.8 with vSphere single node datastores
>>>
>>> Hi,
>>> .
>>> Yes, that was a typo on my side, it is vi_driver.rb, nor vi_client.
>>>
>>> That gem (rbvmomi) is vendorized in OpenNebula, it should be present
>>> in /usr/lib/one/ruby/vendors.
>>>
>>> There must be something wrong with your installation, could you share
>>> the platform you are installing it in (ie, the OS installed in the
>>> front-end)? And also, did you install it using packages from the
>>> OpenNebula site, and if so, which version?
>>>
>>> Best,
>>>
>>> -Tino
>>>
>>> ---------- Forwarded message ----------
>>> From: Stan Yarbrough <stan.yarbrough at oriontech.com>
>>> Date: 17 September 2014 12:58
>>> Subject: RE: [one-users] 4.8 with vSphere single node datastores
>>> To: Tino Vazquez <cvazquez at c12g.com>
>>>
>>>
>>> I found a dependency to the rbvmomi gem in vi_driver.rb, which was
>>> not installed.  I have installed the gem and the function works.
>>> However, the df on the system and image volumes still report empty.
>>> Is there a way to verify that the /vmfs/
>>>
>>>
>>>
>>> In vi_driver:40  require 'rbvmomi'
>>>
>>>
>>>
>>> [oneadmin at itwcsfe01-inthewoods-local vmware]$
>>> /var/lib/one/remotes/im/vmware.d/vmware.rb itwesx01.inthewoods.local
>>>
>>> MODELNAME="Intel(R) Xeon(R) CPU           X5680  @ 3.33GHz"
>>>
>>> CPUSPEED=3332
>>>
>>> TOTALCPU=1200
>>>
>>> USEDCPU=19.66
>>>
>>> FREECPU=1180.34
>>>
>>> TOTALMEMORY=75486960
>>>
>>> USEDMEMORY=30013440
>>>
>>> FREEMEMORY=45473520
>>>
>>> NETRX=4234
>>>
>>> NETTX=3090
>>>
>>> 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=4374,TOTAL_MB=38373,FREE_MB=33999]
>>>
>>> DS=[ID="OTSCSFE01-DS1",USED_MB=4375,TOTAL_MB=38373,FREE_MB=33998]
>>>
>>> VM_POLL=YES
>>>
>>> VM = [ID=-1,DEPLOY_ID="ITWVCSPOOL01",POLL="STATE=a USEDCPU=3.15
>>> USEDMEMORY=4241408 NETRX=142 NETTX=40"]
>>>
>>> VM = [ID=-1,DEPLOY_ID="OTSCSFE01_old",POLL="STATE=d"]
>>>
>>> VM = [ID=-1,DEPLOY_ID="vShield Manager",POLL="STATE=a USEDCPU=3.72
>>> USEDMEMORY=3542016 NETRX=105 NETTX=3"]
>>>
>>> VM = [ID=-1,DEPLOY_ID="ITWVDIESX01",POLL="STATE=a USEDCPU=3.24
>>> USEDMEMORY=5820416 NETRX=0 NETTX=45"]
>>>
>>> VM = [ID=-1,DEPLOY_ID="Analytics VM",POLL="STATE=a USEDCPU=0.69
>>> USEDMEMORY=6864896 NETRX=67 NETTX=0"]
>>>
>>> VM = [ID=-1,DEPLOY_ID="ITWVDIESX02",POLL="STATE=a USEDCPU=3.42
>>> USEDMEMORY=2662400 NETRX=0 NETTX=40"]
>>>
>>> VM = [ID=-1,DEPLOY_ID="ITWFS01",POLL="STATE=a USEDCPU=0.18
>>> USEDMEMORY=4234240 NETRX=26 NETTX=0"]
>>>
>>>
>>>
>>> [oneadmin at itwcsfe01-inthewoods-local vmware]$ onedatastore list
>>>
>>>   ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
>>>
>>>    0 system                0M -     -                 0 sys  -        vmfs
>>>
>>>    1 default             249M 37%   -                 0 img  vmfs     vmfs
>>>
>>>    2 files              37.5G 89%   -                 0 fil  fs       ssh
>>>
>>> 100 Tier1 System          0M -     Tier1             0 sys  -        vmfs
>>>
>>> 101 Tier2 System          0M -     Tier2             0 sys  -        vmfs
>>>
>>> 102 Tier1 Image D         0M -     Tier1             0 img  vmfs     vmfs
>>>
>>> 103 Tier2 Image D         0M -     Tier2             0 img  vmfs     vmfs
>>>
>>>
>>>
>>> [oneadmin at itwcsfe01-inthewoods-local vmware]$ 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> 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=13
>>>>> 6
>>>>> 1
>>>
>>>>> 5
>>>
>>>>> 17]
>>>
>>>>> DS=[ID="ITWNTAP01-VOL02",USED_MB=266227,TOTAL_MB=1781760,FREE_MB=15
>>>>> 1
>>>>> 5
>>>
>>>>> 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
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


More information about the Users mailing list