Vertica database will not start if LDAPLink parameters consist of special char, for example "ü"
Vertica 12.0.2
If you have LDAPLink set up the way that those parameter Distinguished Name consist of special chars, for example "ü" (also "ä", "ö", "õ", ..), then your database will not start !
LDAPLinkFilterGroup
LDAPLinkFilterUser
When I try to start it
su - dbadmin -c "admintools -t start_db -d xxxxdb"
Info: no password specified, using none
Going with traditional slower startup
Spread encryption is enabled. Key rotation will be performed.
- Database config synchronization step failed. Please check logs *
Database xxxxdb did not start successfully: Unable to synchronize database config on all nodes..
Hint: if you use Eon mode, then you may need to start all primary nodes.
admintools.log file is following:
2023-01-06 16:51:29.703 admintools/3870:0x7fd978c37740 [ATFileCopy._copyPathImpl] Copy Failed on x.x.x.x: status=Failure host=x.x.x.x version=vertica.engine.api.at_send_file/1.0.0 content={"runner_ack": true} error_message=file length mismatch 10064 does not match source: 10071
2023-01-06 16:51:29.703 admintools/3870:0x7fd978c37740 [adminExec.synchronizeDatabaseConfig] [synchronize vertica.conf] failure to send to host x.x.x.x
2023-01-06 16:51:29.703 admintools/3870:0x7fd978c37740 [adminExec.dbStart] * Database config synchronization step failed. Please check logs *
2023-01-06 16:51:29.703 admintools/3870:0x7fd978c37740 [commandLineCtrl.startDB] Database xxxxdb did not start successfully: Unable to synchronize database config on all nodes..
Hint: if you use Eon mode, then you may need to start all primary nodes.
Note that. Seems like it is some kind of multibyte char bug. So this length function does not seem to take into account that there may not be only single byte chars.
error_message=file length mismatch 10064 does not match source: 10071
I modified file: /var/lib/vertica/xxxxdb/v_xxxxdb_node0001_catalog/vertica.conf
And removed these two parameters:
LDAPLinkFilterGroup=...
LDAPLinkFilterUser=...
Now database starts fine. And these same rows, that I removed from vertica.conf file, are returned there back.
So if I restart database again, I will get same error.
Raul
Comments
Hi Raul,
This looks like a bug, can you open a support ticket?
This is a known issue. it has been fixed in 12.0.3. Please upgrade your cluster. If you need more details on the bug, please open a support case.
Is v 12.0.3 already out?
Yes. it has been released. Please find the new feature link for 12.0.3
https://www.vertica.com/docs/12.0.x/HTML/Content/Authoring/NewFeatures/12.0/12.0.3/NewFeaturesandChangesIn12.0.3.htm
I did open SR - this SR has been idle'ing for almost 2 weeks with nothing helpful.
I reported this bug:
Date/Time Opened
06/1/2023, 15:50
I am telling you, I am getting better feedback from vertica forum posts than from vertica support.
Last useful info I get from support was this: They opened this for DEV team JIRA ID for reference is VER-85092.
And nothing more. Now from this forum post I see that there is a fix - which is not mentioned at all on vertica support.
Raul
It is not fixed !
Why would you misconfuse people like that ???
I just upgraded, I get same error
admintools.log
I AGAIN modified vertica.conf file and removed those 2 parameters.
And it starts up.
Raul
@raulk89 I am sorry for the inconvenience caused. As per the JIRA, it contains the fix when Japanese/chinese/special characters such as 'ü' are present. It looks like you are still getting the issue after upgrade. please open support case and we can get more details and file a bug accordingly
VER-85092
LDAPLinkFilterGroup and LDAPLinkFilterUser containing multibyte chars preventing db from starting
I have SR opened up since 6. of January
No new updates for that SR.
Raul
And by the way, "ü" is the only special character for me, when I remove it from all the places, database will start up.
So "ü" is very much still the issue for me.
Raul
thank you @raulk89 . we will communicate via SR.