Summary
/opt/cni/bin is mounted as read-only on workload cluster nodes deployed via the OLVM Provider.
Steps to Reproduce
- 1.Install OCNE 2.0 CLI
- 2.Install Libvirt
- Set OLVM environment variables
- Run:
ocne image create --type olvm --arch amd64 -l debug
ocne image upload --type olvm --file $HOME/.ocne/images/boot.qcow2-1.32-amd64.olvm --arch amd64 --config demo.yaml
-
Create an OLVM Template
-
Start the cluster:
ocne cluster start --config demo1.yaml
export KUBECONFIG=$(ocne cluster show --cluster-name demo1)
Expected Result:
/opt/cni/bin should be mounted as read-write.
Actual Result:
On connecting to workload cluster nodes in OLVM :
ocne cluster console --node demo1-control-plane-7pk7j --direct
sh-4.4# cd /opt/cni/bin
sh-4.4# touch test
touch: cannot touch 'test': Read-only file system
Summary
/opt/cni/bin is mounted as read-only on workload cluster nodes deployed via the OLVM Provider.
Steps to Reproduce
ocne image create --type olvm --arch amd64 -l debug
ocne image upload --type olvm --file $HOME/.ocne/images/boot.qcow2-1.32-amd64.olvm --arch amd64 --config demo.yaml
Create an OLVM Template
Start the cluster:
ocne cluster start --config demo1.yaml
export KUBECONFIG=$(ocne cluster show --cluster-name demo1)
Expected Result:
/opt/cni/bin should be mounted as read-write.
Actual Result:
On connecting to workload cluster nodes in OLVM :
ocne cluster console --node demo1-control-plane-7pk7j --direct
sh-4.4# cd /opt/cni/bin
sh-4.4# touch test
touch: cannot touch 'test': Read-only file system