Skip to content

Scripts, configurations, and more, related to UNG grid/cloud infrastructure.

License

Notifications You must be signed in to change notification settings

sysbio-vo/ung-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ung-cloud

Scripts, configurations, and more, related to UNG grid/cloud infrastructure.

Download and install Vagrant from here. If you use Ubuntu you can just execute following commands:

wget https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb
sudo dpkg -i vagrant_2.0.3_x86_64.deb

Install Vagrant OpenStack plugin:

vagrant plugin install vagrant-openstack-provider

Clone this repo:

git clone https://github.com/sysbio-vo/ung-cloud.git
cd ung-cloud/cloud/vagrant
mkdir modules
cd modules
# Clone repos with required modules
git clone https://github.com/puppetlabs/puppetlabs-stdlib stdlib
git clone https://github.com/puppetlabs/puppetlabs-apt apt
cd ..

Change Vagrantfile to contain proper username and password in OpenStack project. Create virtual machine with:

vagrant up

Wait for the machine to boot, so it can ssh automatically, but sometimes in hangs (it might be a sign that smth is wrong). If the machine is already running you can execute:

vagrant ssh

Troubleshooting

If you deleted virtual machine via GUI some versions of plugin might results in error, in that case delete following folder:

rm -rf .vagrant/

I noticed that sometimes machine is created, but not properly, for example user_data script is not executed during the boot. Most probably it is a bug with the OpenStack installation I use. In such case I reload the machine:

vagrant reload

More info about Vagrant OpenStack plugin you can find here

About

Scripts, configurations, and more, related to UNG grid/cloud infrastructure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published