Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import must-gather file: unexpected 500 status code: multipart: NextPart: EOF #42

Open
jorti opened this issue Nov 22, 2023 · 0 comments

Comments

@jorti
Copy link

jorti commented Nov 22, 2023

The import failed in the client with this message:

$  lvctl setup-import -namespace jorti -id 03670729 -file  must-gather.local.1977146784160175632.tar.gz 
I1122 09:50:52.770960   28653 setup.go:27] setting up LogsViewer 03670729
I1122 09:50:53.288882   28653 setup.go:112] template 'logsviewer-03670729' created
I1122 09:50:53.406277   28653 setup.go:134] template Instance 'logsviewer-03670729' created
I1122 09:50:53.406294   28653 setup.go:140] waiting for Template Instance to be ready...
I1122 09:50:53.993134   28653 setup.go:159] template Instance is ready
I1122 09:50:53.993153   28653 setup.go:49] waiting for LogsViewer pod to be ready...
I1122 09:50:54.100027   28653 setup.go:199] logsViewer pod is not ready yet, current phase: Pending
I1122 09:53:40.477922   28653 setup.go:193] logsViewer container is not ready yet
I1122 09:53:51.486383   28653 setup.go:195] logsViewer is ready
I1122 09:53:51.611886   28653 setup.go:60] logsViewer 03670729 is available at https://jorti-logsviewer-03670729.apps.cnv2.engineering.redhat.com
I1122 09:53:51.611909   28653 setup.go:61] logsViewer 03670729 setup complete
I1122 09:53:51.611916   28653 import.go:25] importing must-gather from file 'must-gather.local.1977146784160175632.tar.gz'
I1122 09:53:51.821392   28653 setup.go:195] logsViewer is ready
I1122 09:53:51.821417   28653 import.go:32] importing must-gather file to LogsViewer...
F1122 09:53:53.291681   28653 import.go:35] failed to import must-gather file: unexpected 500 status code: multipart: NextPart: EOF

logsviewer container logs:

backend.go:11: Starting logsviewer
backend.go:17: public-dir: ./frontend/build/
backend.go:18: insights-binary-path: 
server.go:1029: HTTP JSON POST URL: http://localhost:5601/api/data_views/data_view
server.go:1043: response Status: 200 OK
server.go:1044: response Headers: map[Cache-Control:[private, no-cache, no-store, must-revalidate] Connection:[keep-alive] Content-Length:[209] Content-Type:[application/json; charset=utf-8] Date:[Wed, 22 Nov 2023 08:53:42 GMT] Kbn-License-Sig:[0876c5dd2846fb080d33cf0492b5830d353dd2dabfbddba10f20c8b8bd16b0ea] Kbn-Name:[logsviewer-03670729] Keep-Alive:[timeout=120] Referrer-Policy:[no-referrer-when-downgrade] X-Content-Type-Options:[nosniff]]
server.go:1046: response Body: {"data_view":{"id":"cnvlogs-default","version":"WzEzLDFd","title":"cnvlogs*","timeFieldName":"@timestamp","fields":{},"typeMeta":{},"fieldFormats":{},"runtimeFieldMap":{},"fieldAttrs":{},"allowNoIndex":false}}
server.go:1007: HTTP JSON POST URL: http://localhost:5601/api/data_views/default
server.go:1021: response Status: 200 OK
server.go:1022: response Headers: map[Cache-Control:[private, no-cache, no-store, must-revalidate] Connection:[keep-alive] Content-Length:[21] Content-Type:[application/json; charset=utf-8] Date:[Wed, 22 Nov 2023 08:53:43 GMT] Kbn-License-Sig:[0876c5dd2846fb080d33cf0492b5830d353dd2dabfbddba10f20c8b8bd16b0ea] Kbn-Name:[logsviewer-03670729] Keep-Alive:[timeout=120] Referrer-Policy:[no-referrer-when-downgrade] X-Content-Type-Options:[nosniff]]
server.go:1024: response Body: {"acknowledged":true}
server.go:1094: Routes set
File Upload Endpoint Hit
server.go:862: File Upload Endpoint Hit
Error Retrieving the File
multipart: NextPart: EOF
server.go:875: multipart: NextPart: EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant