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 1334669 - Unable to provision hosts on RHEV 3.5.x
Summary: Unable to provision hosts on RHEV 3.5.x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Sanket Jagtap
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-10 09:42 UTC by Sanket Jagtap
Modified: 2019-11-14 07:58 UTC (History)
5 users (show)

Fixed In Version: foreman-1.11.0.33-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:11:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-debug (544.82 KB, application/x-xz)
2016-05-10 09:42 UTC, Sanket Jagtap
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15066 0 Normal Closed Unable to provision hosts on RHEV < 3.6 2020-09-01 02:35:07 UTC

Description Sanket Jagtap 2016-05-10 09:42:45 UTC
Created attachment 1155639 [details]
foreman-debug

Description of problem:


Version-Release number of selected component (if applicable):
Build:snap 10.1

How reproducible:


Steps to Reproduce:
1. Provision a host on RHEV according to the necessary steps.


Actual results:
Unable to save:
Failed to create a compute rhevm1.satellite.lab.eng.rdu2.redhat.com (RHEV) instance sat6_machine: 404 Resource Not Found 

Expected results:


Additional info:

2016-05-10 14:50:54 [app] [D] RestClient.get "https://rhev_machine_redhat.com/api/operatingsystems", "Accept"=>"application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"Basic YWRtaW5AaW50ZXJuYWw6ZG9nOGNvZGU=", "Content-Type"=>"application/xml"
 | 
2016-05-10 14:50:54 [app] [D] # => 404 NotFound | text/html 508 bytes
 | 
2016-05-10 14:50:54 [app] [W] Failed to create a compute rhevm1.satellite.lab.eng.rdu2.redhat.com (RHEV) instance sjagtap.katello-latest.satellite.lab.eng.rdu2.redhat.com: 404 Resource Not Found
 |  
 | OVIRT::OvirtException: 404 Resource Not Found
 | /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:122:in `rescue in http_get'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.37/lib/rbovirt.rb:119:in `http_get'

Comment 1 Kedar Bidarkar 2016-05-10 11:23:59 UTC
Wondering if this issue is related to https://bugzilla.redhat.com/show_bug.cgi?id=1315281

Comment 3 Ohad Levy 2016-05-16 06:32:50 UTC
what is the version of your RHEV?

Comment 4 Sanket Jagtap 2016-05-16 06:34:42 UTC
Red Hat Enterprise Virtualization Manager Version: 3.5.7-0.1.el6ev

Comment 5 Ivan Necas 2016-05-16 19:45:44 UTC
It seems there is an issue with loading the available operating systems that came with the change in https://bugzilla.redhat.com/show_bug.cgi?id=1315281, seems the endpoint for the operating systems was introduced in RHEV 3.6 https://bugzilla.redhat.com/show_bug.cgi?id=1050243

We need to make our code compatible with older version

Comment 6 Ivan Necas 2016-05-16 19:46:16 UTC
Created redmine issue http://projects.theforeman.org/issues/15066 from this bug

Comment 7 Bryan Kearney 2016-05-16 20:21:57 UTC
Upstream bug component is Compute Resources

Comment 8 Ivan Necas 2016-05-19 15:07:11 UTC
Fix proposed at https://github.com/theforeman/foreman/pull/3538

Comment 9 Bryan Kearney 2016-05-31 14:17:08 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15066 has been closed

Comment 10 Kedar Bidarkar 2016-06-02 13:41:04 UTC
VERIFIED with sat62-snap(GA)-13.1


We can now successfully provision hosts on RHEV 3.5.x

Comment 11 Kedar Bidarkar 2016-06-02 15:18:16 UTC
Sorry, it was VERIFIED with sat62-snap(GA)-14.0

Comment 12 Kedar Bidarkar 2016-06-07 16:03:29 UTC
Reopening this bug, hitting few regressions issues around this, https://bugzilla.redhat.com/show_bug.cgi?id=1334669

Comment 13 Kedar Bidarkar 2016-06-07 16:07:08 UTC
Please, Ignore my previous comment.

I meant, moving this bug back to ON_QA due to regression issues seen around the below bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1343391

Comment 14 Sanket Jagtap 2016-06-21 08:53:35 UTC
Build: Satellite 6.2 Snap 16.0

Verified , Successfully Provision hosts on RHEV 3.5.X

Comment 15 Bryan Kearney 2016-07-27 11:11:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


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