cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudha Ponnaganti (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6679) [Automation] Vm deployment fails with error "Could not find suitable Deployment Destination for this VM under any clusters"
Date Mon, 19 May 2014 00:29:41 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sudha Ponnaganti resolved CLOUDSTACK-6679.
------------------------------------------

    Resolution: Not a Problem

See comments from prachi

> [Automation] Vm deployment fails with error "Could not find suitable Deployment Destination
for this VM under any clusters"
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6679
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6679
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Management Server
>    Affects Versions: 4.4.0
>         Environment: vmware 5.0
> 4.4-forward
>            Reporter: Rayees Namathponnan
>            Assignee: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> This issue observed with test case 
> integration.component.test_blocker_bugs.TestTemplate.test_01_create_template
> This test cases creating template from snapshot and deploying VM,  Zone1 is vmware zone,
and template created from snapshot of vmware vm,
> but in DB, its store with type: XenServer 
> mysql> select * from vm_template where uuid like "4dce%";
> +-----+----------------------------------------------+-------------------------------+--------------------------------------+--------+----------+------+-----+------+-----------------------------------------------------------------------+--------+---------------------+---------+------------+----------------------------------+------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+----------+--------------+---------+----------------------+
> | id  | unique_name                                  | name                         
| uuid                                 | public | featured | type | hvm | bits | url     
                                                             | format | created          
  | removed | account_id | checksum                         | display_text           | enable_password
| enable_sshkey | guest_os_id | bootable | prepopulate | cross_zones | extractable | hypervisor_type
| source_template_id | template_tag | sort_key | size       | state    | update_count | updated
| dynamically_scalable |
> +-----+----------------------------------------------+-------------------------------+--------------------------------------+--------+----------+------+-----+------+-----------------------------------------------------------------------+--------+---------------------+---------+------------+----------------------------------+------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+----------+--------------+---------+----------------------+
> | 214 | 214-116-e52835bf-a537-3f13-aa38-164ba85f5801 | Template from snapshot-607C3Z
| 4dcecb05-5930-469a-910c-691518bbafef |      1 |        0 | USER |   1 |   64 | http://10.223.243.3/userdata/c583b4ad-81fe-4eab-a76d-74976f055e29.ova
| OVA    | 2014-05-14 01:31:57 | NULL    |        116 | 855be0d95c60e7abcd73e54a7ac38038 |
Template from snapshot |               1 |             0 |          12 |        1 |      
    0 |           0 |           1 | XenServer       |               NULL | NULL         |
       0 | 2147483648 | Inactive |            0 | NULL    |                    0 |
> +-----+----------------------------------------------+-------------------------------+--------------------------------------+--------+----------+------+-----+------+-----------------------------------------------------------------------+--------+---------------------+---------+------------+----------------------------------+------------------------+-----------------+---------------+-------------+----------+-------------+-------------+-------------+-----------------+--------------------+--------------+----------+------------+----------+--------------+---------+----------------------+
> 1 row in set (0.00 sec)
> mysql> select uuid,name,hypervisor_type  from snapshots;
> +--------------------------------------+----------------------------------------------------------------------------+-----------------+
> | uuid                                 | name                                       
                               | hypervisor_type |
> +--------------------------------------+----------------------------------------------------------------------------+-----------------+
> | cf01419c-7a57-42c9-a3b2-863f4f36c713 | TestVM-b77b65cd-de8b-4807-b3da-60b808bcd58a_ROOT-5_20140513231742
         | VMware          |
> | 92fe208a-ce57-47cd-ae9e-29dc25eec981 | TestVM-63a1f3d3-e44a-43e5-baaf-a842513aa0b1_ROOT-88_20140514002830
        | VMware          |
> | 65132603-3f01-4a5b-bd60-b2e718b17b0f | TestVM-8bde272f-92f9-49ca-a2f5-5b1876a54bd0_ROOT-113_20140514004049
       | VMware          |
> | 32463ff2-23b2-4799-9052-022b9c1adad1 | TestVM-5edbdc4f-ccf3-4d72-997c-6f0915407c4b_ROOT-115_20140514004100
       | VMware          |
