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
[Bug]: icinga-stack-icinga-kubernetes keeps crashing with "invalid memory address or nil pointer dereference" #69
Comments
Hi @Foxeronie, Thanks for the report. I will have a look. Best regards, |
Hi @Foxeronie, Can you please pull the image and try again. The issue should be fixed. Best regards, |
Hi Eric, this problem seems to be solved. Thank you! :)
Should I create a new issue for this? Best regards, |
A new issue is not necessary yet. Please run the following statement in the database: ALTER TABLE persistent_volume_claim_ref MODIFY COLUMN name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL; After that, if the daemon no longer crashes, please run the following query: SELECT * FROM persistent_volume_claim_ref WHERE LENGTH(name) > 63; And if it is ok data protection wise, please share the result. Maybe the result of the column |
I'm now getting the following error.
Edit:
|
Hi @Foxeronie, Thanks for sharing the output. Regarding your last error: I pushed a fix. Please pull the image and try again. Best regards, |
Hi Eric, thanks for your work. The last output is fixed, sadly the next error appeared.
Best regards, |
I thought that they are restricted, that's why the schema is limited in that regard, but obviously they're not 😆. Please execute the following statements to increase the available length of all volume name columns: ALTER TABLE node_volume MODIFY COLUMN name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE pod_pvc MODIFY COLUMN volume_name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE pod_pvc MODIFY COLUMN claim_name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE pod_volume MODIFY COLUMN volume_name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE container_mount MODIFY COLUMN volume_name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE pvc MODIFY COLUMN name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE pvc MODIFY COLUMN volume_name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE persistent_volume MODIFY COLUMN name varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL; |
Ah, okay. :D I ran all commands. One additional error appeared for table data, column "name".
and now the pod is runnning. :) |
Affected Chart
icinga-stack
Which version of the app contains the bug?
0.3.0
Please describe your problem
Hi!
After installing the icinga stack via helm, the icinga-stack-icinga-kubernetes pod keeps crashing with the following log output.
Best regards,
Patrick
The text was updated successfully, but these errors were encountered: