You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2020/09/26 11:12:24 UTC
[GitHub] [bigtop] sekikn opened a new pull request #683: BIGTOP-3418. Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10.
sekikn opened a new pull request #683:
URL: https://github.com/apache/bigtop/pull/683
Tested on Debian 10 and Fedora 31.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #683: BIGTOP-3418. Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10.
Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #683:
URL: https://github.com/apache/bigtop/pull/683#issuecomment-700523067
While the patch worked for CentOS 8 too, `ambari-server setup` failed due to error on starting PostgreSQL. I'm looking into the cause.
```
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: Configuring ambari database...
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: Checking PostgreSQL...
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: Running initdb: This may take up to a minute.
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: About to start PostgreSQL
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: ERROR: Exiting with exit code 3.
Notice: /Stage[main]/Ambari::Server/Exec[server setup]/returns: REASON: Unable to start PostgreSQL server. Exiting
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #683: BIGTOP-3418. Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10.
Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #683:
URL: https://github.com/apache/bigtop/pull/683#issuecomment-700650450
I filed [BIGTOP-3422](https://issues.apache.org/jira/browse/BIGTOP-3422) for PostgreSQL initdb issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims merged pull request #683: BIGTOP-3418. Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10.
Posted by GitBox <gi...@apache.org>.
iwasakims merged pull request #683:
URL: https://github.com/apache/bigtop/pull/683
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #683: BIGTOP-3418. Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10.
Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #683:
URL: https://github.com/apache/bigtop/pull/683#issuecomment-700639056
The cause turned out to be the locale.
```
[root@e175411847c9 /]# cat /var/lib/pgsql/initdb_postgresql.log
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
initdb: invalid locale settings; check LANG and LC_* environment variables
```
`--no-locale` on initdb should be the fix. The cmdline is not configurable in Ambari. Setting environment variable in puppet manifest might be an option.
```
[root@e175411847c9 /]# PGSETUP_INITDB_OPTIONS="--no-locale" /usr/bin/postgresql-setup initdb
WARNING: using obsoleted argument syntax, try --help
WARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql
* Initializing database in '/var/lib/pgsql/data'
* Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #683: BIGTOP-3418. Fix Ambari deployment on CentOS 8, Fedora 31 and Debian 10.
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #683:
URL: https://github.com/apache/bigtop/pull/683#issuecomment-701038806
@iwasakims Thanks! This PR fixed the problem on Debian 10,
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/174/COMPONENTS=ambari.bigtop-utils@ambari,OS=debian-10-amd64-deploy/console
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/174/COMPONENTS=ambari.bigtop-utils@ambari,OS=debian-10-arm64-deploy/console
but there's still a PostgreSQL issue on CentOS 8, as you mentioned.
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/174/COMPONENTS=ambari.bigtop-utils@ambari,OS=centos-8-x86_64-deploy/console
In addition, starting ambari-agent failed on Fedora 31 for some reason. I'm going to file this as another issue.
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/174/COMPONENTS=ambari.bigtop-utils@ambari,OS=fedora-31-aarch64-deploy/console
https://ci.bigtop.apache.org/job/Bigtop-trunk-smoke-tests/174/COMPONENTS=ambari.bigtop-utils@ambari,OS=fedora-31-x86_64-deploy/console
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org