Bug 1322774 - <Ceph-Ansible>While Installing Mon on a ceph Node using Ansible, all other packages are getting Installed
Summary: <Ceph-Ansible>While Installing Mon on a ceph Node using Ansible, all other pa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: ceph-installer
Version: 2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 2
Assignee: Ali Maredia
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
: 1324229 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-31 10:21 UTC by Tanay Ganguly
Modified: 2016-09-20 01:51 UTC (History)
11 users (show)

Fixed In Version: ceph-ansible-1.0.5-5.el7scon
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-23 19:48:52 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1324229 0 unspecified CLOSED [ceph-ansible] : ceph-ansible also installs OSD packages on MON node and MON package on OSD node 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2016:1754 0 normal SHIPPED_LIVE New packages: Red Hat Storage Console 2.0 2017-04-18 19:09:06 UTC

Internal Links: 1324229

Description Tanay Ganguly 2016-03-31 10:21:09 UTC
Description of problem:
While Installing Mon on a ceph Node using Ansible, all other packages are getting Installed

rpm -qa |grep ceph
ceph-osd-10.0.4-2.el7cp.x86_64
ceph-ansible-1.0.3-1.el7.noarch
python-cephfs-10.0.4-2.el7cp.x86_64
ceph-common-10.0.4-2.el7cp.x86_64
ceph-base-10.0.4-2.el7cp.x86_64
ceph-mds-10.0.4-2.el7cp.x86_64
ceph-10.0.4-2.el7cp.x86_64
libcephfs1-10.0.4-2.el7cp.x86_64
ceph-selinux-10.0.4-2.el7cp.x86_64
ceph-mon-10.0.4-2.el7cp.x86_64


Version-Release number of selected component (if applicable):
ceph -v
ceph version 10.0.4-2.el7cp (61adb020219fbad4508050b5f0a792246ba74dae)

How reproducible:
Always

Steps to Reproduce:
1.Running ceph-ansible installation command i am seeing all the other packages are also getting installed.
e.g. MDS, OSD..

Command:
ansible-playbook site.yml -vv -i /etc/ansible/hosts --extra-vars '{"ceph_stable": true, "ceph_origin": "distro", "ceph_stable_rh_storage": true, "monitor_interface": "em3", "journal_collocation": true, "devices": ["/dev/sdi", "/dev/sdh"], "journal_size": 10000, "public_network": "10.70.44.0/22"}' -u roo

Actual results:
All packages are getting installed

Expected results:
In Mon node, other packages should not get installed

Additional info:

[mons]
10.70.44.40

[osds]
10.70.44.42
10.70.44.44
10.70.44.46

Comment 2 Alfredo Deza 2016-03-31 14:53:21 UTC
This is certainly not something we have seen before. You will need to investigate a bit more where these packages are coming from (what repo, from what repo file configuration etc...)

Comment 3 Ken Dreyer (Red Hat) 2016-04-21 22:23:38 UTC
If ceph-ansible runs "yum install ceph" anywhere, then that could be the cause. The "ceph" package is a now a meta-package that will pull in all other packages.

This is not causing yum errors in testing *yet* because we are not using errata-type puddles, so the ceph-10.0.4-2.el7cp.x86_64 RPM is still present in the puddle repositories. When we switch to delivering errata-type puddles, "yum install ceph" is going to fail.

Comment 5 Christina Meno 2016-04-25 21:41:01 UTC
*** Bug 1324229 has been marked as a duplicate of this bug. ***

Comment 6 Tejas 2016-04-26 07:48:52 UTC
@Alfredo,@Ken
We enable the CEPH.repo on both mons and osd nodes, and like Ken mentioned the ceph ansible installs  ceph package on all nodes.
So could we differentiate if either a mon or osd is being installed, and install the necessary packages only.

Thanks,
Tejas

Comment 16 Tejas 2016-06-14 10:30:26 UTC
Verified on an ubuntu cluster:

Moving to verified state

ceph version 10.2.1-8redhat1xenial (0abd18aa5da0dde0f01404d8ac10876cb3691bb3)
ceph-ansible-1.0.5-19.el7scon.noarch

root@magna009:~# dpkg -l | grep ceph
ii  ceph-base                            10.2.1-8redhat1xenial                    amd64        common ceph daemon libraries and management tools
ii  ceph-common                          10.2.1-8redhat1xenial                    amd64        common utilities to mount and interact with a ceph storage cluster
ii  ceph-fs-common                       10.2.1-8redhat1xenial                    amd64        common utilities to mount and interact with a ceph file system
ii  ceph-fuse                            10.2.1-8redhat1xenial                    amd64        FUSE-based client for the Ceph distributed file system
ii  ceph-mds                             10.2.1-8redhat1xenial                    amd64        metadata server for the ceph distributed file system
ii  ceph-mon                             10.2.1-8redhat1xenial                    amd64        monitor server for the ceph storage system
ii  libcephfs1                           10.2.1-8redhat1xenial                    amd64        Ceph distributed file system client library
ii  python-cephfs                        10.2.1-8redhat1xenial                    amd64        Python libraries for the Ceph libcephfs library
root@magna009:~# 


root@magna031:~# dpkg -l | grep ceph
ii  ceph-base                            10.2.1-8redhat1xenial                    amd64        common ceph daemon libraries and management tools
ii  ceph-common                          10.2.1-8redhat1xenial                    amd64        common utilities to mount and interact with a ceph storage cluster
ii  ceph-fs-common                       10.2.1-8redhat1xenial                    amd64        common utilities to mount and interact with a ceph file system
ii  ceph-fuse                            10.2.1-8redhat1xenial                    amd64        FUSE-based client for the Ceph distributed file system
ii  ceph-mds                             10.2.1-8redhat1xenial                    amd64        metadata server for the ceph distributed file system
ii  ceph-osd                             10.2.1-8redhat1xenial                    amd64        OSD server for the ceph storage system
ii  libcephfs1                           10.2.1-8redhat1xenial                    amd64        Ceph distributed file system client library
ii  python-cephfs                        10.2.1-8redhat1xenial                    amd64        Python libraries for the Ceph libcephfs library
root@magna031:~#

Comment 18 errata-xmlrpc 2016-08-23 19:48:52 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/RHEA-2016:1754


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