Masatake Iwasaki created BIGTOP-4538:
----------------------------------------

             Summary: Fix deployment error of Ranger on Red Hat distros in 
container
                 Key: BIGTOP-4538
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4538
             Project: Bigtop
          Issue Type: Bug
          Components: deployment
            Reporter: Masatake Iwasaki
            Assignee: Masatake Iwasaki


sudo failed with the message like `sudo: PAM account management error: 
Authentication service cannot retrieve authentication info`.

{noformat}
[mNotice: /Stage[main]/Ranger::Admin/Package[ranger-admin]/ensure: created[0m
[mNotice: /Stage[main]/Ranger::Admin/Exec[initdb]/returns: executed 
successfully[0m
[mNotice: /Stage[main]/Ranger::Admin/Service[postgresql]/ensure: ensure changed 
'stopped' to 'running'[0m
[mNotice: /Stage[main]/Ranger::Admin/Exec[change_postgres_password]/returns: 
sudo: PAM account management error: Authentication service cannot retrieve 
authentication info[0m
[mNotice: /Stage[main]/Ranger::Admin/Exec[change_postgres_password]/returns: 
sudo: a password is required[0m
[1;31mError: 'sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 
'admin';"' returned 1 instead of one of [0][0m
[1;31mError: /Stage[main]/Ranger::Admin/Exec[change_postgres_password]/returns: 
change from 'notrun' to ['0'] failed: 'sudo -u postgres psql -c "ALTER USER 
postgres WITH PASSWORD 'admin';"' returned 1 instead of one of [0][0m
[mNotice: 
/Stage[main]/Ranger::Admin/File[/usr/lib/ranger-admin/install.properties]: 
Dependency Exec[change_postgres_password] has failures: true[0m
[1;33mWarning: 
/Stage[main]/Ranger::Admin/File[/usr/lib/ranger-admin/install.properties]: 
Skipping because of failed dependencies[0m
[1;33mWarning: /Stage[main]/Ranger::Admin/Exec[setup.sh]: Skipping because of 
failed dependencies[0m
[1;33mWarning: /Stage[main]/Ranger::Admin/Exec[set_globals.sh]: Skipping 
because of failed dependencies[0m
[1;33mWarning: /Stage[main]/Ranger::Admin/Exec[systemctl daemon-reload]: 
Skipping because of failed dependencies[0m
[1;33mWarning: /Stage[main]/Ranger::Admin/Service[ranger-admin]: Skipping 
because of failed dependencies[0m
{noformat}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to