Bug 1426902

Summary: [RFE] Make update manager also update rubygem-fluent-plugin-viaq_data_model plugin
Product: [oVirt] ovirt-engine Reporter: Shirly Radco <sradco>
Component: BLL.InfraAssignee: Irit Goihman <igoihman>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: bugs, didi, lsvaty, lveyde, mavital, mgoldboi, mperina, nobody, oourfali, penguin.wrangler, pstehlik, rnori, sbonazzo
Target Milestone: ovirt-4.1.2Keywords: FutureFeature
Target Release: 4.1.2Flags: rule-engine: ovirt-4.1+
mgoldboi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 08:23:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1402901, 1434315    

Description Shirly Radco 2017-02-26 09:00:34 UTC
Description of problem:

Make the update manager also update package fluent-plugin-viaq_data_model plugin  needed for metrics collection.

Comment 1 Lukas Svaty 2017-05-11 10:41:29 UTC
this package is not available in 4.1.2,
it is true the upgrade of hosts tried to upgrades it, however as the package is not availabable the host upgrade fails (package should be tagged)
fresh installation of new hosts is working as vdsm is not dependant on this package (should be)

Comment 2 Red Hat Bugzilla Rules Engine 2017-05-11 10:41:36 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Irit Goihman 2017-05-11 10:53:47 UTC
Thanks for reporting it. When I checked it the package was available.
Sandro, could you check this issue?

Comment 4 Sandro Bonazzola 2017-05-11 10:58:38 UTC
The package is available in RHV with RHEA-2017:1075.
It's available in CentOS from OpsTools SIG repo, see build http://cbs.centos.org/koji/buildinfo?buildID=16434

Moving back to QE

Comment 5 Lukas Svaty 2017-05-11 14:29:13 UTC
rubygem-fluent-plugin-viaq_data_model-0.0.3-1.el7.noarch : Filter plugin to ensure data is in the ViaQ
                                                         : common data model
Repo        : rhv-4.1.2

Comment 6 Jillian Morgan 2017-05-24 18:15:32 UTC
The engine upgrade to 4.1.2 has broken update checking on all F24 hosts.

The "rubygem-fluent-plugin-viaq_data_model" package is not available in Fedora 24 standard repos nor the ovirt-4.1-dependencies set of repos.

Even manually updating to ovirt-release41-4.1.2-1.fc24.noarch on the host has not enabled any repo from which to retrieve the package.

Please fix, and in the interim, please identify a suitable repository to add to the F24 hosts from which the package can be installed.

---8<---
2017-05-24 11:57:22 ERROR otopi.plugins.ovirt_host_mgmt.packages.update update.error:102 Yum: Cannot queue package rubygem-fluent-plugin-viaq_data_model: Package rubygem-fluent-plugin-viaq_data_model cannot be found
2017-05-24 11:57:22 INFO otopi.plugins.ovirt_host_mgmt.packages.update update.info:98 Yum: Performing yum transaction rollback
2017-05-24 11:57:22 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-Oi6UQnrdaB/pythonlib/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/tmp/ovirt-Oi6UQnrdaB/otopi-plugins/ovirt-host-mgmt/packages/update.py", line 110, in _packagesCheck
    packages=self.environment[omgmt.PackagesEnv.PACKAGES],
  File "/tmp/ovirt-Oi6UQnrdaB/pythonlib/otopi/miniyum.py", line 851, in install
    **kwargs
  File "/tmp/ovirt-Oi6UQnrdaB/pythonlib/otopi/miniyum.py", line 500, in _queue
    package=package,
RuntimeError: Package rubygem-fluent-plugin-viaq_data_model cannot be found
2017-05-24 11:57:22 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Package installation': Package rubygem-fluent-plugin-viaq_data_model cannot be found
---8<---

Comment 7 Yedidyah Bar David 2017-05-24 18:36:49 UTC
(In reply to Ian Morgan from comment #6)
> The engine upgrade to 4.1.2 has broken update checking on all F24 hosts.
> 
> The "rubygem-fluent-plugin-viaq_data_model" package is not available in
> Fedora 24 standard repos nor the ovirt-4.1-dependencies set of repos.

I know, I am currently working on this (for a related bug 1426905).

I agree this bug should not have been "fixed" without the package available. I guess it was verified on CentOS and this seemed enough.