无法订购快照空间 [英] Unable to order snapshot space

查看:37
本文介绍了无法订购快照空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到我的卷没有空间.SL门户和SL API都确认没有快照空间.有问题的卷对象具有这些详细信息(没有'snapshotCapacityGb')-

I see that my volume does not have space. Both, the SL portal and SL API confirm that there is no snapshot space. The volume object in question has these details (There is no 'snapshotCapacityGb')-

{'username':'XXX','capacityGb':100,'hostId':'','serviceProviderId':1,'nasnas'':'NAS','upgradableFlag':True,'storageTypeId':'13','createDate':'2016-09-26T18:06:09 + 05:30','serviceResourceName':'XXX','hardwareId':'','serviceResourceBackendIpAddress':'XXX.service.softlayer.com','notes':'','guestId':'','id':XXX,'accountId':XXX}

{'username': 'XXX', 'capacityGb': 100, 'hostId': '', 'serviceProviderId': 1, 'nasType': 'NAS', 'upgradableFlag': True, 'storageTypeId': '13', 'createDate': '2016-09-26T18:06:09+05:30', 'serviceResourceName': 'XXX', 'hardwareId': '', 'serviceResourceBackendIpAddress': 'XXX.service.softlayer.com', 'notes': '', 'guestId': '', 'id': XXX, 'accountId': XXX}

但是,当尝试通过SL API排序快照空间时,出现一个错误,提示卷已经具有快照空间.

Yet, while trying to order snapshot space via SL API, I get an error that the volume already has snapshot space.

这种错误的原因可能是什么?

What could be the reason for such error?

check_order = SL.instance(sl_config).storage_order.verifyOrder(order)
File "/usr/lib64/python2.7/site-packages/SoftLayer/API.py", line 385, in call_handler
  return self(name, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/SoftLayer/API.py", line 353, in call
  return self.client.call(self.name, name, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/SoftLayer/API.py", line 256, in call
  return self.transport(request)
File "/usr/lib64/python2.7/site-packages/SoftLayer/transports.py", line 187, in __call__
  raise _ex(ex.faultCode, ex.faultString)
SoftLayer.exceptions.SoftLayerAPIError: SoftLayerAPIError(SoftLayer_Exception_Public): The storage volume with id XXXX already has snapshot space

推荐答案

很高兴看到您的代码:S,基本上,如果您已经有需要升级的快照空间,则在执行升级时需要确保您使用的订单容器正确,否则它将失败.

It would have be great to see your code :S, basically if you already have the snapshot space you need to upgrade it, when you perform the upgrade you need to make sure you are using the proper order container otherwise it will fail.

看看这个例子:

您如何使用SoftLayer API升级Endurance存储上的快照空间?

致谢

这篇关于无法订购快照空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