Command ceph --version shows different version than installed

Solution Unverified - Updated -

Issue

Running the command ceph --version shows one version, but running rpm -q ceph shows a different version

# ceph --version
ceph version 12.2.8-128.el7cp (030358773c5213a14c1444a5147258672b2dc15f) luminous (stable)

# rpm -qf /bin/ceph
ceph-common-12.2.4-42.el7.x86_64

# /bin/ceph --version
ceph version 12.2.4-42.el7 (f73642baacccbf2a3c254d1fb5f0317b933b28cf) luminous (stable)

Environment

  • Openstack 13
  • Openstack 14
  • Ceph 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content