Bug 1440111 - cannot add RHGS 3.1.3 and 3.2 nodes to RHV-Manager 4.1
Summary: cannot add RHGS 3.1.3 and 3.2 nodes to RHV-Manager 4.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-host-deploy
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Yedidyah Bar David
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1443508
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-07 10:14 UTC by RamaKasturi
Modified: 2019-05-16 13:05 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Previously, ovirt-host-deploy failed if the collectd/fluentd packages and their plug-ins were not available. In this release, if these packages are missing ovirt-host-deploy emits a warning but does not fail.
Clone Of:
: 1448370 (view as bug list)
Environment:
Last Closed: 2018-05-15 17:55:52 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1512 0 None None None 2018-05-15 17:56:09 UTC

Description RamaKasturi 2017-04-07 10:14:48 UTC
Description of problem:
adding RHGS 3.1.3 and 3.2 nodes to RHV-Manager 4.1 throws an error ""Failed to install Host Host1. Failed to execute stage 'Package installation': Package collectd cannot be found."

Version-Release number of selected component (if applicable):
"Failed to install Host Host1. Failed to execute stage 'Package installation': Package collectd cannot be found."

How reproducible:
Always

Steps to Reproduce:
1. Install RHEV-Manager 4.1
2. Create a dc and cluster with compatibility version 3.6
3. Now try adding RHGS 3.1.3 node and RHGS 3.1.2 node

Actual results:
Addition of both fails with error "Failed to install Host Host1. Failed to execute stage 'Package installation': Package collectd cannot be found."

Expected results:
3.1.3 and 3.1.2 nodes should be added successfully.

Additional info:

2017-04-07 05:59:54 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:76 Yum queue package collectd for install/update
2017-04-07 05:59:54 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Cannot queue package collectd: Package collectd cannot be found
2017-04-07 05:59:54 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-Y71upa1y6R/pythonlib/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/tmp/ovirt-Y71upa1y6R/otopi-plugins/ovirt-host-deploy/collectd/packages.py", line 53, in _packages
    'collectd-write_http',
  File "/tmp/ovirt-Y71upa1y6R/otopi-plugins/otopi/packagers/yumpackager.py", line 307, in installUpdate
    ignoreErrors=ignoreErrors
  File "/tmp/ovirt-Y71upa1y6R/pythonlib/otopi/miniyum.py", line 883, in installUpdate
    **kwargs
  File "/tmp/ovirt-Y71upa1y6R/pythonlib/otopi/miniyum.py", line 500, in _queue
    package=package,
RuntimeError: Package collectd cannot be found

Comment 1 RamaKasturi 2017-04-07 10:17:23 UTC
ovirt-host-deploy log can be found in the link below:
=======================================================

http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/1440111/

Comment 2 Sahina Bose 2017-04-07 10:25:05 UTC
Is collectd a required package? Is there a way to not require collectd for RHGS  nodes as no metrics are collected from gluster?

Comment 3 Sandro Bonazzola 2017-04-07 11:04:02 UTC
(In reply to Sahina Bose from comment #2)
> Is collectd a required package?

yes

> Is there a way to not require collectd for
> RHGS  nodes as no metrics are collected from gluster?

No, nothing I'm aware of.
Redirecting to Shirly for metrics team evaluation.

Comment 4 Yaniv Kaul 2017-04-07 13:19:32 UTC
Does it happen with 3.2?

Comment 5 RamaKasturi 2017-04-07 13:35:05 UTC
(In reply to Yaniv Kaul from comment #4)
> Does it happen with 3.2?

By 3.2 did you mean RHGS 3.2 ? If yes, it does happen.

Comment 6 Sahina Bose 2017-04-08 03:25:41 UTC
Are older nodes expected to have collectd packages when adding to a 3.6 cluster? 
This seems to break backward compatibility?

Comment 7 Yaniv Kaul 2017-04-08 05:44:25 UTC
(In reply to Sahina Bose from comment #6)
> Are older nodes expected to have collectd packages when adding to a 3.6
> cluster? 

No. 
> This seems to break backward compatibility?

BTW, I'm quite sure you cannot add old nodes to RHV as well.

Comment 8 Sahina Bose 2017-04-20 12:21:40 UTC
What's the final decision on this?
- Are we making the collectd packages optional when being added to 3.6 cluster?
- Adding collectd packages in RHGS optional

Comment 9 Sahina Bose 2017-04-20 12:22:11 UTC
Alok?

Comment 10 Yaniv Kaul 2017-04-20 12:22:57 UTC
(In reply to Sahina Bose from comment #8)
> What's the final decision on this?
> - Are we making the collectd packages optional when being added to 3.6
> cluster?
> - Adding collectd packages in RHGS optional

We are looking to see what's the complexity of being flexible, per cluster version, of adding or not the collectd. This is tracked in a different bug - need to find it.

Comment 11 Yedidyah Bar David 2017-04-25 14:01:55 UTC
Seems like we decided to fix the missing packages issue, see bug 1443508. Can we close current as duplicate?

Comment 12 Sandro Bonazzola 2017-05-02 14:12:24 UTC
Closing as duplicate of bug #1443508

*** This bug has been marked as a duplicate of bug 1443508 ***

Comment 13 RamaKasturi 2017-05-02 16:50:06 UTC
Hi sandro,


   I understand that bug fix might be same for both the bugs  bug #1443508
 and 1440111. But i would still like to keep this bug open as this needs to be tested and verified. Can we reopen this bug or would some one who is verifying the bug #1443508 will cover this flow as well? can you please clarify?

Thanks
kasturi

Comment 14 Yedidyah Bar David 2017-05-03 06:35:30 UTC
I personally think they are the same bug. You can add a comment there asking QE to verify it also with/for RHGS. I don't mind also reopening current, moving it to MODIFIED and set it to depend on 1443508, if you think that's better.

Comment 15 RamaKasturi 2017-05-03 06:38:26 UTC
(In reply to Yedidyah Bar David from comment #14)
> I personally think they are the same bug. You can add a comment there asking
> QE to verify it also with/for RHGS. I don't mind also reopening current,
> moving it to MODIFIED and set it to depend on 1443508, if you think that's
> better.

second options looks good to me.

Comment 17 SATHEESARAN 2018-05-06 18:00:57 UTC
With the latest ovirt-host package made available for RHGS el7 based systems, the RHGS servers could be added 4.1 compatibility cluster and managed

Comment 20 errata-xmlrpc 2018-05-15 17:55:52 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/RHEA-2018:1512

Comment 21 Franta Kust 2019-05-16 13:05:32 UTC
BZ<2>Jira Resync


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