Jira (PDB-4399) PuppetDB Docker DNS lookup requirement may break CI

1 view
Skip to first unread message

Rune Juhl Jacobsen (JIRA)

unread,
Jun 12, 2019, 5:50:03 AM6/12/19
to puppe...@googlegroups.com
Rune Juhl Jacobsen created an issue
 
PuppetDB / Bug PDB-4399
PuppetDB Docker DNS lookup requirement may break CI
Issue Type: Bug Bug
Assignee: Unassigned
Components: PuppetDB
Created: 2019/06/12 2:49 AM
Labels: docker
Priority: Normal Normal
Reporter: Rune Juhl Jacobsen

Recent changes to the PuppetDB Docker image adds a requirement on DNS resolution for Puppetserver and Consul hosts linked to the PuppetDB.

This has had the unfortunate effect of breaking our CI pipeline. In the pipeline we spin up PostgreSQL, PuppetDB and Puppetserver in Gitlab CI. Because Gitlab CI doesn't provide a local DNS server for "services" we inject a hosts file into each of the parts of the system so each container can resolve the IP of the other containers.

I've added some comments on https://github.com/puppetlabs/puppetdb/commit/0319e96c4d759bb419ec6e53c711538a0d1ff405#r33804010 , and a few other users have chimed in saying that the change also broke their CI.

IMO the best solution is to provide a flag set by an environment variable to select whether or not DNS name resolution should be used. Using it by default is fine, as long as it's possible to disable it easily.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages