Project

General

Profile

Bug #18903

Receive OvirtException when updating a Content View on any Content Host from RHEV 3.6 or 4 version

Added by Daniel Lobato Garcia over 2 years ago. Updated 12 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1393553
Description of problem:
When attempting to change a Content View on any Content Host, we are receiving an OvirtException that "Network interface is already in use".

Version-Release number of selected component (if applicable)

Satellite 6.2.*
RHEV 3.6
RHEV 4

How reproducible:

You need Satellite with RHEV as compute node then on the WebUI try to change the content view for the RHEV clients. It will fail with the below error:

> /var/log/foreman/production.log <
2016-11-09 15:38:33 [app] [I] Started PUT "/api/v2/hosts/21" for 192.168.20.148 at 2016-11-09 15:38:33 -0500
2016-11-09 15:38:33 [app] [I] Processing by Api::V2::HostsController#update as JSON
2016-11-09 15:38:33 [app] [I] Parameters: {"id"=>"21", "host"=>{"content_facet_attributes"=>{"id"=>18, "content_view_id"=>1, "lifecycle_environment_id"=>1}}, "apiv"=>"v2"}
2016-11-09 15:38:34 [app] [W] Failed to update a compute RHEV (RHEV) instance demo.local.redhat.com: Network interface is already in use. | OVIRT::OvirtException: Network interface is already in use. | /opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.37/lib/rbovirt.rb:210:in `handle_fault' | /opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.37/lib/rbovirt.rb:130:in `rescue in http_post' | /opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.37/lib/rbovirt.rb:127:in `http_post'
.
.
. | /opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/engine.rb:514:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/application.rb:144:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/railtie.rb:194:in `public_send' | /opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/railtie.rb:194:in `method_missing' | /opt/rh/rh-ror41/root/usr/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each' | /opt/rh/rh-ror41/root/usr/share/gems/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2016-11-09 15:38:34 [app] [E] Unprocessable entity Host::Managed (id: 21): | Failed to update a compute RHEV (RHEV) instance demo.local.redhat.com: Network interface is already in use. |
2016-11-09 15:38:34 [app] [I] Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (1.2ms)
2016-11-09 15:38:34 [app] [I] Completed 422 Unprocessable Entity in 715ms (Views: 3.6ms | ActiveRecord: 14.5ms)

History

#1 Updated by Justin Sherrill over 2 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF