Project

General

Profile

Actions

Bug #15872

closed

Removing ceph packages should remove 'ceph' user and 'ceph' group as well

Added by Vasu Kulkarni almost 8 years ago. Updated 19 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

100%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

1) Install ceph and Uninstall ( hammer 0.94.4 + )
2) User 'ceph' and group 'ceph' created by init still exist
This may create issues for some distro

  Verifying  : 1:ceph-common-10.2.0-498.g5f27957.el7.x86_64                                                                                                            11/15 
  Verifying  : 1:librbd1-10.2.0-498.g5f27957.el7.x86_64                                                                                                                12/15 
  Verifying  : 1:ceph-10.2.0-498.g5f27957.el7.x86_64                                                                                                                   13/15 
  Verifying  : 1:ceph-mds-10.2.0-498.g5f27957.el7.x86_64                                                                                                               14/15 
  Verifying  : 1:ceph-osd-10.2.0-498.g5f27957.el7.x86_64                                                                                                               15/15 

Removed:
  ceph.x86_64 1:10.2.0-498.g5f27957.el7                   ceph-common.x86_64 1:10.2.0-498.g5f27957.el7               ceph-mon.x86_64 1:10.2.0-498.g5f27957.el7              
  ceph-osd.x86_64 1:10.2.0-498.g5f27957.el7               librados2.x86_64 1:10.2.0-498.g5f27957.el7                 librbd1.x86_64 1:10.2.0-498.g5f27957.el7               

Dependency Removed:
  ceph-base.x86_64 1:10.2.0-498.g5f27957.el7              ceph-mds.x86_64 1:10.2.0-498.g5f27957.el7                  ceph-radosgw.x86_64 1:10.2.0-498.g5f27957.el7         
  ceph-selinux.x86_64 1:10.2.0-498.g5f27957.el7           libradosstriper1.x86_64 1:10.2.0-498.g5f27957.el7          librgw2.x86_64 1:10.2.0-498.g5f27957.el7              
  python-cephfs.x86_64 1:10.2.0-498.g5f27957.el7          python-rados.x86_64 1:10.2.0-498.g5f27957.el7              python-rbd.x86_64 1:10.2.0-498.g5f27957.el7           

Complete!
[ubuntu@mira078 ~]$ groups ceph
ceph : ceph

Actions #1

Updated by Nathan Cutler almost 8 years ago

  • Project changed from Ceph to devops
Actions #2

Updated by Nathan Cutler almost 8 years ago

( hammer 0.94.4 + )

I think the creation of ceph user/group was added in Infernalis (9.1.0) by https://github.com/ceph/ceph/commit/2d4f3a919 and https://github.com/ceph/ceph/commit/71a0a029f8839b69470f9d1f082ec837b34a3dd4

Actions #3

Updated by Ken Dreyer over 7 years ago

On RHEL/CentOS/Fedora, the ceph UID is hard-coded as a static UID, see https://bugzilla.redhat.com/1220846 , so we don't want to remove that UID on those OSes.

Actions #4

Updated by Caleb Boylan almost 7 years ago

I'm interested in fixing this and am working on a patch.

Actions #6

Updated by Nathan Cutler almost 7 years ago

  • Status changed from New to Fix Under Review
Actions #7

Updated by Konstantin Shalygin 19 days ago

  • Status changed from Fix Under Review to Resolved
  • % Done changed from 0 to 100
  • Pull request ID set to 15118
Actions

Also available in: Atom PDF