> | 13bd848c-fd9a-4a78-97ed-663ea46ca852 | TestVM-dd970f68-c79c-46b5-bce7-7f8a4454c7c7_APP
Data Volume_20140514005001 | VMware          |
> | 7489e619-e4cc-48fb-932d-dba3e03ad5f1 | TestVM-dd970f68-c79c-46b5-bce7-7f8a4454c7c7_APP
Data Volume_20140514005154 | VMware          |
> | 23629f15-0814-46e1-89a3-5feaffc1b82b | TestVM-c3962457-79a3-4f87-92f1-3612a5787ccd_ROOT-149_20140514010324
       | VMware          |
> | c9bf1e4c-c9ee-4232-98c1-1c62f268cd4a | TestVM-206546fe-3d74-4a32-bc3e-c06f84630b95_ROOT-228_20140514014538
       | VMware          |
> | 3369bcb8-037e-4230-a1c3-08223502f32a | TestVM-206546fe-3d74-4a32-bc3e-c06f84630b95_ROOT-228_20140514015026
       | VMware          |
> | 054d5b1e-dc58-4866-ad5c-ada6ffafd83a | TestVM-d0cec427-c9b1-48c6-9cef-049b744c4f70_ROOT-263_20140514020107
       | VMware          |
> | 41dec414-1f17-4a2f-96ad-65116d820205 | TestVM-56ddc136-ab6b-40f6-9a78-04362d5b80eb_ROOT-270_20140514021830
       | VMware          |
> | 0f523c60-3775-4760-8bc6-1de6fd579fcc | TestVM-9eee529f-7c02-46bc-8ae7-55218aa3406b_ROOT-358_20140514030805
       | VMware          |
> | 82f47744-3c9e-44f8-8570-c971b93b74c8 | TestVM-f4305666-e7aa-4f1b-87f7-f006de67e01e_ROOT-444_20140514033303
       | VMware          |
> | e67429b9-d4d1-477a-a5c3-ef26d2c85cb6 | TestVM-de68a9dc-b339-4f19-92ea-f32d7606f29b_ROOT-477_20140514034313
       | VMware          |
> | 24fc337d-e57b-4502-bdc9-d81d3bef64e2 | TestVM-74c835f3-0043-4c73-be50-0cb94a66d56a_ROOT-491_20140514034923
       | VMware          |
> | add9651a-b61d-48e3-9098-1327f919ddf6 | TestVM-79a8b68c-1469-4e38-90bc-e991dad631f9_ROOT-503_20140514035547
       | VMware          |
> | 0b815692-a2e2-456a-acbc-1e48c5590d13 | TestVM-fe498b7e-3dd6-418d-8463-3613ed7c63a8_ROOT-575_20140514043004
       | VMware          |
> | 8a7ca1f1-1b36-407e-bbbd-17590f850431 | TestVM-ff4649b7-f76d-4433-887d-fc0dfb773a86_ROOT-636_20140514045732
       | VMware          |
> | 045ae8b2-201e-4cfb-8b46-cba7dee13ee5 | TestVM-b7bed1ad-c0a8-4edc-a066-0e434e1dd0f7_ROOT-864_20140514062703
       | VMware          |
> | 0ad2e859-e4ab-4778-a9d9-a4a399980945 | TestVM-e60e64f9-5388-46e6-810e-8f1b48f1b027_ROOT-912_20140514064817
       | VMware          |
> | 76b01f7a-3958-4cc2-b44b-bcd43eea41d5 | TestVM-f9b5e2fe-e12c-4218-a69a-a6b56f8c110d_ROOT-915_20140514065151
       | VMware          |
> | 3b763e00-65db-4e27-9b96-2c99d7960425 | TestVM-f9b5e2fe-e12c-4218-a69a-a6b56f8c110d_ROOT-915_20140514065509
       | VMware          |
> | d8ae54f2-d98f-47ce-8028-9849decff960 | TestVM-fa77800e-9b51-494d-ae4f-81b4ab7fcc4c_DATA-916_20140514070324
       | VMware          |
> | 78e31de9-cf4c-484f-8486-2a1806ff5b10 | TestVM-234e20ba-750a-460f-8efc-5e104dcde6a0_ROOT-989_20140514074054
       | VMware          |
> | 166d0e89-425b-4901-959e-adafef7fdb85 | TestVM-5d461252-5623-454b-8950-d674989dd8e8_ROOT-956_20140514080324
       | VMware          |
> | 045c83d5-a345-49b8-b637-206a1e2d61e8 | TestVM-fa77800e-9b51-494d-ae4f-81b4ab7fcc4c_ROOT-916_20140514080324
       | VMware          |
> +--------------------------------------+----------------------------------------------------------------------------+-----------------+
> 26 rows in set (0.00 sec)
> Also see below deploy command, we are tying to deploy vm with vm type is Xen 
> 2014-05-13 18:38:58,677 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-90:job-1397)
Executing AsyncJobVO {id:1397, userId: 2, ac
> countId: 2, instanceType: VirtualMachine, instanceId: 224, cmd: org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin,
cmdInfo: {"s
> erviceofferingid":"7e4ac2dd-d5a2-4757-a1b2-eda35f785742","cmdEventType":"VM.CREATE","ctxUserId":"2","zoneid":"e4140a57-78d0-4296-be88-e645d
> a5c3613","httpmethod":"GET","templateid":"4dcecb05-5930-469a-910c-691518bbafef","domainid":"6427ecc6-daec-11e3-bccf-52b2d980df8a","apiKey":
> "I4_J6v2xRJz_ehxWb75VCpQmjkPiWGVJmWFjzQovyzxtQuLRtwX73c-U3WztYDQpErh-LqpeFz8_H5O5eiQjjA","response":"json","id":"224","ctxDetails":"{\"com.
> cloud.template.VirtualMachineTemplate\":214,\"com.cloud.vm.VirtualMachine\":224,\"com.cloud.domain.Domain\":1,\"com.cloud.dc.DataCenter\":1
> ,\"VirtualMachine\":\"9bb36abe-79e2-4e36-bccc-da3d5294c8c4\",\"com.cloud.offering.ServiceOffering\":106}","hypervisor":"XenServer","account
> ":"test-TestTemplates-test_01_list_routers_admin-VJPBB5","uuid":"9bb36abe-79e2-4e36-bccc-da3d5294c8c4","ctxAccountId":"2","ctxStartEventId"
> :"3999","signature":"medYY6kcD0LIt4r6aCUNeN/Qg+c\u003d","displayname":"Test VM"}, cmdVersion:
0, status: IN_PROGRESS, processStatus: 0, res
> ultCode: 0, result: null, initMsid: 90928106758026, completeMsid: null, lastUpdated:
null, lastPolled: null, created: null}
> 2014-05-13 18:38:58,685 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-6:ctx-49aa855a
ctx-fee0ce97 ctx-4bc22cfe) submit async job-1
> 397, details: AsyncJobVO {id:1397, userId: 2, accountId: 2, instanceType: VirtualMachine,
instanceId: 224, cmd: org.apache.cloudstack.api.c
> ommand.admin.vm.DeployVMCmdByAdmin, cmdInfo: {"serviceofferingid":"7e4ac2dd-d5a2-4757-a1b2-eda35f785742","cmdEventType":"VM.CREATE","ctxUse
> rId":"2","zoneid":"e4140a57-78d0-4296-be88-e645da5c3613","httpmethod":"GET","templateid":"4dcecb05-5930-469a-910c-691518bbafef","domainid":
> "6427ecc6-daec-11e3-bccf-52b2d980df8a","apiKey":"I4_J6v2xRJz_ehxWb75VCpQmjkPiWGVJmWFjzQovyzxtQuLRtwX73c-U3WztYDQpErh-LqpeFz8_H5O5eiQjjA","r
> esponse":"json","id":"224","ctxDetails":"{\"com.cloud.template.VirtualMachineTemplate\":214,\"com.cloud.vm.VirtualMachine\":224,\"com.cloud
> .domain.Domain\":1,\"com.cloud.dc.DataCenter\":1,\"VirtualMachine\":\"9bb36abe-79e2-4e36-bccc-da3d5294c8c4\",\"com.cloud.offering.ServiceOf
> fering\":106}","hypervisor":"XenServer","account":"test-TestTemplates-test_01_list_routers_admin-VJPBB5","uuid":"9bb36abe-79e2-4e36-bccc-da
> 3d5294c8c4","ctxAccountId":"2","ctxStartEventId":"3999","signature":"medYY6kcD0LIt4r6aCUNeN/Qg+c\u003d","displayname":"Test
VM"}, cmdVersio
> n: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 90928106758026,
completeMsid: null, lastUpdated: null,
> lastPolled: null, created: null}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message