kiranchavala commented on issue #6637:
URL: https://github.com/apache/cloudstack/issues/6637#issuecomment-1943458324

   @weizhouapache Just checked  with type : LoadBalancer on Calico CNI  and its 
failing to allocate a public ip address
   
   ```
   
   W0214 10:16:25.316085       1 reflector.go:405] 
pkg/mod/k8s.io/client-go@v0.18.18/tools/cache/reflector.go:125: watch of 
*v1.ConfigMap ended with: an error on the server ("unable to decode an event 
from the watch stream: http2: client connection lost") has prevented the 
request from succeeding
   W0214 10:16:25.316238       1 reflector.go:405] 
pkg/mod/k8s.io/client-go@v0.18.18/tools/cache/reflector.go:125: watch of 
*v1.ConfigMap ended with: an error on the server ("unable to decode an event 
from the watch stream: http2: client connection lost") has prevented the 
request from succeeding
   E0214 10:16:28.208078       1 leaderelection.go:324] error retrieving 
resource lock kube-system/cloud-controller-manager: Get 
https://10.96.0.1:443/api/v1/namespaces/kube-system/endpoints/cloud-controller-manager:
 http2: client connection lost
   E0214 10:16:32.220693       1 event.go:316] Could not construct reference 
to: '&v1.Lease{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, 
ObjectMeta:v1.ObjectMeta{Name:"cloud-controller-manager", GenerateName:"", 
Namespace:"kube-system", SelfLink:"", 
UID:"711a72c5-31dc-4ee0-bbd4-67c988641693", ResourceVersion:"1539", 
Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, 
ext:63843502224, loc:(*time.Location)(0x30c2040)}}, 
DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), 
Labels:map[string]string(nil), Annotations:map[string]string(nil), 
OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), 
ClusterName:"", 
ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"cloudstack-ccm",
 Operation:"Update", APIVersion:"coordination.k8s.io/v1", 
Time:(*v1.Time)(0xc0001a7f20), FieldsType:"FieldsV1", 
FieldsV1:(*v1.FieldsV1)(0xc0001a7f60)}}}, 
Spec:v1.LeaseSpec{HolderIdentity:(*string)(nil), 
LeaseDurationSeconds:(*int32)(nil), AcquireTim
 e:(*v1.MicroTime)(nil), RenewTime:(*v1.MicroTime)(nil), 
LeaseTransitions:(*int32)(nil)}}' due to: 'no kind is registered for the type 
v1.Lease in scheme "pkg/runtime/scheme.go:101"'. Will not report event: 
'Normal' 'LeaderElection' 
'cloud-controller-manager-574bcb86c-fw2l2_bd39e3c6-084a-41df-bd7a-8c920cac61cb 
became leader'
   I0214 10:16:32.221165       1 leaderelection.go:252] successfully acquired 
lease kube-system/cloud-controller-manager
   I0214 10:16:32.223601       1 node_controller.go:110] Sending events to api 
server.
   I0214 10:16:32.223706       1 controllermanager.go:247] Started "cloud-node"
   I0214 10:16:32.226055       1 node_lifecycle_controller.go:78] Sending 
events to api server
   I0214 10:16:32.313288       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"kube-system", 
Name:"cloud-controller-manager", UID:"7c0b707b-34f5-4a5c-b3e4-6fbc5d9bce32", 
APIVersion:"v1", ResourceVersion:"1538", FieldPath:""}): type: 'Normal' reason: 
'LeaderElection' 
cloud-controller-manager-574bcb86c-fw2l2_bd39e3c6-084a-41df-bd7a-8c920cac61cb 
became leader
   I0214 10:16:32.315475       1 controllermanager.go:247] Started 
"cloud-node-lifecycle"
   I0214 10:16:32.513923       1 controllermanager.go:247] Started "service"
   I0214 10:16:32.514493       1 core.go:101] Will not configure cloud provider 
routes for allocate-node-cidrs: false, configure-cloud-routes: true.
   W0214 10:16:32.514805       1 controllermanager.go:244] Skipping "route"
   I0214 10:16:32.516421       1 controller.go:208] Starting service controller
   I0214 10:16:32.516452       1 shared_informer.go:223] Waiting for caches to 
sync for service
   I0214 10:16:32.815530       1 shared_informer.go:230] Caches are synced for 
service
   I0214 10:16:32.819667       1 event.go:278] 
Event(v1.ObjectReference{Kind:"Service", Namespace:"default", 
Name:"nginx-deployment2", UID:"725a3133-a5f2-4554-8dd7-b1e6138ec260", 
APIVersion:"v1", ResourceVersion:"1488", FieldPath:""}): type: 'Normal' reason: 
'EnsuringLoadBalancer' Ensuring load balancer
   E0214 10:16:48.754653       1 leaderelection.go:324] error retrieving 
resource lock kube-system/cloud-controller-manager: Get 
https://10.96.0.1:443/api/v1/namespaces/kube-system/endpoints/cloud-controller-manager:
 context deadline exceeded
   E0214 10:16:48.754911       1 event.go:316] Could not construct reference 
to: '&v1.Lease{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, 
ObjectMeta:v1.ObjectMeta{Name:"cloud-controller-manager", GenerateName:"", 
Namespace:"kube-system", SelfLink:"", 
UID:"711a72c5-31dc-4ee0-bbd4-67c988641693", ResourceVersion:"1554", 
Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, 
ext:63843502224, loc:(*time.Location)(0x30c2040)}}, 
DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), 
Labels:map[string]string(nil), Annotations:map[string]string(nil), 
OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), 
ClusterName:"", 
ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"cloudstack-ccm",
 Operation:"Update", APIVersion:"coordination.k8s.io/v1", 
Time:(*v1.Time)(0xc00000d960), FieldsType:"FieldsV1", 
FieldsV1:(*v1.FieldsV1)(0xc00000d980)}}}, 
Spec:v1.LeaseSpec{HolderIdentity:(*string)(nil), 
LeaseDurationSeconds:(*int32)(nil), AcquireTim
 e:(*v1.MicroTime)(nil), RenewTime:(*v1.MicroTime)(nil), 
LeaseTransitions:(*int32)(nil)}}' due to: 'no kind is registered for the type 
v1.Lease in scheme "pkg/runtime/scheme.go:101"'. Will not report event: 
'Normal' 'LeaderElection' 
'cloud-controller-manager-574bcb86c-fw2l2_bd39e3c6-084a-41df-bd7a-8c920cac61cb 
stopped leading'
   I0214 10:16:48.755078       1 leaderelection.go:277] failed to renew lease 
kube-system/cloud-controller-manager: timed out waiting for the condition
   F0214 10:16:48.755210       1 controllermanager.go:213] leaderelection lost
    
   ```
   
    
   
   


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

Reply via email to