You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "andrijapanicsb (via GitHub)" <gi...@apache.org> on 2023/12/20 15:26:57 UTC
[I] Template reported as Ready/Installed only based on the template_stor_ref, ignoring template_zone_ref [cloudstack]
andrijapanicsb opened a new issue, #8388:
URL: https://github.com/apache/cloudstack/issues/8388
ACS 4.18.1
As the title says:

The template_zone_ref for the given template is missing/not present
The template_store_ref for the given template is present/populated.
ACS shows the template as Ready/Installed, while in reality, ACS consider it absent in that Zone (when you try to use it) - due to missing zone ref records.
Reproduce the issue (with systemVM template specifically):
- Disable the zone, delete SSVM/CPVM
- in the DB, remove record for the systemVM template from the template_zone_ref
- Enable the Zone, observer SSVM/CPVM created in DB but not started
- Observer the mgmt logs having error: com.cloud.utils.exception.CloudRuntimeException: Unable to orchestrate start VM instance {"id":4,"instanceName":"v-4-VM","type":"ConsoleProxy","uuid":"c4bc6e96-d0ff-49ef-84c0-2e3f9d209092"} due to [T**emplate for the VM instance can not be found in the zone ID: %s,** VM instance configuration needs to be updated].
--
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: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Template reported as Ready/Installed only based on the template_stor_ref, ignoring template_zone_ref [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8388:
URL: https://github.com/apache/cloudstack/issues/8388#issuecomment-1864691977
@andrijapanicsb
did you face the issue in other scenario ? for example, add new zone ?
I wonder if there is a way to reproduce the issue without manual db changes.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Template reported as Ready/Installed only based on the template_stor_ref, ignoring template_zone_ref [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #8388: Template reported as Ready/Installed only based on the template_stor_ref, ignoring template_zone_ref
URL: https://github.com/apache/cloudstack/issues/8388
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Template reported as Ready/Installed only based on the template_stor_ref, ignoring template_zone_ref [cloudstack]
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on issue #8388:
URL: https://github.com/apache/cloudstack/issues/8388#issuecomment-1864856382
I faced the issue when triggering template auto-install for ADDITIONAL zone, while (by mistake) the template was not marked as cross_zone=1 (it was =0)
Not sure if this might be an isolated case and how this could be visible for other templates.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Template reported as Ready/Installed only based on the template_stor_ref, ignoring template_zone_ref [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8388:
URL: https://github.com/apache/cloudstack/issues/8388#issuecomment-2076479184
Fixed by https://github.com/apache/cloudstack/pull/8395
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org