Skip to content

pacific: libcephsqlite: ceph-mgr crashes when compiled with gcc12 - #47271

Merged
yuriw merged 1 commit into
ceph:pacificfrom
vumrao:wip-vumrao-56701
Aug 2, 2022
Merged

yuriw merged 1 commit into
ceph:pacificfrom
vumrao:wip-vumrao-56701

Conversation

@vumrao

@vumrao vumrao commented Jul 25, 2022

Copy link
Copy Markdown
Contributor

libcephsqlite: ceph-mgr crashes when compiled with gcc12
regex in libcephsqlite, when compiled with GCC12 treats '-' as a range
operator resulting in the following error.
"Invalid start of '[x-x]' range in regular expression"

Fixes: https://tracker.ceph.com/issues/55304
Signed-off-by: Ganesh Maharaj Mahalingam [email protected]
(cherry picked from commit ac043a0)

Backport tracker - https://tracker.ceph.com/issues/56701

regex in libcephsqlite, when compiled with GCC12 treats '-' as a range
operator resulting in the following error.
"Invalid start of '[x-x]' range in regular expression"

Fixes: https://tracker.ceph.com/issues/55304
Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
(cherry picked from commit ac043a0)
@vumrao
vumrao requested a review from batrick July 25, 2022 23:01
@github-actions github-actions Bot added this to the pacific milestone Jul 25, 2022
@ljflores
ljflores self-requested a review August 1, 2022 15:39
@ljflores

ljflores commented Aug 1, 2022

Copy link
Copy Markdown
Member

There is a rados test failing from invalid regex that this PR should fix: https://pulpito.ceph.com/yuriw-2022-07-27_22:35:53-rados-wip-yuri8-testing-2022-07-27-1303-pacific-distro-default-smithi/6951421/

We'll validate the fix against this test in QA testing.

@ljflores

ljflores commented Aug 2, 2022

Copy link
Copy Markdown
Member

Rados suite revew:

https://pulpito.ceph.com/yuriw-2022-08-01_22:58:38-rados-wip-yuri8-testing-2022-08-01-1413-pacific-distro-default-smithi/
https://pulpito.ceph.com/lflores-2022-08-02_15:54:18-rados-wip-yuri8-testing-2022-08-01-1413-pacific-distro-default-smithi/

Notably, the libcephsqlite test passed, which was failing in Pacific before this patch was applied: https://pulpito.ceph.com/yuriw-2022-08-01_22:58:38-rados-wip-yuri8-testing-2022-08-01-1413-pacific-distro-default-smithi/6955290/

Failures, unrelated:
1. https://tracker.ceph.com/issues/53501
2. https://tracker.ceph.com/issues/54071
3. https://tracker.ceph.com/issues/52321
4. https://tracker.ceph.com/issues/53939
5. https://tracker.ceph.com/issues/54992
6. https://tracker.ceph.com/issues/38577

Details:
1. Exception when running 'rook' task. - Ceph - Orchestrator
2. rados/cephadm/osds: Invalid command: missing required parameter hostname()
3. qa/tasks/rook times out: 'check osd count' reached maximum tries (90) after waiting for 900 seconds - Ceph - Rook
4. ceph-nfs-upgrade, pacific: Upgrade Paused due to UPGRADE_REDEPLOY_DAEMON: Upgrading daemon osd.0 on host smithi103 failed - Ceph - Orchestrator
5. cannot stat '/etc/containers/registries.conf': No such file or directory - Ceph - Orchestrator
6. Messenger/MessengerTest.MissingServerIdenTest2/0 msg/async/AsyncMessenger.cc: 312: FAILED ceph_assert(!did_bind) - Ceph - RADOS

@yuriw
yuriw merged commit 334f0d9 into ceph:pacific Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants