kiranchavala opened a new issue, #59:
URL: https://github.com/apache/cloudstack-kubernetes-provider/issues/59

   Steps to reproduce the issue
   
   1. Create a Cloudstack environment with vmware hypervisor 
   
   2. Register the kubernetes iso 
(http://download.cloudstack.org/cks/setup-1.28.4.iso)
   
   3. Launch a K8s cluster  and Wait till the cluster is in running state
   
   4. Deploy a Kubernetes application 
   
   ```
   kubectl create deployment hello-node 
--image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec 
--http-port=80
   ```
   
   
   5. Expose the deployment 
   
   ```
   kubectl expose deploy/hello-node --port=80 --type=LoadBalancer
   ```
   
   6. The public ip is in pending state
   
   
   ```
   kubectl get svc
   NAME         TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE
   hello-node   LoadBalancer   10.111.230.131   <pending>     80:31779/TCP   10s
   kubernetes   ClusterIP      10.96.0.1        <none>        443/TCP        13m
   ```
   
   
   6. Check the logs from 
   
   
   ```
   kubectl logs -f cloud-controller-manager-574bcb86c-b4746 -n kube-system
   ```
   
   
   
   Logs 
   
   ```
   
tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listVirtualMachines&id=&response=json&signature=EyHmAMvkfv2dWFcHuF1nkN0dbeM%3D:
 dial tcp 10.0.33.196:8080: i/o timeout, and error by node name: error 
retrieving node addresses: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listVirtualMachines&name=vbn-node-18deb94a80c&response=json&signature=sBJoU1JnfjRSqo5gDK4CSTLcnMM%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   I0227 17:36:47.802356       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"hello-node", UID:"ffe28375-8929-4d35-a8ed-fb47860c6a9b", APIVersion:"v1", 
ResourceVersion:"2737", FieldPath:""}): type: 'Normal' reason: 
'EnsuringLoadBalancer' Ensuring load balancer
   E0227 17:37:17.835369       1 controller.go:244] error processing service 
default/hello-node (will retry): failed to ensure load balancer: error 
retrieving load balancer rules: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listLoadBalancerRules&keyword=affe2837589294d35a8edfb47860c6a9&listall=true&response=json&signature=sA7IG%2BPIfK28UEYizdqwyXX8qpE%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   I0227 17:37:17.835604       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"hello-node", UID:"ffe28375-8929-4d35-a8ed-fb47860c6a9b", APIVersion:"v1", 
ResourceVersion:"2737", FieldPath:""}): type: 'Warning' reason: 
'SyncLoadBalancerFailed' Error syncing load balancer: failed to ensure load 
balancer: error retrieving load balancer rules: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listLoadBalancerRules&keyword=affe2837589294d35a8edfb47860c6a9&listall=true&response=json&signature=sA7IG%2BPIfK28UEYizdqwyXX8qpE%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   I0227 17:37:22.836100       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"hello-node", UID:"ffe28375-8929-4d35-a8ed-fb47860c6a9b", APIVersion:"v1", 
ResourceVersion:"2742", FieldPath:""}): type: 'Normal' reason: 
'EnsuringLoadBalancer' Ensuring load balancer
   E0227 17:37:52.836411       1 controller.go:244] error processing service 
default/hello-node (will retry): failed to ensure load balancer: error 
retrieving load balancer rules: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listLoadBalancerRules&keyword=affe2837589294d35a8edfb47860c6a9&listall=true&response=json&signature=sA7IG%2BPIfK28UEYizdqwyXX8qpE%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   I0227 17:37:52.837738       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"hello-node", UID:"ffe28375-8929-4d35-a8ed-fb47860c6a9b", APIVersion:"v1", 
ResourceVersion:"2742", FieldPath:""}): type: 'Warning' reason: 
'SyncLoadBalancerFailed' Error syncing load balancer: failed to ensure load 
balancer: error retrieving load balancer rules: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listLoadBalancerRules&keyword=affe2837589294d35a8edfb47860c6a9&listall=true&response=json&signature=sA7IG%2BPIfK28UEYizdqwyXX8qpE%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   I0227 17:38:02.837331       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"hello-node", UID:"ffe28375-8929-4d35-a8ed-fb47860c6a9b", APIVersion:"v1", 
ResourceVersion:"2742", FieldPath:""}): type: 'Normal' reason: 
'EnsuringLoadBalancer' Ensuring load balancer
   E0227 17:38:32.837510       1 controller.go:244] error processing service 
default/hello-node (will retry): failed to ensure load balancer: error 
retrieving load balancer rules: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listLoadBalancerRules&keyword=affe2837589294d35a8edfb47860c6a9&listall=true&response=json&signature=sA7IG%2BPIfK28UEYizdqwyXX8qpE%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   I0227 17:38:32.837651       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"hello-node", UID:"ffe28375-8929-4d35-a8ed-fb47860c6a9b", APIVersion:"v1", 
ResourceVersion:"2742", FieldPath:""}): type: 'Warning' reason: 
'SyncLoadBalancerFailed' Error syncing load balancer: failed to ensure load 
balancer: error retrieving load balancer rules: Get 
http://10.0.33.196:8080/client/api?apiKey=rwdmqchJKcIEbblvkpwidbkHFdw4TxQPvAsF6gGbCqZ9Y_Ht_u1tCl4N_MsUZYzGdvRs4Ohv51fFyku_KMBr2w&command=listLoadBalancerRules&keyword=affe2837589294d35a8edfb47860c6a9&listall=true&response=json&signature=sA7IG%2BPIfK28UEYizdqwyXX8qpE%3D:
 dial tcp 10.0.33.196:8080: i/o timeout
   
   ```


-- 
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: dev-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to