Bug 963058 - It will fail when you add rhevh-advanced from rhevm3.1
Summary: It will fail when you add rhevh-advanced from rhevm3.1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-hypervisor
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Mike Burns
QA Contact: Pavel Stehlik
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-15 04:46 UTC by wanghui
Modified: 2016-02-10 20:04 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-28 11:55:44 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine log and screen shot (60.04 KB, application/x-gzip)
2013-05-15 04:46 UTC, wanghui
no flags Details

Description wanghui 2013-05-15 04:46:30 UTC
Created attachment 748056 [details]
engine log and screen shot

Description of problem:
It will failed when you add rhevh from rhevm3.1

Version-Release number of selected component (if applicable):
rhev-hypervisor-advanced-6.4-20130513.0.el6ev
ovirt-node-2.5.0-17.el6_4.4.noarch
rhevm-3.1.0-53.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Clear install RHEV-H.
2. Configure the network.
3. On the RHEV-M page, input password for adding node through RHEV-M.
4. Add rhevh from rhevm3.1.
  
Actual results:
After step4, it will display install failed on rhevm3.1 page.

Expected results:
After step4, rhevh can be added from rhevm3.1 successfully.

Additional info: 
No this issue in rhevm3.2(rhevm-3.2.0-10.26.rc.el6ev.noarch). It only occurs in rhevm3.1.

Comment 2 wanghui 2013-05-15 07:53:15 UTC
No this issue in normal rhev-hypervisor-6.4.z bulid. It only occurs in rhev-hypervisor-advance-6.4 bulid.

Comment 3 Douglas Schilling Landgraf 2013-05-16 21:38:21 UTC
Hi Mike,

This is caused because vdsm-bootstrap/interface-2/setup cannot identify the platform "RedHatEnterpriseVirtualizationHypervisorAdvanced". 

Currently we support:

"RedHatEnterpriseVirtualizationHypervisor" or "RedHatEnterpriseHypervisor".

We have some options, here 3:

1) Make node report as previous (removing advanced stuff) from /etc/rhev-hypervisor-release

2) Add "RedHatEnterpriseVirtualizationHypervisorAdvanced" to HYPERVISOR_PLATFORMS

3) Change lsb_release() to remove "Advanced"

Alon/Mike, any preference? 

Thanks
Douglas

Comment 4 Mike Burns 2013-05-16 23:36:26 UTC
The problem is you're using your own version of lsb_release.  If you run lsb_release from the command line, you get RedHatEnterpriseVirtualizationHypervisor.  

My understanding is that we can't force an upgrade of RHEV-M/vdsm-bootstrap on any system, so the only option here is to change rhev-hypervisor-release which really shouldn't be changed.

Comment 5 Alon Bar-Lev 2013-05-17 05:49:33 UTC
This is partial dup of bug#948758.

As we have legacy (vdsm-bootstrap) and requirement to be backward compatible.

ovirt-host-deploy does not use lsb release but detect node by:
     os.path.exists('/etc/rhev-hypervisor-release') or
     bool(glob.glob('/etc/ovirt-node-*-release'))

But requires valid distribution to be returned by platform module of python.

I truly don't understand why we play with distribution name.

Comment 6 Douglas Schilling Landgraf 2013-05-17 12:11:42 UTC
(In reply to comment #4)
> The problem is you're using your own version of lsb_release.  If you run
> lsb_release from the command line, you get
> RedHatEnterpriseVirtualizationHypervisor.  
> 
> My understanding is that we can't force an upgrade of RHEV-M/vdsm-bootstrap
> on any system, so the only option here is to change rhev-hypervisor-release
> which really shouldn't be changed.

Make sense Mike, moving back to you.

Comment 8 Mike Burns 2013-05-28 11:55:44 UTC
The issue was only relevant with the new name (rhev-hypervisor-advanced) which was abandoned.  Closing this as notabug

Comment 9 wanghui 2013-05-29 09:21:13 UTC
After reverting rhev-hypervisor-advanced to the old name(rhev-hypervisor), the bug does not exist, and it is fixed indirectly by reverting old name.


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