[
https://issues.apache.org/jira/browse/AMBARI-23194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394111#comment-16394111
]
Hudson commented on AMBARI-23194:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8833 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8833/])
AMBARI-23194. Values instance has no attribute 'master_key' during
(6454655+adoroszlai:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e46d8edc39ea5949756b641ab8881d726c1861e1])
* (edit) ambari-server/src/main/python/ambari-server.py
> Values instance has no attribute 'master_key' during ambari-server reset
> ------------------------------------------------------------------------
>
> Key: AMBARI-23194
> URL: https://issues.apache.org/jira/browse/AMBARI-23194
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Doroszlai, Attila
> Assignee: Robert Levas
> Priority: Critical
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {noformat:title=ambari-server reset -s}
> Using python /usr/bin/python
> Resetting ambari-server
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> **** WARNING **** You are about to reset and clear the Ambari Server
> database. This will remove all cluster host and configuration information
> from the database. You will be required to re-configure the Ambari server and
> re-run the cluster wizard.
> Are you SURE you want to perform the reset [yes/no] (yes)?
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> Traceback (most recent call last):
> File "/usr/sbin/ambari-server.py", line 1033, in <module>
> mainBody()
> File "/usr/sbin/ambari-server.py", line 1003, in mainBody
> main(options, args, parser)
> File "/usr/sbin/ambari-server.py", line 953, in main
> action_obj.execute()
> File "/usr/sbin/ambari-server.py", line 79, in execute
> self.fn(*self.args, **self.kwargs)
> File "/usr/lib/ambari-server/lib/ambari_server/serverSetup.py", line 1326,
> in reset
> _reset_database(options)
> File "/usr/lib/ambari-server/lib/ambari_server/serverSetup.py", line 1052,
> in _reset_database
> dbmsAmbari = factory.create(options, properties)
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py", line
> 501, in create
> dbmsConfig = desc.create_config(options, properties, dbId)
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py", line
> 81, in create_config
> return self.fn_create_config(options, properties, self.storage_key, dbId)
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration_linux.py",
> line 881, in createPGConfig
> return PGConfig(options, properties, storage_type)
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration_linux.py",
> line 391, in __init__
> super(PGConfig, self).__init__(options, properties, storage_type)
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration_linux.py",
> line 94, in __init__
> self.database_password =
> DBMSConfig._read_password_from_properties(properties, options)
> File "/usr/lib/ambari-server/lib/ambari_server/dbConfiguration.py", line
> 222, in _read_password_from_properties
> database_password = decrypt_password_for_alias(properties,
> JDBC_RCA_PASSWORD_ALIAS, options)
> File "/usr/lib/ambari-server/lib/ambari_server/serverConfiguration.py",
> line 940, in decrypt_password_for_alias
> return read_passwd_for_alias(alias, masterKey, options)
> File "/usr/lib/ambari-server/lib/ambari_server/serverConfiguration.py",
> line 911, in read_passwd_for_alias
> if options is not None and options.master_key is not None and
> options.master_key:
> AttributeError: Values instance has no attribute 'master_key'
> {noformat}
> {noformat:title=grep passwd /etc/ambari-server/conf/ambari.properties}
> server.jdbc.user.passwd=${alias=ambari.db.password}
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)