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


Ship it!




Ship It!

- Velmurugan Periasamy


On Nov. 26, 2020, 4:29 p.m., Mahesh Bandal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73043/
> -----------------------------------------------------------
> 
> (Updated Nov. 26, 2020, 4:29 p.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Dhaval Shah, Dineshkumar Yadav, 
> Gautam Borad, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul 
> Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan 
> Periasamy.
> 
> 
> Bugs: RANGER-3090
>     https://issues.apache.org/jira/browse/RANGER-3090
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> KMS setup.sh fails due to blank property value of db_ssl_certificate_file in 
> install.properties file
> 
> [I] 
> /root/tarfile/ranger-3.0.0-SNAPSHOT-kms/ews/webapp/WEB-INF/classes/conf/dbks-site.xml
>  file found
> Traceback (most recent call last):
>   File "update_property.py", line 40, in <module>
>     write_properties_to_xml(file_path,parameter_name,parameter_value)
>   File "update_property.py", line 22, in write_properties_to_xml
>     if(os.path.isfile(xml_path)):
>   File "/usr/lib64/python2.7/genericpath.py", line 29, in isfile
>     st = os.stat(path)
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> [E] Update property failed for: {'ranger.ks.db.ssl.certificateFile'}
> 
> 
> Diffs
> -----
> 
>   kms/scripts/db_setup.py c1f85237d 
>   kms/scripts/setup.sh a7691f33c 
>   security-admin/scripts/db_setup.py 09fab9521 
>   security-admin/scripts/setup.sh 151924de2 
> 
> 
> Diff: https://reviews.apache.org/r/73043/diff/2/
> 
> 
> Testing
> -------
> 
> 1. Build ranger using maven
> 2. Setup ranger-admin ssl enabled postgresql db
> 3. Setup ranger-admin ssl disabled postgresql db
> 4. Setup ranger-kms ssl enabled postgresql db
> 5. Setup ranger kms ssl disabled postgresql db
> 
> Ranger-admin and Ranger-kms started successfully.
> 
> 
> Thanks,
> 
> Mahesh Bandal
> 
>

Reply via email to