Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.

Bug 1525612

Summary: Upgrade of Ceph from OSP11 with non colocated disks fails
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Giulio Fidente <gfidente>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: adeza, agunn, aschoen, ceph-eng-bugs, ceph-qe-bugs, gfidente, gmeno, hnallurv, johfulto, kdreyer, nthomas, sankarshan, sclewis
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: 2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.16-1.el7cp Ubuntu: ceph-ansible_3.0.16-2redhat1 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1528428 1536073 (view as bug list) Environment:
Last Closed: 2018-02-21 19:47:28 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: 1528428    
Bug Blocks: 1536073    

Description Giulio Fidente 2017-12-13 17:13:52 UTC
Description of problem:
Upgrade of Ceph clusters which use non-colocated data/journal partitions from OSP11 fails.

The OSD container will not start trying to look for a journal partition on the same device where the data partition is. The upgrade process stops and fails; on the node where the upgrade started ceph-osd is shut off.

[root@ceph-2 ~]# /usr/share/ceph-osd-run.sh vdb
2017-12-13 16:23:21  /entrypoint.sh: static: does not generate config
chown: cannot access '/dev/vdb2': No such file or directory
[root@ceph-2 ~]#

[root@ceph-2 ~]# ceph-disk list
/dev/vda :
 /dev/vda1 other, iso9660
 /dev/vda2 other, xfs, mounted on /
/dev/vdb :
 /dev/vdb1 ceph data, prepared, cluster ceph, osd.1, journal /dev/vdc1
/dev/vdc :
 /dev/vdc1 ceph journal, for /dev/vdb1
[root@ceph-2 ~]# 

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.14

Comment 7 Yogev Rabl 2018-01-17 17:01:46 UTC
verified

Comment 10 errata-xmlrpc 2018-02-21 19:47:28 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/RHBA-2018:0340