Bug 826836
Summary: | Error reading info on glusterfsd service while removing 'Gluster File System' group via yum | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sachin Ghai <sghai> |
Component: | build | Assignee: | Milind Changire <mchangir> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rhgs-3.0 | CC: | annair, barumuga, dpati, gluster-bugs, kkeithle, mzywusko, ndevos, pprakash, rcyriac, rhs-bugs, sgraf, vagarwal |
Target Milestone: | --- | ||
Target Release: | RHGS 3.1.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.0-3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-29 04:27:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1117272, 1202842 |
Description
Sachin Ghai
2012-05-31 06:12:29 UTC
The same issue is reproducible with nightly buid (qa44): [root@dhcp201-208 yum.repos.d]# yum groupremove 'Gluster File System' Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, : keys, list-data, merge-conf, priorities, product-id, : protectbase, security, subscription-manager, tmprepo, tsflags, : upgrade-helper, verify, versionlock Updating certificate-based repositories. Setting up Group Process Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package glusterfs.x86_64 0:3.3.0qa44-1.el6 will be erased ---> Package glusterfs-fuse.x86_64 0:3.3.0qa44-1.el6 will be erased ---> Package glusterfs-geo-replication.x86_64 0:3.3.0qa44-1.el6 will be erased ---> Package glusterfs-rdma.x86_64 0:3.3.0qa44-1.el6 will be erased ---> Package glusterfs-server.x86_64 0:3.3.0qa44-1.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: glusterfs x86_64 3.3.0qa44-1.el6 @rhs20 6.3 M glusterfs-fuse x86_64 3.3.0qa44-1.el6 @rhs20 161 k glusterfs-geo-replication x86_64 3.3.0qa44-1.el6 @rhs20 427 k glusterfs-rdma x86_64 3.3.0qa44-1.el6 @rhs20 85 k glusterfs-server x86_64 3.3.0qa44-1.el6 @rhs20 1.6 M Transaction Summary ================================================================================ Remove 5 Package(s) Installed size: 8.6 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Erasing : glusterfs-server-3.3.0qa44-1.el6.x86_64 1/5 error reading information on service glusterfsd: No such file or directory Erasing : glusterfs-fuse-3.3.0qa44-1.el6.x86_64 2/5 Erasing : glusterfs-geo-replication-3.3.0qa44-1.el6.x86_64 3/5 Erasing : glusterfs-rdma-3.3.0qa44-1.el6.x86_64 4/5 Erasing : glusterfs-3.3.0qa44-1.el6.x86_64 5/5 0 packages excluded due to repository protections Installed products updated. Removed: glusterfs.x86_64 0:3.3.0qa44-1.el6 glusterfs-fuse.x86_64 0:3.3.0qa44-1.el6 glusterfs-geo-replication.x86_64 0:3.3.0qa44-1.el6 glusterfs-rdma.x86_64 0:3.3.0qa44-1.el6 glusterfs-server.x86_64 0:3.3.0qa44-1.el6 Complete! The glusterfs packages on RHS do not provide a /etc/init.d/glusterfsd service. Still, the glusterfs-server %preun scriptlet contains: if [ $1 -eq 0 ]; then /sbin/service glusterfsd stop &>/dev/null || : /sbin/chkconfig --del glusterfsd fi if [ $1 -ge 1 ]; then /sbin/service glusterfsd condrestart &>/dev/null || : fi It needs some extra checks to see if /etc/init.d/glusterfsd is available, or the glusterfsd service needs to be included in the glusterfs-server package. *** Bug 1108021 has been marked as a duplicate of this bug. *** *** Bug 1118771 has been marked as a duplicate of this bug. *** The spec file has fix like below ie glusterfsd service is stopped if its available %preun server if [ $1 -eq 0 ]; then if [ -f %_init_glusterfsd ]; then %_init_stop glusterfsd fi %_init_stop glusterd if [ -f %_init_glusterfsd ]; then %_init_disable glusterfsd fi %_init_disable glusterd fi if [ $1 -ge 1 ]; then if [ -f %_init_glusterfsd ]; then %_init_restart glusterfsd fi %_init_restart glusterd fi Verified as fixed. There is no error message seen now with glusterfs-server package install/remove. 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://rhn.redhat.com/errata/RHSA-2015-1495.html This looks like this was fixed in the rebase to 3.7.9 for RHGS 3.1.3. Already closed, clearing the needinfo |