Additional issues with almaconvert8:
TEMPLATES DIR
In some cases the CT's template path can be an invalid symlink, which breaks almaconvert8 processing causing it to exit. To fix it, detect invalid symlinks and remove them prior to running almaconvert8:
TEMPLATES_PATH=/vz/private/$CTID/templates
if [ -L ${TEMPLATES_PATH} ] ; then
if [ -e ${TEMPLATES_PATH} ] ; then
echo "CT Templates symlink exists, ok to proceed normally"
else
echo "CT Templates symlink broken, removing it so almaconvert8 can create it properly..."
rm -f ${TEMPLATES_PATH}
fi
fi
baseX REPO PATHS ERROR
On every run, we get the following errors, however it appears to not cause any problems with the actual conversion:
https://repo.virtuozzo.com/ctpreset/rpm/https%3A//repo.virtuozzo.com/ctpreset/rpm/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
This shows up a few times before it works - presumably not all the mirrors have this glitch.
I would have submit all of this as bugs, but bugs.openvz.org hasn't been allowing logins for a couple weeks.