Issue #10625 has been updated by Grant Heffernan.

/proc/xen exists but is empty.

root@prod-fe-r01:/sys/bus/xen# ls -lR
.:
total 0
drwxr-xr-x 2 root root    0 Nov  8 17:48 devices
drwxr-xr-x 4 root root    0 Nov  8 17:48 drivers
-rw-r--r-- 1 root root 4096 Nov  8 17:48 drivers_autoprobe
--w------- 1 root root 4096 Nov  8 17:48 drivers_probe
--w------- 1 root root 4096 Nov  8 17:48 uevent

./devices:
total 0
lrwxrwxrwx 1 root root 0 Nov  8 17:48 console-0 -> ../../../devices/console-0
lrwxrwxrwx 1 root root 0 Nov  8 17:48 vbd-2049 -> ../../../devices/vbd-2049
lrwxrwxrwx 1 root root 0 Nov  8 17:48 vbd-2050 -> ../../../devices/vbd-2050
lrwxrwxrwx 1 root root 0 Nov  8 17:48 vif-0 -> ../../../devices/vif-0
lrwxrwxrwx 1 root root 0 Nov  8 17:48 vif-1 -> ../../../devices/vif-1

./drivers:
total 0
drwxr-xr-x 2 root root 0 Nov  8 17:48 vbd
drwxr-xr-x 2 root root 0 Nov  8 17:48 vif

./drivers/vbd:
total 0
--w------- 1 root root 4096 Nov  8 17:48 bind
--w------- 1 root root 4096 Nov  8 17:48 uevent
--w------- 1 root root 4096 Nov  8 17:48 unbind
lrwxrwxrwx 1 root root    0 Nov  8 17:48 vbd-2049 -> 
../../../../devices/vbd-2049
lrwxrwxrwx 1 root root    0 Nov  8 17:48 vbd-2050 -> 
../../../../devices/vbd-2050

./drivers/vif:
total 0
--w------- 1 root root 4096 Nov  8 17:48 bind
--w------- 1 root root 4096 Nov  8 17:48 uevent
--w------- 1 root root 4096 Nov  8 17:48 unbind
lrwxrwxrwx 1 root root    0 Nov  8 17:48 vif-0 -> ../../../../devices/vif-0
lrwxrwxrwx 1 root root    0 Nov  8 17:48 vif-1 -> ../../../../devices/vif-1
----------------------------------------
Bug #10625: Facter 1.6.2 incorrectly reports is_virtual as false
https://projects.puppetlabs.com/issues/10625

Author: Grant Heffernan
Status: Accepted
Priority: High
Assignee: 
Category: library
Target version: 
Keywords: virtual
Branch: 
Affected Facter version: 1.6.2


Facter 1.6.2 is reporting all my Rackspace virtuals as reals, which breaks all 
kinds of things. Rolling back to  1.6.1 clears it up.

    root@prod-fe-r02:/etc/monit/conf.d# facter | grep virtual
    is_virtual => false
    virtual => physical
    root@prod-fe-r02:/etc/monit/conf.d# gem list

    *** LOCAL GEMS ***

    facter (1.6.2)
    puppet (2.7.6)
    rake (0.8.7 ruby)
    root@prod-fe-r02:/etc/monit/conf.d# gem uninstall facter

    You have requested to uninstall the gem:
        facter-1.6.2
    puppet-2.7.6 depends on [facter (>= 1.5.1)]
    If you remove this gems, one or more dependencies will not be met.
    Continue with Uninstall? [Yn]  y
    Remove executables:
        facter

    in addition to the gem? [Yn]  y
    Removing facter
    Successfully uninstalled facter-1.6.2
    root@prod-fe-r02:/etc/monit/conf.d# gem install facter -v=1.6.1 --no-ri 
--no-rdoc
    Fetching: facter-1.6.1.gem (100%)
    Successfully installed facter-1.6.1
    1 gem installed
    root@prod-fe-r02:/etc/monit/conf.d# facter | grep virtual
    is_virtual => true
    virtual => xenu


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to