Bug 1866880 - Ironic erroring with "the view function did not return a valid response"
Summary: Ironic erroring with "the view function did not return a valid response"
Keywords:
Status: CLOSED DUPLICATE of bug 1867088
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Julia Kreger
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-06 17:16 UTC by Stephen Benjamin
Modified: 2020-08-11 18:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-11 15:17:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stephen Benjamin 2020-08-06 17:16:50 UTC
On the latest nightly I saw these errors. Unfortunately the ironic logs weren't gathered, but this error message is new to us:

 level=debug msg="The view function did not return a valid response. The return type must be a string, tuple, Response instance, or WSGI callable, but it was a dict.'"
level=debug msg="2020/08/06 16:43:47 [ERROR] module.masters: eval: *terraform.EvalApplyPost, err: could not inspect: could not inspect node, node is currently 'inspect failed', last error was 'Failed to inspect hardware. Reason: unable to start inspection: HttpException: 500: Server Error for url: http://172.22.0.2:5050/v1/introspection/ef6258b3-feea-438a-92c8-ccd3d94a5907?manage_boot=False, Internal server error (TypeError): 'dict' object is not callable"
level=debug msg="The view function did not return a valid response. The return type must be a string, tuple, Response instance, or WSGI callable, but it was a dict.'"
level=debug msg="2020/08/06 16:43:47 [ERROR] module.masters: eval: *terraform.EvalSequence, err: could not inspect: could not inspect node, node is currently 'inspect failed', last error was 'Failed to inspect hardware. Reason: unable to start inspection: HttpException: 500: Server Error for url: http://172.22.0.2:5050/v1/introspection/ef6258b3-feea-438a-92c8-ccd3d94a5907?manage_boot=False, Internal server error (TypeError): 'dict' object is not callable"
level=debug msg="The view function did not return a valid response. The return type must be a string, tuple, Response instance, or WSGI callable, but it was a dict.'"
level=error
level=error msg="Error: could not inspect: could not inspect node, node is currently 'inspect failed', last error was 'Failed to inspect hardware. Reason: unable to start inspection: HttpException: 500: Server Error for url: http://172.22.0.2:5050/v1/introspection/8fd6cdba-aed1-494b-85ca-fd2e44019629?manage_boot=False, Internal server error (TypeError): 'dict' object is not callable"
level=error msg="The view function did not return a valid response. The return type must be a string, tuple, Response instance, or WSGI callable, but it was a dict.'"
level=error
level=error msg="  on ../../tmp/openshift-install-455674588/masters/main.tf line 1, in resource \"ironic_node_v1\" \"openshift-master-host\":"
level=error msg="   1: resource \"ironic_node_v1\" \"openshift-master-host\" {"
level=error
level=error
level=error
level=error msg="Error: could not inspect: could not inspect node, node is currently 'inspect failed', last error was 'Failed to inspect hardware. Reason: unable to start inspection: HttpException: 500: Server Error for url: http://172.22.0.2:5050/v1/introspection/c0028cc5-7008-45c5-a0f7-f2c8067b7c38?manage_boot=False, Internal server error (TypeError): 'dict' object is not callable"
level=error msg="The view function did not return a valid response. The return type must be a string, tuple, Response instance, or WSGI callable, but it was a dict.'"
level=error
level=error msg="  on ../../tmp/openshift-install-455674588/masters/main.tf line 1, in resource \"ironic_node_v1\" \"openshift-master-host\":"
level=error msg="   1: resource \"ironic_node_v1\" \"openshift-master-host\" {"

Comment 1 Bob Fournier 2020-08-11 15:17:20 UTC
This is the issue with the versions of werkzeug and Flask, tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1867088. 

Closing this as a duplicate.

*** This bug has been marked as a duplicate of bug 1867088 ***


Note You need to log in before you can comment on or make changes to this bug.