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/08/24 16:59:09 UTC

[GitHub] [trafficcontrol] rawlinp opened a new issue #6136: Ansible pg_hba.conf.j2 contains Docker IP for telegraf user instead of localhost

rawlinp opened a new issue #6136:
URL: https://github.com/apache/trafficcontrol/issues/6136


   <!-- Do not submit security vulnerabilities or support requests here - see above -->
   ## This Bug Report affects these Traffic Control components:
   <!-- delete all those that don't apply -->
   - Automation (Ansible)
   
   ## Current behavior:
   https://github.com/apache/trafficcontrol/blob/9fa6c299271ef06075eec711ff1ff6805093f92b/infrastructure/ansible/roles/traffic_opsdb/templates/pg_hba.conf.j2#L170
   This only allows the telegraf user to make connections to postgres when it's running in a local Docker container (172.18.0.1/32 is the local Docker IP address).
   
   ## Expected behavior:
   Change `172.18.0.1/32` to `localhost`, so that the telegraf user can connect via localhost.
   
   ## Steps to reproduce:
   Use the ansible automation to set up a lab environment, and run the `telegraf` service manually. Notice the errors about how it fails to connect to TODB over `::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



[GitHub] [trafficcontrol] ragen14 commented on issue #6136: Ansible pg_hba.conf.j2 contains Docker IP for telegraf user instead of localhost

Posted by GitBox <gi...@apache.org>.
ragen14 commented on issue #6136:
URL: https://github.com/apache/trafficcontrol/issues/6136#issuecomment-910342424


   picking this up


-- 
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



[GitHub] [trafficcontrol] rawlinp commented on issue #6136: Ansible pg_hba.conf.j2 contains Docker IP for telegraf user instead of localhost

Posted by GitBox <gi...@apache.org>.
rawlinp commented on issue #6136:
URL: https://github.com/apache/trafficcontrol/issues/6136#issuecomment-988093240


   @ragen14 are you still working on this?


-- 
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