Enabling Encryption in Transit and Password Authentication...Could not update Postgress user password. Exception: Traceback (most recent call last)

@Farrux please answer the following question

Linux Debian 12 version

Can you execute ./bin/ycqlsh without errors ?

At the start you said it was ubuntu 24.04. While below you said Debian 12. Can you confirm it’s Debian 12?

first I tried with Ubuntu then with Debian.

Can you install this and try again?

apt-get install python-six
1 Like

We don’t have yet Debian 12 on our supported list Operating system support | YugabyteDB Docs (or ubuntu 24.04).

That’s why we’re running into these issues.

I think your first issue with ubuntu 24.04 was maybe this one [yugabyted] yugabyted collect_logs fails to gather logs when yugabyted is not running · Issue #23210 · yugabyte/yugabyte-db · GitHub (same fix as in Enabling Encryption in Transit and Password Authentication...Could not update Postgress user password. Exception: Traceback (most recent call last) - #17 by nmalladi)

1 Like

Hi @dorian_yugabyte Im getting similar error. Im trying to enable encryption in transit & start the Yugabyte on the 1st node. Below aee the details:

Operating System: Red Hat Enterprise Linux 8.10 (Ootpa)

Command to start the yugabyte:
$HOME/yb_open_binaries/yugabyte-2.25.0.0/bin/yugabyted start \
--config $HOME/yugabyte_start.conf \
--advertise_address=$(hostname) \
--cloud_location=aws.us-west-2.us-west-2a \
--base_dir=$HOME/yb_open_binaries \
--fault_tolerance=region

–Conf file

{
    "data_dir": "/crdb/data/yugabyte",
    "additional_data_dir": "",
    "log_dir": "/crdb/log/yugabyte",
    "gen_certs_dir": "/home/crdbadmin/yb_open_binaries/generated_certs",
    "master_rpc_port": 9092,
    "tserver_rpc_port": 9093,
    "master_webserver_port": 9094,
    "tserver_webserver_port": 9095,
    "ysql_port": 9090,
    "ycql_port": 9091,
    "ysql_metric_port": 9096,
    "ycql_metric_port": 12000,
    "advertise_address": "host_name",
    "webserver_port": 7200,
    "yugabyted_ui_port": 9097,
    "universe_uuid": "xxxxxx",
    "node_uuid": "xxxxxx",
    "tserver_uuid": "xxxxxx",
    "master_uuid": "xxxxxx",
    "placement_uuid": "xxxxxx",
    "polling_interval": "5",
    "callhome": true,
    "master_flags": "",
    "tserver_flags": "",
    "join": "",
    "ysql_enable_auth": true,
    "use_cassandra_authentication": true,
    "cloud_provider": "aws",
    "cloud_region": "us-west-2",
    "cloud_zone": "us-west-2a",
    "fault_tolerance": "region",
    "secure": true,
    "insecure": false,
    "certs_dir": "/home/crdbadmin/ybdb1d/certs",
    "ca_cert_file_path": "/home/crdbadmin/ybdb1d/certs/ca.crt",
    "database_password": null,
    "current_masters": "",
    "ui": true,
    "backup_daemon": true,
    "dns_enabled": true,
    "read_replica": false,
    "cluster_member": false```

--Error

Starting yugabyted…
:white_check_mark: YugabyteDB Started
/ Enabling Encryption in Transit and Password Authentication…Could not update Postgress user password. Exception: Traceback (most recent call last):
File “/home/crdbadmin/yb_open_binaries/yugabyte-2.25.0.0/bin/yugabyted”, line 5617, in update_db_passwords
retry_op_with_argument(ysql_proxy.try_update_password, new_password, timeout=60)
File “/home/crdbadmin/yb_open_binaries/yugabyte-2.25.0.0/bin/yugabyted”, line 10489, in retry_op_with_argument
now - start_time))
RuntimeError: Failed after retrying operation for 60.388899087905884 secs.

Hi @vineet2k1

Please start a new thread. Also please include ./bin/yugabyted collect_logs on the new thread.

And specify if this is a new cluster.

Thank you