Actions
Bug #2024
closed(Fog / Libvirt / Rub1.9) cannot edit a Libvirt host
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
On my 1.9 foreman server, if I click "Edit Host" on a Libvirt Host, I get:
NoMethodError undefined method `id' for #<Fog::Compute::Libvirt::Nic:0xcd96b04> app/views/compute_resources_vms/form/_libvirt.html.erb:11:in `block in _app_views_compute_resources_vms_form__libvirt_html_erb__334423329_109289190_807899642' app/views/compute_resources_vms/form/_libvirt.html.erb:11:in `_app_views_compute_resources_vms_form__libvirt_html_erb__334423329_109289190_807899642' app/views/hosts/_compute.html.erb:4:in `block in _app_views_hosts__compute_html_erb__340285416_109170690__311906737' app/views/hosts/_compute.html.erb:1:in `_app_views_hosts__compute_html_erb__340285416_109170690__311906737' app/views/hosts/_unattended.html.erb:2:in `_app_views_hosts__unattended_html_erb__1066174147_109033700__886000449' app/views/hosts/_form.html.erb:70:in `block in _app_views_hosts__form_html_erb__1058490142_108449960__612123298' app/helpers/layout_helper.rb:155:in `form_for' app/views/hosts/_form.html.erb:4:in `_app_views_hosts__form_html_erb__1058490142_108449960__612123298' app/views/hosts/edit.html.erb:7:in `_app_views_hosts_edit_html_erb___28470386_108427060__723827895' lib/foreman/threadsession.rb:31:in `clear_thread'
I can Create / Destroy Libvirt hosts fine, but I can;t edit them. Editing non-libvirt hosts works fine.
Actions