You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2013/04/23 03:02:16 UTC
[jira] [Updated] (CLOUDSTACK-2142) migrateVirtua lMachine() API
errors out when passing a valid uuid for storageid.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sangeetha Hariharan updated CLOUDSTACK-2142:
--------------------------------------------
Component/s: Management Server
> migrateVirtua lMachine() API errors out when passing a valid uuid for storageid.
> ---------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2142
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2142
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Environment: build from master
> Reporter: Sangeetha Hariharan
> Priority: Critical
> Fix For: 4.2.0
>
>
> migrateVirtua lMachine() API errors out when passing a valid uuid for storageid.
> Steps to reproduce the problem:
> Set up:
> Advanced zone with 3 clusters each having 1 Xen server host.
> Each cluster has a primary storage at cluster level.
> Stop one of the Vms.
> As admin , Try to migrate the vm to a different primary storage.
> Following error message is presented to the user:
> "Unable to execute API command migratevirtualmachine due to invalid value f483cba6-d7e9-38ad-ad5f-4c4971a2b06f for parameter storageid"
>
> Management server logs:
> 2013-04-22 17:29:00,273 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START=== 10.217.252.128 -- GET command=migrateVirtua
> lMachine&storageid=f483cba6-d7e9-38ad-ad5f-4c4971a2b06f&virtualmachineid=74dec041-5391-4141-971c-0ed4a560f6e8&response=json&sessionkey
> =FTNUx%2BGjOKkrKUlt707U7b07skc%3D&_=1366676960531
> 2013-04-22 17:29:00,278 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-21:null) Unable to execute API command migratevirtualmachineres
> ponse due to invalid value f483cba6-d7e9-38ad-ad5f-4c4971a2b06f for parameter storageid
> 2013-04-22 17:29:00,278 INFO [cloud.api.ApiServer] (catalina-exec-21:null) Unable to execute API command migratevirtualmachine due to
> invalid value f483cba6-d7e9-38ad-ad5f-4c4971a2b06f for parameter storageid
> 2013-04-22 17:29:00,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END=== 10.217.252.128 -- GET command=migrateVirtualM
> achine&storageid=f483cba6-d7e9-38ad-ad5f-4c4971a2b06f&virtualmachineid=74dec041-5391-4141-971c-0ed4a560f6e8&response=json&sessionkey=F
> TNUx%2BGjOKkrKUlt707U7b07skc%3D&_=1366676960531
> DB entries:
> mysql> select * from storage_pool;
> +----+------+--------------------------------------+-------------------+------+----------------+--------+------------+-----------------+----------------+----------------+-----------+-----------------------------------------+---------------------+---------------------+-------------+--------+-------------------------------------+---------+
> | id | name | uuid | pool_type | port | data_center_id | pod_id | cluster_id | available_bytes | capacity_bytes | host_address | user_info | path | created | removed | update_time | status | storage_provider_name | scope |
> +----+------+--------------------------------------+-------------------+------+----------------+--------+------------+-----------------+----------------+----------------+-----------+-----------------------------------------+---------------------+---------------------+-------------+--------+-------------------------------------+---------+
> | 1 | ps1 | a4f09040-29ae-3022-98e7-3d915bce270c | NetworkFilesystem | 2049 | 1 | 1 | 1 | 4022139977728 | 11810778316800 | 10.223.110.232 | NULL | /export/home/sangeetha/asf42-2/primary1 | 2013-04-16 18:24:01 | NULL | NULL | Up | ancient primary data store provider | CLUSTER |
> | 2 | ps2 | f483cba6-d7e9-38ad-ad5f-4c4971a2b06f | NetworkFilesystem | 2049 | 1 | 2 | 2 | 4025717882880 | 11810778316800 | 10.223.110.232 | NULL | /export/home/sangeetha/asf42-2/primary2 | 2013-04-16 23:05:02 | NULL | NULL | Up | ancient primary data store provider | CLUSTER |
> | 4 | ps3 | 27f5ddfc-f967-3e4e-91f1-ee19890c9577 | NetworkFilesystem | 2049 | 1 | NULL | NULL | 0 | 0 | 10.223.110.232 | NULL | /export/home/sangeetha/asf42-2/primary3 | 2013-04-17 20:37:43 | 2013-04-17 13:56:46 | NULL | Up | ancient primary data store provider | ZONE |
> | 5 | ps5 | b57af701-9293-3979-b8eb-34f5a3e9730d | NetworkFilesystem | 2049 | 1 | 3 | 4 | 4012227559424 | 11810778316800 | 10.223.110.232 | NULL | /export/home/sangeetha/asf42-2/primary4 | 2013-04-17 20:59:26 | NULL | NULL | Up | ancient primary data store provider | CLUSTER |
> | 6 | ps5 | a946f366-84ec-3704-982a-ed744faff240 | NetworkFilesystem | 2049 | 1 | 4 | 6 | 3933246488576 | 11810778316800 | 10.223.110.232 | NULL | /export/home/sangeetha/asf42-2/primary5 | 2013-04-18 21:24:44 | NULL | NULL | Up | ancient primary data store provider | CLUSTER |
> +----+------+--------------------------------------+-------------------+------+----------------+--------+------------+-----------------+----------------+----------------+-----------+-----------------------------------------+---------------------+---------------------+-------------+--------+-------------------------------------+---------+
> 5 rows in set (0.00 sec)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira