Fedora mirror update: use localauth release
Use the new vos_release user on the remote host to release the volume via localauth, to avoid any timeouts. Change-Id: I56ecdb2511597197deeeadf51f50da7e02f56954 Depends-On: https://review.opendev.org/#/c/695554/
This commit is contained in:
parent
e1ab2fb9ff
commit
3f9c737483
@ -37,6 +37,7 @@ BASE="/afs/.openstack.org/mirror/fedora"
|
|||||||
# https://pagure.io/releng/issue/7921
|
# https://pagure.io/releng/issue/7921
|
||||||
MIRROR="rsync://pubmirror2.math.uh.edu/fedora-buffet/fedora/linux"
|
MIRROR="rsync://pubmirror2.math.uh.edu/fedora-buffet/fedora/linux"
|
||||||
K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- ${TIMEOUT}"
|
K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- ${TIMEOUT}"
|
||||||
|
VOS_RELEASE="ssh -i /root/.ssh/id_vos_release vos_release@afs01.dfw.openstack.org vos release "
|
||||||
|
|
||||||
echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
|
echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
|
||||||
|
|
||||||
@ -151,7 +152,7 @@ sleep $(( 20 * 60 ))
|
|||||||
date --iso-8601=ns | $K5START tee $BASE/timestamp.txt
|
date --iso-8601=ns | $K5START tee $BASE/timestamp.txt
|
||||||
|
|
||||||
echo_ts "Running vos release."
|
echo_ts "Running vos release."
|
||||||
k5start -t -f /etc/afsadmin.keytab service/afsadmin -- vos release -v $MIRROR_VOLUME | \
|
$VOS_RELEASE $MIRROR_VOLUME | \
|
||||||
while IFS= read -r line; do echo_ts "$line"; done
|
while IFS= read -r line; do echo_ts "$line"; done
|
||||||
echo_ts "... done"
|
echo_ts "... done"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user