-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33980/#review83188
-----------------------------------------------------------

Ship it!


Ship It!

- Yusaku Sako


On May 8, 2015, 2:39 p.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33980/
> -----------------------------------------------------------
> 
> (Updated May 8, 2015, 2:39 p.m.)
> 
> 
> Review request for Ambari, Aleksandr Kovalenko, Andrii Tkach, Jaimin Jetly, 
> and Yusaku Sako.
> 
> 
> Bugs: AMBARI-11025
>     https://issues.apache.org/jira/browse/AMBARI-11025
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> enable kerb, select manual kerb option.
> 
> As first task inStop Services, it's performing kerb client install, which is 
> installs 1) kerb packages + 2) overwriting my krb5.conf (shouldn't do either 
> of these since this is a manual kerb).
> 
> ```
> 2015-05-05 19:09:31,878 - Skipping installation of existing package 
> krb5-workstation
> 2015-05-05 19:09:31,882 - Directory['/etc'] {'owner': 'root', 'group': 
> 'root', 'mode': 0755, 'recursive': True}
> 2015-05-05 19:09:32,030 - File['/etc/krb5.conf'] {'owner': 'root', 'content': 
> Template('krb5_conf.j2'), 'group': 'root', 'mode': 0644}
> 2015-05-05 19:09:32,206 - Writing File['/etc/krb5.conf'] because contents 
> don't match
> 2015-05-05 19:09:32,491 - Execute['ambari-sudo.sh  -H -E touch 
> /var/lib/ambari-agent/data/hdp-select-set-all.performed ; ambari-sudo.sh 
> /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions 
> | grep ^2.2 | tail -1`'] {'not_if': 'test -f 
> /var/lib/ambari-agent/data/hdp-select-set-all.performed', 'only_if': 'ls -d 
> /usr/hdp/2.2*'}
> 2015-05-05 19:09:32,553 - Skipping Execute['ambari-sudo.sh  -H -E touch 
> /var/lib/ambari-agent/data/hdp-select-set-all.performed ; ambari-sudo.sh 
> /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions 
> | grep ^2.2 | tail -1`'] due to not_if
> 2
> ```
> 
> #Solution#
> The wizard needs to set the following configurations when "Manual" is 
> selected:
> 
> `kerberos-env/manage_identities` = "false"
> `kerberos-env/install_packages` = "false"
> `krb5-conf/manage_krb5_conf` = "false"
> `kerberos-env/kdc-type` = "none"
> 
> 
> Diffs
> -----
> 
>   ambari-web/app/controllers/main/admin/kerberos/step2_controller.js f9f8b54 
>   ambari-web/app/controllers/main/admin/kerberos/wizard_controller.js d3fb9c9 
>   ambari-web/app/routes/add_kerberos_routes.js b0db95a 
> 
> Diff: https://reviews.apache.org/r/33980/diff/
> 
> 
> Testing
> -------
> 
> Manual testing to see that the configurations were set as needed and that the 
> supressed automated processes were supressed.
> 
> 
> Thanks,
> 
> Robert Levas
> 
>

Reply via email to