[Bug 1875863] Re: ceph -- Unable to mount ceph volume on s390x

Frank Heimes 1875863 at bugs.launchpad.net
Thu Apr 30 06:54:23 UTC 2020


** Changed in: ubuntu-z-systems
     Assignee: Ubuntu OpenStack (ubuntu-openstack) => Skipper Bug Screeners (skipper-screen-team)

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

** No longer affects: ceph (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1875863

Title:
  ceph -- Unable to mount ceph volume on s390x

Status in Ubuntu on IBM z Systems:
  Incomplete
Status in linux package in Ubuntu:
  New

Bug description:
  When mounting a ceph volume, mount operation fails with an IO error.
  The problem is always reproducible.

  Identified potential root cause as kernel endian bug:

  In the function handle_session() variable @features always
  contains little endian order of bytes. Just because The feature
  mask sent by the MDS is little-endian (bits are packed bytewise
  from left to right in encode_supported_features()).

  However, test_bit(), called to check features availability, assumes
  the host order of bytes in that variable. This leads to problems on
  big endian architectures. Specifically it is impossible to mount
  ceph volume on s390.

  A fixup was proposed to convert little-endian order of bytes to the
  host one. That fixup was modified by ceph maintainers to use existing
  unpacking means for the conversion. The resulted patch attached.

  Related discussion in the ceph-development mailing list:
  https://marc.info/?l=ceph-devel&m=158815357301332&w=2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1875863/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list