George Shuklin
2012-May-23 00:35 UTC
[Pkg-xen-devel] Bug#674088: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0
Package: xcp-xapi Version: 1.3.2-6 Severity: normal Tags: upstream Normally (in 'iso-based' XCP) is possible to attach VDI to dom0. That operation usually looks like: xe vbd-create vdi-uuid=... vm-uuid=(dom0 uuid) device=N xe vbd-plug I done those steps in xcp-xapi and got success (no error), but no xvd* device found. Here operations log: # xe vbd-create vdi-uuid=c95af56f-799f-49ad-a64f-82eca3299b50 vm-uuid=d859ed1a-760f-9928-b5be-f0ab1790b15f type=Disk mode=RW device=2 b2e8f7b3-34c4-fe9a-486e-6551b8ba4165 # xe vbd-plug uuid=b2e8f7b3-34c4-fe9a-486e-6551b8ba4165 # ls /dev/xv* ls: cannot access /dev/xv*: No such file or directory Data from different logs: SMlog: [12866] 2012-05-23 04:23:29.119125 vdi_activate {'sr_uuid': '42cbc4a3-dae2-e756-d122-01b87ed871c2', 'subtask_of': 'DummyRef:|af7c4611-4409-96e2-ec06-9f4c58a8ec47|VDI.activate', 'vdi_ref': 'OpaqueRef:772f7273-f1a2-c340-89ae-43c3af049f15', 'vdi_on_boot': 'persist', 'args': ['true'], 'vdi_location': 'c95af56f-799f-49ad-a64f-82eca3299b50', 'host_ref': 'OpaqueRef:5005b228-e50d-0d6b-e4f9-8d85794ba15c', 'session_ref': 'OpaqueRef:4a336c86-82a9-1e99-f066-41015d88fec4', 'device_config': {'SRmaster': 'true', 'location': '/mnt'}, 'command': 'vdi_activate', 'vdi_allow_caching': 'false', 'sr_ref': 'OpaqueRef:a979869b-1538-51ff-39ab-3ddafc767cd2', 'vdi_uuid': 'c95af56f-799f-49ad-a64f-82eca3299b50'} [12866] 2012-05-23 04:23:29.119394 blktap2.activate [12866] 2012-05-23 04:23:29.119488 lock: acquired /var/lock/sm/c95af56f-799f-49ad-a64f-82eca3299b50/vdi [12866] 2012-05-23 04:23:29.119581 Adding tag to: c95af56f-799f-49ad-a64f-82eca3299b50 [12866] 2012-05-23 04:23:29.133845 Activate lock succeeded [12866] 2012-05-23 04:23:29.166975 ['/usr/sbin/td-util', 'query', 'vhd', '-vpf', '/mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd'] [12866] 2012-05-23 04:23:29.173445 SUCCESS [12866] 2012-05-23 04:23:29.206198 PhyLink(/dev/sm/phy/42cbc4a3-dae2-e756-d122-01b87ed871c2/c95af56f-799f-49ad-a64f-82eca3299b50) -> /mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd [12866] 2012-05-23 04:23:29.212017 ['/usr/sbin/tap-ctl', 'allocate'] [12866] 2012-05-23 04:23:29.217046 = 0 [12866] 2012-05-23 04:23:29.223407 ['/usr/sbin/tap-ctl', 'spawn'] [12866] 2012-05-23 04:23:29.231105 = 0 [12866] 2012-05-23 04:23:29.231306 ['/usr/sbin/tap-ctl', 'attach', '-p', '12901', '-m', '1'] [12866] 2012-05-23 04:23:29.236629 = 0 [12866] 2012-05-23 04:23:29.236851 ['/usr/sbin/tap-ctl', 'open', '-p', '12901', '-m', '1', '-a', 'vhd:/mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd'] [12866] 2012-05-23 04:23:29.245060 = 0 [12866] 2012-05-23 04:23:29.252379 tap.activate: Launched Tapdisk(vhd:/mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd, pid=12901, minor=1, state=R) [12866] 2012-05-23 04:23:29.252704 DeviceNode(/dev/sm/backend/42cbc4a3-dae2-e756-d122-01b87ed871c2/c95af56f-799f-49ad-a64f-82eca3299b50) -> /dev/xen/blktap-2/tapdev1 [12866] 2012-05-23 04:23:29.253008 lock: released /var/lock/sm/c95af56f-799f-49ad-a64f-82eca3299b50/vdi [12866] 2012-05-23 04:23:29.253116 lock: closed /var/lock/sm/c95af56f-799f-49ad-a64f-82eca3299b50/vdi [12866] 2012-05-23 04:23:29.253281 lock: closed /var/lock/sm/42cbc4a3-dae2-e756-d122-01b87ed871c2/sr [12866] 2012-05-23 04:23:29.253809 lock: closed /var/lock/sm/42cbc4a3-dae2-e756-d122-01b87ed871c2/sr xcp-xapi.log (ex. xensource.log): [20120523T00:23:28.848Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi||cli] xe vbd-plug uuid=b2e8f7b3-34c4-fe9a-486e-6551b8ba4165 username=root password=null [20120523T00:23:28.849Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|session.login_with_password D:5d579e77454e|xapi] Session.create trackid=f0c22aa371e94e4f976de937c65c5b83 pool=false uname=root is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 [20120523T00:23:28.850Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|session.login_with_password D:5d579e77454e|xapi] Attempting to open /var/lib/xcp/xapi [20120523T00:23:28.851Z|debug|lab-xh3|1046 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:62a39592557b created by task D:5d579e77454e [20120523T00:23:28.857Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|audit] VBD.plug: VBD = 'b2e8f7b3-34c4-fe9a-486e-6551b8ba4165' [20120523T00:23:28.859Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|locking_helpers] Acquired lock on VM OpaqueRef:1f9bb0d8-00d9-7aae-0acd-3bd17952c965 with token 19 [20120523T00:23:28.859Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|xapi] vbd_plug: attempting to attach vbd [20120523T00:23:28.859Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|xapi] Attempting to dynamically attach VBD to domid 0 [20120523T00:23:28.859Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|xapi] VBD device name 2 interpreted as Xen(2, 0) (hvm = false) [20120523T00:23:28.859Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|xapi] VBD.plug of loopback VBD 'OpaqueRef:09a2bb48-db62-8456-b9a8-945b12c98e11' [20120523T00:23:28.859Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|storage_impl] VDI.attach task:OpaqueRef:4db77abb-7c5d-9035-64cc-6aef7a382fe1 dp:vbd/0/2 sr:42cbc4a3-dae2-e756-d122-01b87ed871c2 vdi:c95af56f-799f-49ad-a64f-82eca3299b50 read_write:true [20120523T00:23:28.860Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|dummytaskhelper] task VDI.attach D:cdc99e2b6700 created by task R:4db77abb7c5d [20120523T00:23:28.860Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VDI.attach D:cdc99e2b6700|sm] SM file vdi_attach sr=OpaqueRef:a979869b-1538-51ff-39ab-3ddafc767cd2 vdi=OpaqueRef:772f7273-f1a2-c340-89ae-43c3af049f15 writable=true [20120523T00:23:28.862Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:16b5ac5fff5b|xapi] Session.create trackid=d5a8ba74b09e979481bbd9c3a2ef4c91 pool=false uname= is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 [20120523T00:23:28.862Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:16b5ac5fff5b|xapi] Attempting to open /var/lib/xcp/xapi [20120523T00:23:28.863Z|debug|lab-xh3|1047 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:5d4a5c65816b created by task D:16b5ac5fff5b [20120523T00:23:28.945Z|debug|lab-xh3|1048 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:b612d73d2b0a created by task D:cdc99e2b6700 [20120523T00:23:28.947Z|debug|lab-xh3|1048 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.019Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:16b5ac5fff5b|xapi] Session.destroy trackid=d5a8ba74b09e979481bbd9c3a2ef4c91 [20120523T00:23:29.020Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|storage_impl] task:OpaqueRef:4db77abb-7c5d-9035-64cc-6aef7a382fe1 dp:vbd/0/2 sr:42cbc4a3-dae2-e756-d122-01b87ed871c2 vdi:c95af56f-799f-49ad-a64f-82eca3299b50 superstate:attached RW [20120523T00:23:29.020Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|storage_impl] VDI.activate task:OpaqueRef:4db77abb-7c5d-9035-64cc-6aef7a382fe1 dp:vbd/0/2 sr:42cbc4a3-dae2-e756-d122-01b87ed871c2 vdi:c95af56f-799f-49ad-a64f-82eca3299b50 [20120523T00:23:29.021Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|dummytaskhelper] task VDI.activate D:af7c46114409 created by task R:4db77abb7c5d [20120523T00:23:29.021Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VDI.activate D:af7c46114409|sm] SM file vdi_activate sr=OpaqueRef:a979869b-1538-51ff-39ab-3ddafc767cd2 vdi=OpaqueRef:772f7273-f1a2-c340-89ae-43c3af049f15 [20120523T00:23:29.023Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:cbeb57c3dcbd|xapi] Session.create trackid=cfe56573b245352fdc957693f8d34160 pool=false uname= is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 [20120523T00:23:29.023Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:cbeb57c3dcbd|xapi] Attempting to open /var/lib/xcp/xapi [20120523T00:23:29.023Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:cbeb57c3dcbd|xapi] Attempting to open /var/lib/xcp/xapi [20120523T00:23:29.024Z|debug|lab-xh3|1049 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:45df00cfb951 created by task D:cbeb57c3dcbd [20120523T00:23:29.105Z|debug|lab-xh3|1050 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:4421b6fc55a4 created by task D:af7c46114409 [20120523T00:23:29.107Z|debug|lab-xh3|1050 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.120Z|debug|lab-xh3|1051 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_by_uuid D:da7cbb65b2f9 created by task D:af7c46114409 [20120523T00:23:29.122Z|debug|lab-xh3|1051 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.123Z|debug|lab-xh3|1052 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_by_uuid D:e99c5446e679 created by task D:af7c46114409 [20120523T00:23:29.125Z|debug|lab-xh3|1052 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.126Z|debug|lab-xh3|1053 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_sm_config D:f7f0f507beeb created by task D:af7c46114409 [20120523T00:23:29.127Z|debug|lab-xh3|1053 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.128Z|debug|lab-xh3|1054 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.add_to_sm_config D:703de27c2975 created by task D:af7c46114409 [20120523T00:23:29.129Z| info|lab-xh3|1054 UNIX /var/lib/xcp/xapi|dispatch:VDI.add_to_sm_config D:703de27c2975|api_effect] VDI.add_to_sm_config [20120523T00:23:29.131Z|debug|lab-xh3|1054 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.132Z|debug|lab-xh3|1055 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_sm_config D:dce629a72d09 created by task D:af7c46114409 [20120523T00:23:29.133Z|debug|lab-xh3|1055 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.134Z|debug|lab-xh3|1056 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_by_uuid D:98d8f00e11a9 created by task D:af7c46114409 [20120523T00:23:29.136Z|debug|lab-xh3|1056 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.137Z|debug|lab-xh3|1057 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_SR D:ef242f41c621 created by task D:af7c46114409 [20120523T00:23:29.139Z|debug|lab-xh3|1057 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.140Z|debug|lab-xh3|1058 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_uuid D:681798c23dde created by task D:af7c46114409 [20120523T00:23:29.141Z|debug|lab-xh3|1058 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.142Z|debug|lab-xh3|1059 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid D:32428397e8f0 created by task D:af7c46114409 [20120523T00:23:29.144Z|debug|lab-xh3|1059 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.145Z|debug|lab-xh3|1060 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_type D:e7b7d4aa6c41 created by task D:af7c46114409 [20120523T00:23:29.146Z|debug|lab-xh3|1060 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.147Z|debug|lab-xh3|1061 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SM.get_all_records_where D:02ae982a76b3 created by task D:af7c46114409 [20120523T00:23:29.149Z|debug|lab-xh3|1061 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.150Z|debug|lab-xh3|1062 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SM.get_driver_filename D:188a677404ad created by task D:af7c46114409 [20120523T00:23:29.152Z|debug|lab-xh3|1062 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.154Z|debug|lab-xh3|1063 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VM.get_all_records_where D:75cb8aba7476 created by task D:af7c46114409 [20120523T00:23:29.158Z|debug|lab-xh3|1063 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.159Z|debug|lab-xh3|1064 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:PBD.get_all_records_where D:9c9e8ecd2f0e created by task D:af7c46114409 [20120523T00:23:29.161Z|debug|lab-xh3|1064 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.162Z|debug|lab-xh3|1065 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:PBD.get_device_config D:e84ac6efdec4 created by task D:af7c46114409 [20120523T00:23:29.164Z|debug|lab-xh3|1065 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.166Z|debug|lab-xh3|1066 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.175Z| info|lab-xh3|1067 UNIX /var/lib/xcp/xapi|dispatch:VDI.remove_from_xenstore_data D:6d5596d6c33c|api_effect] VDI.remove_from_xenstore_data [20120523T00:23:29.177Z|debug|lab-xh3|1067 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.179Z| info|lab-xh3|1068 UNIX /var/lib/xcp/xapi|dispatch:VDI.remove_from_xenstore_data D:40db3a76941a|api_effect] VDI.remove_from_xenstore_data [20120523T00:23:29.180Z|debug|lab-xh3|1068 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.182Z| info|lab-xh3|1069 UNIX /var/lib/xcp/xapi|dispatch:VDI.remove_from_xenstore_data D:0e562bd683e8|api_effect] VDI.remove_from_xenstore_data [20120523T00:23:29.184Z|debug|lab-xh3|1069 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.185Z| info|lab-xh3|1070 UNIX /var/lib/xcp/xapi|dispatch:VDI.remove_from_xenstore_data D:724840f176b1|api_effect] VDI.remove_from_xenstore_data [20120523T00:23:29.187Z|debug|lab-xh3|1070 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.188Z| info|lab-xh3|1071 UNIX /var/lib/xcp/xapi|dispatch:VDI.add_to_xenstore_data D:dd5895547bee|api_effect] VDI.add_to_xenstore_data [20120523T00:23:29.190Z|debug|lab-xh3|1071 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.192Z| info|lab-xh3|1072 UNIX /var/lib/xcp/xapi|dispatch:VDI.add_to_xenstore_data D:096122915efa|api_effect] VDI.add_to_xenstore_data [20120523T00:23:29.193Z|debug|lab-xh3|1072 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.195Z| info|lab-xh3|1073 UNIX /var/lib/xcp/xapi|dispatch:VDI.add_to_xenstore_data D:2dbf10c1d446|api_effect] VDI.add_to_xenstore_data [20120523T00:23:29.196Z|debug|lab-xh3|1073 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.198Z| info|lab-xh3|1074 UNIX /var/lib/xcp/xapi|dispatch:VDI.remove_from_xenstore_data D:f5c5e54d174f|api_effect] VDI.remove_from_xenstore_data [20120523T00:23:29.199Z|debug|lab-xh3|1074 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.201Z| info|lab-xh3|1075 UNIX /var/lib/xcp/xapi|dispatch:VDI.remove_from_xenstore_data D:6e521af30b1c|api_effect] VDI.remove_from_xenstore_data [20120523T00:23:29.202Z|debug|lab-xh3|1075 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.204Z| info|lab-xh3|1076 UNIX /var/lib/xcp/xapi|dispatch:VDI.add_to_xenstore_data D:418fb9a0ad9d|api_effect] VDI.add_to_xenstore_data [20120523T00:23:29.206Z|debug|lab-xh3|1076 UNIX /var/lib/xcp/xapi||http_critical] Premature termination of connection! [20120523T00:23:29.264Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|sm_exec D:cbeb57c3dcbd|xapi] Session.destroy trackid=cfe56573b245352fdc957693f8d34160 [20120523T00:23:29.265Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|storage_impl] task:OpaqueRef:4db77abb-7c5d-9035-64cc-6aef7a382fe1 dp:vbd/0/2 sr:42cbc4a3-dae2-e756-d122-01b87ed871c2 vdi:c95af56f-799f-49ad-a64f-82eca3299b50 superstate:activated RW [20120523T00:23:29.266Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|xapi] vbd_plug: successfully hotplugged device [20120523T00:23:29.266Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|locking_helpers] Released lock on VM OpaqueRef:1f9bb0d8-00d9-7aae-0acd-3bd17952c965 with token 19 [20120523T00:23:29.274Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|session.logout D:d7995a78a5c5|xapi] Session.destroy trackid=f0c22aa371e94e4f976de937c65c5b83 dmesg: [ 3212.341490] block tdb: sector-size: 512/512+0 capacity: 2097152 discard: 0+0 flush: 0x0 /var/log/daemon.log: May 23 04:23:29 lab-xh3 tapdisk[12901]: tapdisk-control: init, 10 x 4k buffers May 23 04:23:29 lab-xh3 tapdisk[12901]: I/O queue driver: lio May 23 04:23:29 lab-xh3 tapdisk[12901]: tapdisk-log: started, level 0 May 23 04:23:29 lab-xh3 tapdisk[12901]: received 'attach' message (uuid = 1) May 23 04:23:29 lab-xh3 tapdisk[12901]: sending 'attach response' message (uuid = 1) May 23 04:23:29 lab-xh3 tapdisk[12901]: received 'open' message (uuid = 1) May 23 04:23:29 lab-xh3 tapdisk[12901]: /mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd version: tap 0x00010003, b: 512, a: 0, f: 0, n: 9 May 23 04:23:29 lab-xh3 tapdisk[12901]: opened image /mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd (1 users, state: 0x00000001, type: 4, rw) May 23 04:23:29 lab-xh3 tapdisk[12901]: VBD CHAIN: May 23 04:23:29 lab-xh3 tapdisk[12901]: /mnt/c95af56f-799f-49ad-a64f-82eca3299b50.vhd: type:vhd(4) storage:ext(2) May 23 04:23:29 lab-xh3 tapdisk[12901]: bdev: capacity=2097152 sector_size=512/512 flags=0 May 23 04:23:29 lab-xh3 tapdisk[12901]: sending 'open response' message (uuid = 1) /var/log/messages: May 23 04:23:29 lab-xh3 xapi: [20120523T00:23:29.269Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|VBD.plug R:4db77abb7c5d|audit] ('trackid=f0c22aa371e94e4f976de937c65c5b83' 'LOCAL_SUPERUSER' 'root' 'ALLOWED' 'OK' 'API' 'VBD.plug' (('self' '' 'b2e8f7b3-34c4-fe9a-486e-6551b8ba4165' 'OpaqueRef:09a2bb48-db62-8456-b9a8-945b12c98e11'))) May 23 04:32:58 lab-xh3 xapi: [20120523T00:32:58.268Z| info|lab-xh3|1079 UNIX /var/lib/xcp/xapi|host.backup_rrds D:9aadf1370a68|audit] ('trackid=8cc9995210d2f92f33e12da4776cefb9' 'LOCAL_SUPERUSER' 'OpaqueRef:5005b228-e50d-0d6b-e4f9-8d85794ba15c' 'ALLOWED' 'OK' 'API' 'host.backup_rrds' (('host' 'lab-xh3' 'f0de05b1-f9fc-14a4-c98a-c88f8bc441ab' 'OpaqueRef:5005b228-e50d-0d6b-e4f9-8d85794ba15c'))) xenstore content: root at lab-xh3:~# xenstore-ls tool = "" xenstored = "" local = "" domain = "" 0 = "" name = "Domain-0" memory = "" dynamic-min = "1641472" dynamic-max = "1641472" squeezed = "" reserved-host-memory = "9216" pid = "3145" rpc = "" request = "" balance-memory = "" login = "" reserve-memory-range = "" transfer-reservation-to-domain = "" delete-reservation = "" response = "" balance-memory = "" login = "" reserve-memory-range = "" transfer-reservation-to-domain = "" delete-reservation = "" state = "" xapi = "" mh = "" boot-time = "" management-mac-address = "00:30:48:f1:5b:a6" vm = "" vss = "" -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xcp-xapi depends on: ii hwdata 0.233-1 ii libc6 2.13-32 ii libpam0g 1.1.3-7.1 ii libuuid1 2.20.1-5 ii libvhd0 2.0.90-1 ii libxen-4.1 4.1.2-7 ii libxenstore3.0 4.1.2-7 ii lsb-base 4.1+Debian4 ii pciutils 1:3.1.9-3 ii python 2.7.2-10 ii python-xenapi 1.3.2-6 ii stunnel4 [stunnel] 3:4.52-1 ii xcp-eliloader 0.1-4 ii xcp-fe 0.5.2-3+b1 ii xcp-networkd 1.3.2-6 ii xcp-squeezed 1.3.2-6 ii xcp-storage-managers 0.1.1-2 ii xcp-v6d 1.3.2-6 ii xcp-xe 1.3.2-6 ii xen-hypervisor-4.1-amd64 [xen-hypervisor-4.1] 4.1.2-7 ii xen-utils-4.1 4.1.2-7 ii zlib1g 1:1.2.7.dfsg-11 Versions of packages xcp-xapi recommends: ii cifs-utils 2:5.4-2 ii xcp-guest-templates 0.1-3 ii xcp-vncterm 0.1-2 xcp-xapi suggests no packages. -- no debconf information
Mike McClurg
2012-May-23 08:17 UTC
[Pkg-xen-devel] Bug#674088: Bug#674088: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0
On Wed, May 23, 2012 at 1:35 AM, George Shuklin <george.shuklin at gmail.com> wrote:> Package: xcp-xapi > Version: 1.3.2-6 > Severity: normal > Tags: upstream > > Normally (in 'iso-based' XCP) is possible to attach VDI to dom0. > > That operation usually looks like: > > xe vbd-create vdi-uuid=... vm-uuid=(dom0 uuid) device=N > xe vbd-plug > > I done those steps in xcp-xapi and got success (no error), but no xvd* device found. > > Here operations log: > > # xe vbd-create vdi-uuid=c95af56f-799f-49ad-a64f-82eca3299b50 vm-uuid=d859ed1a-760f-9928-b5be-f0ab1790b15f type=Disk mode=RW device=2 > b2e8f7b3-34c4-fe9a-486e-6551b8ba4165 > # xe vbd-plug uuid=b2e8f7b3-34c4-fe9a-486e-6551b8ba4165 > # ls /dev/xv* > ls: cannot access /dev/xv*: No such file or directoryHi George, This is not a bug, but is rather an intended change in behaviour. The xapi released in Debian right now is a snapshot that is somewhere in time between XenServer 6.0 and XenServer 6.1 -- this new behaviour will be standard in XenServer 6.1 (and XCP 1.6). Try looking for your device in /dev/sm/<sr_uuid>/<vdi_uuid>. If you need to mount partitions on that device, do 'kpartx -av <device path>' (and then 'kpartx -dv <device path>' to remove those partitions from the device mapper). This is only a change in dom0 behaviour, not domU. Mike
Debian Bug Tracking System
2012-May-23 12:30 UTC
[Pkg-xen-devel] Bug#674088: marked as done (xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0)
Your message dated Wed, 23 May 2012 20:19:01 +0800 with message-id <4FBCD5B5.8030806 at goirand.fr> and subject line done has caused the Debian Bug report #674088, regarding xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 674088: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674088 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: George Shuklin <george.shuklin at gmail.com> Subject: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0 Date: Wed, 23 May 2012 04:35:39 +0400 Size: 22942 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120523/f8c131ba/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Thomas Goirand <thomas at goirand.fr> Subject: done Date: Wed, 23 May 2012 20:19:01 +0800 Size: 2517 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120523/f8c131ba/attachment-0003.mht>
Seemingly Similar Threads
- Bug#674161: xcp-xapi: 'the device disappeared from xenstore' message during vbd-plug (vm-start)
- Bug#682979: sample logfile
- xe vdi-create failure ot local SR type=file and type=ext
- Re: [Xen-API] xe vdi-create failure ot local SR type=file and type=ext
- Re: [Xen-API] (solved) xe vdi-create failure ot local SR type=file and type=ext