Hello Ben,
I'd like to know more about the circular dependency that you are seeing. I'd like to get rid of it. We install condor with Puppet and have not observed that issue.
To define your own package, add the following to your condor.spec file
%package -n mycondor
Summary: Benoit Roland's aggregate condor package
Group: Applications/System
Requires: %name = %version-%release
Requires: %name-credmon-mytoken = %version-%release
Requires: python3-%name = %version-%release
%description -n mycondor
Include dependencies for Benoit Roland's typical installation
%files -n mycondor
So, then you just install mycondor.
...Tim
P.S. Help me get rid of any circular dependency.
Dear all,
to have the condor version with my Helmoltz AAI CredMon installed on our login node, I need to run the command:
yum install -y condor-credmon-mytoken-23.5.0-0.202402200404.el8.x86_64.rpm condor-23.5.0-0.202402200404.el8.x86_64.rpm python3-condor-23.5.0-0.202402200404.el8.x86_64.rpm
because of the circular dependency between the packages.
This was fine for my test setup.
But I would like to deploy this condor version via puppet, and puppet can not handle packages with circular dependencies.
That's the reason why I was asking, if there exists some condor.spec file producing a condor metapackage, like the one I would access from the condor repo?
Thanks a lot in advance for your help!
Cheers,
ben
On 20/02/2024 15:26, Benoit Roland wrote:
Dear all
I successfully build 23.5.0 condor rpms using the x86_64_AlmaLinux8-23050000 container with the script [1],
adding to the existing code some plugins to produce [2], monitor and refresh [3,4] Helmhotz AAI access tokens.
After the building process using the modified condor.spec file [5], I retrieve the rpms locally and proceed with a yum install with the following rpms of interest for me:
yum install -y condor-credmon-mytoken-23.5.0-0.202402200404.el8.x86_64.rpm condor-23.5.0-0.202402200404.el8.x86_64.rpm python3-condor-23.5.0-0.202402200404.el8.x86_64.rpm
This is working fine.
My question is about the creation of a metapackage.
Is there an available spec file that I could you use in order to produce a single rpm?
Thanks a lot in advance for your answer and help!
Cheers,
ben
[1] https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/c4p-condor-utils/build-c4p-condor.sh
[2] https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/src/condor_credd/condor_credmon_oauth/condor_producer_mytoken
[3] https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/src/condor_credd/condor_credmon_oauth/condor_credmon_mytoken
[4] https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/src/condor_credd/condor_credmon_oauth/credmon/CredentialMonitors/MytokenCredmon.py
[5] https://github.com/benoitroland/C4P-HTCondor/blob/devel_rhel8/build/packaging/rpm/condor.spec
_______________________________________________ HTCondor-users mailing list To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users The archives can be found at: https://lists.cs.wisc.edu/archive/htcondor-users/
-- Tim Theisen (he, him, his) Release Manager HTCondor & Open Science Grid Center for High Throughput Computing Department of Computer Sciences University of Wisconsin - Madison 4261 Computer Sciences and Statistics 1210 W Dayton St Madison, WI 53706-1685 +1 608 265 5736