Skip to content

Ceph - Libvirt volume creation issue #161

@GaetanF

Description

@GaetanF

Hello,

Using fog-libvirt with foreman application cannot create Libvirt virtual machine with Ceph storage backend with the following error :

error (Fog::Errors::Error): Error saving the server: undefined local variable or method 'args' for <Fog::Libvirt::Compute::Server .. >:Fog::Libvirt::Compute::Server

After checking server.rb file, method to_xml use an 'args' variable not referenced and must be replace by 'ceph_args'.

xml.target(:dev => target_device, :bus => args["bus_type"] == "virtio" ? "virtio" : "scsi")

Regards

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