Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
DaanHoogland commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3822282979 fixed in #12165 -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
DaanHoogland closed issue #12042: Cloudstack 4.22 upgrade: SystemVM template update fails URL: https://github.com/apache/cloudstack/issues/12042 -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
daviftorres commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3699794218 Hey folks, I also experienced an issue similar to the described in this issue. It started in November: https://github.com/user-attachments/assets/1975c8b2-3c67-4ab5-aec5-72ab34bdc439"; /> I never bother to fix until I enable SMTP event notifications and got overwhelmed with not addressed and silence issues. In the public repository of the CKS, there is a `md5sum.txt` that only contains hashes for the old images (would also be nice to have a `sha512sum.txt` like we have in https://download.cloudstack.org/systemvm/4.20/). https://github.com/user-attachments/assets/94c6dc3e-a344-469a-8da9-84296ecb1244"; /> https://github.com/user-attachments/assets/266178f5-cfe4-4aaf-b4c6-265bd80d3899"; /> The solution for my issue was the same described above, I managed to manually change the checksum in the database. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-353593 ok great, thank you -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588856410 > you would like me to run that too? for you, it is not needed if it works now. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588815265
> > that has now worked :)
> > thank you for your help with this
>
> great it works.
>
> so the SQL statement would be
>
> ```
> UPDATE cloud.vm_template SET checksum=concat('{SHA-512}', checksum) WHERE
length(checksum) = 128 AND removed IS NULL;
> ```
>
> then restart SSVM or `cloud` service in SSVM
you would like me to run that too?
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588767057
> that has now worked :)
>
> thank you for your help with this
great it works.
so the SQL statement would be
```
UPDATE cloud.vm_template SET checksum=concat('{SHA-512}', checksum) WHERE
length(checksum) = 128 AND removed IS NULL;
```
then restart SSVM or `cloud` service in SSVM
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588724963
> > doesnt appear to do anything?
> > mysql> update vm_template set checksum=
'{SHA-512}10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90'
where id = 251; Query OK, 0 rows affected (0.00 sec) Rows matched: 0 Changed:
0 Warnings: 0
>
> >
>
> [@itobin](https://github.com/itobin) oh, my mistake the template id is
215, not 251
that has now worked :)
thank you for your help with this
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588595901
> doesnt appear to do anything?
>
> mysql> update vm_template set checksum=
'{SHA-512}10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90'
where id = 251; Query OK, 0 rows affected (0.00 sec) Rows matched: 0 Changed:
0 Warnings: 0
>
@itobin
oh, my mistake
the template id is 215, not 251
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588538070
> > > [@itobin](https://github.com/itobin) can you try
> > > ```
> > > * add `{SHA-512}` before the value of checksum
> > >
> > > * restart `cloud` service in ssvm, or reboot ssvm ?
> > > ```
> >
> >
> > do you mean like this ?
> > update vm_template set checksum=
'{SHA-512}10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90'
where id = 251;
>
> yes [@itobin](https://github.com/itobin)
doesnt appear to do anything?
mysql> update vm_template set checksum=
'{SHA-512}10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90'
where id = 251;
Query OK, 0 rows affected (0.00 sec)
Rows matched: 0 Changed: 0 Warnings: 0
mysql> select * from vm_template where id=215\G
*** 1. row ***
id: 215
unique_name: routing-215
name: systemvm-kvm-4.22.0-x86_64
uuid: ea699664-e3db-4636-a15d-440f49740e1d
public: 0
featured: 0
type: SYSTEM
hvm: 1
bits: 64
url:
https://download.cloudstack.org/systemvm/4.22/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2
format: QCOW2
created: 2025-11-27 11:26:55
removed: NULL
account_id: 1
checksum:
10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90
display_text: systemvm-kvm-4.22.0-x86_64
enable_password: 0
enable_sshkey: 0
guest_os_id: 363
bootable: 1
prepopulate: 0
cross_zones: 1
extractable: 1
hypervisor_type: KVM
source_template_id: NULL
template_tag: NULL
sort_key: 0
size: 0
state: Active
update_count: 0
updated: NULL
dynamically_scalable: 0
parent_template_id: NULL
direct_download: 0
deploy_as_is: 0
user_data_id: NULL
user_data_link_policy: NULL
arch: x86_64
for_cks: 0
extension_id: NULL
1 row in set (0.00 sec)
I restarted the SSVM
https://github.com/user-attachments/assets/f6491756-2301-4d9e-bc1f-e148ad2a463f";
/>
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3588513152
> > [@itobin](https://github.com/itobin) can you try
> > ```
> > * add `{SHA-512}` before the value of checksum
> >
> > * restart `cloud` service in ssvm, or reboot ssvm ?
> > ```
>
> do you mean like this ?
>
> update vm_template set checksum=
'{SHA-512}10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90'
where id = 251;
yes @itobin
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3587480770
> [@itobin](https://github.com/itobin) can you try
>
> * add `{SHA-512}` before the value of checksum
>
> * restart `cloud` service in ssvm, or reboot ssvm ?
do you mean like this ?
update vm_template set checksum=
'{SHA-512}10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90'
where id = 251;
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042:
URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3587458667
@itobin
can you try
- add `{SHA-512}` before the value of checksum
- restart `cloud` service in ssvm, or reboot ssvm ?
--
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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3587417595 Connection id:2174 Current database: cloud *** 1. row *** id: 215 unique_name: routing-215 name: systemvm-kvm-4.22.0-x86_64 uuid: ea699664-e3db-4636-a15d-440f49740e1d public: 0 featured: 0 type: SYSTEM hvm: 1 bits: 64 url: https://download.cloudstack.org/systemvm/4.22/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 format: QCOW2 created: 2025-11-27 11:26:55 removed: NULL account_id: 1 checksum: 10987c4fb3158d40006b1a1db89bf6e9b6c3995294f295e1ca564c26c9543453d4d21a7d8c967d5487b489d88194ecfba9829f00e929b17e3ddaa70751cece90 display_text: systemvm-kvm-4.22.0-x86_64 enable_password: 0 enable_sshkey: 0 guest_os_id: 363 bootable: 1 prepopulate: 0 cross_zones: 1 extractable: 1 hypervisor_type: KVM source_template_id: NULL template_tag: NULL sort_key: 0 size: 0 state: Active update_count: 0 updated: NULL dynamically_scalable: 0 parent_template_id: NULL direct_download: 0 deploy_as_is: 0 user_data_id: NULL user_data_link_policy: NULL arch: x86_64 for_cks: 0 extension_id: NULL 1 row in set (0.59 sec) -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3587193707 > what can we do to work around this problem? @itobin can you share the output of query below ? ``` select * from vm_template where id=215\G ``` -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3587156336 what can we do to work around this problem? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
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
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=212
+ 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 212 ']'
++ 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
+
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3585706456 @itobin did you upload systemvm template before upgrade ? (actually it is not necessary now) what is the current status of the template ? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3585666314 > > I should also note we only have one management node > > it is better to share the upgrade steps and management server logs we simply followed the steps here https://docs.cloudstack.apache.org/en/4.22.0.0/upgrading/upgrade/upgrade-4.22.html The upgrade went fine, just the template download. Which log do you need? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3585659000 > I should also note we only have one management node it is better to share the upgrade steps and management server logs -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3585644337 I should also note we only have one management node -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
itobin commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3585642665 We have the exact same issue, what is the work around or fix for this. If you could give steps that would be appreciated. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3519075813 hmm, ok, I guess I read that as shut it down during the mysql backup. whoops! -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
DaanHoogland commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3517381384 > according to upgrade instruction, all mgmt servers need to be stopped before upgrade. > > I suspect the other mgmt server were still running when you upgraded the 1st mgmt server. there is an issue out to deal with this: #11973 . I am not sure how we are going to deal with this, yet. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3517343346 > The procedure was to enable maintenance mode on the host and management server being updated. Fully update the node with apt-get dist-upgrade and reboot. Update the repo file to point to 4.21. Run apt-get dist-upgrade again so it only pulls in 4.22. Restart management node, restart agent. according to upgrade instruction, all mgmt servers need to be stopped before upgrade. I suspect the other mgmt server were still running when you upgraded the 1st mgmt server. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3517180785 I clearly don't know what I'm doing, I restarted the management nodes again and now see the SystemVm Template that was previously saying 4.20.2 is now saying 4.22.0 however, when deleting a systemvm and letting it create, I see its really still 4.20.2 so I think the command I ran above only pushed it to secondary storage. I have no idea how to force it to push it to primary. I'd really like to not set it up as a 'custom' systemvm as I want the upgrades to work in the future without me needing to specifically update the systemvm. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3517083739 hrm, I ran cloud-install-sys-tmplt but it didn't cause the template to show up either. How do I get the updated template to be available and used? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3517048517 I just upgraded my other cluster in the same way, running the same software versions. This time it doesn't appear it even attempted to update the template. All I'm seeing is the original system vm template still which is on 4.20.2. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bhouse-nexthop commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3516720834 Yes, 3 management servers, that are *also* agents (I know this isn't recommended). The procedure was to enable maintenance mode on the host and management server being updated. Fully update the node with apt-get dist-upgrade and reboot. Update the repo file to point to 4.21. Run apt-get dist-upgrade again so it only pulls in 4.22. Restart management node, restart agent. Then continue to next node... -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3516634493 > My cluster is healthy, yes. Doesn't explain what caused the issue, however. Now that I know how to fix it if it happens again, I'm going to upgrade another cluster today to see if it happens there as well. It is also running 4.21. if there are multiple management servers, it would be good to share the upgrade steps -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3516619273 My cluster is healthy, yes. Doesn't explain what caused the issue, however. Now that I know how to fix it if it happens again, I'm going to upgrade another cluster today to see if it happens there as well. It is also running 4.21. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3515612029 I tested a 4.20->4.22 upgrade, it worked https://github.com/user-attachments/assets/7baada1b-518d-479f-8e5a-d2ba7bc3efdd"; /> do you have multiple management servers ? @bradh352 -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3515385550 > It looks like restarting the management nodes caused it to re-evaluate. I waited 30 minutes and nothing happened but after restarting the management nodes it picked it up. restarting ssvm should help. is the issue fixed now ? @bradh352 -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3514016709 It looks like restarting the management nodes caused it to re-evaluate. I waited 30 minutes and nothing happened but after restarting the management nodes it picked it up. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bhouse-nexthop commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513858455 > ok, need some investigation > > can you manually update the `checksum` of the template to the md5sum value (`050eb`) in `vm_template` table ? I've done that, what do I need to trigger it to attempt to use it? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513832617 > > is there a template named systemvm-kvm-4.22.0-x86_64 ? > > Yes, that is the one with the issue: > > https://private-user-images.githubusercontent.com/19732188/512363992-70dc3ea1-ea49-465e-9ef9-c9e456bee08a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjI4MDc4MDMsIm5iZiI6MTc2MjgwNzUwMywicGF0aCI6Ii8xOTczMjE4OC81MTIzNjM5OTItNzBkYzNlYTEtZWE0OS00NjVlLTllZjktYzllNDU2YmVlMDhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTEwVDIwNDUwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0MzM4YjgxMjMwZjEwNWY4MzA0ZDQwOWNjNTllYjI5Nzk5MDU2YjM5N2E4ZjM0YTk0YTE1MDVjMTFhYjcxNTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ukq7-2vsOobIYCJsZEmRRyPK2Jd5WvZNAwBt6ZirieU";> ok, need some investigation can you manually update the `checksum` of the template to the md5sum value (`050eb`) in `vm_template` table ? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513699496 > is there a template named systemvm-kvm-4.22.0-x86_64 ? Yes, that is the one with the issue: https://github.com/user-attachments/assets/70dc3ea1-ea49-465e-9ef9-c9e456bee08a"; /> -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513683314 > I'm using the official repo at download.cloudstack.org: > > ``` > root@node1:~# cat /etc/apt/sources.list.d/cloudstack.sources > # Cloudstack repository list > # https://download.cloudstack.org/ubuntu > X-Repolib-Name: Cloudstack > Types: deb > URIs: https://download.cloudstack.org/ubuntu > Suites: noble > Components: 4.22 > Signed-By: /etc/apt/trusted.gpg.d/cloudstack.asc > ``` > > I just deleted the ssvm to see what would happen, it does show 4.22 in the UI, but its still using the 4.20.2 template as far as I can tell when inspecting it. is there a template named systemvm-kvm-4.22.0-x86_64 ? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513639435 I'm using the official repo at download.cloudstack.org: ``` root@node1:~# cat /etc/apt/sources.list.d/cloudstack.sources # Cloudstack repository list # https://download.cloudstack.org/ubuntu X-Repolib-Name: Cloudstack Types: deb URIs: https://download.cloudstack.org/ubuntu Suites: noble Components: 4.22 Signed-By: /etc/apt/trusted.gpg.d/cloudstack.asc ``` I just deleted the ssvm to see what would happen, it does show 4.22 in the UI, but its still using the 4.20.2 template as far as I can tell when inspecting it. https://github.com/user-attachments/assets/9dc7a7cb-21b2-4b1d-b9cd-2295b88f453b"; /> Just to be 100% clear, I did NOT run the `cloud-install-sys-tmplt` until I saw the error in the UI saying the 4.22 template had failed. Nor did I attempt any other method of initializing the system VM. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513558703 > All I did was change my repo file and do a normal apt-get dist-upgrade to pull in the latest package versions. I then logged into the UI and saw that error message. > > I did not specify a checksum anywhere. > > I do see the same error with an updated timestamp when I try to forcibly install the template as per the above comment using the `cloud-install-sys-tmplt` script. The timestamp updates so I know its a different error but the same message. > > Its odd that one checksum is super long and the other is a shorter more normal md5 checksum length. which repo do you use ? you can register a SYSTEM template on UI. I do not recommend to us `cloud-install-sys-tmplt` as it will overwrite the last SYSTEM template on secondary storage, but the template image on primary storage is not changed. 4.22 uses SHA-512 sum instead of MD5 sum. The mismatch might be because the SSVM is not recreated or live-patched. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513482085 All I did was change my repo file and do a normal apt-get dist-upgrade to pull in the latest package versions. I then logged into the UI and saw that error message. I did not specify a checksum anywhere. I do see the same error with an updated timestamp when I try to forcibly install the template as per the above comment using the `cloud-install-sys-tmplt` script. The timestamp updates so I know its a different error but the same message. Its odd that one checksum is super long and the other is a shorter more normal md5 checksum length. -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
weizhouapache commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513464237 the systemvm template should be installed automatically did you specify the checksum value ? -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513450847 I restarted all my management nodes still nothing, can't delete the bad template either -- 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]
Re: [I] Cloudstack 4.22 upgrade: SystemVM template update fails [cloudstack]
bradh352 commented on issue #12042: URL: https://github.com/apache/cloudstack/issues/12042#issuecomment-3513438049 ``` -- 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]
