-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
This happens on xenserver 7.6. After realizing that datapath plugins are more complicated than expected (#82), I tried to implement a Volume plugin only. Creating a VM eventually fails with "MISSING_URI - Please include a URI in the device config". At the time the block device exists and is accessible.
The volume plugin now returns a config with config['uri']=['file:///dev/drbd1000']. I also tried with raw+file://.
The SR was created via:
xe sr-create name-label=foo type=linstor device-config:uri=/existing/dir. I also tried device-config:uri="".
I also did not find any xe sr- command that would allow me to list the device-config. Is there one?
Here is a part of the output in the log.
Feb 11 15:06:46 localhost xapi: [debug|xenserver-210|900 UNIX /var/lib/xcp/xapi|session.slave_login D:9ad2fdc65f9c|mscgen] xapi=>xapi [label="pool.get_all"];
Feb 11 15:06:46 localhost xapi: [debug|xenserver-210|901 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:1f426cbed22b created by task D:9ad2fdc65f9c
Feb 11 15:06:46 localhost xapi: [error|xenserver-210|865 |Async.VM.start R:50261b4abb8b|xenops] Re-raising as MISSING_URI [ Please include a URI in the device-config ]
Feb 11 15:06:46 localhost xapi: [error|xenserver-210|228 |xapi events D:c1a19e961dc9|xenops] events_from_xapi: missing from the cache: [ 0f7738ca-4e1d-41f7-ac7f-1a7151fc93a8
]
Feb 11 15:06:46 localhost xapi: [debug|xenserver-210|865 |Async.VM.start R:50261b4abb8b|xapi] PIF type of e14d435e-99f2-5886-f815-c6e0ed56b7af is: Physical
Feb 11 15:06:46 localhost xapi: [debug|xenserver-210|902 ||mscgen] xapi=>xapi [label="event.from"];
Feb 11 15:06:46 localhost xapi: [error|xenserver-210|865 ||backtrace] Async.VM.start R:50261b4abb8b failed with exception Server_error(MISSING_URI, [ Please include a URI in
the device-config ])
Feb 11 15:06:46 localhost xapi: [error|xenserver-210|865 ||backtrace] Raised Server_error(MISSING_URI, [ Please include a URI in the device-config ])
Feb 11 15:06:46 localhost xapi: [error|xenserver-210|865 ||backtrace] 1/1 xapi @ xenserver-210 Raised at file (Thread 865 has no backtrace table. Was with_backtraces called?,
line 0
Any hints? What am I doing wrong this time? :)