Jira (FACT-1829) ec2_metadata resolver should also allow virtual => openstack

2018-03-05 Thread Damien Churchill (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Damien Churchill created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-1829  
 
 
  ec2_metadata resolver should also allow virtual => openstack
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Windows  
 
 
Created: 
 2018/03/05 10:12 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Damien Churchill  
 

  
 
 
 
 

 
 The resolver for ec2_metadata should also check whether `virtual` => `openstack`, where ec2 metadata would also be present. This is only an issue running under Windows since other OS (at least Linux) reports `virtual` as `kvm` when running in OpenStack.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 

Jira (FACT-1043) Falsely reporting virtual as physical under Windows for OpenStack instance

2015-06-11 Thread Damien Churchill (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Damien Churchill created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1043 
 
 
 
  Falsely reporting virtual as physical under Windows for OpenStack instance  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 FACT 2.4.4 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Windows 
 
 
 

Created:
 

 2015/06/11 3:05 AM 
 
 
 

Environment:
 
 
Windows 2012 R2 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Damien Churchill 
 
 
 
 
 
 
 
 
 
 
When facter is running in Windows, on an OpenStack virtual machine using libvirt  kvm it will falsely report that it is running on a physical system. This is down to OpenStack setting the System Manufacturer and System Model to its own values. This also results in the ec2 metadata not being fetched on Windows instances. 
I have verified that simply adding OpenStack - openstack in virtual.rb results in virtual = openstack being reported by Facter.