----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50132/#review142565 -----------------------------------------------------------
Ship it! Ship It! - Gautam Borad On July 18, 2016, 1:02 p.m., Mugdha Varadkar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/50132/ > ----------------------------------------------------------- > > (Updated July 18, 2016, 1:02 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Gautam Borad, Srimanth > Gunturi, and Velmurugan Periasamy. > > > Bugs: AMBARI-17767 > https://issues.apache.org/jira/browse/AMBARI-17767 > > > Repository: ambari > > > Description > ------- > > Steps to reproduce: > - Deploy 2.2.9 cluster with Ambari 2.2.1.1 > - Upgrade Ambari to 2.4.0.0 > - Perform Express Upgrade (EU) to 2.4.2.0 and let it complete > - Observed that after EU, Ranger Usersync reports as down > > Analysis: > For HDP 2.2 usersync process was started with root user and from HDP-2.3 > onwards we support usersync process start for non-root user. > Usersync process didn't started due /var/log/ranger/usersync/auth.log: > Permission denied, which still had root permission after upgrade. > > Solution: > Need to give recursive file-level ownership for log path > /var/log/ranger/usersync > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py > 7079626 > ambari-server/src/test/python/stacks/2.5/RANGER/test_ranger_usersync.py > 7b6e782 > > Diff: https://reviews.apache.org/r/50132/diff/ > > > Testing > ------- > > Tested EU from 2.2.9 to 2.4.2.0 > > Running tests for stack:2.5 service:RANGER > test_configure_default (test_ranger_admin.TestRangerAdmin) ... ok > test_configure_secured (test_ranger_admin.TestRangerAdmin) ... ok > test_start_default (test_ranger_admin.TestRangerAdmin) ... ok > test_start_secured (test_ranger_admin.TestRangerAdmin) ... ok > test_stop_default (test_ranger_admin.TestRangerAdmin) ... ok > test_configure_default (test_ranger_usersync.TestRangerUsersync) ... ok > test_configure_secured (test_ranger_usersync.TestRangerUsersync) ... ok > test_start_default (test_ranger_usersync.TestRangerUsersync) ... ok > test_stop_default (test_ranger_usersync.TestRangerUsersync) ... ok > test_configure_default (test_ranger_tagsync.TestRangerTagsync) ... ok > test_configure_secured (test_ranger_tagsync.TestRangerTagsync) ... ok > test_start_default (test_ranger_tagsync.TestRangerTagsync) ... ok > test_stop_default (test_ranger_tagsync.TestRangerTagsync) ... ok > > ---------------------------------------------------------------------- > Ran 13 tests in 0.408s > > OK > > > Thanks, > > Mugdha Varadkar > >