cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Clark (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7287) listIsos returns empty status
Date Thu, 07 Aug 2014 18:46:13 GMT
Doug Clark created CLOUDSTACK-7287:
--------------------------------------

             Summary: listIsos returns empty status
                 Key: CLOUDSTACK-7287
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7287
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, Management Server
    Affects Versions: 4.5.0
         Environment: Advanced Zone deployment: 1 Zone, 1 Pod, 1 Custer, 2x XenServer 6.2.0
hosts
            Reporter: Doug Clark
            Priority: Critical
             Fix For: 4.5.0


This issues cases basic validation tests to fail (integration.smoke.test_vm_life_cycle.TestVMLifeCycle.test_10_attachAndDetach_iso)

*Steps to reproduce:*
1 - Register an ISO - this appears to succeed
{noformat}
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
Payload: {'account': u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T', 'domainid':
u'8b113124-1e41-11e4-93e7-928e4d7c768a', 'name': u'ISO 1', 'ispublic': True, 'isextractable':
True, 'zoneid': u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', 'isfeatured': True, 'apiKey': u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
'displaytext': u'Test ISO 1', 'ostypeid': u'8b23076e-1e41-11e4-93e7-928e4d7c768a', 'signature':
'nzuaT3TOXRHHmlofoKzunO+sYq0=', 'url': u'http://people.apache.org/~tsp/dummy.iso', 'command':
'registerIso', 'response': 'json'}
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
========Sending GET Cmd : registerIso=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.8
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T&domainid=8b113124-1e41-11e4-93e7-928e4d7c768a&name=ISO+1&isfeatured=True&ispublic=True&isextractable=True&zoneid=6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c&url=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.iso&apiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ&displaytext=Test+ISO+1&ostypeid=8b23076e-1e41-11e4-93e7-928e4d7c768a&signature=nzuaT3TOXRHHmlofoKzunO%2BsYq0%3D&command=registerIso&response=json
HTTP/1.1" 200 630
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
Response : [{status : u'', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid
: u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created : u'2014-08-07T15:38:46+0000',
bootable : True, isdynamicallyscalable : False, ispublic : True, account : u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T',
isextractable : True, zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False,
displaytext : u'Test ISO 1', ostypeid : u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain :
u'ROOT', crossZones : False, id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename
: u'XenRT-Zone-0'}]
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
Successfully created ISO with ID: a093a29a-f12b-4b48-856f-d385dadc5478
{noformat}

2 - Call listIsos - the ISO from step 1 is listed but the status parameter is empty 
{noformat}
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
Payload: {'apiKey': u'0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ',
'response': 'json', 'command': 'listIsos', 'signature': 'aiTQBwVzDZ1QZFLIMDz4PP4dckA=', 'id':
u'a093a29a-f12b-4b48-856f-d385dadc5478'}
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
========Sending GET Cmd : listIsos=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.8
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?id=a093a29a-f12b-4b48-856f-d385dadc5478&apiKey=0qJ7uUgC7vftyj2k8FQZOA5idiUYRTVxshkwqGWrqjvGxfZALmPJlupRn0KUsRUDJcz6A3udjKIPGydh96GgNQ&command=listIsos&response=json&signature=aiTQBwVzDZ1QZFLIMDz4PP4dckA%3D
HTTP/1.1" 200 628
test_10_attachAndDetach_iso (integration.smoke.test_vm_life_cycle.TestVMLifeCycle): DEBUG:
Response : [{status : u' ', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid
: u'8b113124-1e41-11e4-93e7-928e4d7c768a', name : u'ISO 1', created : u'2014-08-07T15:38:46+0000',
bootable : True, isdynamicallyscalable : False, ispublic : True, account : u'test-a-TestVMLifeCycle-test_deploy_vm_multiple-D8PR8T',
isextractable : True, zoneid : u'6c65f2f9-5dc3-4884-80fb-b78b85fd3f9c', isfeatured : False,
displaytext : u'Test ISO 1', ostypeid : u'8b23076e-1e41-11e4-93e7-928e4d7c768a', domain :
u'ROOT', crossZones : False, id : u'a093a29a-f12b-4b48-856f-d385dadc5478', tags : [], zonename
: u'XenRT-Zone-0'}]
{noformat}




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

Mime
View raw message