Bug 1448370 - [downstream clone - 4.1.2] cannot add RHGS 3.1.3 and 3.2 nodes to RHV-Manager 4.1
Summary: [downstream clone - 4.1.2] cannot add RHGS 3.1.3 and 3.2 nodes to RHV-Manager...
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.1.2
: ---
Assignee: Yedidyah Bar David
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On: 1443508
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-05 10:01 UTC by rhev-integ
Modified: 2019-04-28 13:58 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Previously, Red Hat Gluster Storage 3.1.3 and 3.2 nodes could not be added to the Manager if collectd or fluentd packages and their plugins were not available. This has now been fixed by enabling Red Hat Gluster Storage nodes to be added and displaying a warning about the missing packages.
Clone Of: 1440111
Environment:
Last Closed: 2017-05-24 11:27:06 UTC
oVirt Team: Gluster
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Attaching screenshot for the failed events which is being displayed in the events tab (233.35 KB, image/png)
2017-05-11 12:58 UTC, RamaKasturi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1289 0 normal SHIPPED_LIVE ovirt-host-deploy bug fix update for RHV 4.1.2 2017-05-24 15:20:00 UTC

Description rhev-integ 2017-05-05 10:01:32 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1440111 +++
======================================================================

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

(Originally by Kasturi Narra)

Comment 1 rhev-integ 2017-05-05 10:01:42 UTC
ovirt-host-deploy log can be found in the link below:
=======================================================

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

(Originally by Kasturi Narra)

Comment 3 rhev-integ 2017-05-05 10:01:48 UTC
Is collectd a required package? Is there a way to not require collectd for RHGS  nodes as no metrics are collected from gluster?

(Originally by Sahina Bose)

Comment 4 rhev-integ 2017-05-05 10:01:55 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.

(Originally by Sandro Bonazzola)

Comment 5 rhev-integ 2017-05-05 10:02:02 UTC
Does it happen with 3.2?

(Originally by Yaniv Kaul)

Comment 6 rhev-integ 2017-05-05 10:02:08 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.

(Originally by Kasturi Narra)

Comment 7 rhev-integ 2017-05-05 10:02:14 UTC
Are older nodes expected to have collectd packages when adding to a 3.6 cluster? 
This seems to break backward compatibility?

(Originally by Sahina Bose)

Comment 8 rhev-integ 2017-05-05 10:02:20 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.

(Originally by Yaniv Kaul)

Comment 9 rhev-integ 2017-05-05 10:02:25 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

(Originally by Sahina Bose)

Comment 10 rhev-integ 2017-05-05 10:02:30 UTC
Alok?

(Originally by Sahina Bose)

Comment 11 rhev-integ 2017-05-05 10:02:36 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.

(Originally by Yaniv Kaul)

Comment 12 rhev-integ 2017-05-05 10:02:43 UTC
Seems like we decided to fix the missing packages issue, see bug 1443508. Can we close current as duplicate?

(Originally by didi)

Comment 13 rhev-integ 2017-05-05 10:02:49 UTC
Closing as duplicate of bug #1443508

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

(Originally by Sandro Bonazzola)

Comment 14 rhev-integ 2017-05-05 10:02:55 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

(Originally by Kasturi Narra)

Comment 15 rhev-integ 2017-05-05 10:03:01 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.

(Originally by didi)

Comment 16 rhev-integ 2017-05-05 10:03:07 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.

(Originally by Kasturi Narra)

Comment 17 RamaKasturi 2017-05-11 12:58:10 UTC
Created attachment 1277884 [details]
Attaching screenshot for the failed events which is being displayed in the events tab

Comment 18 RamaKasturi 2017-05-11 12:59:02 UTC
Verified and works fine with ovirt-host-deploy version ovirt-host-deploy-1.6.4-1.el7ev.noarch,ovirt-host-deploy-java-1.6.4-1.el7ev.noarch and Red Hat Virtualization Manager Version: 4.1.2.1-0.1.el7

1) Installed RHV-M 4.1.2
2) Created a DC and cluster of compatibility version 3.6
3) Created a 3.2 RHGS node.
4) Added this to the cluster in RHV-M 4.1.2

Node will be added successfully but there will be error messages in events tab:

1) "Host Host1 installation in progress . Failed to install fluentd packages: Package fluentd cannot be found."
2) "Failed to install Host Host1. Yum Cannot queue package fluentd: Package fluentd cannot be found." 
3) "Host Host1 installation in progress . Failed to install collectd packages: Package collectd cannot be found." 
4) "Failed to install Host Host1. Yum Cannot queue package collectd: Package collectd cannot be found."

