You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/11/11 22:05:26 UTC

[GitHub] [trafficcontrol] zrhoffman commented on issue #6236: creating build

zrhoffman commented on issue #6236:
URL: https://github.com/apache/trafficcontrol/issues/6236#issuecomment-966658498


   > [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
   > 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.
   
   @rsidhaarth This was an edge-case caused by the fact that you have Python 3.6 installed, in addition to the default Python 2.7 installation on CentOS 7. The fix, #6285, is included in Traffic Control [6.0.1](https://github.com/apache/trafficcontrol/releases/tag/RELEASE-6.0.1).


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org