You can also report this issue in the GitHub repository.
Original Message:
Sent: Tue November 28, 2023 08:35 PM
From: Bennet Tan
Subject: UDS instance creation fails during MAS/Manage installation
All installed operators under ibm-common-services are in Succeeded status.
Looking at the IBM User Data Service operator (v2.0.12), analyticsproxy is stuck in installing state with an 'unknown playbook failure' error in the YAML.
The instrumentationdb-instance1-xxxxx pod under ibm-common-services project is in CrashLoopBackOff status, below are the error logs:
=================================================================================================
creating directory /pgdata/pg13 ... ok
creating directory /pgdata/pg13_wal ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 20
selecting default shared_buffers ... 400kB
selecting default time zone ... UTC
creating configuration files ... ok
running bootstrap script ... 2023-11-29 00:58:03.242 UTC [94911] FATAL: data directory "/pgdata/pg13" has wrong ownership
2023-11-29 00:58:03.242 UTC [94911] HINT: The server must be started by the user that owns the data directory.
child process exited with exit code 1
initdb: removing data directory "/pgdata/pg13"
initdb: removing WAL directory "/pgdata/pg13_wal"
pg_ctl: database system initialization failed
2023-11-29 00:58:03,780 INFO: removing initialize key after failed attempt to bootstrap the cluster
================================================================================================
The mas-mongo-ce pods under mongoce project failing to spin up, below are the logs:
=================================================================================================
{"t":{"$date":"2023-11-29T01:16:24.765+00:00"},"s":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error","attr":{"error":17,"message":"[1701220584:765218][1:0x7f1343592cc0], connection: __posix_open_file, 808: /data/WiredTiger.wt: handle-open: open: File exists"}}
{"t":{"$date":"2023-11-29T01:16:24.770+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.1007"}}
{"t":{"$date":"2023-11-29T01:16:24.774+00:00"},"s":"E", "c":"STORAGE", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error","attr":{"error":1,"message":"[1701220584:774463][1:0x7f1343592cc0], connection: __posix_open_file, 808: /data/WiredTiger.wt: handle-open: open: Operation not permitted"}}
{"t":{"$date":"2023-11-29T01:16:24.777+00:00"},"s":"W", "c":"STORAGE", "id":22347, "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."}
{"t":{"$date":"2023-11-29T01:16:24.777+00:00"},"s":"F", "c":"STORAGE", "id":28595, "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}}
{"t":{"$date":"2023-11-29T01:16:24.777+00:00"},"s":"F", "c":"-", "id":23091, "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":958}}
{"t":{"$date":"2023-11-29T01:16:24.777+00:00"},"s":"F", "c":"-", "id":23092, "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"}
====================================================================================================
Given that this installation is ran through the mas-cli which uses the ansible playbook, I am wondering if there is a wrong version implemented here. Hoping I can get the attention of @Alex Donatelli to confirm.
------------------------------
Bennet Tan
Original Message:
Sent: Tue November 28, 2023 07:14 PM
From: Maycon Belfort
Subject: UDS instance creation fails during MAS/Manage installation
Can you see any errors on analitcsproxy installation?
Go to
- Installed Operators
- Common Services Project
- user-data-services-operator
- AnalyticsProxy details
Try looking into the resources and events for what is happening.
------------------------------
Maycon Belfort
Consultant
BPD Zenith
Melbourne
Australia
Original Message:
Sent: Mon November 27, 2023 05:10 PM
From: Bennet Tan
Subject: UDS instance creation fails during MAS/Manage installation
I am running OCP 4.12.42 in SNO and trying to install MAS 8.11.2, using the latest MAS-CLI (7.8.0)
Execute the mas install command, input in all the parameters, I am installing Manage and DB2 as well, very vanilla setup, not customizations.
The pipeline install keeps failing at User Data Services, waiting for AnalyticsProxy to be ready.
DB2-manage and mongodb will eventually fail as well, which I suspect because UDS couldn't install correctly.
Has anyone been able to install MAS 8.11.2 with MAS-CLI 7.8.0?
thanks,
Bennet
------------------------------
Bennet Tan
------------------------------