xcp
xcp copied to clipboard
xe vbd-create incorrect param name
To create a VBD with xe
, we use something like this:
xe vbd-create vdi-uuid=<VDI UUID> vm-uuid=<VM UUID> device=0
Here, device
is the position of the VBD in the VM (0,1,2…), acting as an order. However, the param modified in XAPI is called userdevice
and NOT device
, which is the device name in the system (eg xvda
).
xe
should be corrected to use userdevice
instead of device
during vbd-create
call.
Reading this at the moment because it seems like I'm hitting this bug XCP-NG 8.2). Using orchestra don't yield the same results (ie: it's working properly with it).
Also while I'm using XCP-NG, I understand that even if xe
is packaged by XCP-NG, it's a downstream package ? where should this bug be reported if we want to help it fixed ?
Additionally how is Orchestra doing to attatch a VBD properly ?
xe
is a tool made by the upstream XAPI project. I don't remember if we opened an issue there, but if we did not, then I'll be happy that you do :)
https://github.com/xapi-project/xen-api
I'll try to ensure that I can reproduce the issue with the latest version first. it look like the upstream repo has recent updates whereas the version of xe in XCP-NG dates from last summer. once I get that running I should be able to open an issue on the upstream repository. I'll try to follow up!
You can get a newer xe
by running XCP-ng 8.3 beta.