Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-711

Fact 'virtual' detecting a virtual host in openstack as 'physical'

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: FACT 1.7.5
    • Fix Version/s: None
    • Component/s: Community
    • Labels:
      None
    • Environment:

      ubuntu 14.04 LTS, virtual machine, kvm guest in openstack

    • Template:

      Description

      • Virtual fact assessment failure
        In some cases. openstack kvm virtual hosts are detected by facter as physical hosts.
      1. facter virtual
        physical
      2. lspci
        00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
        00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
        00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
        00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
        00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
        00:02.0 VGA compatible controller: Cirrus Logic GD 5446
        00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
        00:04.0 SCSI storage controller: Red Hat, Inc Virtio block device
        00:05.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
      • Proposed enhancement in virtual.rb
        Add to existing 'Parse lpci' section the following code:

      next "kvm" if lines.any?

      {|l| l =~ /Virtio (network|block|memory)/ }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boboivancich Alessandro Dal Sasso
              Reporter:
              boboivancich Alessandro Dal Sasso
              QA Contact:
              Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support