[
https://issues.apache.org/jira/browse/AMBARI-25244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857484#comment-16857484
]
Viraj Jasani commented on AMBARI-25244:
---------------------------------------
[~amagyar] These failures don't seem relevant with the commit. Please let me
know if that is not the case. However, recent 2 build triggers have failed with
same errors after checkin.
We can retrigger the build? Could you please let me know if this is a known
failure to you?
{code:java}
Failed tests:
ERROR: test_decrypt_missed_masterkey_not_persisted
(TestSensitiveDataEncryption.TestSensitiveDataEncryption)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
return func(*args, **keywargs)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestSensitiveDataEncryption.py",
line 329, in test_decrypt_missed_masterkey_not_persisted
self.assertTrue(setup_sensitive_data_encryption(options) == 1)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 553, in setup_sensitive_data_encryption
printManualDecryptionWarning(db_password, db_sql_auth, ts_password)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 662, in printManualDecryptionWarning
" and set " + SECURITY_SENSITIVE_DATA_ENCRYPTON_ENABLED + " = " + "false."
+ \
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 245, in find_properties_file
raise FatalException(1, err)
FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not
found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1'
ERROR: test_encrypt_part_not_persisted
(TestSensitiveDataEncryption.TestSensitiveDataEncryption)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
return func(*args, **keywargs)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestSensitiveDataEncryption.py",
line 259, in test_encrypt_part_not_persisted
setup_sensitive_data_encryption(options)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 572, in setup_sensitive_data_encryption
encrypt_sensitive_data(db_password, masterKey, options, isPersisted,
properties, ts_password)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 603, in encrypt_sensitive_data
remove_password_file(JDBC_PASSWORD_FILENAME)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 990, in remove_password_file
conf_file = find_properties_file()
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 245, in find_properties_file
raise FatalException(1, err)
FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not
found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1'
ERROR: test_reset_master_key_not_persisted
(TestSensitiveDataEncryption.TestSensitiveDataEncryption)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
return func(*args, **keywargs)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestSensitiveDataEncryption.py",
line 185, in test_reset_master_key_not_persisted
setup_sensitive_data_encryption(options)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 572, in setup_sensitive_data_encryption
encrypt_sensitive_data(db_password, masterKey, options, isPersisted,
properties, ts_password)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 603, in encrypt_sensitive_data
remove_password_file(JDBC_PASSWORD_FILENAME)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 990, in remove_password_file
conf_file = find_properties_file()
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 245, in find_properties_file
raise FatalException(1, err)
FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not
found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1'
ERROR: test_reset_master_key_persisted
(TestSensitiveDataEncryption.TestSensitiveDataEncryption)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
return func(*args, **keywargs)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestSensitiveDataEncryption.py",
line 524, in test_reset_master_key_persisted
setup_sensitive_data_encryption(options)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 572, in setup_sensitive_data_encryption
encrypt_sensitive_data(db_password, masterKey, options, isPersisted,
properties, ts_password)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupSecurity.py",
line 603, in encrypt_sensitive_data
remove_password_file(JDBC_PASSWORD_FILENAME)
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 990, in remove_password_file
conf_file = find_properties_file()
File
"/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 245, in find_properties_file
raise FatalException(1, err)
FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not
found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1'
----------------------------------------------------------------------
Total run:352
Total errors:4
Total failures:0
ERROR
{code}
> Rolling Upgrade support for rack based hosts
> --------------------------------------------
>
> Key: AMBARI-25244
> URL: https://issues.apache.org/jira/browse/AMBARI-25244
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: trunk, 2.7.4
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> Ambari managed Rolling Upgrade has batch size concept with which multiple
> hosts are upgraded in parallel. e.g. slave/client components are restarted on
> multiple hosts in parallel.
> However, we should provide support for parallel hosts upgrade that exist on
> single rack. If client provides location of rack to hosts mapping file
> location as part of cluster-env property, we should read the mapping and
> proceed with parallel Rolling Restart on multiple hosts on single rack.
> This can significantly improve resiliency and availability as slave/client
> components that don't belong to single rack won't be restarted in parallel.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)