On Thursday, May 18, 2023 8:08:55 PM EDT Kaleb Keithley wrote: > On Thu, May 18, 2023 at 5:19 PM John Mulligan <phlogistonjohn@xxxxxxxxxxxxx> > wrote: > > On Thursday, May 18, 2023 4:58:30 PM EDT Kaleb Keithley wrote: > > > On Thu, May 18, 2023 at 9:57 AM John Mulligan < > > > > phlogistonjohn@xxxxxxxxxxxxx> > > [[snip]] > > Yeah, my bad. I didn't remember every one of the dozens of subpackages. But > there is a cephadm subpackage in the 17.2.6 (and earlier) packages in > fedora and centos storage sig. I leapt to an incorrect conclusion when you > said you were looking for someplace to distribute cephadm from. The > implication seemed to be that it was a completely separate build from the > rest of ceph. No problem. I'm fairly new to this area of the code myself. I'm frequently doubling back to check things I just was previously assuming. Anyway I looked into what packages set what shebang and now it's looking like the centos 9 based builds might be the best for general non-package distribution. ----- Examining Reef builds from https://shaman.ceph.com/builds/ceph/reef/ 35c3c9bdcee409e4b0cf5c304febcf8bd62a139a/ https://2.chacra.ceph.com/r/ceph/reef/ 35c3c9bdcee409e4b0cf5c304febcf8bd62a139a/ubuntu/jammy/flavors/default/pool/ main/c/ceph/ - Ubuntu "Jammy" builds - cephadm _not_ extracted from the package - cephadm package exists: cephadm_18.0.0-3148-g35c3c9bd-1jammy_amd64.deb - shebang command in zipapp: /usr/bin/python3.10 https://2.chacra.ceph.com/r/ceph/reef/ 35c3c9bdcee409e4b0cf5c304febcf8bd62a139a/centos/8/flavors/default/noarch/ - CentoOS 8 builds (noarch) - cephadm is extracted from the package - cephadm package exists: cephadm-18.0.0-3148.g35c3c9bd.el8.noarch.rpm - shebang command in zipapp: /usr/libexec/platform-python -s https://3.chacra.ceph.com/r/ceph/reef/ 35c3c9bdcee409e4b0cf5c304febcf8bd62a139a/centos/9/flavors/default/noarch/ - CentOS 9 builds (noarch) - cephadm is extracted from the package - cephadm package exists: cephadm-18.0.0-3148.g35c3c9bd.el9.noarch.rpm - shebang command in zipapp: /usr/bin/python3 -s ----- The -s option tells python not to add the user site directory to the python module path. This is fine for cephadm's purposes. So the centos 8 package does change the shebang to something I don't expect to work outside of Fedora/CentOS/RHEL, so I wouldn't recommend downloading that. The CentOS 9 package simply has /usr/bin/python3 which is the most general, so I think that's ideal. The Ubuntu package has /usr/bin/python3.10 which would not be ideal because not all of these "other" platforms we're trying to support would all have python 3.10, some might have 3.9 or 3.11, etc. This might be an artifact of how we build cephadm on ubuntu though, so I still need to investigate that. At the same time I think I have found the code that needs changing to support extracting cephadm from unbuntu packages and I'll be contacting Dan directly to work on that. _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx