rsidhaarth opened a new issue #6236:
URL: https://github.com/apache/trafficcontrol/issues/6236


   [root@ops dist]# /opt/traffic_ops/install/bin/postinstall -a --cfile 
/opt/traffic_ops/install/bin/input.json
   INFO:root:Starting postinstall
   INFO:root:Debug is on
   INFO:root:Running in automatic mode
   INFO:root:Using input file /opt/traffic_ops/install/bin/input.json
   INFO:root:Adding question 'Port to serve on?' with default answer 443
   INFO:root:Adding question 'ldap.conf location?' with default answer 
/opt/traffic_ops/app/conf/ldap.conf
   INFO:root:Adding question 'LDAP server hostname' with default answer
   INFO:root:Adding question 'LDAP Admin Password' with default answer
   INFO:root:Adding question 'LDAP Search Query' with default answer
   INFO:root:Adding question 'LDAP Skip TLS verify' with default answer
   INFO:root:Adding question 'LDAP Timeout Seconds' with default answer
   INFO:root:File sanity check complete - found 7 differences
   
INFO:root:===========/opt/traffic_ops/app/conf/production/database.conf===========
   INFO:root:Database configuration has been saved
   INFO:root:===========/opt/traffic_ops/app/conf/production/tv.conf===========
   INFO:root:Database configuration has been saved
   INFO:root:Not setting up ldap
   INFO:root:===========/opt/traffic_ops/install/data/json/users.json===========
   Traceback (most recent call last):
     File "/opt/traffic_ops/install/bin/_postinstall.py", line 1528, in <module>
       ARGS.no_database
     File "/opt/traffic_ops/install/bin/_postinstall.py", line 1304, in main
       root_dir
     File "/opt/traffic_ops/install/bin/_postinstall.py", line 580, in 
generate_users_conf
       hashed_pass = hash_pass(config["tmAdminPw"])
     File "/opt/traffic_ops/install/bin/_postinstall.py", line 433, in hash_pass
       hashed = hashlib.scrypt(passwd.encode(), salt=salt, n=n, r=r_val, 
p=p_val, dklen=dklen)
   AttributeError: module 'hashlib' has no attribute 'scrypt'
   Error on line 50 of /opt/traffic_ops/install/bin/postinstall
   
   I have installed all the dependencies and still getting this error. I am 
using CentOS 7.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to