xcp-ng / xcp

Entry point for issues and wiki. Also contains some scripts and sources.
https://xcp-ng.org
1.23k stars 73 forks source link

xe vbd-create incorrect param name #144

Open olivierlambert opened 5 years ago

olivierlambert commented 5 years ago

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.

replicajune commented 4 months ago

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 ?

olivierlambert commented 4 months ago

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

replicajune commented 4 months ago

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!

stormi commented 4 months ago

You can get a newer xe by running XCP-ng 8.3 beta.