apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.83k stars 1.07k forks source link

Cloudstack CSI Driver cannot mount pvc after attach volume on VMware #7519

Open tungntvn23 opened 1 year ago

tungntvn23 commented 1 year ago
ISSUE TYPE
COMPONENT NAME
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
weizhouapache commented 1 year ago

@tungntvn23 what's the guest OS ?

we have noticed some difference between OSes, for example https://github.com/apache/cloudstack/issues/7316

tungntvn23 commented 1 year ago

@weizhouapache I use default system vm template for k8s node Debian GNU/Linux 11 (bullseye) and centos 7 for management with vmware 7.

tungntvn23 commented 1 year ago

i try execute command inside container and get error:

root@democluster04-node-18809e60f05:~# ctr --namespace=k8s.io task exec -t --exec-id bash1 6e17361f0d4e773da13ab3a32c24394a1fd4186198032d0c03a918b77afacb55 sh
# echo '- - -' > /sys/class/scsi_host/host0/scan
sh: can't create /sys/class/scsi_host/host0/scan: Read-only file system
# whoami
root
#

I also check privileged is enable.

zap51 commented 11 months ago

Hi, @kiranchavala @weizhouapache An official CSI for CloudStack would be really good. I've had experience with https://github.com/apalia/cloudstack-csi-driver, looks no longer maintained and doesn't work like with detaching volumes from the nodes, working with projects etc., Please let us know if we have a roadmap for this, this would be really appreciated :)

weizhouapache commented 10 months ago

moved to 4.18.2.0 milestone