Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared FS is not mounted automatically for Virtual Frontends #46

Closed
3 tasks
vickmp opened this issue Apr 1, 2024 · 0 comments
Closed
3 tasks

Shared FS is not mounted automatically for Virtual Frontends #46

vickmp opened this issue Apr 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vickmp
Copy link
Member

vickmp commented Apr 1, 2024

Description
When a shared storage configuration is added to the inventory of a deployment using a virtual FE configuration (playbook opennebula.deploy.infra), the virtual FE is created correctly but the image and file data stores are not configured correctly as no storage devices are mounted on the virtual FE.

To Reproduce
An example inventory is provided below (shared FS is mounted on /var/lib/one/datastores/):

all:
    ...
    ds:
      mode: shared
      config:
        mounts:
        - type: system
          path: /var/lib/one/datastores
        - type: image
          path: /var/lib/one/datastores
        - type: file
          path: /var/lib/one/datastores
    ...
infra:
  vars:
    os_image_url: https://d24fmfybwxpuhu.cloudfront.net/ubuntu2204-6.8.1-1-20240131.qcow2
    os_image_size: 20G
    infra_bridge: br0
  hosts:
    n1a1: { ansible_host: 10.2.50.10 }
    n1a2: { ansible_host: 10.2.50.11 }

Expected behavior
The shared FS storage is mounted on each the virtual FE, so as a result, the shared datastores in OpenNebula are correctly configured.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@vickmp vickmp added the bug Something isn't working label Apr 1, 2024
@rsmontero rsmontero added this to the Release 6.8.3 milestone Apr 2, 2024
@rsmontero rsmontero assigned sk4zuzu and unassigned vickmp Aug 9, 2024
sk4zuzu added a commit that referenced this issue Aug 13, 2024
- Pre-run helpers python3 and cache in the infra playbook (fix).
- Do NOT use pip, use system packages instead.
- Use genisoimage instead of pycdlib.
- Use the 'pc' machine type (fix).
- Add a way to define passthrough filesystems (like virtiofs or 9p).
- Add the helper/fstab role to manage persistent mounts.
rsmontero pushed a commit that referenced this issue Aug 13, 2024
- Pre-run helpers python3 and cache in the infra playbook (fix).
- Do NOT use pip, use system packages instead.
- Use genisoimage instead of pycdlib.
- Use the 'pc' machine type (fix).
- Add a way to define passthrough filesystems (like virtiofs or 9p).
- Add the helper/fstab role to manage persistent mounts.
@sk4zuzu sk4zuzu closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants