nansencenter / nersc-vagrant

Nansen-Cloud provisioning with vagrant
GNU General Public License v3.0
0 stars 0 forks source link

Create base box with vagrant using role 'common' #3

Closed akorosov closed 8 years ago

akorosov commented 9 years ago

The base box searches for insecure key in wrong place https://github.com/mitchellh/vagrant/issues/5186

akorosov commented 9 years ago

Testing showed that base box is not feasible. With all important packages the base box is about 2 GB. Since we are using mostly miniconda - almost no compilation is done by provisioning. So all the provisioning time is spent on download of binaries. That probably sum up to 2GB or even less. Resume: no base box.

All VMs now use miniconda to install python and various libraries. The roles are organized the following way:

Correspondingly the groups are configured to have the following roles:

In fact roles are so host specific that should rather be called tasks. Therefore the best would be to get rid of roles and simplify to tasks only. That is not according to the best practices, however our set up is also not quite traditional.

NB! You have to destroy all your machines before git clone

akorosov commented 9 years ago

Yes, by the way, the created directories. I found it very convenient to create the following shared directories: