[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API]Introducing VDI in ISCSISR fail
or make sr-scan run on the server where it is typed? Thanks, - Anthony On Tue, 2010-02-02 at 15:45 -0800, Anthony Xu wrote: > I'm playing with ISCSISR in a pool environment, seems like sr-scan is > only executed in one specified server even if I execute it in another > server. Then I want to introduce a iscsi LUN into this SR, from > following traceback, looks like sm-config:LUNid="5" > sm-config:SCSIid="3600144f0a5af4e0000004b67aa0c004c" is not passed to > ISCSISR sm. > > Could you enlighten me how to do it? > > > Thanks > - Anthony > > > > > xe vdi-introduce sr-uuid=2b462a52-4af2-88d8-ad80-e0fd17ec4ac0 type=user > name-babel="cenos-root" uuid=7beeee98-7168-137d-d7e8-7ef947af00c3 > location=7beeee98-7168-137d-d7e8-7ef947af00c3 managed=true > sm-config:LUNid="5" sm-config:SCSIid="3600144f0a5af4e0000004b67aa0c004c" > There was an SR backend failure. > status: non-zero exit > stdout: > stderr: Traceback (most recent call last): > File "/opt/xensource/sm/ISCSISR", line 639, in ? > SRCommand.run(ISCSISR, DRIVER_INFO) > File "/opt/xensource/sm/SRCommand.py", line 150, in run > ret = cmd.run(sr) > File "/opt/xensource/sm/SRCommand.py", line 65, in run > return target.introduce(self.params['sr_uuid'], > self.params['new_uuid']) > File "/opt/xensource/sm/LUNperVDI.py", line 49, in introduce > vdi_path = self.sr._getLUNbySMconfig(self.sm_config) > File "/opt/xensource/sm/ISCSISR", line 527, in _getLUNbySMconfig > if not self.sm_config.has_key('LUNid'): > AttributeError: 'ISCSISR' object has no attribute 'sm_config' > > _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |