You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/04/23 08:47:16 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13638841#comment-13638841 ] 

ASF subversion and git services commented on CLOUDSTACK-2142:
-------------------------------------------------------------

Commit f6fb4d2f6a9abe6f00ce359691bfe843f6b88895 in branch refs/heads/master from [~mice]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f6fb4d2 ]

fix CLOUDSTACK-2142 migrateVirtua lMachine() API errors out when passing a valid uuid for storageid.

                
> 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 a4f09040-29ae-3022-98e7-3d915bce270c for parameter storageid"
> Management server logs:
> 2013-04-22 18:07:30,919 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===START===  10.217.252.128 -- GET  command=migrateVirtualMachine&storageid=a4f09040-29ae-3022-98e7-3d915bce270c&virtualmachineid=74dec041-5391-4141-971c-0ed4a560f6e8&response=json&sessionkey=Tce1BHhWRTYXJSWqvwPzNCeWKb8%3D&_=1366679271171
> 2013-04-22 18:07:30,924 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-6:null) Unable to execute API command migratevirtualmachineresponse due to invalid value a4f09040-29ae-3022-98e7-3d915bce270c for parameter storageid
> 2013-04-22 18:07:30,924 INFO  [cloud.api.ApiServer] (catalina-exec-6:null) Unable to execute API command migratevirtualmachine due to invalid value a4f09040-29ae-3022-98e7-3d915bce270c for parameter storageid
> 2013-04-22 18:07:30,925 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===  10.217.252.128 -- GET  command=migrateVirtualMachine&storageid=a4f09040-29ae-3022-98e7-3d915bce270c&virtualmachineid=74dec041-5391-4141-971c-0ed4a560f6e8&response=json&sessionkey=Tce1BHhWRTYXJSWqvwPzNCeWKb8%3D&_=1366679271171
> 2013-04-22 18:07:32,697 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-96:null) Ping from 6
> 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