Noelantogerorge commented on issue #7762:
URL: https://github.com/apache/cloudstack/issues/7762#issuecomment-1648013460

   @kiranchavala 
   Please find the service yml attached
   <[svc.txt](https://github.com/apache/cloudstack/files/12146885/svc.txt)>
   
   
   Kubectl get pods -A
   NAMESPACE              NAME                                                  
   READY   STATUS    RESTARTS       AGE
   jenkins                jenkins-0                                             
   1/1     Running   0              3d1h
   kube-system            cloud-controller-manager-54d96fb86c-cx7h5             
   1/1     Running   1 (2d4h ago)   3d3h
   kube-system            coredns-787d4945fb-54zmc                              
   1/1     Running   0              3d3h
   kube-system            coredns-787d4945fb-n7z28                              
   1/1     Running   0              3d3h
   kube-system            etcd-operations-control-189780d0e0d                   
   1/1     Running   0              3d3h
   kube-system            kube-apiserver-operations-control-189780d0e0d         
   1/1     Running   0              3d3h
   kube-system            
kube-controller-manager-operations-control-189780d0e0d   1/1     Running   1 
(2d4h ago)   3d3h
   kube-system            kube-proxy-6plxb                                      
   1/1     Running   0              3d3h
   kube-system            kube-proxy-6qjcv                                      
   1/1     Running   0              3d3h
   kube-system            kube-scheduler-operations-control-189780d0e0d         
   1/1     Running   1 (2d4h ago)   3d3h
   kube-system            weave-net-6npz2                                       
   2/2     Running   1 (3d3h ago)   3d3h
   kube-system            weave-net-7766c                                       
   2/2     Running   0              3d3h
   kubernetes-dashboard   dashboard-metrics-scraper-7bc864c59-9zvl4             
   1/1     Running   0              3d3h
   kubernetes-dashboard   kubernetes-dashboard-6c7ccbcf87-sdcmm                 
   1/1     Running   0              3d3h
   mtest                  kanimango-mail-79dcc9c685-wqf4w                       
   1/1     Running   0              3d2h
   
   All pods are in running state and I can deploye a service as loadbalancer. 
Cloudstack is automatically assigning the public IP.
   But when I try to deploy service as loadbalancer and a specific IP I am 
getting below error
   
   kubectl get svc
   NAME      TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)               
           AGE
   jenkins   LoadBalancer   10.97.136.234   <pending>     
8080:30406/TCP,50000:30718/TCP   5s
   
   Its logs is as follow
   Events:
     Type     Reason                  Age                  From                
Message
     ----     ------                  ----                 ----                
-------
     Normal   EnsuringLoadBalancer    71s (x6 over 4m11s)  service-controller  
Ensuring load balancer
     Warning  SyncLoadBalancerFailed  66s (x6 over 4m6s)   service-controller  
Error syncing load balancer: failed to ensure load balancer: error creating 
load balancer rule a4109576280094e5f851cc5b51e21f6c-tcp-8080: CloudStack API 
error 537 (CSExceptionErrorCode: 9999): The range specified, 8080-8080, 
conflicts with rule 658 which has 8080-8080
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to