Problem: Import of managed vm from promox fails with error undefined method `’ for nil:NilClass
Expected outcome: imported VM
Foreman and Proxy versions: 3.17.1 in both
Foreman and Proxy plugin versions:
Distribution and version: Debian 12
Other relevant data:
In production log I find:
2026-03-18T16:23:27 [I|app|047b4694] Adding Compute instance for pki.dc2.tcsoc.net
2026-03-18T16:23:27 [W|app|047b4694] Fehler beim Erstellen einer Rechenressource maxwell (Proxmox) Instanz pki.dc2.tcsoc
.net: undefined method []' for nil:NilClass 047b4694 | 047b4694 | ostype = host.compute_attributes['config_attributes']['ostype'] 047b4694 | ^^^^^^^^^^ 047b4694 | 2026-03-18T16:23:27 [I|app|047b4694] Backtrace for 'Fehler beim Erstellen einer Rechenressource maxwell (Proxmox) Instan z pki.dc2.tcsoc.net: undefined method ’ for nil:NilClass
047b4694 |
047b4694 | ostype = host.compute_attributes[‘config_attributes’][‘ostype’]
047b4694 | ^^^^^^^^^^
047b4694 | ’ error (NoMethodError): undefined method `’ for nil:NilClass
047b4694 |