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

Error creating Ceph Datastore: "SYSTEM datastores cannot have DS_MAD defined" #542

Open
acidroper opened this issue Apr 26, 2024 · 0 comments · May be fixed by #560
Open

Error creating Ceph Datastore: "SYSTEM datastores cannot have DS_MAD defined" #542

acidroper opened this issue Apr 26, 2024 · 0 comments · May be fixed by #560

Comments

@acidroper
Copy link
Contributor

acidroper commented Apr 26, 2024

Description

When attempting to create a Ceph datastore of type "SYSTEM", the following error occurs:

OpenNebula error [INTERNAL]: [one.datastore.allocate] SYSTEM datastores cannot have DS_MAD defined.

Terraform and Provider version

  • Terraform 1.8.2 (linux_amd64)
  • Provider registry.terraform.io/opennebula/opennebula v1.4.0

Affected resources and data sources

opennebula_datastore

Terraform configuration

resource "opennebula_datastore" "system_ceph" {
  name = "system_ceph"
  type = "system"

  bridge_list = var.storage_bridge_list

  ceph {
    host      = var.ceph_config.hosts
    pool_name = var.ceph_config.pool_name
    user      = var.ceph_config.user
    secret    = var.ceph_config.secret
  }
}

Expected behavior

A Ceph datastore of type "SYSTEM" should be created without DS_MAD defined.

Actual behavior

The datastore creation fails with the error message:

OpenNebula error [INTERNAL]: [one.datastore.allocate] SYSTEM datastores cannot have DS_MAD defined.

Steps to Reproduce

Create the opennebula_datastore resource with type = "system" and ceph { ... } block defined.

Debug output

No response

Panic output

No response

Important factoids

No response

References

No response

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

Successfully merging a pull request may close this issue.

3 participants