search for: sr_uuid

Displaying 16 results from an estimated 16 matches for "sr_uuid".

Did you mean: sd_uuid
2007 Feb 02
0
[PATCH] [Xm-TEST] Fix XAPI test case 02
...''shareable'' : 0, - ''read-only'' : 0 + ''read-only'' : 0, + ''location'' : "phy:/dev/ram0" } vdi_ref = session.xenapi.VDI.create(vdi_rec) -res = session.xenapi.SR.get_VDIs(sr_uuid[0]) -if vdi_ref not in res: - session.xenapi.VDI.destroy(vdi_ref) - FAIL("SR_get_VDI does not show new VDI") +if 0: + res = session.xenapi.SR.get_VDIs(sr_uuid[0]) + if vdi_ref not in res: + session.xenapi.VDI.destroy(vdi_ref) + FAIL("SR_get_VDI does not show...
2010 May 05
1
VDI size on local repository always 0
Hello guys, I''m working on a cloud computing project involving Xen Hypervisor. I looked for the issue described in the subject in old posts but no success. I''m using the local storage repository and I can''t set physical_utilisation and virtual_utilisation via xen API because XendVDI.py has hardcoded the 0 value for local repository while is passed for QcoW storage
2012 Oct 30
1
Bug#691805: xcp-storage-managers: Wrong path in iSCSI storage driver script
...end failure. status: non-zero exit stdout: stderr: Traceback (most recent call last): File "/usr/lib/xcp/sm/LVHDoISCSISR", line 384, in <module> SRCommand.run(LVHDoISCSISR, DRIVER_INFO) File "/usr/lib/xcp/sm/SRCommand.py", line 261, in run sr = driver(cmd, cmd.sr_uuid) File "/usr/lib/xcp/sm/SR.py", line 136, in __init__ self.load(sr_uuid) File "/usr/lib/xcp/sm/LVHDoISCSISR", line 153, in load self._LUNprint(sr_uuid) File "/usr/lib/xcp/sm/LVHDoISCSISR", line 183, in _LUNprint self.iscsi.attach(sr_uuid) File "...
2013 Jul 22
1
Bug#717573: XCP: Cannot connect to iSCSI target
...s with iscsiadm: No active sessions. I ran the following commands trying to diagnose the problem: First introducing a SR and then creating a PBD with the needed configuration for the iscsi block device. These steps work fine but when I tried to plug the PBD I got the error: root at xcpcompute1:~# SR_UUID=$(uuidgen) root at xcpcompute1:~# SR_NAME_LABEL="Test-${SR_UUID}" root at xcpcompute1:~# xe sr-introduce name-label=${SR_NAME_LABEL} type=iscsi uuid=${SR_UUID} 43223068-01e5-4c3e-b9ff-0d33fa89fab8 root at xcpcompute1:~# . /etc/xcp/inventory root at xcpcompute1:~# PBD_UUID=`xe pbd-create h...
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
...VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2" not found Skipping volume group VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2 ' [4168] 2012-10-29 23:25:50.630480 lock: acquired /var/lock/sm/4bc38254-5e28-4cb6-4566-067fd46ab0b2/sr [4168] 2012-10-29 23:25:50.630985 sr_create {'sr_uuid': '4bc38254-5e28-4cb6-4566-067fd46ab0b2', 'subtask_of': 'OpaqueRef:62e29547-d256-c4cf-075b-e6ace56c376e', 'args': ['0'], 'host_ref': 'OpaqueRef:60a02436-b01f-5b24-3b97-d2244a276a56', 'session_ref': 'OpaqueRef:56db5a70-051c-db50...
2013 Jan 17
0
XCP 1.1 SR_BACKEND_FAILURE_46 The VDI is not available [opterr=VDI already attached RW] issue
Hello I have a problem with VDI already attached RW in the "adding tag" in blktap2. This issue is on all hosts in pool with attached lvmoiscsi SR. Is there any solution to this problem? /var/log/SMlog: [32484] 2013-01-17 14:59:44.200883 vdi_activate {''sr_uuid'': ''e33281eb-ba4c-3829-9b61-7c64764dff9c'', ''subtask_of'': ''OpaqueRef:78dd7c48-383b-253c-9c2d-a60edcb9e2e1'', ''vdi_ref'': ''OpaqueRef:9e3252f6-403b-7045-2147-401beeafc8ca'', ''vdi_on_boot''...
2011 Dec 07
1
XCP Debi an - ISCSI support?
...n-zero exit stdout: stderr: Traceback (most recent call last): File "/usr/lib/xen-common/xapi/sm/LVMoISCSISR", line 383, in <module> SRCommand.run(LVHDoISCSISR, DRIVER_INFO) File "/usr/lib/xen-common/xapi/sm/SRCommand.py", line 261, in run sr = driver(cmd, cmd.sr_uuid) File "/usr/lib/xen-common/xapi/sm/SR.py", line 136, in __init__ self.load(sr_uuid) File "/usr/lib/xen-common/xapi/sm/LVMoISCSISR", line 156, in load self._pathrefresh(LVHDoISCSISR) File "/usr/lib/xen-common/xapi/sm/SR.py", line 466, in _pathrefresh s...
2011 Aug 15
0
Problem importing virtual disk
...sm/blktap2.py", line 1282, in activate writable, caching_params): File "/usr/lib/xen-common/xapi/sm/blktap2.py", line 32, in wrapper ret = op(self, *args) File "/usr/lib/xen-common/xapi/sm/blktap2.py", line 1314, in _activate_locked dev_path = self._activate(sr_uuid, vdi_uuid, writable, caching_params) File "/usr/lib/xen-common/xapi/sm/blktap2.py", line 1334, in _activate dev_path = self._tap_activate(phy_path, vdi_type, sr_uuid, writable) File "/usr/lib/xen-common/xapi/sm/blktap2.py", line 1126, in _tap_activate tapdisk = Tapdi...
2012 Feb 11
3
9.0-RELEASE PV from scratch on XCP v1.1.0
...m/563-centos6-on-xcp). All of the next steps are to be carried on at the Local Command Shell prompt on the XCP host. ==BEGIN== VMNAME="FreeBSD-9.0" # Edit this value, each VM must be different # XCP Server - Create the Virtual Disk Image and copy .img file into it. export SR_UUID=$(xe sr-list name-label="Local storage" --minimal) export VDIUUID=$(xe vdi-create \ sr-uuid=${SR_UUID} \ name-label=${VMNAME}-vdi \ type=system \ virtual-size=11GiB ) # Pull the built image into a VDI (Virtua...
2011 Dec 19
1
pbd-plug failing when attaching an SR that was introduced
...nsource/sm/SRCommand.py", line 94, in run return self._run_locked(sr) File "/opt/xensource/sm/SRCommand.py", line 131, in _run_locked return self._run(sr, target) File "/opt/xensource/sm/SRCommand.py", line 223, in _run return sr.attach(self.params[''sr_uuid'']) File "/opt/xensource/sm/LVMSR", line 308, in attach self._checkMetadataVolume(self.sm_config) File "/opt/xensource/sm/LVMSR", line 200, in _checkMetadataVolume self._synchMetaData(map) File "/opt/xensource/sm/LVMSR", line 210, in _synchMetaDat...
2013 Jul 04
1
Failed to create SR with lvmoiscsi on xcp1.6[ [opterr=Logical Volume partition creation error [opterr=error is 5]]
...pt/xensource/sm/SRCommand.py", line 96, in run return self._run_locked(sr) File "/opt/xensource/sm/SRCommand.py", line 143, in _run_locked return self._run(sr, target) File "/opt/xensource/sm/SRCommand.py", line 260, in _run return sr.create(self.params['sr_uuid'], long(self.params['args'][0])) File "/opt/xensource/sm/LVMoISCSISR", line 422, in create raise xs_errors.XenError("SRUnavailable", opterr=inst) File "/opt/xensource/sm/xs_errors.py", line 49, in __init__ raise SR.SROSError(errorcode, errormess...
2012 Apr 05
0
Re: [Xen-API] (solved) xe vdi-create failure ot local SR type=file and type=ext
...78] 2012-04-05 14:00:27.322636 [''uuidgen'', ''-r''] [22578] 2012-04-05 14:00:27.329600 SUCCESS [22578] 2012-04-05 14:00:27.336360 lock: acquired /var/lock/sm/4137dc90-4ad7-ecc6-dd2f-6f05ac280fc2/sr [22578] 2012-04-05 14:00:27.336677 vdi_create {''sr_uuid'': ''4137dc90-4ad7-ecc6-dd2f-6f05ac280fc2'', ''subtask_of'': ''DummyRef:|7d48c27e-b70e-59eb-6197-51518053c92e|VDI.create'', ''vdi_type'': ''user'', ''args'': [''1073741824'', '...
2011 Apr 15
1
Errors attaching VBDs to dom0 VM
...63c214-05a9-49d4-8cba-b60ceb6b16db/vdi [3973] 2011-04-15 13:44:04.827743 lock: closed /var/lock/sm/17369039-53e9-5c0f-9e27-141a74b1a50d/sr [3973] 2011-04-15 13:44:04.828687 lock: closed /var/lock/sm/17369039-53e9-5c0f-9e27-141a74b1a50d/sr [4022] 2011-04-15 13:44:05.047143 sr_content_type {''sr_uuid'': ''17369039-53e9-5c0f-9e27-141a74b1a50d'', ''subtask_of'': ''OpaqueRef:caeed889-30bc-1c49-b634-820feeecf677'', ''args'': [], ''host_ref'': ''OpaqueRef:e41042ed-25cb-1a7c-cbe9-56a110e2440a'', ...
2013 Mar 08
1
Bug#702369: latest install report
...set -e NEW_HOST=wheezytest2 DISK_SIZE=5GiB TMPL="Debian Wheezy 7.0 (64-bit)" DEB_MIRROR=http://ftp.ch.debian.org/debian NET0=xenbr1 SR_NAME="testSR0" TMPL_UUID=$(xe template-list name-label="${TMPL}" --minimal) NET0_UUID=$(xe network-list bridge=${NET0} --minimal) SR_UUID=$(xe sr-list name-label=${SR_NAME} --minimal) VM_UUID=$(xe vm-install template=$TMPL_UUID new-name-label="${NEW_HOST}") xe vm-param-set uuid=${VM_UUID} other-config:install-repository=${DEB_MIRROR} xe vif-create vm-uuid=${VM_UUID} network-uuid=${NET0_UUID} device=0 # the following 6 l...
2012 May 23
2
Bug#674088: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0
...e-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'],...
2012 Sep 11
1
Bug#687319: xcp-storage-managers: CDROM VDIs don't hotplug in guests because ISO SRs are misconfigured
...ers/ISOSR.py ++++ b/drivers/ISOSR.py +@@ -191,7 +191,7 @@ class ISOSR(SR.SR): + self.path = self.mountpoint + + # Some info we need: +- self.sr_vditype = 'file' ++ self.sr_vditype = 'phy' + self.credentials = None + + def attach(self, sr_uuid): +-- diff -Nru xcp-storage-managers-0.1.1/debian/patches/series xcp-storage-managers-0.1.1/debian/patches/series --- xcp-storage-managers-0.1.1/debian/patches/series 2011-12-17 16:47:38.000000000 +0000 +++ xcp-storage-managers-0.1.1/debian/patches/series 2012-09-04 11:15:29.000000000 +0100 @@ -7,...