Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57C4011059 for ; Thu, 7 Aug 2014 18:46:13 +0000 (UTC) Received: (qmail 27901 invoked by uid 500); 7 Aug 2014 18:46:13 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 27871 invoked by uid 500); 7 Aug 2014 18:46:13 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 27861 invoked by uid 500); 7 Aug 2014 18:46:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 27858 invoked by uid 99); 7 Aug 2014 18:46:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 18:46:13 +0000 Date: Thu, 7 Aug 2014 18:46:13 +0000 (UTC) From: "Doug Clark (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-7287) listIsos returns empty status MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)