Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1393553 - Receive OvirtException when updating a Content View on any Content Host from RHEV 3.6 or 4 version
Summary: Receive OvirtException when updating a Content View on any Content Host from ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - RHEV
Version: 6.2.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-09 20:42 UTC by Fotios Tsiadimos
Modified: 2022-03-13 14:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 18:00:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 18903 0 None None None 2017-03-15 10:02:58 UTC

Description Fotios Tsiadimos 2016-11-09 20:42:03 UTC
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)

Comment 3 Brad Buckingham 2017-01-11 13:30:30 UTC
Moving this bugzilla to the Hosts component.  Although the field being updated is the content view, the error message is more generic to the host:

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'

Comment 4 Daniel Lobato Garcia 2017-03-15 09:11:35 UTC
Created redmine issue http://projects.theforeman.org/issues/18903 from this bug

Comment 5 Tomer Brisker 2017-04-02 12:44:02 UTC
Seems to be a failure in the rbovirt gem, moving to rhev component.

Comment 6 orabin 2017-07-27 11:12:39 UTC
Is this still reproducible on 6.2.10?

I was not able to reproduce.
If it is still reproducible is it possible to get the production log when changing the content view from the UI and from hammer?

Comment 7 Bryan Kearney 2017-12-11 16:41:35 UTC
We have not been able to reproduce this, and are therefore closign this out. If you are still seeing the issue please feel free to add in the additional information requested.

Comment 10 Bryan Kearney 2018-09-04 18:00:49 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


Note You need to log in before you can comment on or make changes to this bug.