Skip to content

OCNE OLVM Provider: /opt/cni/bin Mounted as Read-Only #468

Description

@sgurijal

Summary
/opt/cni/bin is mounted as read-only on workload cluster nodes deployed via the OLVM Provider.

Steps to Reproduce

  1. 1.Install OCNE 2.0 CLI
  2. 2.Install Libvirt
  3. Set OLVM environment variables
  4. 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

  1. Create an OLVM Template

  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions