Jira (FACT-3144) Hypervisors experimental fact improvements

已查看 3 次
跳至第一个未读帖子

Patrick Grant (Jira)

未读,
2022年9月5日 06:06:012022/9/5
收件人 puppe...@googlegroups.com
Patrick Grant created an issue
 
Facter / Improvement FACT-3144
Hypervisors experimental fact improvements
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2022/09/05 3:05 AM
Priority: Normal Normal
Reporter: Patrick Grant

Info raised from a support customer:

The info it (hypervisor experimental fact) provides at the moment isn't very useful.

I wanted to provide some feedback in hopes of improving it in future versions.

I use 2 hypervisors. openstack and vmware.

At the moment.

on openstack it returns "hypervisors::kvm::openstack: true"

I would like to use it to provide a hiera source for openstack machines. Which is incovenient with that data format.

I would find it more useful if it returned something like

 
hypervisors::virtualisation: kvm
 
hypervisors::cluster: openstack.

Similarly for vmware, it returns "hypervisors::vmware: {}" which is difficult to make use of.

I would find it more useful if it returned something like

hypervisors::virtual: vmware
 
hypervisors::cluster: vmware

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Alvin Rodis (Jira)

未读,
2022年9月5日 08:30:022022/9/5
收件人 puppe...@googlegroups.com
Alvin Rodis updated an issue
Change By: Alvin Rodis
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 49525

Alvin Rodis (Jira)

未读,
2022年9月5日 08:30:032022/9/5
收件人 puppe...@googlegroups.com
Alvin Rodis updated an issue
Change By: Alvin Rodis
Labels: jira_escalated

Morgan Rhodes (Jira)

未读,
2022年9月6日 16:20:032022/9/6
收件人 puppe...@googlegroups.com
Morgan Rhodes commented on Improvement FACT-3144
 
Re: Hypervisors experimental fact improvements

Patrick Grant could we get the current output of the hypervisor fact from the customer? The way it is written it isn't super clear what they're seeing right now.

Patrick Grant (Jira)

未读,
2022年9月7日 02:44:012022/9/7
收件人 puppe...@googlegroups.com
Patrick Grant updated an issue
Change By: Patrick Grant
Info raised from a support customer:

The info it (hypervisor experimental fact) provides at the moment isn't very useful.

I wanted to provide some feedback in hopes of improving it in future versions.

I use 2 hypervisors. openstack and vmware.



At the moment.

on openstack it returns "hypervisors::kvm::openstack: true"

I would like to use it to provide a hiera source for openstack machines. Which is incovenient with that data format.

I would find it more useful if it returned something like

{code:java}


hypervisors::virtualisation: kvm

hypervisors::cluster: openstack.

{code}




Similarly for vmware, it returns "hypervisors::vmware: {}" which is difficult to make use of.

I would find it more useful if it returned something like


{code:java}

hypervisors::virtual: vmware

hypervisors::cluster: vmware

{code}


The hypervisors fact is also being generated using the whereami library.

However, the related virtual and is_virtual facts are being generated using virt-what.

Which can lead to inconsistent results between the facts. I would be nicer if these related facts used whereami consistently.

Patrick Grant (Jira)

未读,
2022年9月14日 09:21:032022/9/14
收件人 puppe...@googlegroups.com

The customers use case is indeed to use the facts to provide a hiera source for openstack machines, and at the minute the format of the data isn't useful for that

回复全部
回复作者
转发
0 个新帖子