TypeError: cannot use a string pattern on a bytes-like object Fixes: https://tracker.ceph.com/issues/45175 Signed-off-by: Xiubo Li <xiubli@redhat.com>