Resolve "Run CTA Kubernetes with Eos5"
Summary
To compile the CTA RPMs the script bootstrapCTA.sh
has been modified.
To install CTA with XRootD-4 run:
cd ~/CTA/continuousintegration/buildtree_runner/vmBootstrap/
./bootstrapCTA.sh cern
and for XRootD-5 run:
cd ~/CTA/continuousintegration/buildtree_runner/vmBootstrap/
./bootstrapCTA.sh cern 5
When the compilation of the RPM is finished, I've created a small script.
For EOS-4:
#!/bin/bash
image_tag="dev"
cd ~/CTA/continuousintegration/orchestration
./delete_instance.sh -n stress
cd ~/CTA/continuousintegration/docker/ctafrontend/cc7/ci_runner/
./prepareImage.sh ~/CTA-build/RPM/RPMS/x86_64 $image_tag
cd ~/CTA/continuousintegration/buildtree_runner
sudo ./recreate_buildtree_running_environment.sh
cd ~/CTA/continuousintegration/orchestration
sudo ./create_instance.sh -n stress -i $image_tag -D -O -d internal_postgres.yaml
For EOS-5:
#!/bin/bash
image_tag="dev"
cd ~/CTA/continuousintegration/orchestration
./delete_instance.sh -n stress
cd ~/CTA/continuousintegration/docker/ctafrontend/cc7/ci_runner/
./prepareImage.sh ~/CTA-build/RPM/RPMS/x86_64 $image_tag
cd ~/CTA/continuousintegration/buildtree_runner
sudo ./recreate_buildtree_running_environment.sh
cd ~/CTA/continuousintegration/orchestration
sudo ./create_instance.sh -n stress -i $image_tag -D -O -d internal_postgres.yaml -e eos5-config-quarkdb.yaml
Requires manual tests in pre-production
References
Closes #364 (closed)
Merge request reports
Activity
added Continuous Integration label
assigned to @jcamarer
added 7 commits
-
077971ea...c4dd18f8 - 6 commits from branch
main
- b045f5dc - Modifify script to install EOS5
-
077971ea...c4dd18f8 - 6 commits from branch
added 1 commit
- b320a97c - Modify the setup to build the RPMs to allow a diferential build
added 1 commit
- b56ff2f0 - Allow to prepareImage script to accept a different source path for the rpm
added 1 commit
- f0b70e61 - Allow to prepareImage script to accept a different source path for the rpm
added 12 commits
-
e91b2023...5c78ef6e - 6 commits from branch
main
- 480feb6b - Modifify script to install EOS5
- a50e6838 - Create CI environment from rpms
- 430d6b56 - Remove no-cache for the docker build
- 216002ca - Modify the setup to build the RPMs to allow a diferential build
- 1f45ec84 - Allow to prepareImage script to accept a different source path for the rpm
- 4476b239 - Clean code and restore files
Toggle commit list-
e91b2023...5c78ef6e - 6 commits from branch
added 1 commit
- 392440bb - Adapt bootstrapCTA script to use xrootd4 and xrootd5
- Resolved by Jorge Camarero Vera
With
cern
argument we get yum repo files from/home/cta/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/
. But it doesn't containceph
repo. In my system (CentOS Linux release 7.9.2009 (Core)
) there is/etc/yum.repos.d/ceph.repo
, but it points to https://download.ceph.com/rpm-octopus/el7/x86_64/, which has ceph packages 15.2.17.But due to versionlock CTA requires 15.2.15.
As a result the installation fails with message:
Error: No Package found for librados-devel = 2:15.2.15 Error: No Package found for libradosstriper-devel = 2:15.2.15
I had an issue during MHVTL installation (not caused by this, but related with the dev setup): cta-dependencies#7 (closed)
Edited by Joao Afonsoadded 1 commit
- 9095f347 - Change rpm_dir path to use directly the folder which contains the rpms