Attaching the screenshot for the same.

Comment 19 Yedidyah Bar David 2017-05-11 13:20:19 UTC
(In reply to RamaKasturi from comment #18)
> Verified and works fine with ovirt-host-deploy version
> ovirt-host-deploy-1.6.4-1.el7ev.noarch,ovirt-host-deploy-java-1.6.4-1.el7ev.
> noarch and Red Hat Virtualization Manager Version: 4.1.2.1-0.1.el7
> 
> 1) Installed RHV-M 4.1.2
> 2) Created a DC and cluster of compatibility version 3.6
> 3) Created a 3.2 RHGS node.
> 4) Added this to the cluster in RHV-M 4.1.2
> 
> Node will be added successfully but there will be error messages in events
> tab:
> 
> 1) "Host Host1 installation in progress . Failed to install fluentd
> packages: Package fluentd cannot be found."
> 2) "Failed to install Host Host1. Yum Cannot queue package fluentd: Package
> fluentd cannot be found." 
> 3) "Host Host1 installation in progress . Failed to install collectd
> packages: Package collectd cannot be found." 
> 4) "Failed to install Host Host1. Yum Cannot queue package collectd: Package
> collectd cannot be found."
> 
> Attaching the screenshot for the same.

Please test again once bug 1443508 moves again to QE. Thanks.

Comment 20 RamaKasturi 2017-05-11 13:22:04 UTC
(In reply to Yedidyah Bar David from comment #19)
> (In reply to RamaKasturi from comment #18)
> > Verified and works fine with ovirt-host-deploy version
> > ovirt-host-deploy-1.6.4-1.el7ev.noarch,ovirt-host-deploy-java-1.6.4-1.el7ev.
> > noarch and Red Hat Virtualization Manager Version: 4.1.2.1-0.1.el7
> > 
> > 1) Installed RHV-M 4.1.2
> > 2) Created a DC and cluster of compatibility version 3.6
> > 3) Created a 3.2 RHGS node.
> > 4) Added this to the cluster in RHV-M 4.1.2
> > 
> > Node will be added successfully but there will be error messages in events
> > tab:
> > 
> > 1) "Host Host1 installation in progress . Failed to install fluentd
> > packages: Package fluentd cannot be found."
> > 2) "Failed to install Host Host1. Yum Cannot queue package fluentd: Package
> > fluentd cannot be found." 
> > 3) "Host Host1 installation in progress . Failed to install collectd
> > packages: Package collectd cannot be found." 
> > 4) "Failed to install Host Host1. Yum Cannot queue package collectd: Package
> > collectd cannot be found."
> > 
> > Attaching the screenshot for the same.
> 
> Please test again once bug 1443508 moves again to QE. Thanks.

This bug was on on_qa because of which i have tested and moved to verified state. Sandro has moved it to ON_QA

Sandro Bonazzola 2017-05-05 06:04:28 EDT
Keywords: Reopened
Status: MODIFIED → ON_QA

Comment 21 Yedidyah Bar David 2017-05-11 13:29:46 UTC
(In reply to RamaKasturi from comment #20)
> This bug was on on_qa because of which i have tested and moved to verified
> state. Sandro has moved it to ON_QA
> 
> Sandro Bonazzola 2017-05-05 06:04:28 EDT
> Keywords: Reopened
> Status: MODIFIED → ON_QA

I didn't say you did anything wrong.

bug 1443508 was moved to qe and so was this one. Then qe noted your above problem, and we decide to fix, so moved back, added the fix, and now it's in modified. Will soon move to qe, then you can test current again.

Comment 23 RamaKasturi 2017-05-16 09:48:34 UTC
Verified and works fine with build Red Hat Virtualization Manager Version: 4.1.2.2-0.1.el7.

Created a new DC and cluster with compatibility version of 3.6 and added RHGS 3.2 node. Installation was successful, but there are some warnings present in the event tab which says "Host host1 installation in progress . Failed to install collectd packages.Please check the log for details." and "Host host1 installation in progress . Failed to install fluentd packages.Please check the log for details."

Comment 24 RamaKasturi 2017-05-16 09:50:29 UTC
OVirt-host-deploy version : ovirt-host-deploy-1.6.5-1.el7ev.noarch
ovirt-host-deploy-java-1.6.5-1.el7ev.noarch

Comment 26 errata-xmlrpc 2017-05-24 11:27:06 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-2017:1289


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