Post 1.4.0 upgrade can no longer edit hosts (ovirt)

Hi,

I'm not quite sure if this relates to this recent ovirt
bug Bug #4346: oVirt Compute Resource needs to be updated for rbovirt >0.0.21 - Foreman

I also updated to the latest version of rbovirt from koji:
foreman-ovirt-1.4.0-1.el6.noarch
ruby193-rubygem-rbovirt-0.0.23-1.el6.noarch

Post upgrade to 1.4.0 now modifying hosts will give this error:

Warning!
undefined method `_delete' for #

Here's the "full trace"
NoMethodError
undefined method _delete' for #<OVIRT::Interface:0x007f8ed0f43920> app/views/compute_resources_vms/form/ovirt/_network.html.erb:3:in_app_views_compute_resources_vms_form_ovirt__network_html_erb__3130231690440341772_75649300'
app/views/compute_resources_vms/form/_ovirt.html.erb:28:in block (2 levels) in _app_views_compute_resources_vms_form__ovirt_html_erb___280622726615454600_74649360' app/views/compute_resources_vms/form/_ovirt.html.erb:27:inblock in
_app_views_compute_resources_vms_form__ovirt_html_erb___280622726615454600_74649360'
app/views/compute_resources_vms/form/_ovirt.html.erb:26:in
_app_views_compute_resources_vms_form__ovirt_html_erb___280622726615454600_74649360' app/views/hosts/_compute.html.erb:5:inblock in
_app_views_hosts__compute_html_erb___472968674354032972_74353460'
app/views/hosts/_compute.html.erb:1:in
_app_views_hosts__compute_html_erb___472968674354032972_74353460' app/views/hosts/_unattended.html.erb:2:in_app_views_hosts__unattended_html_erb__1413311731205760309_74234520'
app/views/hosts/_form.html.erb:91:in block (2 levels) in _app_views_hosts__form_html_erb__3342426395099232991_70125686802080' app/helpers/layout_helper.rb:218:inform_for'
app/views/hosts/_form.html.erb:7:in block in _app_views_hosts__form_html_erb__3342426395099232991_70125686802080' app/models/taxonomy.rb:54:inblock (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:143:in as_location' app/models/taxonomy.rb:53:inblock in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:108:in as_org' app/models/taxonomy.rb:52:inas_taxonomy'
app/views/hosts/_form.html.erb:5:in
_app_views_hosts__form_html_erb__3342426395099232991_70125686802080' app/views/hosts/edit.html.erb:7:in_app_views_hosts_edit_html_erb__3489572736405311226_70125686758820'
app/models/concerns/foreman/thread_session.rb:33:in clear_thread' lib/middleware/catch_json_parse_errors.rb:9:incall'

Thanks,
Andrew.

This was resolved with the help of mmoll on IRC, in relation to this bug
here Bug #4346: oVirt Compute Resource needs to be updated for rbovirt >0.0.21 - Foreman

ยทยทยท On Saturday, 22 February 2014 07:06:58 UTC+11, Andrew Lau wrote: > > Hi, > > I'm not quite sure if this relates to this recent ovirt bug > http://projects.theforeman.org/issues/4346#change-13781 > > I also updated to the latest version of rbovirt from koji: > foreman-ovirt-1.4.0-1.el6.noarch > ruby193-rubygem-rbovirt-0.0.23-1.el6.noarch > > Post upgrade to 1.4.0 now modifying hosts will give this error: > > Warning! > undefined method `_delete' for # > > Here's the "full trace" > NoMethodError > undefined method `_delete' for # > app/views/compute_resources_vms/form/ovirt/_network.html.erb:3:in > `_app_views_compute_resources_vms_form_ovirt__network_html_erb__3130231690440341772_75649300' > app/views/compute_resources_vms/form/_ovirt.html.erb:28:in `block (2 > levels) in > _app_views_compute_resources_vms_form__ovirt_html_erb___280622726615454600_74649360' > app/views/compute_resources_vms/form/_ovirt.html.erb:27:in `block in > _app_views_compute_resources_vms_form__ovirt_html_erb___280622726615454600_74649360' > app/views/compute_resources_vms/form/_ovirt.html.erb:26:in > `_app_views_compute_resources_vms_form__ovirt_html_erb___280622726615454600_74649360' > app/views/hosts/_compute.html.erb:5:in `block in > _app_views_hosts__compute_html_erb___472968674354032972_74353460' > app/views/hosts/_compute.html.erb:1:in > `_app_views_hosts__compute_html_erb___472968674354032972_74353460' > app/views/hosts/_unattended.html.erb:2:in > `_app_views_hosts__unattended_html_erb__1413311731205760309_74234520' > app/views/hosts/_form.html.erb:91:in `block (2 levels) in > _app_views_hosts__form_html_erb__3342426395099232991_70125686802080' > app/helpers/layout_helper.rb:218:in `form_for' > app/views/hosts/_form.html.erb:7:in `block in > _app_views_hosts__form_html_erb__3342426395099232991_70125686802080' > app/models/taxonomy.rb:54:in `block (2 levels) in as_taxonomy' > app/models/concerns/foreman/thread_session.rb:143:in `as_location' > app/models/taxonomy.rb:53:in `block in as_taxonomy' > app/models/concerns/foreman/thread_session.rb:108:in `as_org' > app/models/taxonomy.rb:52:in `as_taxonomy' > app/views/hosts/_form.html.erb:5:in > `_app_views_hosts__form_html_erb__3342426395099232991_70125686802080' > app/views/hosts/edit.html.erb:7:in > `_app_views_hosts_edit_html_erb__3489572736405311226_70125686758820' > app/models/concerns/foreman/thread_session.rb:33:in `clear_thread' > lib/middleware/catch_json_parse_errors.rb:9:in `call' > > Thanks, > Andrew. >