I'm having a strange issue on cloudstack 3.0.5 when trying to attach a volume
to a VM.
I created a new Disk offering, 2TB with sas tag. I have 1TB and others as
well, which work no problem.
When I try to attach it I get the following error in the api
2014-04-25 11:33:55,445 INFO [cloud.api.ApiServer] (catalina-exec-19:null)
(userId=4 accountId=4 sessionId=null) 172.31.1.14 -- GET
_=1398440030676&apikey=w77WYyAo6aUzQCIhE2nwIIcagD2omDGGonVFADdZHvMEwkz0FZh3DyBLf-bLqFRdxnyzAXT8-cHZp09pvn9aEw&command=queryAsyncJobResult&jobid=bb9e1367-3f9c-4a4f-910b-352afaeeb2c7&response=json&sessionkey=7isZzTuZqnUqjs%2B7lIjMFU6zi4A%3D&tenant=17a9fdec-30f0-4ed7-867c-c9b355b37b96&signature=xd3zOM01FG%2FY4%2BDaboLvigIT6R8%3D
200 { "queryasyncjobresultresponse" :
{"accountid":"c5965828-afa1-4536-a67a-7a7034192e2d","userid":"2d01b436-cbf5-46a2-8271-61949ceaa51e","cmd":"com.cloud.api.commands.AttachVolumeCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"Internal
error executing command, please contact your system
administrator"},"created":"2014-04-25T11:33:50-0400","jobid":"bb9e1367-3f9c-4a4f-910b-352afaeeb2c7"}
}
Then the database entry shows the state as creating, but it never attaches or
creates the file on my NFS storage:
mysql> select * from volumes where name like 'test222%'\G
*************************** 1. row ***************************
id: 376
account_id: 4
domain_id: 4
pool_id: NULL
last_pool_id: NULL
instance_id: NULL
device_id: NULL
name: test222
uuid: a386dfb6-f012-44a9-82c0-040d68bddf80
size: 2199023255552
folder: NULL
path: NULL
pod_id: NULL
data_center_id: 1
iscsi_name: NULL
host_ip: NULL
volume_type: DATADISK
pool_type: NULL
disk_offering_id: 55
template_id: NULL
first_snapshot_backup_uuid: NULL
recreatable: 0
created: 2014-04-25 15:33:28
attached: NULL
updated: 2014-04-25 15:33:50
removed: NULL
state: Creating
chain_info: NULL
update_count: 1
1 row in set (0.00 sec)