[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Configuration needed to share a VDI
I tried to execute the vdi-set-shareable-true.py script, that i have found in the forum. But the result was not positive. I got SR_OPERATION_NOT_SUPPORTED error. [root@vmserver05 ~]# ./vdi-set-shareable-true.py -v 31e3186c-367f-4a87-b591-56844bb23420
FULL VDI entry = OpaqueRef:fda5a983-f234-c147-3ec9-99a20dfa76c7 {'sm_config': {'vdi_type': 'vhd'}, 'managed': True, 'snapshots': [], 'allowed_operations': ['resize_online', 'generate_config', 'resize', 'destroy', 'clone', 'copy'], 'on_boot': 'persist', 'name_description': '', 'read_only': False, 'uuid': '31e3186c-367f-4a87-b591-56844bb23420', 'storage_lock': False, 'name_label': 'teste', 'tags': [], 'location': '31e3186c-367f-4a87-b591-56844bb23420', 'type': 'user', 'sharable': True, 'snapshot_time': <DateTime u'19700101T00:00:00Z' at -491c56b4>, 'parent': 'OpaqueRef:NULL', 'missing': False, 'xenstore_data': {'storage-type': 'lvm', 'scsi/0x12/0x80': 'AIAAEjMxZTMxODZjLTM2N2YtNGEgIA==', 'scsi/0x12/0x83': 'AIMAMQIBAC1YRU5TUkMgIDMxZTMxODZjLTM2N2YtNGE4Ny1iNTkxLTU2ODQ0YmIyMzQyMCA=', 'vdi-type': 'vhd', 'vdi-uuid': '31e3186c-367f-4a87-b591-56844bb23420'}, 'crash_dumps': [], 'virtual_size': '1073741824', 'is_a_snapshot': False, 'current_operations': {}, 'snapshot_of': 'OpaqueRef:NULL', 'SR': 'OpaqueRef:439cb0a4-8f5e-eba1-6eaa-f2d7ec8827a0', 'other_config': {}, 'physical_utilisation': '1082130432', 'allow_caching': False, 'VBDs': ['OpaqueRef:9d4f9e82-6b15-101d-3cec-46eea2a47359', 'OpaqueRef:9591ab93-0f12-b1a5-f92e-0817355d9988']}
FULL VBD entry = OpaqueRef:9d4f9e82-6b15-101d-3cec-46eea2a47359 {'userdevice': '4', 'runtime_properties': {}, 'allowed_operations': ['pause', 'unpause', 'plug', 'attach'], 'VDI': 'OpaqueRef:fda5a983-f234-c147-3ec9-99a20dfa76c7', 'uuid': 'd0a4ac7f-ae94-18b4-926b-628f31cea636', 'storage_lock': False, 'qos_supported_algorithms': [], 'status_code': '0', 'type': 'Disk', 'empty': False, 'VM': 'OpaqueRef:71dd55e9-2e0e-2e4c-bd7d-ece5d9742b3c', 'status_detail': '', 'metrics': 'OpaqueRef:2f6af1e3-fa0c-c438-6765-dc41978066fc', 'device': '', 'qos_algorithm_type': '', 'unpluggable': True, 'current_operations': {}, 'bootable': False, 'other_config': {}, 'currently_attached': False, 'mode': 'RW', 'qos_algorithm_params': {}}
FULL VBD entry = OpaqueRef:9591ab93-0f12-b1a5-f92e-0817355d9988 {'userdevice': '2', 'runtime_properties': {}, 'allowed_operations': ['pause', 'unpause', 'plug', 'attach'], 'VDI': 'OpaqueRef:fda5a983-f234-c147-3ec9-99a20dfa76c7', 'uuid': '81ed397c-48f2-6bc5-c393-1fefc5645f30', 'storage_lock': False, 'qos_supported_algorithms': [], 'status_code': '0', 'type': 'Disk', 'empty': False, 'VM': 'OpaqueRef:a07bf61b-d4bb-ab23-617e-f2d97771ed92', 'status_detail': '', 'metrics': 'OpaqueRef:3c5a3156-0144-ecdb-d07d-0b349a568b87', 'device': 'xvdc', 'qos_algorithm_type': '', 'unpluggable': True, 'current_operations': {}, 'bootable': False, 'other_config': {'owner': 'true'}, 'currently_attached': False, 'mode': 'RW', 'qos_algorithm_params': {}}
ERROR: failed to re-introduce the VDI. unrecoverable error. Traceback (most recent call last): File "./vdi-set-shareable-true.py", line 132, in ? main()
File "./vdi-set-shareable-true.py", line 129, in main fixup_vdi(options, session) File "./vdi-set-shareable-true.py", line 70, in fixup_vdi vdi_data['sm_config'])
File "/usr/lib/python2.4/site-packages/XenAPI.py", line 229, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.4/site-packages/XenAPI.py", line 133, in xenapi_request
result = _parse_result(getattr(self, methodname)(*full_params)) File "/usr/lib/python2.4/site-packages/XenAPI.py", line 203, in _parse_result raise Failure(result['ErrorDescription'])
XenAPI.Failure: ['SR_OPERATION_NOT_SUPPORTED', 'OpaqueRef:439cb0a4-8f5e-eba1-6eaa-f2d7ec8827a0'] On Sat, May 19, 2012 at 9:17 AM, Carlos Eduardo Tavares Terra <eduardo.terra@xxxxxxxxx> wrote: Mike, Carlos Eduardo Tavares Terra Red Hat Certified Engineer Consultor em Infraestrutura de TI GNU/Linux #413291 [http://counter.li.org] _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |