{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/607","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/607/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/607/events","html_url":"https://github.com/apache/cloudstack/pull/607","id":96025817,"number":607,"title":"CLOUDSTACK-8651: [Browser Based Upload Template] Partially uploaded t…","user":{"login":"koushik-das","id":11499860,"avatar_url":"https://avatars.githubusercontent.com/u/11499860?v=3","gravatar_id":"","url":"https://api.github.com/users/koushik-das","html_url":"https://github.com/koushik-das","followers_url":"https://api.github.com/users/koushik-das/followers","following_url":"https://api.github.com/users/koushik-das/following{/other_user}","gists_url":"https://api.github.com/users/koushik-das/gists{/gist_id}","starred_url":"https://api.github.com/users/koushik-das/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koushik-das/subscriptions","organizations_url":"https://api.github.com/users/koushik-das/orgs","repos_url":"https://api.github.com/users/koushik-das/repos","events_url":"https://api.github.com/users/koushik-das/events{/privacy}","received_events_url":"https://api.github.com/users/koushik-das/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-20T09:40:05Z","updated_at":"2015-07-27T12:02:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/607","html_url":"https://github.com/apache/cloudstack/pull/607","diff_url":"https://github.com/apache/cloudstack/pull/607.diff","patch_url":"https://github.com/apache/cloudstack/pull/607.patch"},"body":"…emplates doesn't get cleaned up after the SSVM handling it is destroyed\r\n\r\nFixed template sync code to include templates in 'NotUploaded' and 'UploadInProgress' states along with 'Active'."},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/125180360","html_url":"https://github.com/apache/cloudstack/pull/607#issuecomment-125180360","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/607","id":125180360,"user":{"login":"asfbot","id":5243949,"avatar_url":"https://avatars.githubusercontent.com/u/5243949?v=3","gravatar_id":"","url":"https://api.github.com/users/asfbot","html_url":"https://github.com/asfbot","followers_url":"https://api.github.com/users/asfbot/followers","following_url":"https://api.github.com/users/asfbot/following{/other_user}","gists_url":"https://api.github.com/users/asfbot/gists{/gist_id}","starred_url":"https://api.github.com/users/asfbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfbot/subscriptions","organizations_url":"https://api.github.com/users/asfbot/orgs","repos_url":"https://api.github.com/users/asfbot/repos","events_url":"https://api.github.com/users/asfbot/events{/privacy}","received_events_url":"https://api.github.com/users/asfbot/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T12:02:10Z","updated_at":"2015-07-27T12:02:10Z","body":"Daan Hoogland  on dev@cloudstack.apache.org replies:\ncan't find a config that runs. I can do with some help. last state was:\n\n\\\\sbpltc2kag3qr\\dhoogland:~/cloudstack/cloudstack/test/integration\n(CLOUDSTACK-8651)> nosetests --with-marvin\n--marvin-config=../../tools/devcloud/devcloud.cfg -s -a\ntags=advanced,required_hardware=false\ncomponent/test_browse_templates.py\n\n==== Marvin Init Started ====\n\n=== Marvin Parse Config Successful ===\n\n=== Marvin Setting TestData Successful===\n\n==== Log Folder Path: /tmp//MarvinLogs//Jul_27_2015_13_59_07_QHRK18.\nAll logs will be available here ====\n\n=== Marvin Init Logging Successful===\n\n==== Marvin Init Successful ====\n=== TestName: None | Status : EXCEPTION ===\n\n===final results are now copied to: /tmp//MarvinLogs/test_suite_IGW70H===\n\\\\sbpltc2kag3qr\\dhoogland:~/cloudstack/cloudstack/test/integration\n(CLOUDSTACK-8651)> cat /tmp//MarvinLogs/test_suite_IGW70H/results.txt\n=== TestName: None | Status : EXCEPTION ===\nERROR\n\n======================================================================\nERROR: test suite for <class\n'integration.component.test_browse_templates.TestBrowseUploadVolume'>\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/usr/local/lib/python2.7/site-packages/nose/suite.py\", line 209, in run\n    self.setUp()\n  File \"/usr/local/lib/python2.7/site-packages/nose/suite.py\", line\n292, in setUp\n    self.setupContext(ancestor)\n  File \"/usr/local/lib/python2.7/site-packages/nose/suite.py\", line\n315, in setupContext\n    try_run(context, names)\n  File \"/usr/local/lib/python2.7/site-packages/nose/util.py\", line\n471, in try_run\n    return func()\n  File \"/Users/dhoogland/cloudstack/cloudstack/test/integration/component/test_browse_templates.py\",\nline 84, in setUpClass\n    cls.uploadurl=cls.testdata[\"configurableData\"][\"browser_upload_template\"][cls.uploadtemplateformat][\"url\"]\nKeyError: 'browser_upload_template'\n-------------------- >> begin captured logging << --------------------\nCSLog: DEBUG: Payload: {'apiKey':\nu'_isVbffFSr5b7cheL713XiijhtId9I_2HLhlzHaH5psSyWNjlm2SBZB_ubyR4lhS_U8yioUdL58gav_-5mP5yA',\n'command': 'listHosts', 'signature': 'Tm5IjuItrAMIg9ElRcLFQIb885Q=',\n'type': 'Routing', 'response': 'json'}\nCSLog: DEBUG: ========Sending GET Cmd : listHosts=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP\nconnection (1): 127.0.0.1\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET\n/client/api?type=Routing&apiKey=_isVbffFSr5b7cheL713XiijhtId9I_2HLhlzHaH5psSyWNjlm2SBZB_ubyR4lhS_U8yioUdL58gav_-5mP5yA&command=listHosts&response=json&signature=Tm5IjuItrAMIg9ElRcLFQIb885Q%3D\nHTTP/1.1\" 200 3083\nCSLog: DEBUG: Response : [{cpuwithoverprovisioning : u'32000.0',\nversion : u'4.6.0-SNAPSHOT', memorytotal : 8589934592, zoneid :\nu'7171e8fc-ca86-47d3-9ba4-58fdd9001196', cpunumber : 4,\nmanagementserverid : 4278190080, cpuallocated : u'0%', memoryused : 0,\nid : u'204677ca-dc48-4d38-abc5-b2be753758cf', cpuused : u'0%',\nclusterid : u'8d2759a2-cbc2-4288-b6cb-aeafe3b3dc64', capabilities :\nu'hvm', state : u'Up', memoryallocated : 0, networkkbswrite : 16384,\ncpuspeed : 8000, type : u'Routing', events : u'ManagementServerDown;\nAgentDisconnected; HostDown; Remove; Ping; AgentConnected;\nStartAgentRebalance; PingTimeout; ShutdownRequested', zonename :\nu'Sandbox-simulator', podid : u'1576694a-d70b-494a-b6fa-76b919892a39',\nclustertype : u'CloudManaged', hahost : False, lastpinged :\nu'1970-01-17T07:04:53+0100', ipaddress : u'172.16.15.15', name :\nu'SimulatedAgent.3228f38e-541b-4a9a-87d6-1e0c46f9385c', networkkbsread\n: 32768, created : u'2015-07-27T13:28:18+0200', clustername : u'C1',\nhypervisor : u'Simulator', islocalstorageactive : False, resourcestate\n: u'Enabled', podname : u'POD0'}, {cpuwithoverprovisioning :\nu'32000.0', version : u'4.6.0-SNAPSHOT', memorytotal : 8589934592,\nzoneid : u'7171e8fc-ca86-47d3-9ba4-58fdd9001196', cpunumber : 4,\nmanagementserverid : 4278190080, cpuallocated : u'3.12%', memoryused :\n0, id : u'78e50eaa-8ff8-4fd8-b050-18357c16711a', cpuused : u'0%',\nclusterid : u'0689d8ed-7d46-4f0b-a4fc-c5931aab969a', capabilities :\nu'hvm', state : u'Up', memoryallocated : 1610612736, networkkbswrite :\n16384, cpuspeed : 8000, type : u'Routing', events :\nu'ManagementServerDown; AgentDisconnected; HostDown; Remove; Ping;\nAgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested',\nzonename : u'Sandbox-simulator', podid :\nu'1576694a-d70b-494a-b6fa-76b919892a39', clustertype :\nu'CloudManaged', hahost : False, lastpinged :\nu'1970-01-17T07:04:53+0100', ipaddress : u'172.16.15.14', name :\nu'SimulatedAgent.8d99aff4-f3e5-4d15-9c5e-2321d0d9b0eb', networkkbsread\n: 32768, created : u'2015-07-27T13:27:18+0200', clustername : u'C0',\nhypervisor : u'Simulator', islocalstorageactive : False, resourcestate\n: u'Enabled', podname : u'POD0'}, {cpuwithoverprovisioning :\nu'32000.0', version : u'4.6.0-SNAPSHOT', memorytotal : 8589934592,\nzoneid : u'7171e8fc-ca86-47d3-9ba4-58fdd9001196', cpunumber : 4,\nmanagementserverid : 4278190080, cpuallocated : u'0%', memoryused : 0,\nid : u'6f53ae39-0d83-4222-a88c-56432ef80e0a', cpuused : u'0%',\nclusterid : u'0689d8ed-7d46-4f0b-a4fc-c5931aab969a', capabilities :\nu'hvm', state : u'Up', memoryallocated : 0, networkkbswrite : 16384,\ncpuspeed : 8000, type : u'Routing', events : u'ManagementServerDown;\nAgentDisconnected; HostDown; Remove; Ping; AgentConnected;\nStartAgentRebalance; PingTimeout; ShutdownRequested', zonename :\nu'Sandbox-simulator', podid : u'1576694a-d70b-494a-b6fa-76b919892a39',\nclustertype : u'CloudManaged', hahost : False, lastpinged :\nu'1970-01-17T07:04:53+0100', ipaddress : u'172.16.15.8', name :\nu'SimulatedAgent.3f4e47b0-3082-4b39-8257-37f4c00fa188', networkkbsread\n: 32768, created : u'2015-07-27T13:27:17+0200', clustername : u'C0',\nhypervisor : u'Simulator', islocalstorageactive : False, resourcestate\n: u'Enabled', podname : u'POD0'}]\nCSLog: CRITICAL: EXCEPTION: None: ['Traceback (most recent call\nlast):\\n', '  File\n\"/usr/local/lib/python2.7/site-packages/nose/suite.py\", line 209, in\nrun\\n    self.setUp()\\n', '  File\n\"/usr/local/lib/python2.7/site-packages/nose/suite.py\", line 292, in\nsetUp\\n    self.setupContext(ancestor)\\n', '  File\n\"/usr/local/lib/python2.7/site-packages/nose/suite.py\", line 315, in\nsetupContext\\n    try_run(context, names)\\n', '  File\n\"/usr/local/lib/python2.7/site-packages/nose/util.py\", line 471, in\ntry_run\\n    return func()\\n', '  File\n\"/Users/dhoogland/cloudstack/cloudstack/test/integration/component/test_browse_templates.py\",\nline 84, in setUpClass\\n\ncls.uploadurl=cls.testdata[\"configurableData\"][\"browser_upload_template\"][cls.uploadtemplateformat][\"url\"]\\n',\n\"KeyError: 'browser_upload_template'\\n\"]\n--------------------- >> end captured logging << ---------------------\n"}}