Bug 1794526

Summary: test/rgw: fix test_rgw_reshared_wait with -DHAVE_BOOST_CONTEXT=OFF
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Yaakov Selkowitz <yselkowi>
Component: BuildAssignee: Yaakov Selkowitz <yselkowi>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: cbodley, hannsj_uhl, hyelloji, kdreyer, mbenjamin, tschelle, tserlin
Target Milestone: z2   
Target Release: 4.1   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-14.2.8-101.el8cp, ceph-14.2.8-101.el7cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 17:24:49 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: 1793468    
Bug Blocks: 1776265, 1794413, 1825061, 1853626    

Description Yaakov Selkowitz 2020-01-23 18:40:34 UTC
https://github.com/ceph/ceph/commit/069dd7af3923cded76cbbd96f4b1020397ea6f11 introduced an include of spawn but did not make it conditional on HAVE_BOOST_CONTEXT, as the code which calls it is so conditionalized.  This breaks the build on s390x where Boost::Context is not supported.

Comment 10 Ken Dreyer (Red Hat) 2020-06-30 20:26:36 UTC
After discussions with IBM partner engineers, we found that the Boost 1.72 version bundled in Ceph does not have full s390x support. In other words, we can build ceph on s390x now, but we disable the beast frontend for RGW on s390x. Civetweb is the only available frontend on s390x for Nautilus or Octopus at the moment. This is problematic for OpenShift Container Storage, because the only RGW frontend OCS supports is the beast frontend.

https://github.com/boostorg/context/pull/133/files is the only change we need from Boost 1.73, so Andreas.Krebbel.com cherry-picked that to Boost 1.72 here: https://github.com/Andreas-Krebbel/context/tree/boost-1.72.0-branch-s390 . The next step is to add this Boost patch to the downstream Ceph packaging.

Comment 12 Ken Dreyer (Red Hat) 2020-06-30 20:52:37 UTC
Upstream we've upgraded to Boost 1.73 in master. Discussing the backport to Octopus and Nautilus in https://tracker.ceph.com/issues/46208 .

Comment 15 Ken Dreyer (Red Hat) 2020-07-08 14:38:06 UTC
*** Bug 1853627 has been marked as a duplicate of this bug. ***

Comment 24 errata-xmlrpc 2020-09-30 17:24:49 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 (Red Hat Ceph Storage 4.1 Bug Fix update), 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-2020:4144

Comment 25 Ken Dreyer (Red Hat) 2021-02-24 18:06:25 UTC
For the record, I accidentally removed this change in RH Ceph Storage 4.2, and we're fixing that regression here: bug 1917592