itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3585785481
no, we simpy ran the upgrade, the status of the template is the exact same as above <img width="911" height="93" alt="Image" src="https://github.com/user-attachments/assets/b9db3220-4067-4a6a-ba8b-faaef5109888" /> regarding the log, there is loads in stuff in there, i cant decipher what to get but i can see this, interestingly the first few lines indicate a timeout to the secondary storage but i can browse that storage fine in the GUI. 2025-11-27 11:26:55,828 WARN [c.c.u.s.Script] (main:[]) (logid:) Process [48175] for command [/bin/bash -c sudo mount -t nfs nfs.server.net/mnt/nfs-storage/cloudstack/secondary /tmp/tmp15944031624030624616 ] encountered the error: [mount.nfs: Connection timed out for nfs.server.net:/mnt/nfs-storage/cloudstack/secondary on /tmp/tmp15944031624030624616]. 2025-11-27 11:26:55,968 DEBUG [c.c.u.s.Script] (main:[]) (logid:) Looking for setup-sysvm-tmplt in the classpath 2025-11-27 11:26:55,968 DEBUG [c.c.u.s.Script] (main:[]) (logid:) System resource: null 2025-11-27 11:26:55,970 DEBUG [c.c.u.s.Script] (main:[]) (logid:) Classpath resource: file:/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt 2025-11-27 11:26:55,971 DEBUG [c.c.u.s.Script] (main:[]) (logid:) Absolute path = /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt 2025-11-27 11:26:55,971 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:[]) (logid:) Executing command [/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt -u ea699664-e3db-4636-a15d-440f49740e1d -f /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 -h kvm -d /tmp/tmp15944031624030624616/template/tmpl/1/215 ]. 2025-11-27 11:27:29,411 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:[]) (logid:) Successfully executed process [48197] for command [/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt -u ea699664-e3db-4636-a15d-440f49740e1d -f /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 -h kvm -d /tmp/tmp15944031624030624616/template/tmpl/1/215 ]. 2025-11-27 11:27:29,412 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:[]) (logid:) + [[ ! -u ea699664-e3db-4636-a15d-440f49740e1d -f /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 -h kvm -d /tmp/tmp15944031624030624616/template/tmpl/1/215 =~ ^-.+ ]] + OPTERR=0 + DISKSPACE=2120000 + getopts h:f:d:u::# OPTION + case $OPTION in + uflag=1 + uuid=ea699664-e3db-4636-a15d-440f49740e1d + getopts h:f:d:u::# OPTION + case $OPTION in + fflag=1 + tmpltimg=/usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 + getopts h:f:d:u::# OPTION + case $OPTION in + hyper=kvm + getopts h:f:d:u::# OPTION + case $OPTION in + destdir=/tmp/tmp15944031624030624616/template/tmpl/1/215 + getopts h:f:d:u::# OPTION + [[ kvm == \k\v\m ]] + ext=qcow2 ++ which qemu-img + qemuimgcmd=/usr/bin/qemu-img + localfile=ea699664-e3db-4636-a15d-440f49740e1d.qcow2 + sudo mkdir -p /tmp/tmp15944031624030624616/template/tmpl/1/215 + [[ 0 -ne 0 ]] + [[ -f /tmp/tmp15944031624030624616/template/tmpl/1/215/template.properties ]] ++ sudo find /tmp/tmp15944031624030624616/template/tmpl/1/215 -name '*.qcow2' + destfiles= + [[ '' != '' ]] + tmpfolder=/tmp/cloud/templates/ + mkdir -p /tmp/cloud/templates/ + tmplfile=/tmp/cloud/templates//ea699664-e3db-4636-a15d-440f49740e1d.qcow2 + touch /tmp/cloud/templates//ea699664-e3db-4636-a15d-440f49740e1d.qcow2 + [[ 0 -ne 0 ]] ++ tail -1 ++ sudo df -P /tmp/tmp15944031624030624616/template/tmpl/1/215 ++ awk '{print $4}' + destcap=73149220 + '[' 73149220 -lt 2120000 ']' ++ df -P /tmp/cloud/templates/ + sudo cp /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 /tmp/cloud/templates//ea699664-e3db-4636-a15d-440f49740e1d.qcow2 + [[ 0 -ne 0 ]] +++ dirname /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt ++ /usr/share/cloudstack-common/scripts/storage/secondary/createtmplt.sh -s 2 -d 'SystemVM Template ( kvm )' -n ea699664-e3db-4636-a15d-440f49740e1d.qcow2 -t /tmp/tmp15944031624030624616/template/tmpl/1/215/ -f /tmp/cloud/templates//ea699664-e3db-4636-a15d-440f49740e1d.qcow2 -u -v -c Uncompressing to /tmp/cloud/templates//ea699664-e3db-4636-a15d-440f49740e1d.qcow2.tmp (type bz2)...could take a long time Copying to /tmp/tmp15944031624030624616/template/tmpl/1/215//ea699664-e3db-4636-a15d-440f49740e1d.qcow2...could take a while + installrslt= + [[ 0 -ne 0 ]] + tmpdestdir=/tmp/cloud/templates/ + '[' qcow2 == ova ']' + rm -rf /tmp/cloud/templates//ea699664-e3db-4636-a15d-440f49740e1d.qcow2.tmp + tmpltfile=/tmp/tmp15944031624030624616/template/tmpl/1/215/ea699664-e3db-4636-a15d-440f49740e1d.qcow2 ++ sudo ls -l /tmp/tmp15944031624030624616/template/tmpl/1/215/ea699664-e3db-4636-a15d-440f49740e1d.qcow2 ++ awk '-F ' '{print $5}' + tmpltsize=522649088 + [[ qcow2 == \q\c\o\w\2 ]] ++ sudo /usr/bin/qemu-img info /tmp/tmp15944031624030624616/template/tmpl/1/215/ea699664-e3db-4636-a15d-440f49740e1d.qcow2 ++ grep -i 'virtual size' ++ sed -ne 's/.*(\([0-9]*\).*/\1/p' ++ xargs + vrtmpltsize=5242880000 + templateId=215 + sudo touch /tmp/tmp15944031624030624616/template/tmpl/1/215/template.properties + echo qcow2=true + echo id=215 + echo public=true + echo qcow2.filename=ea699664-e3db-4636-a15d-440f49740e1d.qcow2 + echo uniquename=routing-215 + echo qcow2.virtualsize=5242880000 + echo virtualsize=5242880000 + echo qcow2.size=522649088 + sudo cp /tmp/cloud/templates//template.properties /tmp/tmp15944031624030624616/template/tmpl/1/215/template.properties + '[' -f /tmp/cloud/templates//template.properties ']' + rm -rf /tmp/cloud/templates//template.properties + echo 'Successfully installed system VM template /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 and template.properties to /tmp/tmp15944031624030624616/template/tmpl/1/215' Successfully installed system VM template /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 and template.properties to /tmp/tmp15944031624030624616/template/tmpl/1/215 + exit 0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
