Better pmm-distribution detection for clouds
General
Escalation
General
Escalation
Description
How to test
None
How to document
None
Smart Checklist
Activity
Show:
Alex Demidoff December 20, 2022 at 8:06 PM
Done as part of
Alex Demidoff December 20, 2022 at 8:05 PMEdited
Solution:
Details
Details
Assignee
Unassigned
UnassignedReporter
Alexey Palazhchenko
Alexey Palazhchenko(Deactivated)Priority
Components
Needs QA
Yes
Needs Doc
Yes
Story Points
3
Sprint
None
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created November 14, 2019 at 11:50 AM
Updated March 6, 2024 at 5:13 AM
Currently, we use
ansible_virtualization_type
to distinguish between AMI, OVF, and Docker. We check the value of that variable during build to write to/srv/pmm-distribution
file:if
ansible_virtualization_type
is "virtualbox", it is OVF;if
ansible_virtualization_type
is"docker"
, it is Docker;if
ansible_virtualization_type
is"xen"
or"kvm"
(as AWS moves from Xen to KVM), it is AMI.That check is incorrect for other clouds like Google Cloud, etc.