Comments (10)
the network problem was on my end and had nothing to do with ceph-csi.
it's still not working and the logs are looking the same as uploaded.
from ceph-csi.
at least the ceph keyring doesn't look right to me in the provisioner log, there was an extra trailing \n
AQDi4QVa4oKkKRAAjNMW7IzhwfqSDFWyW2jaxQ==\n
Please recreate the secret with
echo -n AQDi4QVa4oKkKRAAjNMW7IzhwfqSDFWyW2jaxQ==|base64
from ceph-csi.
please also attach the driver log from container csi-rbdplugin here https://github.com/ceph/ceph-csi/blob/master/deploy/rbd/kubernetes/csi-rbdplugin.yaml#L41
from ceph-csi.
Thanks, i've recreated the secret, this part looks fine now.
A pvc can't be created, yet.
Here are the current logs:
logs-from-csi-provisioner-in-csi-rbdplugin-provisioner-0(1).txt
logs-from-csi-rbdplugin-attacher-in-csi-rbdplugin-attacher-0(1).txt
logs-from-driver-registrar-in-csi-rbdplugin-kqdsj.txt
logs-from-csi-rbdplugin-in-csi-rbdplugin-kqdsj.txt
from ceph-csi.
this is where rbd got stuck,
rbd: status pvc-6fa0d2c1e2d811e8 using mon pve2.wbig-wg.net:6789,pve3.wbig-wg.net:6789,pve6.wbig-wg.net:6789, pool test id kubernetes key AQAWDeJbnPREOhAASSyoGW8YmZPM49ct5AQlvQ==
can you check on your rbd driver container, if
rbd status --pool test -m pve2.wbig-wg.net:6789,pve3.wbig-wg.net:6789,pve6.wbig-wg.net:6789 --id kubernetes --key=AQAWDeJbnPREOhAASSyoGW8YmZPM49ct5AQlvQ== pvc-6fa0d2c1e2d811e8
works?
from ceph-csi.
# kubectl exec csi-rbdplugin-kqdsj -c csi-rbdplugin -i -t -- sh -il
sh-4.2# rbd status --pool test -m pve2.wbig-wg.net:6789,pve3.wbig-wg.net:6789,pve6.wbig-wg.net:6789 --id kubernetes --key=AQAWDeJbnPREOhAASSyoGW8YmZPM49ct5AQlvQ== pvc-6fa0d2c1e2d811e8
2018-11-08 14:00:32.896988 7f1f2467ad40 -1 did not load config file, using default settings.
2018-11-08 14:00:32.901703 7f1f2467ad40 -1 Errors while parsing config file!
2018-11-08 14:00:32.901718 7f1f2467ad40 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2018-11-08 14:00:32.901720 7f1f2467ad40 -1 parse_file: cannot open ~/.ceph/ceph.conf: (2) No such file or directory
2018-11-08 14:00:32.901721 7f1f2467ad40 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2018-11-08 14:00:32.902992 7f1f2467ad40 -1 Errors while parsing config file!
2018-11-08 14:00:32.903005 7f1f2467ad40 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2018-11-08 14:00:32.903007 7f1f2467ad40 -1 parse_file: cannot open ~/.ceph/ceph.conf: (2) No such file or directory
2018-11-08 14:00:32.903007 7f1f2467ad40 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2018-11-08 14:00:32.946054 7f1f2467ad40 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.kubernetes.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory
and
ls -la /etc/ceph/
total 12
drwxr-xr-x 2 root root 4096 Oct 26 14:08 .
drwxr-xr-x 1 root root 4096 Nov 7 21:58 ..
-rw-r--r-- 1 root root 92 May 21 11:32 rbdmap
from ceph-csi.
I also tried the following:
# rbd du --pool test -m pve2.wbig-wg.net:6789,pve3.wbig-wg.net:6789,pve6.wbig-wg.net:6789 --id kubernetes --key=AQAWDeJbnPREOhAASSyoGW8YmZPM49ct5AQlvQ==
the output is the same and the command does hang / not complete.
from ceph-csi.
Ahh i found that the ceph monitor does listen on a seperate ip address and not to any address (as i assumed). the cli test from the container works now.
i'll try this by updating the config that the pod's use and report here again.
from ceph-csi.
Nice, it's working now \o/
# kubectl get persistentvolumeclaim
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
rbd-pvc Bound pvc-cb045cc4e36111e8 4Gi RWO csi-rbd 43s
Most of the times, it's the little things ;)
Thanks @rootfs for pointing me into the right direction!
from ceph-csi.
cool!
from ceph-csi.
Related Issues (20)
- allow podSecurityContexts to be set in `nodeplugin` and `provisioner` of chart `ceph-csi-cephfs` HOT 2
- Add http health endpoint for ceph-csi-cephfs and ceph-csi-rbd HOT 4
- cephfs-csi Pod has always been in containercreating HOT 3
- CephFS keyring requires nonsensicaly enormous and insecure privileges to work HOT 6
- Update modprobe in csi-rbdplugin to support zstd compressed rbd and nbd kernel module HOT 7
- Unable to create CephFS subvolume dynamically (`no available topology found`) HOT 2
- cephFS: Remove the 400 snapshot limitation from the doc HOT 2
- Allow to change mounter option from an existing PV HOT 9
- cephfs csi error,mds mds status Start request repeated too quickly. Failed with result 'signal'. HOT 3
- New csiplugin-configmap.yaml setting to override PVs's volumeAttributes.mounter HOT 2
- 'luksOpen'` encrypted volumes HOT 1
- rbd remap on network failure HOT 8
- Remove podSecurityPolicy from the helm documentation
- Ensure ceph-lock is always released when staging encrypted cephfs volume HOT 4
- Improve performance in encrypted cephfs provisioning HOT 3
- Update the capabilities needed for client.csi-cephfs-node in case of encryption HOT 3
- Ceph-csi enable deployments to multiple namespaces per cluster HOT 3
- CSI snapshots of an erasure-coded-backed volume stores snapshot data in the metadata pool HOT 2
- On boot node, rbd plugin binded staging path to target without mapping the rbd image HOT 4
- `csi-rbdplugin` and `csi-cephfsplugin` panic on new nodes because `ControllerGetCapabilities` is called HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceph-csi.