You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Umesh Kute (JIRA)" <ji...@apache.org> on 2014/02/11 13:36:19 UTC

[jira] [Created] (CLOUDSTACK-6076) [Automation]: AssertionError: Secondary storage should be in Up state in test_allocation_states.py

Umesh Kute created CLOUDSTACK-6076:
--------------------------------------

             Summary: [Automation]: AssertionError: Secondary storage should be in Up state in test_allocation_states.py
                 Key: CLOUDSTACK-6076
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6076
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, marvin
            Reporter: Umesh Kute


Check the status of zones ... ok
Check the status of pods ... ok
Check the status of clusters ... ok
Check the status of hosts ... ok
Check the status of Storage pools ... ok
Check the status of secondary storage ... FAIL

======================================================================
FAIL: Check the status of secondary storage
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/DataDisk/temp/cloudstack/test/integration/component/test_allocation_states.py", line 278, in test_06_secondary_storage
    "Secondary storage should be in Up state"
AssertionError: Secondary storage should be in Up state
-------------------- >> begin captured logging << --------------------
test_06_secondary_storage (integration.component.test_allocation_states.TestAllocationState): DEBUG: ::::::::::::STARTED : TC: test_06_secondary_storage :::::::::::
test_06_secondary_storage (integration.component.test_allocation_states.TestAllocationState): DEBUG: sending GET request: listHosts {'zoneid': u'2010f0c3-05e5-4114-9e15-99547cd29186', 'type': 'SecondaryStorageVM', 'listall': True}
test_06_secondary_storage (integration.component.test_allocation_states.TestAllocationState): DEBUG: Computed Signature by Marvin: SUcIhvvJJQjVJwSCB7ulSD6ySuc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 207.19.99.108
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&command=listHosts&signature=SUcIhvvJJQjVJwSCB7ulSD6ySuc%3D&zoneid=2010f0c3-05e5-4114-9e15-99547cd29186&type=SecondaryStorageVM&response=json&listall=True HTTP/1.1" 200 2393
test_06_secondary_storage (integration.component.test_allocation_states.TestAllocationState): DEBUG: Request: http://207.19.99.108:8080/client/api?apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&command=listHosts&signature=SUcIhvvJJQjVJwSCB7ulSD6ySuc%3D&zoneid=2010f0c3-05e5-4114-9e15-99547cd29186&type=SecondaryStorageVM&response=json&listall=True Response: { "listhostsresponse" : { "count":4 ,"host" : [  {"id":"f5703f86-82cd-4a5b-a3e5-3770567eefe8","name":"s-35-VM","state":"Disconnected","type":"SecondaryStorageVM","ipaddress":"10.88.91.48","zoneid":"2010f0c3-05e5-4114-9e15-99547cd29186","zonename":"phlqa-z1","podid":"503891ba-73ba-4daa-970c-3d9276498581","podname":"phlqa-z1-p1","version":"4.2.0","lastpinged":"1970-01-16T09:53:47-0500","islocalstorageactive":false,"created":"2013-10-16T13:28:55-0400","events":"AgentDisconnected; Ping; WaitedTooLong; Remove; AgentConnected; PingTimeout; ManagementServerDown; HostDown","resourcestate":"Enabled"}, {"id":"5fc1bdf6-b1cf-445c-b537-408ea3f60a2b","name":"s-34-VM","state":"Disconnected","type":"SecondaryStorageVM","ipaddress":"10.88.91.48","zoneid":"2010f0c3-05e5-4114-9e15-99547cd29186","zonename":"phlqa-z1","podid":"503891ba-73ba-4daa-970c-3d9276498581","podname":"phlqa-z1-p1","version":"4.2.0","lastpinged":"1970-01-16T09:52:34-0500","islocalstorageactive":false,"created":"2013-10-16T13:20:45-0400","events":"AgentDisconnected; Ping; WaitedTooLong; Remove; AgentConnected; PingTimeout; ManagementServerDown; HostDown","resourcestate":"Enabled"}, {"id":"230c6372-57c0-4a8b-991e-335c22dcc9b9","name":"s-31-VM","state":"Disconnected","disconnected":"2013-10-16T11:49:51-0400","type":"SecondaryStorageVM","ipaddress":"10.88.91.42","zoneid":"2010f0c3-05e5-4114-9e15-99547cd29186","zonename":"phlqa-z1","podid":"503891ba-73ba-4daa-970c-3d9276498581","podname":"phlqa-z1-p1","version":"4.2.0","lastpinged":"1970-01-16T09:52:28-0500","islocalstorageactive":false,"created":"2013-10-16T11:21:27-0400","events":"AgentDisconnected; Ping; WaitedTooLong; Remove; AgentConnected; PingTimeout; ManagementServerDown; HostDown","resourcestate":"Enabled"}, {"id":"80357298-3b81-40fe-ade0-007fb55f5c1a","name":"s-834-VM","state":"Up","disconnected":"2014-01-15T02:56:31-0500","type":"SecondaryStorageVM","ipaddress":"10.88.91.41","zoneid":"2010f0c3-05e5-4114-9e15-99547cd29186","zonename":"phlqa-z1","podid":"503891ba-73ba-4daa-970c-3d9276498581","podname":"phlqa-z1-p1","version":"4.2.0","lastpinged":"1970-01-16T12:02:02-0500","managementserverid":59786422237565,"islocalstorageactive":false,"created":"2014-01-14T14:42:35-0500","events":"Ping; AgentDisconnected; Remove; StartAgentRebalance; ShutdownRequested; AgentConnected; PingTimeout; ManagementServerDown; HostDown","resourcestate":"Enabled"} ] } }
test_06_secondary_storage (integration.component.test_allocation_states.TestAllocationState): CRITICAL: FAILED: test_06_secondary_storage: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_allocation_states.py", line 278, in test_06_secondary_storage
    "Secondary storage should be in Up state"
  File "/usr/local/lib/python2.7/unittest/case.py", line 511, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/lib/python2.7/unittest/case.py", line 504, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: Secondary storage should be in Up state

--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 6 tests in 3.265s

FAILED (failures=1)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)