Issue #10625 has been updated by Grant Heffernan.

    root@prod-fe-r01:~# dmesg
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 2.6.35.4-rscloud ([email protected]) 
(gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #8 SMP Mon Sep 20 15:54:33 UTC 2010
    [    0.000000] Command line: root=/dev/sda1 ro xencons=tty console=tty1 
clocksource=acpi_pm 
    [    0.000000] BIOS-provided physical RAM map:
    [    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
    [    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
    [    0.000000]  Xen: 0000000000100000 - 0000000080000000 (usable)
    [    0.000000] NX (Execute Disable) protection: active
    [    0.000000] DMI not present or invalid.
    [    0.000000] e820 update range: 0000000000000000 - 0000000000001000 
(usable) ==> (reserved)
    [    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 
(usable)
    [    0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000
    [    0.000000] initial memory mapped : 0 - 20000000
    [    0.000000] init_memory_mapping: 0000000000000000-0000000080000000
    [    0.000000]  0000000000 - 0080000000 page 4k
    [    0.000000] kernel direct mapping tables up to 80000000 @ 100000-503000
    [    0.000000] RAMDISK: 0157f000 - 024df000
    [    0.000000] Zone PFN ranges:
    [    0.000000]   DMA      0x00000001 -> 0x00001000
    [    0.000000]   DMA32    0x00001000 -> 0x00100000
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start PFN for each node
    [    0.000000] early_node_map[2] active PFN ranges
    [    0.000000]     0: 0x00000001 -> 0x000000a0
    [    0.000000]     0: 0x00000100 -> 0x00080000
    [    0.000000] On node 0 totalpages: 524191
    [    0.000000]   DMA zone: 56 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 3943 pages, LIFO batch:0
    [    0.000000]   DMA32 zone: 7112 pages used for memmap
    [    0.000000]   DMA32 zone: 513080 pages, LIFO batch:31
    [    0.000000] early_res array is doubled to 64 at [3000 - 37ff]
    [    0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs
    [    0.000000] No local APIC present
    [    0.000000] APIC: disable apic facility
    [    0.000000] APIC: switched to apic NOOP
    [    0.000000] nr_irqs_gsi: 16
    [    0.000000] Allocating PCI resources starting at 80000000 (gap: 
80000000:80000000)
    [    0.000000] Booting paravirtualized kernel on Xen
    [    0.000000] Xen version: 3.3.0 (preserve-AD)
    [    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 
nr_node_ids:1
    [    0.000000] PERCPU: Embedded 27 pages/cpu @ffff8800028fd000 s80448 r8192 
d21952 u110592
    [    0.000000] pcpu-alloc: s80448 r8192 d21952 u110592 alloc=27*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    0.000000] trying to map vcpu_info 0 at ffff880002908020, mfn 717058, 
offset 32
    [    0.000000] cpu 0 using vcpu_info at ffff880002908020
    [    0.000000] trying to map vcpu_info 1 at ffff880002923020, mfn 71703d, 
offset 32
    [    0.000000] cpu 1 using vcpu_info at ffff880002923020
    [    0.000000] trying to map vcpu_info 2 at ffff88000293e020, mfn 717022, 
offset 32
    [    0.000000] cpu 2 using vcpu_info at ffff88000293e020
    [    0.000000] trying to map vcpu_info 3 at ffff880002959020, mfn 717007, 
offset 32
    [    0.000000] cpu 3 using vcpu_info at ffff880002959020
    [    0.000000] Xen: using vcpu_info placement
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  
Total pages: 517023
    [    0.000000] Kernel command line: root=/dev/sda1 ro xencons=tty 
console=tty1 clocksource=acpi_pm 
    [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 
bytes)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 
bytes)
    [    0.000000] Subtract (48 early reservations)
    [    0.000000]   #1 [00028e2000 - 00028fb000]  XEN PAGETABLES
    [    0.000000]   #2 [0001000000 - 000155e358]   TEXT DATA BSS
    [    0.000000]   #3 [000157f000 - 00024df000]         RAMDISK
    [    0.000000]   #4 [00024df000 - 00028e2000]  XEN START INFO
    [    0.000000]   #5 [0000001000 - 0000003000]      TRAMPOLINE
    [    0.000000]   #6 [0000100000 - 00004e7000]         PGTABLE
    [    0.000000]   #7 [000155e380 - 000155f380]         BOOTMEM
    [    0.000000]   #8 [000155f380 - 000155f480]         BOOTMEM
    [    0.000000]   #9 [0001560000 - 0001561000]         BOOTMEM
    [    0.000000]   #10 [0001561000 - 0001562000]         BOOTMEM
    [    0.000000]   #11 [0001562000 - 0001563000]         BOOTMEM
    [    0.000000]   #12 [0001563000 - 0001564000]         BOOTMEM
    [    0.000000]   #13 [0001564000 - 0001565000]         BOOTMEM
    [    0.000000]   #14 [0001565000 - 0001566000]         BOOTMEM
    [    0.000000]   #15 [0001566000 - 0001567000]         BOOTMEM
    [    0.000000]   #16 [0001567000 - 0001568000]         BOOTMEM
    [    0.000000]   #17 [0001568000 - 0001569000]         BOOTMEM
    [    0.000000]   #18 [0001569000 - 000156a000]         BOOTMEM
    [    0.000000]   #19 [000156a000 - 000156b000]         BOOTMEM
    [    0.000000]   #20 [000156b000 - 000156c000]         BOOTMEM
    [    0.000000]   #21 [000156c000 - 000156d000]         BOOTMEM
    [    0.000000]   #22 [000156d000 - 000156e000]         BOOTMEM
    [    0.000000]   #23 [000156e000 - 000156f000]         BOOTMEM
    [    0.000000]   #24 [000156f000 - 0001570000]         BOOTMEM
    [    0.000000]   #25 [0003200000 - 0004e00000]        MEMMAP 0
    [    0.000000]   #26 [000155f480 - 000155f600]         BOOTMEM
    [    0.000000]   #27 [0001570000 - 000157c000]         BOOTMEM
    [    0.000000]   #28 [000157c000 - 000157d000]         BOOTMEM
    [    0.000000]   #29 [000157d000 - 000157e000]         BOOTMEM
    [    0.000000]   #30 [000157e000 - 000157f000]         BOOTMEM
    [    0.000000]   #31 [000155f600 - 000155f6e0]         BOOTMEM
    [    0.000000]   #32 [000155f700 - 000155f768]         BOOTMEM
    [    0.000000]   #33 [000155f780 - 000155f7e8]         BOOTMEM
    [    0.000000]   #34 [000155f800 - 000155f868]         BOOTMEM
    [    0.000000]   #35 [000155f880 - 000155f8c0]         BOOTMEM
    [    0.000000]   #36 [000155f8c0 - 000155f900]         BOOTMEM
    [    0.000000]   #37 [00028fd000 - 0002969000]         BOOTMEM
    [    0.000000]   #38 [000155f900 - 000155f908]         BOOTMEM
    [    0.000000]   #39 [000155f940 - 000155f948]         BOOTMEM
    [    0.000000]   #40 [000155f980 - 000155f990]         BOOTMEM
    [    0.000000]   #41 [000155f9c0 - 000155f9e0]         BOOTMEM
    [    0.000000]   #42 [000155fa00 - 000155fb00]         BOOTMEM
    [    0.000000]   #43 [000155fb00 - 000155fb48]         BOOTMEM
    [    0.000000]   #44 [000155fb80 - 000155fbc8]         BOOTMEM
    [    0.000000]   #45 [0002969000 - 0002971000]         BOOTMEM
    [    0.000000]   #46 [0002971000 - 0002b71000]         BOOTMEM
    [    0.000000]   #47 [0002b71000 - 0002c71000]         BOOTMEM
    [    0.000000] Memory: 2034972k/2097152k available (2298k kernel code, 388k 
absent, 61792k reserved, 1674k data, 372k init)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]      RCU-based detection of stalled CPUs is disabled.
    [    0.000000]      Verbose stalled-CPUs detection is disabled.
    [    0.000000] NR_IRQS:2304
    [    0.000000] console [hvc0] enabled
    [    0.000000] allocated 20971520 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want 
memory cgroups
    [    0.000000] Xen: using vcpuop timer interface
    [    0.000000] installing Xen timer for CPU 0
    [    0.000000] Detected 38232.621 MHz processor.
    [    0.010000] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 4400.17 BogoMIPS (lpj=22000880)
    [    0.010000] pid_max: default: 32768 minimum: 301
    [    0.010073] Security Framework initialized
    [    0.010080] SELinux:  Disabled at boot.
    [    0.010103] Mount-cache hash table entries: 256
    [    0.010245] Initializing cgroup subsys ns
    [    0.010252] Initializing cgroup subsys cpuacct
    [    0.010258] Initializing cgroup subsys memory
    [    0.010273] Initializing cgroup subsys devices
    [    0.010278] Initializing cgroup subsys freezer
    [    0.010318] tseg: 0000000000
    [    0.010325] CPU: Physical Processor ID: 1
    [    0.010329] CPU: Processor Core ID: 0
    [    0.010333] Performance Events: 
    [    0.010337] no APIC, boot with the "lapic" boot parameter to 
force-enable it.
    [    0.010341] no hardware sampling interrupt available.
    [    0.010345] AMD PMU driver.
    [    0.010349] ... version:                0
    [    0.010352] ... bit width:              48
    [    0.010355] ... generic registers:      4
    [    0.010359] ... value mask:             0000ffffffffffff
    [    0.010362] ... max period:             00007fffffffffff
    [    0.010366] ... fixed-purpose events:   0
    [    0.010369] ... event mask:             000000000000000f
    [    0.010420] SMP alternatives: switching to UP code
    [    0.020208] installing Xen timer for CPU 1
    [    0.020249] SMP alternatives: switching to SMP code
    [    0.030206] installing Xen timer for CPU 2
    [    0.030411] installing Xen timer for CPU 3
    [    0.030529] Brought up 4 CPUs
    [    0.030573] Grant table initialized
    [    0.030573] NET: Registered protocol family 16
    [    0.030573] bio: create slab <bio-0> at 0
    [    0.030573] xen_balloon: Initialising balloon driver.
    [    0.030573] Switching to clocksource xen
    [    0.031009] NET: Registered protocol family 2
    [    0.031104] IP route cache hash table entries: 65536 (order: 7, 524288 
bytes)
    [    0.031571] TCP established hash table entries: 262144 (order: 10, 
4194304 bytes)
    [    0.032917] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    [    0.033247] TCP: Hash tables configured (established 262144 bind 65536)
    [    0.033253] TCP reno registered
    [    0.033259] UDP hash table entries: 1024 (order: 3, 32768 bytes)
    [    0.033277] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
    [    0.033445] NET: Registered protocol family 1
    [    0.033517] Unpacking initramfs...
    [    0.053235] Freeing initrd memory: 15744k freed
    [    0.060853] platform rtc_cmos: registered platform RTC device (no PNP 
device found)
    [    0.062832] audit: initializing netlink socket (disabled)
    [    0.062857] type=2000 audit(1318377551.206:1): initialized
    [    0.063492] VFS: Disk quotas dquot_6.5.2
    [    0.063529] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.063758] NTFS driver 2.1.29 [Flags: R/O].
    [    0.063856] msgmni has been set to 4005
    [    0.064851] alg: No test for stdrng (krng)
    [    0.064981] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 253)
    [    0.064988] io scheduler noop registered
    [    0.064991] io scheduler deadline registered (default)
    [    0.065081] Event-channel device installed.
    [    0.065859] Non-volatile memory driver v1.3
    [    0.079148] Initialising Xen virtual ethernet driver.
    [    0.083582] blkfront: sda1: barriers enabled
    [    0.086238] blkfront: sda2: barriers enabled
    [    0.086571] i8042.c: No controller found.
    [    0.086665] mice: PS/2 mouse device common for all mice
    [    0.086766] rtc_cmos: probe of rtc_cmos failed with error -16
    [    0.086981] Netfilter messages via NETLINK v0.30.
    [    0.087190] TCP cubic registered
    [    0.087193] Initializing XFRM netlink socket
    [    0.087202] NET: Registered protocol family 17
    [    0.132544] registered taskstats version 1
    [    0.132583] XENBUS: Device with no driver: device/console/0
    [    0.132800] Freeing unused kernel memory: 372k freed
    [    0.453733] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: 
[email protected]
    [    0.502700] EXT3-fs (sda1): recovery required on readonly filesystem
    [    0.502709] EXT3-fs (sda1): write access will be enabled during recovery
    [    0.503050] EXT3-fs: barriers not enabled
    [    0.804465] kjournald starting.  Commit interval 5 seconds
    [    0.804508] EXT3-fs (sda1): orphan cleanup on readonly fs
    [    0.804526] ext3_orphan_cleanup: deleting unreferenced inode 262261
    [    0.808331] ext3_orphan_cleanup: deleting unreferenced inode 377259
    [    0.818368] EXT3-fs (sda1): 2 orphan inodes deleted
    [    0.818383] EXT3-fs (sda1): recovery complete
    [    0.819219] EXT3-fs (sda1): mounted filesystem with writeback data mode
    [    5.287621] udev[2111]: starting version 163
    [    5.546428] Adding 4194300k swap on /dev/sda2.  Priority:-1 extents:1 
across:4194300k SS
    [    5.596288] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    5.726803] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    [    5.726965] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. 
Please use
    [    5.726968] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack 
module option or
    [    5.726971] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    [    5.781763] EXT3-fs (sda1): using internal journal
    [    6.191810] NET: Registered protocol family 10
    [    6.192367] lo: Disabled Privacy Extensions
    [   16.650026] eth1: no IPv6 routers present
    [60864.850071] device eth1 entered promiscuous mode
    [60868.531059] device eth1 left promiscuous mode
    [1252207.840651] hrtimer: interrupt took 40270627 ns
    [1504324.350056] device eth1 entered promiscuous mode
    [1504350.541340] device eth1 left promiscuous mode
    [1964279.460053] device eth1 entered promiscuous mode
    [1964302.384878] device eth1 left promiscuous mode
----------------------------------------
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