Issue #10625 has been updated by Scott Parkerson.

I would like to note my newly installed Xen domU fails to be detected as a 
virtual machine using 1.6.2; 1.6.1 works.

This is my own installation of Xen (running CentOS 5.7 as the dom0 host, and 
CentOS 6.0 as the guest domU).

    [root@scatter hypervisor]# cat /etc/issue
    CentOS Linux release 6.0 (Final)
    Kernel \r on an \m
    
    [root@scatter hypervisor]# uname -a
    Linux scatter.ateb.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 
BST 2011 x86_64 x86_64 x86_64 GNU/Linux

    [root@scatter hypervisor]# ls -lR /proc/xen
    /proc/xen:
    total 0
    [root@scatter hypervisor]# ls -lR /sys/bus/xen
    /sys/bus/xen:
    total 0
    drwxr-xr-x. 2 root root    0 Nov 16 12:41 devices
    drwxr-xr-x. 6 root root    0 Nov 16 12:41 drivers
    -rw-r--r--. 1 root root 4096 Nov 16 14:53 drivers_autoprobe
    --w-------. 1 root root 4096 Nov 16 14:53 drivers_probe
    --w-------. 1 root root 4096 Nov 16 12:41 uevent
    /sys/bus/xen/devices:
    total 0
    lrwxrwxrwx. 1 root root 0 Nov 16 12:41 vbd-51712 -> 
../../../devices/vbd-51712
    lrwxrwxrwx. 1 root root 0 Nov 16 12:41 vbd-51728 -> 
../../../devices/vbd-51728
    lrwxrwxrwx. 1 root root 0 Nov 16 12:41 vbd-51744 -> 
../../../devices/vbd-51744
    lrwxrwxrwx. 1 root root 0 Nov 16 12:41 vif-0 -> ../../../devices/vif-0
    /sys/bus/xen/drivers:
    total 0
    drwxr-xr-x. 2 root root 0 Nov 16 12:41 vbd
    drwxr-xr-x. 2 root root 0 Nov 16 12:41 vfb
    drwxr-xr-x. 2 root root 0 Nov 16 14:53 vif
    drwxr-xr-x. 2 root root 0 Nov 16 12:41 vkbd
    /sys/bus/xen/drivers/vbd:
    total 0
    --w-------. 1 root root 4096 Nov 16 14:53 bind
    lrwxrwxrwx. 1 root root    0 Nov 16 14:53 module -> 
../../../../module/xen_blkfront
    --w-------. 1 root root 4096 Nov 16 12:41 uevent
    --w-------. 1 root root 4096 Nov 16 14:53 unbind
    lrwxrwxrwx. 1 root root    0 Nov 16 14:53 vbd-51712 -> 
../../../../devices/vbd-51712
    lrwxrwxrwx. 1 root root    0 Nov 16 14:53 vbd-51728 -> 
../../../../devices/vbd-51728
    lrwxrwxrwx. 1 root root    0 Nov 16 14:53 vbd-51744 -> 
../../../../devices/vbd-51744
    /sys/bus/xen/drivers/vfb:
    total 0
    --w-------. 1 root root 4096 Nov 16 14:53 bind
    --w-------. 1 root root 4096 Nov 16 12:41 uevent
    --w-------. 1 root root 4096 Nov 16 14:53 unbind
    /sys/bus/xen/drivers/vif:
    total 0
    --w-------. 1 root root 4096 Nov 16 14:53 bind
    lrwxrwxrwx. 1 root root    0 Nov 16 14:53 module -> 
../../../../module/xen_netfront
    --w-------. 1 root root 4096 Nov 16 14:53 uevent
    --w-------. 1 root root 4096 Nov 16 14:53 unbind
    lrwxrwxrwx. 1 root root    0 Nov 16 14:53 vif-0 -> ../../../../devices/vif-0
    /sys/bus/xen/drivers/vkbd:
    total 0
    --w-------. 1 root root 4096 Nov 16 14:53 bind
    --w-------. 1 root root 4096 Nov 16 12:41 uevent
    --w-------. 1 root root 4096 Nov 16 14:53 unbind

As with the OP, downgrading to 1.6.1 works around the issue.
----------------------------------------
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