ContainerSolutions / dcos-ansible-packet

Ansible playbook for installing DC/OS on Packet cloud
4 stars 3 forks source link

Local test environment in Vagrant #43

Open zemanel opened 6 years ago

zemanel commented 6 years ago

Would it be useful to have a local test environment for the playbook on Vagrant ?

jocatalin commented 6 years ago

Hi, yes it will.

zemanel commented 6 years ago

@jocatalin which OS would be closer to a production system ?

I did some preliminary work on this and utilized an offical Centos 7 vagrant box. Apart from some minor issues (as some script path issues on playbook) a major blocker was the lack of bonding network interface on that default vagrant box (and ansible_bonding_0 is hardcoded on the playbooks)

frankscholten commented 6 years ago

@zemanel We typically run DC/OS on CentOS.

Yes, the network interface is currently hardcoded but can perhaps be made configurable via a variable.

jocatalin commented 6 years ago

CentOS seems like a valid option. 

Sent from Yahoo Mail on Android

On Mon, Feb 19, 2018 at 10:58, José Moreiranotifications@github.com wrote:
@jocatalin which OS would be closer to a production system ?

I did some preliminary work on this and utilized an offical Centos 7 vagrant box. Apart from some minor issues (as some script path issues on playbook) a major blocker was the lack of bonding network interface on that default vagrant box (and ansible_bonding_0 is hardcoded on the playbooks)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

zemanel commented 6 years ago

I have a branch on my fork (https://github.com/zemanel/dcos-ansible-packet/tree/vagrant-test-env) where i have been working on this:

The playbook provisioning ran ok on my last test (doing more tests but home wifi speed not the best) but also need to validate the DC/OS installation (web interface at http:/// as not accessible/running)

@jocatalin @frankscholten care to take a look at the changes i did there to see if we're going in the right direction ?