Re: Ceph - RiscV - Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

Thanks for your reply.
I will check this patch and use it.

Any idea  why build-deps are not of the same version branch pacific-16.2.7_RC1?
The build-deps are having version 15.2.0-1.
Also the deb packages being built are also having version 15.2.0.1

Thanks,
Hrishikesh

On Wed, Jun 22, 2022 at 6:45 PM John Mulligan <phlogistonjohn@xxxxxxxxxxxxx> wrote:
On Wednesday, June 22, 2022 7:31:38 AM EDT Hrishikesh Karanjikar wrote:
> Hi,
>
> I have compiled Ceph pacific-16.2.7_RC1 on Debian Risc-V platform.
> ----------------------------------------------------------------------------
> -----------------------------------------
> debian@debian:~/work/ceph-spdk/ceph$ uname -a
> Linux debian 5.17.0-2-riscv64 #1 SMP Debian 5.17.6-1 (2022-05-11) riscv64
> GNU/Linux
> ----------------------------------------------------------------------------
> -----------------------------------------
>
> I have following doubts,
>
> 1) Even though I have checked out branch pacific-16.2.7_RC1 the build-deps
> are having version 15.2.0-1.
> 2) I used following command to build ceph deb files using command,
> sudo dpkg-buildpackage -d -uc -us -nc -b -j1
> I had to use -d option because Debian Risc-V can not satisfy valgrind
> dependencies since Debian Risc-V does not have valgrind package.
>
> After compilation the deb packages are built with version 15.2.0-1.
> Am I doing something wrong?
>
> 3) After I installed the deb packages I can see mon and mgr are running.
> However I see errors as follows,
>
> ----------------------------------------------------------------------------
> ----------------------------------------------
>
> debian@debian:~/work/ceph-spdk/ceph/src/spdk$ sudo ceph -s
>   cluster:
>     id:     647a8557-6133-4168-a0da-f99f1ed1e94c
>     health: HEALTH_WARN
>             2 mgr modules have failed dependencies
>             OSD count 0 < osd_pool_default_size 3
>
>   services:
>     mon: 1 daemons, quorum debian (age 6d)
>     mgr: ventana-mgr(active, since 6d)
>     osd: 0 osds: 0 up, 0 in
>
>   data:
>     pools:   0 pools, 0 pgs
>     objects: 0 objects, 0 B
>     usage:   0 B used, 0 B / 0 B avail
>     pgs:
>
>
> Jun 17 10:34:50 debian ceph-mgr[400]: 2022-06-17T10:34:50.012+0530
> 7fff8937ac40 -1 mgr handle_command module 'crash' command handler threw
> exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:34:50 debian ceph-mgr[400]: 2022-06-17T10:34:50.012+0530
> 7fff8937ac40 -1 mgr.server reply reply (22) Invalid argument SystemError:
> PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:05 debian ceph-mgr[400]: 2022-06-17T10:35:05.564+0530
> 7fff8937ac40 -1 mgr handle_command module 'crash' command handler threw
> exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:05 debian ceph-mgr[400]: 2022-06-17T10:35:05.568+0530
> 7fff8937ac40 -1 mgr.server reply reply (22) Invalid argument SystemError:
> PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:22 debian ceph-mgr[400]: 2022-06-17T10:35:22.356+0530
> 7fff8937ac40 -1 mgr handle_command module 'crash' command handler threw
> exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:22 debian ceph-mgr[400]: 2022-06-17T10:35:22.360+0530
> 7fff8937ac40 -1 mgr.server reply reply (22) Invalid argument SystemError:
> PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:38 debian ceph-mgr[400]: 2022-06-17T10:35:38.880+0530
> 7fff8937ac40 -1 mgr handle_command module 'crash' command handler threw
> exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:38 debian ceph-mgr[400]: 2022-06-17T10:35:38.888+0530
> 7fff8937ac40 -1 mgr.server reply reply (22) Invalid argument SystemError:
> PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:54 debian ceph-mgr[400]: 2022-06-17T10:35:54.364+0530
> 7fff8937ac40 -1 mgr handle_command module 'crash' command handler threw
> exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:35:54 debian ceph-mgr[400]: 2022-06-17T10:35:54.368+0530
> 7fff8937ac40 -1 mgr.server reply reply (22) Invalid argument SystemError:
> PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:36:11 debian ceph-mgr[400]: 2022-06-17T10:36:11.852+0530
> 7fff8937ac40 -1 mgr handle_command module 'crash' command handler threw
> exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
> Jun 17 10:36:11 debian ceph-mgr[400]: 2022-06-17T10:36:11.856+0530
> 7fff8937ac40 -1 mgr.server reply reply (22) Invalid argument SystemError:
> PY_SSIZE_T_CLEAN macro must be defined for '#' formats
>
> ----------------------------------------------------------------------------
> ----------------------------------------------
>
>
> Kindly help.
>
> --
>
> Thanks and Regards,
> Hrishikesh Karanjikar

This error appears to be related to building the Python C-API bindings on
python 3.10.
This may be fixed on the main branch with the change: https://github.com/ceph/
ceph/commit/389054888f2aa782f73564125ec7a1ef0212d536


I don't see it as having been backported, so you may want to use the ceph
tracker to request a backport of this change. Or try building from the main
branch directly.







--

Regards,
Hrishikesh Karanjikar
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux