Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1522674

Summary: RHV update manager should also look for gluster package updates on the HC host
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: Frontend.WebAdminAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.7.6CC: bugs, lsvaty, mperina, rhs-bugs, sabose, sasundar, sbonazzo
Target Milestone: ovirt-4.2.4Flags: sasundar: ovirt-4.2?
sasundar: planning_ack?
rule-engine: devel_ack+
lsvaty: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1522673 Environment:
Last Closed: 2018-06-26 08:39:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1522673    

Description SATHEESARAN 2017-12-06 08:58:16 UTC
+++ This bug was initially created as a clone of Bug #1522673 +++

Description of problem:
-----------------------
When the host is managed in RHV Manager, the update manager watches for updates for vdsm & vdsm-cli package and indicates the user in RHV UI, whenever the update is available.

This helps to make the user aware of the updates.
But gluster updates are not watched for.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHV 4.1.8

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Install the older nightly build of gluster on HC host ( Older gluster rpms are installed in order to observe that update manager finds the update )
2. Ensure that the latest gluster rpms are made available via repo or through CDN channel
3. Update the update manager check interval to 1 hour
4. After one hour check for status of the hosts in RHV UI

Actual results:
---------------
Host shows only the updates related to vdsm and vdsm-cli

Expected results:
-----------------
Host should also show the updates related to gluster packages

Additional info:
-----------------
Events on the HC host - 
'Host rhsqa-grafton10-nic2.lab.eng.blr.redhat.com has available updates: vdsm,vdsm-cli.'

Comment 1 Sahina Bose 2018-02-05 07:13:34 UTC
Hi Sandro,
In ovirt-host, I see that the dependency on glusterfs packages is excluded intentionally. It would work on oVirt-node and RHV-H, but not on RHEL due to subscription issues.

Can we add the dependency in case of Fedora & CentOS?

thanks!

Comment 2 Sandro Bonazzola 2018-02-20 10:13:05 UTC
(In reply to Sahina Bose from comment #1)
> Hi Sandro,
> In ovirt-host, I see that the dependency on glusterfs packages is excluded
> intentionally. It would work on oVirt-node and RHV-H, but not on RHEL due to
> subscription issues.
> 
> Can we add the dependency in case of Fedora & CentOS?

Why? vdsm-glusterfs already add glusterfs packages and it's installed by ovirt-host-deploy on RHEL, Fedora and CentOS if gluster is enabled when adding hosts

Also, on oVirt 4.2 while upgrading a plain "yum update" is executed so whatever is installed gets updated.

> 
> thanks!

Comment 3 Sahina Bose 2018-02-20 10:57:42 UTC
(In reply to Sandro Bonazzola from comment #2)
> (In reply to Sahina Bose from comment #1)
> > Hi Sandro,
> > In ovirt-host, I see that the dependency on glusterfs packages is excluded
> > intentionally. It would work on oVirt-node and RHV-H, but not on RHEL due to
> > subscription issues.
> > 
> > Can we add the dependency in case of Fedora & CentOS?
> 
> Why? vdsm-glusterfs already add glusterfs packages and it's installed by
> ovirt-host-deploy on RHEL, Fedora and CentOS if gluster is enabled when
> adding hosts

Yes, but during update check, it fails to report when newer gluster rpms are available

> 
> Also, on oVirt 4.2 while upgrading a plain "yum update" is executed so
> whatever is installed gets updated.
> 
> > 
> > thanks!

Comment 4 Sahina Bose 2018-02-23 07:49:09 UTC
If not adding glusterfs-server to ovirt-host, how do we address this bug on checking updates on gluster packages?

Comment 5 Sandro Bonazzola 2018-03-07 10:41:58 UTC
(In reply to Sahina Bose from comment #4)
> If not adding glusterfs-server to ovirt-host, how do we address this bug on
> checking updates on gluster packages?

I may be wrong but I understood that the upgrade manager is now doing a plain "yum update" so if glusterfs is already installed, it should get an update.
Is this correct Martin?

Comment 6 Sandro Bonazzola 2018-03-29 10:42:24 UTC
Postponing to 4.2.3 since 4.2.2 has been released.

Comment 7 Martin Perina 2018-04-09 10:48:56 UTC
(In reply to Sandro Bonazzola from comment #5)
> (In reply to Sahina Bose from comment #4)
> > If not adding glusterfs-server to ovirt-host, how do we address this bug on
> > checking updates on gluster packages?
> 
> I may be wrong but I understood that the upgrade manager is now doing a
> plain "yum update" so if glusterfs is already installed, it should get an
> update.
> Is this correct Martin?

Yes, from 4.2 engine upgrade manager tries to upgrade all available packages (and by default also reboots the host after the upgrade, but use can suppress this reboot)

Comment 8 Sahina Bose 2018-04-23 12:24:57 UTC
Sas, can you check if any change is needed for gluster packages in 4.2?

Comment 9 SATHEESARAN 2018-05-16 10:46:25 UTC
(In reply to Sahina Bose from comment #8)
> Sas, can you check if any change is needed for gluster packages in 4.2?

Yes, this works as expected. Tested with RHV 4.2.3-6 and glusterfs-3.12, the available update packages are found and updated.

Comment 10 Yaniv Kaul 2018-05-31 14:20:40 UTC
(In reply to SATHEESARAN from comment #9)
> (In reply to Sahina Bose from comment #8)
> > Sas, can you check if any change is needed for gluster packages in 4.2?
> 
> Yes, this works as expected. Tested with RHV 4.2.3-6 and glusterfs-3.12, the
> available update packages are found and updated.

Why is it on target milestone 4.2.5, but already VERIFIED?

Comment 11 Sahina Bose 2018-06-15 17:27:16 UTC
(In reply to Yaniv Kaul from comment #10)
> (In reply to SATHEESARAN from comment #9)
> > (In reply to Sahina Bose from comment #8)
> > > Sas, can you check if any change is needed for gluster packages in 4.2?
> > 
> > Yes, this works as expected. Tested with RHV 4.2.3-6 and glusterfs-3.12, the
> > available update packages are found and updated.
> 
> Why is it on target milestone 4.2.5, but already VERIFIED?

There was no code change here, but a verification target. I've reset this to 4.2.4

Comment 12 Sandro Bonazzola 2018-06-26 08:39:44 UTC
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.