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

virtual and is_virtual are reported incorrectly on freebsd proxmox vms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: FACT 3.8.0
    • Fix Version/s: FACT 3.9.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      VM (kvm / qemu) running on a Proxmox host.
      The VM is running FreeBSD 10.3 amd64.
      Puppet4 (from FreeBSD ports) is compiled with facter 3.8.0.

    • Template:
    • Acceptance Criteria:
      Hide

      Detect if the host is running "QEMU" and if so set virtual = kvm and is_virtual = true.

      Show
      Detect if the host is running "QEMU" and if so set virtual = kvm and is_virtual = true .
    • Team:
      Platform OS
    • Method Found:
      Manual Test
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Ensure is_virtual and virtual are reported correctly on a FreeBSD proxmox VM.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Before I upgraded from facter 2.5.0 to 3.8.0, I had:

      virtual 	kvm
      is_virtual 	true
      

      After upgrading to facter 3.8.0 I get:

      virtual 	physical
      is_virtual 	false
      

      This completely breaks all logic in my puppet manifests.

      Some info from the FreeBSD VM:

      #kenv | grep smbios
      smbios.bios.reldate="04/01/2014"
      smbios.bios.vendor="SeaBIOS"
      smbios.bios.version="rel-1.7.5.1-0-g8936dbb-20141113_115728-nilsson.home.kraxel.org"
      smbios.chassis.maker="QEMU"
      smbios.chassis.version="pc-i440fx-2.2"
      smbios.memory.enabled="2097152"
      smbios.socket.enabled="1"
      smbios.socket.populated="1"
      smbios.system.maker="QEMU"
      smbios.system.product="Standard PC (i440FX + PIIX, 1996)"
      smbios.system.uuid="29f0e8bd-d5ea-4f9c-a9b3-611767dc8b3a"
      smbios.system.version="pc-i440fx-2.2"
      smbios.version="2.8"
      

      I'm no programmer so I can't create a PR.
      Hopefully someone (Fredrik Lennmark ?) can repeat the steps in FACT-1731 and add support for 'kvm' as well.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              elof Elof Ofel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support