salt icon indicating copy to clipboard operation
salt copied to clipboard

Grains reporting "physical" when running on KVM

Open dclfan opened this issue 11 years ago • 5 comments

Installed new salt-master and salt-minion via bootstrap onto two kvm hosts.

salt '*' grains.item virtual reports back 'physical' for both servers.

virt-what reports KVM and dmidecode shows KVM as well.

dclfan avatar Jun 11 '15 18:06 dclfan

Hi @tonytivo Could we see a salt --versions-report for these hosts please? IIRC, there were some recent fixes in this area.

cachedout avatar Jun 11 '15 23:06 cachedout

https://gist.github.com/tonytivo/5b217da107ed01b728d5#file-gistfile1-txt

dclfan avatar Jun 11 '15 23:06 dclfan

Thanks. I looked around and saw some issues that looked like this but were closed. Both of these guys are on a crappy 5 year old HP DL360, but didn't figure that would matter too much.

dclfan avatar Jun 11 '15 23:06 dclfan

This issue should be fixed by https://github.com/saltstack/salt/commit/9e2cf606eb86085af51683d1a2d287374cf6ea43

eliasp avatar Jun 12 '15 05:06 eliasp

Yup. Dropped the new block into one of my minions and we are good now. Thanks!!

dclfan avatar Jun 12 '15 13:06 dclfan