cdk-cinder not provisioning volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I deployed charmed-openstack 2023.1 [1] with juju 3.1 and added further services like octavia and designate. This works fine, as far as I can evaluate.
On top of it, I try to deploy charmed-kubernetes with openstack-
-------
Not working is the creation of a persistentVolum
$kubectl create -f - <<EOY
kind: PersistentVolum
apiVersion: v1
metadata:
name: testclaim
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: cdk-cinder
EOY
$kubectl describe sc cdk-cinder
Name: cdk-cinder
IsDefaultClass: No
Annotations: juju.io/
Provisioner: cinder.
Parameters: availability=nova
AllowVolumeExpa
MountOptions: <none>
ReclaimPolicy: Delete
VolumeBindingMode: Immediate
Events: <none>
-------
The creation of this testclaim stucks pending:
$kubectl describe pvc testclaim
Name: testclaim
Namespace: default
StorageClass: cdk-cinder
Status: Pending
Volume:
Labels: <none>
Annotations: volume.
Finalizers: [kubernetes.
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ExternalProvisi
-------
An related Error in the debug-log seems to be:
unit-kubernetes
-------
From there I tested different scenarios. Different juju (2.9) or kubernetes (1.26,1.27) releases or added cinder-csi charm, but the pending state of PVC stayed consistent. I noticed that the command '$kubectl get csidriver' does not return a csidriver with cdk-charm, but does with cinder-csi charm.
Managing storage from juju storage-pool cinder and usage of other charms on the other hand works fine.
Best D.
[1] https:/
[2] https:/
I am suffering from exact same situation.