Bug 1467869
Summary: | Many errors dumped to the console: "Minified React error #31", "Invariant Violation".... | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Udi Kalifon <ukalifon> |
Component: | rhosp-director-ui | Assignee: | Honza Pokorny <hpokorny> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Udi Kalifon <ukalifon> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 12.0 (Pike) | CC: | beth.white, dtrainor, hpokorny, rhel-osp-director-maint, ukalifon |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 12.0 (Pike) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-26 11:53:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Udi Kalifon
2017-07-05 11:36:13 UTC
I can't reproduce this locally using latest master --- which I think is the same version as yours. Hi Honza, would you like to see it on my setup? I had a look at your setup. Initially, I thought the issue was related to minification of the source code for production use. I pulled the minified code from your setup to mine, and couldn't reproduce the bug either. This eliminates any build-related bugs, I think. The errors seem to be triggered by making requests to the two Ironic endpoints. Ironic returns 404s so I'm wondering if it's misconfigured. Ironic works from the CLI and tripleo_ui_config.js seems to be configured correctly. I curled the endpoint and got a response, too. What else can I check ? There appears to be a configuration error in tripleo_ui_config.js. I changed it from: 10 'ironic-inspector': 'https://puma49.scl.lab.tlv.redhat.com:443/ironic', to: 10 'ironic-inspector': 'https://puma49.scl.lab.tlv.redhat.com:443/ironic-inspector', ...and am no longer able to reproduce this. Had line 10 of tripleo_ui_config.js been programatically configured or was that done by hand? Either way, we should either improve the documentation that describes these configuration endpoints or fix the process that implements this configuration. For thoroughness, I looked at Honza Pokorny's configuration and see that his configuration is more development-centric, and there is no use of Apache proxies to handle these requests - the requests go straight to the service endpoint port. This explains why Honza was not able to reproduce the error. I checked on another setup (where the file wasn't touched) and the error is at the source: 'ironic': 'http://192.168.24.1:3000/ironic', 'ironic-inspector': 'http://192.168.24.1:3000/ironic', So please fix the ironic-inspector line to point to the path /ironic-inspector. Fixed in https://review.openstack.org/#/c/470057/, which merged on June 12 Already works. |