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 filesystems are not working in v8.1 #1139

Open
1 of 5 tasks
MushiTheMoshi opened this issue Dec 18, 2024 · 0 comments
Open
1 of 5 tasks

shared filesystems are not working in v8.1 #1139

MushiTheMoshi opened this issue Dec 18, 2024 · 0 comments

Comments

@MushiTheMoshi
Copy link

MushiTheMoshi commented Dec 18, 2024

System Information

Linux distribution

openSUSE 42.2/ Centos7/ Ubuntu..
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"

Terraform version

terraform -v

Terraform v1.9.8
on linux_amd64

Provider and libvirt versions

terraform-provider-libvirt -version

libvirt: 10.0.0-2ubuntu8.4
provider: v0.8.1

If that gives you "was not built correctly", get the Git commit hash from your local provider repository:

git describe --always --abbrev=40 --dirty

Checklist

  • Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?

    • Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible.
    • If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
    • Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation
  • Is it a bug or something that does not work as expected? Please make sure you fill the version information below:

Description of Issue/Question

Greatly appreciated all hard work done here.

Hope you can help me with this issue:

After initializing a shared filesystem, device seems to be absent in the guest machine.

Setup

(Please provide the full main.tf file for reproducing the issue (Be sure to remove sensitive information)

Steps to Reproduce Issue

this codeblock is not working:

  filesystem {
    source   = "/tmp/files"
    target   = "temp"
    readonly = false
  }

sudo mount -t auto -o trans=virtio,rw temp /tmp/files
using 9p

root@localhost:/home/persona# sudo mount -t 9p -o trans=virtio,version=9p2000.L,rw temp  /tmp/files
mount: /tmp/files: unknown filesystem type '9p'.
       dmesg(1) may have more information after failed mount system call.

not using 9p

(Include debug logs if possible and relevant).
root@localhost:/home/persona# sudo mount -t auto -o trans=virtio,rw temp /tmp/files
mount: /tmp/files: special device temp does not exist.
       dmesg(1) may have more information after failed mount system call.

Additional information:

Do you have SELinux or Apparmor/Firewall enabled? Some special configuration?
Have you tried to reproduce the issue without them enabled?
no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant