Rayees Namathponnan created CLOUDSTACK-6456:
-----------------------------------------------

             Summary: [Automation] Few vm deployment job never executed during 
automation run
                 Key: CLOUDSTACK-6456
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6456
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.4.0
         Environment: KVM (RHEL 6,3)
4.4  build
            Reporter: Rayees Namathponnan
            Priority: Blocker
             Fix For: 4.4.0


This issue is observed during automation run, few vm deployment job never 
getting executed

Please search for job-204 in attached log, there is no result after executing 

2014-04-17 22:43:33,344 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-98:job-204 = [ befd67d7-61a1-47c0-9d5e-52943fc
9bd41 ]) Start completed for VM VM[User|e54121f1-561b-48c6-a781-15490cbc17d6]
2014-04-17 22:43:33,359 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-98:job-204 = [ befd67d7-61a1-47c0-9d5e-52943fc9bd
41 ]) Complete async job-204 = [ befd67d7-61a1-47c0-9d5e-52943fc9bd41 ], 
jobStatus: 1, resultCode: 0, result: org.apache.clouds
tack.api.response.UserVmResponse@4f73448
2014-04-17 22:43:33,364 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-98:job-204 = [ befd67d7-61a1-47c0-9d5e-52943fc9bd
41 ]) Done executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for 
job-204 = [ befd67d7-61a1-47c0-9d5e-52943fc9bd41
 ]


mysql> select * from async_job where 
uuid="befd67d7-61a1-47c0-9d5e-52943fc9bd41"\G;
*************************** 1. row ***************************
                id: 204
           user_id: 2
        account_id: 2
       session_key: NULL
     instance_type: NULL
       instance_id: NULL
           job_cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd
job_cmd_originator: NULL
      job_cmd_info: 
{"id":"62","response":"json","serviceofferingid":"5e71a638-3308-48d0-8330-dbc33ce92e71","cmdEventType":"VM.CREATE","ctxUserId":"2","zoneid":"a6564e83-6858-456d-a774-f55e0a31f034","hypervisor":"KVM","templateid":"ea892f38-c682-11e3-9a99-1a6f7bb0d0a8","account":"test-TestVMLifeCycle-test_deploy_vm-CFY6M6","httpmethod":"GET","domainid":"ea868120-c682-11e3-9a99-1a6f7bb0d0a8","ctxAccountId":"2","ctxStartEventId":"902","apiKey":"YbjvO-Gt8sQu-nabyabTQ82MoQ5r1jRDcjggSBzbRrLM6D7RvCp8tZSIjHVZVkwevhHNkJjPgE2I9FUh9Uyq_w","signature":"YEdh9AvtStpDkdCi79lnASoSqKA\u003d","displayname":"testserver"}
       job_cmd_ver: 0
     callback_type: 0
  callback_address: NULL
        job_status: 1
job_process_status: 0
   job_result_code: 0
        job_result: 
org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"e54121f1-561b-48c6-a781-15490cbc17d6","name":"e54121f1-561b-48c6-a781-15490cbc17d6","displayname":"testserver","account":"test-TestVMLifeCycle-test_deploy_vm-CFY6M6","domainid":"ea868120-c682-11e3-9a99-1a6f7bb0d0a8","domain":"ROOT","created":"2014-04-17T21:24:27-0700","state":"Running","haenable":false,"zoneid":"a6564e83-6858-456d-a774-f55e0a31f034","zonename":"Adv-KVM-Zone1","hostid":"3860fa83-e583-4795-951a-797076f38501","hostname":"Rack2Host11.lab.vmops.com","templateid":"ea892f38-c682-11e3-9a99-1a6f7bb0d0a8","templatename":"CentOS
 5.5(64-bit) no GUI (KVM)","templatedisplaytext":"CentOS 5.5(64-bit) no GUI 
(KVM)","passwordenabled":false,"serviceofferingid":"5e71a638-3308-48d0-8330-dbc33ce92e71","serviceofferingname":"Small
 
Instance","cpunumber":1,"cpuspeed":100,"memory":256,"guestosid":"eaa9dc4c-c682-11e3-9a99-1a6f7bb0d0a8","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"id":"59376483-a918-4eb1-aa77-bc2c35dc563a","networkid":"ad1bdf70-2ea9-4ff2-8a2f-36f8c4a0d936","networkname":"test-TestVMLifeCycle-test_deploy_vm-CFY6M6-network","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddress":"10.1.1.245","isolationuri":"vlan://2342","broadcasturi":"vlan://2342","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:53:5c:00:01"}],"hypervisor":"KVM","instancename":"i-38-62-QA","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallyscalable":false,"jobid":"befd67d7-61a1-47c0-9d5e-52943fc9bd41","jobstatus":0}
     job_init_msid: 29066118877352
 job_complete_msid: 29066118877352
           created: 2014-04-18 04:24:27
      last_updated: 2014-04-18 05:43:33
       last_polled: 2014-04-18 05:24:35
           removed: NULL
              uuid: befd67d7-61a1-47c0-9d5e-52943fc9bd41
1 row in set (0.00 sec)

ERROR:
No query specified






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

Reply via email to