On Mon, 19 Jun 2017 13:06:48 +0200
"datanom.net" <m...@datanom.net> wrote:

> > > I will try to add an udevadm trigger/settle before returning from 
> > > activate_volume in the code I see whether this solves the problem.  
> 
Forgot I already do this:
+    $os_request->(['iscsiadm', '-m', 'session', '-r', $sid, '-R'], 0, 60);
+    $os_request->(
+        ['udevadm', 'trigger', '--type=devices', '--subsystem-match=scsi_disk']
, 0, 60);
+    $os_request->(['udevadm', 'settle', '-t', $api_timeout], 0, 60);


-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
You never hesitate to tackle the most difficult problems.

Attachment: pgpABPqKQz1BK.pgp
Description: OpenPGP digital signature

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to