Support Questions

Find answers, ask questions, and share your expertise

Cloudera Manager

New Contributor

I am trying to install Cloudera Manager using Atlas director and I am running into some issues trying to use External AWS Postgresql RDS instance. During the bootstap process it creates these roles and then complains that the master account doenst have access to these roles. 



2019-03-08 20:02:36 UTC:[1456]:ERROR: must be member of role "wlcliysq"
2019-03-08 20:02:36 UTC:[1456]:STATEMENT: create database scm_v92slbj8eks9h5i63ktbvb3dkc owner wlcliysq encoding 'UTF8'
2019-03-08 20:02:47 UTC:[1604]:ERROR: must be member of role "lvmupyih"
2019-03-08 20:02:47 UTC:[1604]:STATEMENT: create database scm_oausqfkms67s9ekhce08b703hq owner lvmupyih encoding 'UTF8'
2019-03-08 20:02:58 UTC:[1735]:ERROR: must be member of role "exeqtngg"
2019-03-08 20:02:58 UTC:[1735]:STATEMENT: create database scm_43j037sl70k3a6jdufisk0nv9h owner exeqtngg encoding 'UTF8'
2019-03-08 20:03:19 UTC:[2138]:ERROR: must be member of role "unehrslm"
ding 'UTF8'
----------------------- END OF LOG ----------------------


As a test I tried to use Mysql RDS and that appeared to work without any issues so I am wondering if Postgresql RDS is supported?


Expert Contributor
Unfortunately no, PostgreSQL RDS is not supported. Sorry about that!

New Contributor

i'm running into a similar issue was the original poster except for a postgresql instance on gcp's cloudsql when attempting to to instal cloudera manger with altus director. is gcp's postgresql on cloudsql supported? is it known to be incompatible? thanks!


org.postgresql.util.PSQLException: ERROR: must be member of role "scmu_lphqtnvf"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.core.v3.QueryExecutorImpl.processResults([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.core.v3.QueryExecutorImpl.execute([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.jdbc.PgStatement.executeInternal([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.jdbc.PgStatement.execute([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.jdbc.PgStatement.executeWithFlags([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.jdbc.PgStatement.executeCachedSql([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.jdbc.PgStatement.executeWithFlags([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at org.postgresql.jdbc.PgStatement.execute([postgresql-42.1.4.jre7.jar:42.1.4.jre7]
at com.cloudera.enterprise.dbutil.DbProvisioner.executeSql([db-common-5.15.1.jar:]
at com.cloudera.enterprise.dbutil.DbProvisioner.doMain([db-common-5.15.1.jar:]
at com.cloudera.enterprise.dbutil.DbProvisioner.main([db-common-5.15.1.jar:]


Expert Contributor



Altus Director is not able to manage (i.e., create/delete) cloudsql postgres databases due to a permissions issue. As you can see by the error messages, the created users are not being granted the correct role to operate on the created database.


You can still use postgres databases that you create and manage yourself. See the documentation and reference conf file for information on External Databases, not External Database Templates.


Expert Contributor

followup with a little more context and clarification.


I mis-spoke when I said that "the created users are not being granted the correct role to operate on the created database." In actuality, the role provided to Altus Director is not able to create a database with an owner other than itself. The database provisioning logic attempts to create a separate role and use that as the owner for each database. SUPERUSER privileges are required to create a database with a different owner. Google cloud sql does not support giving SUPERUSER privileges (see under "Unsupported Features").


External Database Templates should work correctly if you create your own Postgres server and provide Altus Director with a SUPERUSER role.