Actions
tickets #62204
closednew VMs are "physical" for salt
Status:
Closed
Priority:
Normal
Assignee:
Category:
Core services and virtual infrastructure
Target version:
-
Start date:
2020-01-16
Due date:
% Done:
100%
Estimated time:
Description
Some newly created VMs get recognized as physical
instead of kvm
by salt. Besides being funny (and causing a slightly different setup, see pillar/virtual/*
), this results in an error when trying to run a highstate:
highstate
local:
Data failed to compile:
----------
Pillar failed to render with the following messages:
----------
Specified SLS 'virt_cluster.atreju.physical' in environment 'production' is not available on the salt master
Affected VMs are:
# salt \* grains.get virtual | grep -B1 physical # output slightly beautified
nue-ns1.infra.opensuse.org:
physical
nue-ns2.infra.opensuse.org:
physical
jekyll.infra.opensuse.org:
physical
provo-gate.infra.opensuse.org:
physical
while all other VMs show kvm
for grains.get virtual
Lars, IIRC you mentioned that you used a slightly different libvirt config when setting up these VMs. Could this be the reason why the new VMs look like physical machines to salt?
(We'lll probably end up reporting this as a salt bug, but let's first collect some information so that the salt devs can understand and fix this ;-)
Actions