** No longer affects: nova -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1328582
Title: _console_dump getting 400 response for invalid input Status in Tempest: In Progress Bug description: We have several timeout related bugs across several projects and tests, one is bug 1254890. A change was made to dump server console output on timeout here: https://review.openstack.org/97812 However that needs to pass in a length otherwise we get a 400 response: http://logs.openstack.org/30/98530/1/check/check-grenade- dsvm/6c88d91/console.html#_2014-06-10_03_50_32_716 2014-06-10 03:50:32.714 | Captured traceback: 2014-06-10 03:50:32.714 | ~~~~~~~~~~~~~~~~~~~ 2014-06-10 03:50:32.714 | Traceback (most recent call last): 2014-06-10 03:50:32.714 | File "tempest/api/compute/v3/servers/test_server_rescue.py", line 30, in setUpClass 2014-06-10 03:50:32.714 | cls.servers_client.wait_for_server_status(cls.server_id, 'ACTIVE') 2014-06-10 03:50:32.715 | File "tempest/services/compute/v3/json/servers_client.py", line 172, in wait_for_server_status 2014-06-10 03:50:32.715 | raise_on_error=raise_on_error) 2014-06-10 03:50:32.715 | File "tempest/common/waiters.py", line 106, in wait_for_server_status 2014-06-10 03:50:32.715 | _console_dump(client, server_id) 2014-06-10 03:50:32.715 | File "tempest/common/waiters.py", line 27, in _console_dump 2014-06-10 03:50:32.715 | resp, output = client.get_console_output(server_id, None) 2014-06-10 03:50:32.715 | File "tempest/services/compute/v3/json/servers_client.py", line 435, in get_console_output 2014-06-10 03:50:32.715 | common_schema.get_console_output, length=length) 2014-06-10 03:50:32.715 | File "tempest/services/compute/v3/json/servers_client.py", line 211, in action 2014-06-10 03:50:32.715 | post_body) 2014-06-10 03:50:32.715 | File "tempest/common/rest_client.py", line 209, in post 2014-06-10 03:50:32.715 | return self.request('POST', url, extra_headers, headers, body) 2014-06-10 03:50:32.716 | File "tempest/common/rest_client.py", line 419, in request 2014-06-10 03:50:32.716 | resp, resp_body) 2014-06-10 03:50:32.716 | File "tempest/common/rest_client.py", line 468, in _error_checker 2014-06-10 03:50:32.716 | raise exceptions.BadRequest(resp_body) 2014-06-10 03:50:32.716 | BadRequest: Bad request 2014-06-10 03:50:32.716 | Details: {u'message': u"Invalid input for field/attribute length. Value: None. None is not of type 'integer', 'string'", u'code': 400} To manage notifications about this bug go to: https://bugs.launchpad.net/tempest/+bug/1328582/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

