Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
b708881d
Commit
b708881d
authored
7 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[kill-bash] CTA Frontend pod waits for eos.sss.keytab to be created
parent
4f080278
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh
+5
-4
5 additions, 4 deletions
...gration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh
continuousintegration/orchestration/create_instance.sh
+7
-1
7 additions, 1 deletion
continuousintegration/orchestration/create_instance.sh
with
12 additions
and
5 deletions
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh
+
5
−
4
View file @
b708881d
...
...
@@ -11,8 +11,7 @@ yum-config-manager --enable ceph
yum
-y
install
cta-frontend cta-debuginfo cta-catalogueutils ceph-common
fi
# /etc/cta/cta-frontend-xrootd.conf is now provided by ctafrontend rpm and comes with
# CI ready content
# /etc/cta/cta-frontend-xrootd.conf is now provided by ctafrontend rpm and comes with CI-ready content
/opt/run/bin/init_objectstore.sh
.
/tmp/objectstore-rc.sh
...
...
@@ -21,7 +20,6 @@ echo "ObjectStore BackendPath $OBJECTSTOREURL" > /etc/cta/cta-frontend.conf
echo
"Catalogue NumberOfConnections 10"
>>
/etc/cta/cta-frontend.conf
echo
"Log URL file:/var/log/cta/cta-frontend.log"
>>
/etc/cta/cta-frontend.conf
/opt/run/bin/init_database.sh
.
/tmp/database-rc.sh
...
...
@@ -30,7 +28,10 @@ echo ${DATABASEURL} >/etc/cta/cta-catalogue.conf
# EOS INSTANCE NAME used as username for SSS key
EOSINSTANCE
=
ctaeos
# Wait for the keytab file to be pushed in by the creation script.
# Wait for the keytab files to be pushed in by the creation script
echo
-n
"Waiting for /etc/cta/eos.sss.keytab"
for
((
;;
))
;
do
test
-e
/etc/cta/eos.sss.keytab
&&
break
;
sleep
1
;
echo
-n
.
;
done
echo
OK
echo
-n
"Waiting for /etc/cta/cta-frontend.krb5.keytab"
for
((
;;
))
;
do
test
-e
/etc/cta/cta-frontend.krb5.keytab
&&
break
;
sleep
1
;
echo
-n
.
;
done
echo
OK
...
...
This diff is collapsed.
Click to expand it.
continuousintegration/orchestration/create_instance.sh
+
7
−
1
View file @
b708881d
...
...
@@ -303,8 +303,14 @@ echo OK
# The closew.CTA_retrieve workflow prevents the default workflow from receiving the closew event, as
# we don't want to trigger the action of copying the retrived disk file to tape again. The
# closew.CTA_retrieve workflow sets the CTA_retrieved_timestamp attribute.
#
# The FQDN can be set as follows:
# CTA_ENDPOINT=ctafrontend.${instance}.svc.cluster.local:10955
#
# however the simple hostname should be sufficient:
CTA_ENDPOINT
=
ctafrontend:10955
echo
"Setting workflows in namespace
${
instance
}
pod ctaeos:"
CTA_ENDPOINT
=
ctafrontend.
${
instance
}
.svc.cluster.local:10955
CTA_WF_DIR
=
/eos/
${
EOSINSTANCE
}
/proc/cta/workflow
for
WORKFLOW
in
closew.default archived.default
sync
::prepare.default closew.CTA_retrieve
sync
::delete.default
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment