Ceph version issue in ubuntu

Bug #1793667 reported by wangwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Unassigned
Rocky
Fix Released
Medium
Unassigned
Stein
Fix Released
Medium
Unassigned

Bug Description

In the master branch, the version of ceph is luminous, but in the ubuntu image that is built, the version of ceph is mimic.

```
(ceph-mon)[root@dev-ceph001-ncl /]# ceph version
ceph version 13.2.1 (5533ecdc0fda920179d7ad84e0aa65a127b20d77) mimic (stable)
```

The root cause is that the latest ceph version in the apt source is the mimic version.

```
(ceph-mon)[root@dev-ceph001-ncl /]# apt-cache showpkg ceph
Package: ceph
Versions:
13.2.1+dfsg1-0ubuntu2~cloud0 (/var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_bionic-updates_rocky_main_binary-amd64_Packages.lz4) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
 Description Language:
                 File: /var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_bionic-updates_rocky_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b

12.2.4-0ubuntu1.1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages.lz4)
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
 Description Language:
                 File: /var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_bionic-updates_rocky_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b

12.2.4-0ubuntu1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages.lz4)
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
 Description Language:
                 File: /var/lib/apt/lists/ubuntu-cloud.archive.canonical.com_ubuntu_dists_bionic-updates_rocky_main_binary-amd64_Packages.lz4
                  MD5: 744df4d020b57452ac4638e56eff9c7b
```

So to install the luminous version we need to specify the version of all related packages of ceph.

```
apt-get install ceph=12.2.4-0ubuntu1 ceph-mgr=12.2.4-0ubuntu1 ceph-mon=12.2.4-0ubuntu1 ceph-osd=12.2.4-0ubuntu1 ceph-base=12.2.4-0ubuntu1 ceph-common=12.2.4-0ubuntu1 librbd1=12.2.4-0ubuntu1 python-cephfs=12.2.4-0ubuntu1 python-rados=12.2.4-0ubuntu1 python-rbd=12.2.4-0ubuntu1 libcephfs2=12.2.4-0ubuntu1 librados2=12.2.4-0ubuntu1 libradosstriper1=12.2.4-0ubuntu1 radosgw=12.2.4-0ubuntu1 librgw2=12.2.4-0ubuntu1
```

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/604288
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=78001f06a79d3bdd52fb7e2702fa4f124b453343
Submitter: Zuul
Branch: master

commit 78001f06a79d3bdd52fb7e2702fa4f124b453343
Author: wangwei <email address hidden>
Date: Fri Sep 21 16:36:53 2018 +0900

    Fix ceph version in ubuntu

    The ceph version supported by kolla is now luminous, but the latest
    ceph version of ubuntu's apt source is mimic, so there will be
    problems with ceph deployment.
    This patch solves this problem by specifying the version of the ceph
    package installed.

    Change-Id: Ibea3498589b6c3c1512e558919c6ea00c95686cb
    Closes-bug: #1793667

Changed in kolla:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/604369

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/rocky)

Reviewed: https://review.openstack.org/604369
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=02856c9d8483c549619a8e6c16bb7ad5a5001c5d
Submitter: Zuul
Branch: stable/rocky

commit 02856c9d8483c549619a8e6c16bb7ad5a5001c5d
Author: wangwei <email address hidden>
Date: Fri Sep 21 16:36:53 2018 +0900

    Fix ceph version in ubuntu

    The ceph version supported by kolla is now luminous, but the latest
    ceph version of ubuntu's apt source is mimic, so there will be
    problems with ceph deployment.
    This patch solves this problem by specifying the version of the ceph
    package installed.

    Change-Id: Ibea3498589b6c3c1512e558919c6ea00c95686cb
    Closes-bug: #1793667
    (cherry picked from commit 78001f06a79d3bdd52fb7e2702fa4f124b453343)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.0.0.0rc2

This issue was fixed in the openstack/kolla 7.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 8.0.0.0b1

This issue was fixed in the openstack/kolla 8.0.0.0b1 development milestone.

Mark Goddard (mgoddard)
Changed in kolla:
importance: Undecided → Medium
Mark Goddard (mgoddard)
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.