Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1440111 - cannot add RHGS 3.1.3 and 3.2 nodes to RHV-Manager 4.1
cannot add RHGS 3.1.3 and 3.2 nodes to RHV-Manager 4.1
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-host-deploy (Show other bugs)
4.1.0
Unspecified Unspecified
high Severity high
: ovirt-4.2.0
: 4.2.0
Assigned To: Yedidyah Bar David
SATHEESARAN
: Reopened, TestOnly, ZStream
Depends On: 1443508
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-07 06:14 EDT by RamaKasturi
Modified: 2018-05-15 13:56 EDT (History)
16 users (show)

See Also:
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.
Story Points: ---
Clone Of:
: 1448370 (view as bug list)
Environment:
Last Closed: 2018-05-15 13:55:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1512 None None None 2018-05-15 13:56 EDT

  None (edit)
Description RamaKasturi 2017-04-07 06:14:48 EDT
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 06:17:23 EDT
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 06:25:05 EDT
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 07:04:02 EDT
(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 09:19:32 EDT
Does it happen with 3.2?
Comment 5 RamaKasturi 2017-04-07 09:35:05 EDT
(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-07 23:25:41 EDT
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 01:44:25 EDT
(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 08:21:40 EDT
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 08:22:11 EDT
Alok?
Comment 10 Yaniv Kaul 2017-04-20 08:22:57 EDT
(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 10:01:55 EDT
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 10:12:24 EDT
Closing as duplicate of bug #1443508

*** This bug has been marked as a duplicate of bug 1443508 ***
Comment 13 RamaKasturi 2017-05-02 12:50:06 EDT
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 02:35:30 EDT
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 02:38:26 EDT
(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 14:00:57 EDT
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 13:55:52 EDT
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

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