You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/08/09 13:39:24 UTC

[GitHub] [cloudstack] tungntvn23 opened a new issue, #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

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

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   API, Kubernetes Service
   
   ##### CLOUDSTACK VERSION
   Cloudstack 4.14.0.0
   
   ##### CONFIGURATION
   Advanged Networking, Vmware vSphere
   
   
   ##### OS / ENVIRONMENT
   * Vmware vSphere 6.5
   * CentOS 7
   
   
   ##### SUMMARY
   After upgrade from 4.13 to 4.14 and enable kubernetest feature then i cannot create kubernetes cluster.
   
   
   ##### STEPS TO REPRODUCE
   - Login to UI.
   - Kubernetes service tab to click Add Kubernetes Cluster.
   - Fill all information.
   - Click OK
   
   ##### EXPECTED RESULTS
   - Kubernetes cluster create successfully.
   - State is OK
   
   ##### ACTUAL RESULTS
   - Kubernetes cluster create failed.
   - State is error.
   - Error message:
   "Failed to attach binaries ISO for VM: test-master in the Kubernetes cluster name: test"
   
   Note: i try manual attach binaries iso to vm test-master and get successfully. 
   


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


[GitHub] [cloudstack] rohityadavcloud closed issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster
URL: https://github.com/apache/cloudstack/issues/4314


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


[GitHub] [cloudstack] rohityadavcloud closed issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster
URL: https://github.com/apache/cloudstack/issues/4314


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


[GitHub] [cloudstack] PaulAngus commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
PaulAngus commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1151097759

   issue still occurring in 4.16.1
   
   Failed to attach binaries ISO for VM : k8s-1215-2-node-181488f782a in the Kubernetes cluster name: k8s-1215-2
   
   iso attaches 1 in 10 times
   
   something is attached to VM
   ![image](https://user-images.githubusercontent.com/4810220/172854406-519578f6-3c0a-448e-a018-dd1500340575.png)
   
   
   


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


[GitHub] [cloudstack] PaulAngus closed issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
PaulAngus closed issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster
URL: https://github.com/apache/cloudstack/issues/4314


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


[GitHub] [cloudstack] rohityadavcloud commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1209247133

   Closing this based on inactivity and we aren't able to reproduce this, pl test latest 4.16 or 4.17 and re-open if you can share steps of reproduction cc @tungntvn23 @PaulAngus 


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


[GitHub] [cloudstack] rohityadavcloud commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1216470668

   Fixed in https://github.com/apache/cloudstack/pull/6625


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


[GitHub] [cloudstack] tungntvn23 commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
tungntvn23 commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1213208235

   > @tungntvn23 From your original logs what I understand is that ISO is failing to get attached because ACS is not being able to find VM on the given host to execute AttachIsoCommand. This must be because VM has been moved to a different host due to DRS. I can check and try to add an improvement for ACS to search on other hosts while attaching ISO if it is not on the original host. But if the fix works it will go into 4.17 branch. @PaulAngus is the issue similar for you? Is your env also having DRS enabled? Although you mentioned you see an ISO attached to the k8s VM. Can you please check if it is the k8s ISO or something different
   
   Thank @shwstppr , i will test with ACS 4.17 after the issue is fixed.


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


[GitHub] [cloudstack] rohityadavcloud commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1209395944

   @tungntvn23 can you share your CloudStack version, hypervisor and storage you're using and CKS/kubernetes iso/version? cc @shwstppr @davidjumani 


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


[GitHub] [cloudstack] tungntvn23 commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
tungntvn23 commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1213205251

   > @tungntvn23 can you share your CloudStack version, hypervisor and storage you're using and CKS/kubernetes iso/version? cc @shwstppr @davidjumani
   
   Hi @rohityadavcloud ,
   
   My env:
   - ACS 16.0
   - Vmware 6.7
   - Storage vSAN
   - K8S version 1.22.6


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


[GitHub] [cloudstack] harikrishna-patnala commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1171555795

   @PaulAngus any idea what is that attached to VM under CD/DVD Media ?


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


[GitHub] [cloudstack] shwstppr commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1210411762

   @tungntvn23 From your original logs what I understand is that ISO is failing to get attached because ACS is not being able to find VM on the given host to execute AttachIsoCommand. This must be because VM has been moved to a different host due to DRS.
   I can check and try to add an improvement for ACS to search on other hosts while attaching ISO if it is not on the original host. But if the fix works it will go into 4.17 branch.
   @PaulAngus is the issue similar for you? Is your env also having DRS enabled? Although you mentioned you see an ISO attached to the k8s VM. Can you please check if it is the k8s ISO or something different


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


[GitHub] [cloudstack] tungntvn23 commented on issue #4314: Failed to attach binaries ISO for VM when create kubernetes cluster

Posted by GitBox <gi...@apache.org>.
tungntvn23 commented on issue #4314:
URL: https://github.com/apache/cloudstack/issues/4314#issuecomment-1209388041

   Hi @rohityadavcloud ,
   
   Issue still happen.
   My step:
   
   1. Login to UI.
   2. Kubernetes service tab to click Add Kubernetes Cluster.
   3. Fill all information.
   4. Click OK
   
   
   Error message:
   `Failed to attach binaries ISO for VM : cluster01-node-18282cc1dbf in the Kubernetes cluster name: cluster01`
   
   
   


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