weizhouapache commented on PR #10317: URL: https://github.com/apache/cloudstack/pull/10317#issuecomment-2633313713
> > @rp- this seems to be an issue with the script `cloud-install-sys-tmplt` , right ? > > not directly, as the script only updates the `vm_template` table and before cloudstack-management hasn't upgraded all the sql, there isn't even a table `template_store_ref` yet. So you can only fix that issue within the code. > > There is this code here: > > https://github.com/apache/cloudstack/blob/cd81398cb7176698196f72002df5d6088befbaed/engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/TemplateServiceImpl.java#L1242 > > Which does add the seeded entries, but at that time, no secondary storage is mounted, so you can't get the correct sizes. thanks @rp- -- 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-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org