What is ohai’s virtualization attribute supposed to report?
I have a Rhel 5.7 guest running on vmware ESX.
with out vmware’s paravirtualization tools installed (vmware-tools), ohais
reports the following
“virtualization”: {
“role”: “guest”,
“system”: “vmware”
},
on a separate machine, that does have vmware-tools installed, ohai reports
the following
“virtualization”: {
},
Do the paravirtualization drivers entirely hide that the machine is running
as a guest?
On Wed, Oct 12, 2011 at 8:16 AM, Bryan Berry bryan.berry@gmail.com wrote:
What is ohai’s virtualization attribute supposed to report?
If we’re on a virtualization host or guest.
Do the paravirtualization drivers entirely hide that the machine is running
as a guest?
It would appear so?
We detect a VMware guest from the output of ‘dmidecode’. Is this
installed? Can you provide the output of ‘sudo dmidecode’ in a gist or
pastie?
Bryan
Bryan, tks for your quick reply
on my vmware guest, dmidecode was not installed. Once installed,
virtualization shows the correct values
However, my virtualbox instance of RHEL 5.7 does have dmidecode installed
but the virtualization object is empty. I am running virtualbox 4.1
here is the dmidecode output for that vm
http://pastie.org/2687050
also, i will add dmidecode to the install docs for rhel/centos
On Wed, Oct 12, 2011 at 6:26 PM, Bryan McLellan btm@loftninjas.org wrote:
On Wed, Oct 12, 2011 at 8:16 AM, Bryan Berry bryan.berry@gmail.com
wrote:
What is ohai’s virtualization attribute supposed to report?
If we’re on a virtualization host or guest.
Do the paravirtualization drivers entirely hide that the machine is
running
as a guest?
It would appear so?
We detect a VMware guest from the output of ‘dmidecode’. Is this
installed? Can you provide the output of ‘sudo dmidecode’ in a gist or
pastie?
Bryan
apparently ohai/lib/ohai/plugins/linux/virtualization.rb only detects
virtualbox when the guest additions are sent. I patched it to check
dmidecode when they aren’t and pull request sent 
On Thu, Oct 13, 2011 at 7:22 AM, Bryan Berry bryan.berry@gmail.com wrote:
Bryan, tks for your quick reply
on my vmware guest, dmidecode was not installed. Once installed,
virtualization shows the correct values
However, my virtualbox instance of RHEL 5.7 does have dmidecode installed
but the virtualization object is empty. I am running virtualbox 4.1
here is the dmidecode output for that vm
http://pastie.org/2687050
also, i will add dmidecode to the install docs for rhel/centos
On Wed, Oct 12, 2011 at 6:26 PM, Bryan McLellan btm@loftninjas.orgwrote:
On Wed, Oct 12, 2011 at 8:16 AM, Bryan Berry bryan.berry@gmail.com
wrote:
What is ohai’s virtualization attribute supposed to report?
If we’re on a virtualization host or guest.
Do the paravirtualization drivers entirely hide that the machine is
running
as a guest?
It would appear so?
We detect a VMware guest from the output of ‘dmidecode’. Is this
installed? Can you provide the output of ‘sudo dmidecode’ in a gist or
pastie?
Bryan