OpenVZ Forum


Home » General » Support » almaconvert8 and lsof return code weirdness
Re: almaconvert8 and lsof return code weirdness [message #53873 is a reply to message #53870] Fri, 06 December 2024 17:22 Go to previous message
wsap is currently offline  wsap
Messages: 81
Registered: March 2018
Location: Halifax, NS
Member
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.
 
Read Message
Read Message
Read Message
Previous Topic: OpenVZ9 still developed or EOL?
Next Topic: OpenVZ bug tracker at bugs.openvz.org no longer allows login
Goto Forum:
  


Current Time: Wed Aug 27 18:46:38 GMT 2025

Total time taken to generate the page: 0.10524 seconds