You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "rohityadavcloud (via GitHub)" <gi...@apache.org> on 2025/06/10 05:42:27 UTC

[I] CKS Data ISO registration fails but ISO is registered [cloudstack]

rohityadavcloud opened a new issue, #10994:
URL: https://github.com/apache/cloudstack/issues/10994

   ### problem
   
   CKS data iso registration failure doesn't automatically cleanup registered ISO.
   
   ### versions
   
   ACS 4.20.1
   
   ### The steps to reproduce the bug
   
   I tried to register a CKS data iso in an env with two zones (one fully functional, and one dummy created but with no secondary storage & disabled). It failed with an error that no image storage found, but then the ISO got registerd in the zone that was fully functional & enabled with no CKS data iso entry.
   
   Workaround - had to remove the ISO manually. After deleting the dummy zone, re-registerd and it worked.
   
   ### What to do about it?
   
   _No response_


-- 
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] CKS Data ISO registration fails but ISO is registered [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #10994:
URL: https://github.com/apache/cloudstack/issues/10994#issuecomment-3468851635

   @rohityadavcloud , when choosing “all zones” for an upload/registering this is a valid failure, isn't it?
   
   It seems to me an error should be thrown. When choosing a specific zone which has storage it should not fail. Do you have the error message and command/API to share?


-- 
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] CKS Data ISO registration fails but ISO is registered [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar commented on issue #10994:
URL: https://github.com/apache/cloudstack/issues/10994#issuecomment-3776499696

   Fixed by #12418 


-- 
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] CKS Data ISO registration fails but ISO is registered [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #10994:
URL: https://github.com/apache/cloudstack/issues/10994#issuecomment-3434950115

   Can the back end handle failures so either not create isos before form validation? Or cleanup on failure?


-- 
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] CKS Data ISO registration fails but ISO is registered [cloudstack]

Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar closed issue #10994: CKS Data ISO registration fails but ISO is registered
URL: https://github.com/apache/cloudstack/issues/10994


-- 
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] CKS Data ISO registration fails but ISO is registered [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10994:
URL: https://github.com/apache/cloudstack/issues/10994#issuecomment-3266850785

   when add a Kubenetes Version (aka register CKS ISO), we can choose the zone
   


-- 
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] CKS Data ISO registration fails but ISO is registered [cloudstack]

Posted by "Damans227 (via GitHub)" <gi...@apache.org>.
Damans227 commented on issue #10994:
URL: https://github.com/apache/cloudstack/issues/10994#issuecomment-3741385697

   I dug into this issue. The ISO gets created [here](https://github.com/apache/cloudstack/blob/main/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/version/KubernetesVersionManagerImpl.java#L403) via `registerKubernetesVersionIso() → templateService.registerIso()` ([line 218](https://github.com/apache/cloudstack/blob/main/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/version/KubernetesVersionManagerImpl.java#L218)) before the image store check happens downstream, so it's orphaned on failure. Adding upfront validation to fail fast before creating the ISO makes sense imo.


-- 
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