Open Dinaamagdy opened 6 years ago
mow , another error happen now, although disk created but can't update it .
[Sun22 09:09] - base.py :201 :service-a25c8a33-83c9-4c2a-9b2e-3dd83fc08e07 - ERROR - error executing action install:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/zerorobot/task/task.py", line 78, in execute
self._result = self.func()
File "/opt/code/github/openvcloud/0-templates/templates/disk/disk.py", line 141, in install
self._create()
File "/opt/code/github/openvcloud/0-templates/templates/disk/disk.py", line 161, in _create
self._limit_io()
File "/opt/code/github/openvcloud/0-templates/templates/disk/disk.py", line 259, in _limit_io
write_iops_sec_max=data['writeIopsSecMax'], size_iops_sec=data['sizeIopsSec']
File "/opt/code/github/jumpscale/lib9/JumpScale9Lib/clients/portal/PortalClient.py", line 57, in __call__
raise ApiError(response)
JumpScale9Lib.clients.portal.PortalClient.ApiError: 404 Not Found
Could not find virtual machine beloning to disk
@Dinaamagdy ,
name
field too:
Try to create disk with the following blueprint :
actions:
eff2 - ERROR - error executing action install: Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/zerorobot/task/task.py", line 78, in execute self._result = self.func() File "/opt/code/github/openvcloud/0-templates/templates/disk/disk.py", line 105, in install self.data['location'] = self.space.model['location'] File "/opt/code/github/openvcloud/0-templates/templates/disk/disk.py", line 223, in space spaceName=vdc File "/opt/code/github/jumpscale/lib9/JumpScale9Lib/clients/openvcloud/OVCClient.py", line 215, in space_get raise RuntimeError("name needs to be specified in account in config or on method.") RuntimeError: name needs to be specified in account in config or on method.