[Starlingx-discuss] stx aio duplex pre-6.0 ceph selfLink was empty, can't make reference

Embedded Devel lists at optimcloud.com
Thu Sep 30 13:00:24 UTC 2021


seems doing the follwoing resolved my binding issues with ceph / rdb

unexpected error getting claim reference: selfLink was empty, can't make 
reference
vi /etc/kubernetes/manifests/kube-apiserver.yaml

spec:
   containers:
   - command:
     - kube-apiserver
add

- --feature-gates=RemoveSelfLink=false
sudo systemctl restart kubelet

[sysadmin at controller-0 ~(keystone_admin)]$ kubectl get pvc --all-namespaces
NAMESPACE   NAME                               STATUS   VOLUME              
                       CAPACITY   ACCESS MODES   STORAGECLASS   AGE
default     data-gitlab-postgresql-0           Bound    
pvc-37557d78-6599-4c8a-8361-31b66ccb9f2a   8Gi        RWO            
general        7h4m
default     gitlab-minio                       Bound    
pvc-5e1f31c9-8849-452e-83b1-a1801c3a6d6c   10Gi       RWO            
general        7h4m
default     gitlab-prometheus-server           Bound    
pvc-5d3e40de-e995-46be-b35f-9f3fae281a84   8Gi        RWO            
general        7h4m
default     redis-data-gitlab-redis-master-0   Bound    
pvc-7f063bee-eab3-4b71-a48e-38aed69166bd   8Gi        RWO            
general        7h4m
default     repo-data-gitlab-gitaly-0          Bound    
pvc-249dfeb3-7ed3-4884-b5b2-ba0e12e7bea9   50Gi       RWO            
general        7h4m
default     rwo-test-claim1                    Bound    
pvc-197b50a4-beca-491f-8a16-fc6551f46ad2   1Gi        RWO            
general        3h20m
default     rwo-test-claim2                    Bound    
pvc-31f0870f-784d-4cd3-9665-898cfaf1710d   1Gi        RWO            
general        3h19m




On Thursday 30 September 2021 19:35:36 PM (+07:00), Embedded Devel wrote:

 > so doing some testing on a deployed stx aio duplex pre-6.0 ceph seems to 
be havings issues deploying pvc's
 >
 > controller-0:~$ kubectl get pvc --all-namespaces
 > NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
 > default data-gitlab-postgresql-0 Pending general 6h36m
 > default gitlab-minio Pending general 6h36m
 > default gitlab-prometheus-server Pending general 6h36m
 > default redis-data-gitlab-redis-master-0 Pending general 6h36m
 > default repo-data-gitlab-gitaly-0 Pending general 6h36m
 > default rwo-test-claim1 Pending general 172m
 > default rwo-test-claim2 Pending general 172m
 >
 > even using the test examples on the web site
 > 
https://docs.starlingx.io/storage/kubernetes/storage-configuration-create-readwriteonce-persistent-volume-claims.html#storage-configuration-create-readwriteonce-persistent-volume-claims
 
>
 >
 > trying to debug i see this
 >
 > kubectl logs -f rbd-provisioner-9bbb7d9b5-r8n5s -n kube-system
 > I0930 09:43:07.506288 1 main.go:85] Creating RBD provisioner 
ceph.com/rbd with identity: ceph.com/rbd
 > I0930 09:43:07.509134 1 leaderelection.go:185] attempting to acquire 
leader lease kube-system/ceph.com-rbd...
 >
 > and
 >
 > controller-0:~$ kubectl logs -f rbd-provisioner-9bbb7d9b5-mnqb8 -n 
kube-system
 > E0930 12:13:20.070818 1 controller.go:1004] provision 
"default/repo-data-gitlab-gitaly-0" class "general": unexpected error 
getting claim reference: selfLink was empty, can't make reference
 > I0930 12:28:20.057340 1 controller.go:987] provision 
"default/rwo-test-claim2" class "general": started
 > I0930 12:28:20.057394 1 controller.go:987] provision 
"default/gitlab-prometheus-server" class "general": started
 > I0930 12:28:20.057340 1 controller.go:987] provision 
"default/rwo-test-claim1" class "general": started
 > I0930 12:28:20.057340 1 controller.go:987] provision 
"default/repo-data-gitlab-gitaly-0" class "general": started
 > E0930 12:28:20.064180 1 controller.go:1004] provision 
"default/repo-data-gitlab-gitaly-0" class "general": unexpected error 
getting claim reference: selfLink was empty, can't make reference
 > E0930 12:28:20.064217 1 controller.go:1004] provision 
"default/rwo-test-claim2" class "general": unexpected error getting claim 
reference: selfLink was empty, can't make reference
 > E0930 12:28:20.064180 1 controller.go:1004] provision 
"default/gitlab-prometheus-server" class "general": unexpected error 
getting claim reference: selfLink was empty, can't make reference
 > I0930 12:28:20.064269 1 controller.go:987] provision 
"default/gitlab-minio" class "general": started
 > I0930 12:28:20.064282 1 controller.go:987] provision 
"default/data-gitlab-postgresql-0" class "general": started
 > I0930 12:28:20.064284 1 controller.go:987] provision 
"default/redis-data-gitlab-redis-master-0" class "general": started
 > E0930 12:28:20.064244 1 controller.go:1004] provision 
"default/rwo-test-claim1" class "general": unexpected error getting claim 
reference: selfLink was empty, can't make reference
 > E0930 12:28:20.067858 1 controller.go:1004] provision 
"default/data-gitlab-postgresql-0" class "general": unexpected error 
getting claim reference: selfLink was empty, can't make reference
 > E0930 12:28:20.067884 1 controller.go:1004] provision 
"default/redis-data-gitlab-redis-master-0" class "general": unexpected 
error getting claim reference: selfLink was empty, can't make reference
 > E0930 12:28:20.067858 1 controller.go:1004] provision 
"default/gitlab-minio" class "general": unexpected error getting claim 
reference: selfLink was empty, can't make reference
 >
 > any ideas on how to resolv ?
-- 
Sent with Vivaldi Mail. Download Vivaldi for free at vivaldi.com



More information about the Starlingx-discuss mailing list