2014-06-17 19:15:15.725 DEBUG nova.api.openstack.wsgi [req-5d3b75e5-c6c9-4b55-b9f8-050824bcaff7 AttachInterfacesTestXML-933666172 AttachInterfacesTestXML-1000817649] Action: 'action', body: <?xml version="1.0" encoding="UTF-8"?>
<os-getConsoleOutput length="" xmlns="http://docs.openstack.org/compute/api/v1.1"/> _process_stack /opt/stack/new/nova/nova/api/openstack/wsgi.py:940
2014-06-17 19:15:15.725 DEBUG nova.api.openstack.wsgi [req-5d3b75e5-c6c9-4b55-b9f8-050824bcaff7 AttachInterfacesTestXML-933666172 AttachInterfacesTestXML-1000817649] Calling method '<bound method ConsoleOutputController.get_console_output of <nova.api.openstack.compute.contrib.console_output.ConsoleOutputController object at 0x4a5e610>>' (Content-type='application/xml', Accept='application/xml') _process_stack /opt/stack/new/nova/nova/api/openstack/wsgi.py:945
2014-06-17 19:15:15.725 DEBUG nova.openstack.common.policy [req-5d3b75e5-c6c9-4b55-b9f8-050824bcaff7 AttachInterfacesTestXML-933666172 AttachInterfacesTestXML-1000817649] Rule compute_extension:console_output will be now enforced enforce /opt/stack/new/nova/nova/openstack/common/policy.py:288
2014-06-17 19:15:15.779 DEBUG nova.openstack.common.policy [req-5d3b75e5-c6c9-4b55-b9f8-050824bcaff7 AttachInterfacesTestXML-933666172 AttachInterfacesTestXML-1000817649] Rule compute:get will be now enforced enforce /opt/stack/new/nova/nova/openstack/common/policy.py:288
2014-06-17 19:15:15.780 INFO nova.api.openstack.wsgi [req-5d3b75e5-c6c9-4b55-b9f8-050824bcaff7 AttachInterfacesTestXML-933666172 AttachInterfacesTestXML-1000817649] HTTP exception thrown: Length in request body must be an integer value
2014-06-17 19:15:15.780 DEBUG nova.api.openstack.wsgi [req-5d3b75e5-c6c9-4b55-b9f8-050824bcaff7 AttachInterfacesTestXML-933666172 AttachInterfacesTestXML-1000817649] Returning 400 to user: The server could not comply with the request since it is either malformed or otherwise incorrect. __call__ /opt/stack/new/nova/nova/api/openstack/wsgi.py:1209
The issue is because console length was sent as a non int. So this is actually currently a tempest bug because the code to get the console over XML is sending invalid xml body to Nova.
2014-06-17 19:15:15.725 DEBUG nova.api. openstack. wsgi [req-5d3b75e5- c6c9-4b55- b9f8-050824bcaf f7 AttachInterface sTestXML- 933666172 AttachInterface sTestXML- 1000817649] Action: 'action', body: <?xml version="1.0" encoding="UTF-8"?> utput length="" xmlns="http:// docs.openstack. org/compute/ api/v1. 1"/> _process_stack /opt/stack/ new/nova/ nova/api/ openstack/ wsgi.py: 940 openstack. wsgi [req-5d3b75e5- c6c9-4b55- b9f8-050824bcaf f7 AttachInterface sTestXML- 933666172 AttachInterface sTestXML- 1000817649] Calling method '<bound method ConsoleOutputCo ntroller. get_console_ output of <nova.api. openstack. compute. contrib. console_ output. ConsoleOutputCo ntroller object at 0x4a5e610>>' (Content- type='applicati on/xml' , Accept= 'application/ xml') _process_stack /opt/stack/ new/nova/ nova/api/ openstack/ wsgi.py: 945 common. policy [req-5d3b75e5- c6c9-4b55- b9f8-050824bcaf f7 AttachInterface sTestXML- 933666172 AttachInterface sTestXML- 1000817649] Rule compute_ extension: console_ output will be now enforced enforce /opt/stack/ new/nova/ nova/openstack/ common/ policy. py:288 common. policy [req-5d3b75e5- c6c9-4b55- b9f8-050824bcaf f7 AttachInterface sTestXML- 933666172 AttachInterface sTestXML- 1000817649] Rule compute:get will be now enforced enforce /opt/stack/ new/nova/ nova/openstack/ common/ policy. py:288 openstack. wsgi [req-5d3b75e5- c6c9-4b55- b9f8-050824bcaf f7 AttachInterface sTestXML- 933666172 AttachInterface sTestXML- 1000817649] HTTP exception thrown: Length in request body must be an integer value openstack. wsgi [req-5d3b75e5- c6c9-4b55- b9f8-050824bcaf f7 AttachInterface sTestXML- 933666172 AttachInterface sTestXML- 1000817649] Returning 400 to user: The server could not comply with the request since it is either malformed or otherwise incorrect. __call__ /opt/stack/ new/nova/ nova/api/ openstack/ wsgi.py: 1209
<os-getConsoleO
2014-06-17 19:15:15.725 DEBUG nova.api.
2014-06-17 19:15:15.725 DEBUG nova.openstack.
2014-06-17 19:15:15.779 DEBUG nova.openstack.
2014-06-17 19:15:15.780 INFO nova.api.
2014-06-17 19:15:15.780 DEBUG nova.api.
The issue is because console length was sent as a non int. So this is actually currently a tempest bug because the code to get the console over XML is sending invalid xml body to Nova.