Ask Your Question
0

Split PE install not working in vagrant(vmware fusion plugin)

asked 2014-10-06 12:37:21 -0600

Allister gravatar image

I have an issue when trying to model our production Puppet Enterprise install, it always fails on the third step of connecting the console to the puppetdb, no matter what base box I use(I’ve tried puppet’s 'nocm' CentOS64 and Chef’s,) or if the network connections of the VMs are NAT or bridged. My vagrantfile isn't setting the static IP correctly, so I'm fixing the hosts file manually(and verifying with ping, opening the firewall ports(and verifying with iptables), and for the minimum cores and RAM I'm hacking each vmx file for each box.

I’ve gisted everything that seemed relevant, https://gist.github.com/arubdesu/b7c5... with the exact part of the log file where the error occurs here, and the vagrantfile is at the top of that page. I can’t telnet or psql login between boxes, but I CAN get prompted for auth locally on the puppetdb host. Any help greatly appreciated.

edit retag flag offensive close merge delete

Comments

If you can send pings and ssh connections between the boxes over the private network, then this may be a Firewall or Postgress HBA issue. Does the console install succeed if you disable iptables on all three boxes?

csharpsteen gravatar imagecsharpsteen ( 2014-10-08 11:00:28 -0600 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2014-10-08 10:44:09 -0600

Allister gravatar image

Gah, for whatever reason this vagrantfile, which failed when I had iptables on in the past, works now: https://gist.github.com/arubdesu/b8ee...

edit flag offensive delete link more
1

answered 2014-10-08 07:33:20 -0600

You should not use auto_config: false. Regarding to the documentation it prevents Vagrant to configure the private network automatically. This is why the virtual machines do not reach each other.

edit flag offensive delete link more

Comments

Thank you for your response! However, they DO reach each other, it only fails on step three. The master can ssh to the db and console hosts/ping, etc. I've tried various permutations of Vagrantfiles, including having the VM's use bridged networking(successfully).

Allister gravatar imageAllister ( 2014-10-08 08:34:54 -0600 )edit

can you please share your final Vagrantfile

Walid Shaari gravatar imageWalid Shaari ( 2015-01-30 12:36:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-10-06 12:37:21 -0600

Seen: 167 times

Last updated: Oct 08 '14