Problem editing Libvirt Host in Foreman
This is on my bleeding edge Foreman (ruby 1.9, puppet 3, psql 9.2)
I can create and destroy Libvirt Hosts in Foreman fine, but if I try to edit one, I get this error/trace:
"undefined method `id' for #<Fog::Compute::Libvirt::Nic:0xda7a000>" from app/views/compute_resources_vms/form/_libvirt.html.erb:11
#2 Updated by Marek Hulán over 9 years ago
- Status changed from New to Assigned
- Assignee set to Marek Hulán
I can confirm. In ruby 1.8 every object has a method id that was replaced by object_id in ruby 1.9. The proper fix is in unreleased fog master branch (see https://github.com/fog/fog/blob/master/lib/fog/libvirt/models/compute/nic.rb#L10). We can either wait for a new release or make some monkey patch. However they claim to release soon.