Bug 1324585 - cannot provision on rhev using a template
Summary: cannot provision on rhev using a template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: rhci-common-installer
TreeView+ depends on / blocked
 
Reported: 2016-04-06 17:28 UTC by Jason Montleon
Modified: 2019-09-26 13:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-30 20:47:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Traceback from production.log (30.71 KB, text/plain)
2016-04-12 14:14 UTC, Jason Montleon
no flags Details

Description Jason Montleon 2016-04-06 17:28:36 UTC
Description of problem:
Cannot provision on RHEV using a template.

Version-Release number of selected component (if applicable):
foreman-1.11.0.9-1.el7sat.noarch
tfm-rubygem-rbovirt-0.0.36-1.el7sat.noarch

How reproducible:
Always, if template has no version_name

Steps to Reproduce:
1. Upload a template without a version_name to a functioning RHEV environment.
2. Attempt to create a host using the template using Satellite 6.2


Actual results:
You will get a traceback from rbovirt because version_name does no exist

Expected results:
Host Provisions

Additional info:
I think the fix is fairly trivial:
https://github.com/abenari/rbovirt/pull/108/files

Comment 2 Jason Montleon 2016-04-12 14:13:16 UTC
Reproducer:
- Install Satellite 6.2
- Install RHEV 3.6
- Configure RHEV as a CR in Satellite
- Upload cfme-rhevm-5.5.0.13-2.x86_64.rhevm.ova to RHEV:
  engine-image-uploader -e my_export -N cfme upload cfme-rhevm-5.5.0.13-2.x86_64.rhevm.ova
- Import from your export domain
- Start to create a new host. 
- Select your RHEV CR to provision on. 

The Virtual Machine tab will become red at this point and on clicking it you will see a message that states:
"Error loading virtual machine information: Internal Server Error"

Traceback in production.log is attached.

With my PR about it loads the tab as expected.

Comment 3 Jason Montleon 2016-04-12 14:14:16 UTC
Created attachment 1146466 [details]
Traceback from production.log

This occurs when you select a RHEV CR while creating a new host where there exists a template without a version_name.

Comment 4 Lukas Zapletal 2016-04-12 14:25:50 UTC
Nice work there, I will merge the patch upstream and release new version of rbovirt.

Comment 5 Lukas Zapletal 2016-04-12 14:31:30 UTC
Backported and released https://rubygems.org/gems/rbovirt/versions/0.0.37

Comment 6 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Bryan Kearney 2016-07-26 15:31:15 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 9 Bryan Kearney 2017-03-30 20:47:48 UTC
rbovirt 0.37 has been delivered in 6.2. I am marking this as CLOSED.


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