Created
March 12, 2014 10:30
-
-
Save avullo/9504393 to your computer and use it in GitHub Desktop.
Vagrant-vcloud on EBI Embassy cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'starman' up with 'vcloud' provider... | |
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1 | |
[starman] Building vApp... | |
[starman] vApp Vagrant-avullo-honeybee-939a49fa successfully created. | |
/home/avullo/.vagrant.d/gems/gems/vagrant-vcloud-0.1.1/lib/vagrant-vcloud/driver/base.rb:311:in `send_request': Warning: unattended code 400 Bad Request (RuntimeError) | |
from /home/avullo/.vagrant.d/gems/gems/vagrant-vcloud-0.1.1/lib/vagrant-vcloud/driver/version_5_1.rb:1619:in `set_vm_guest_customization' | |
from /home/avullo/.vagrant.d/gems/gems/vagrant-vcloud-0.1.1/lib/vagrant-vcloud/action/build_vapp.rb:139:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /home/avullo/.vagrant.d/gems/gems/vagrant-vcloud-0.1.1/lib/vagrant-vcloud/action/inventory_check.rb:17:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /home/avullo/.vagrant.d/gems/gems/vagrant-vcloud-0.1.1/lib/vagrant-vcloud/action/connect_vcloud.rb:55:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:57:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action' | |
from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dummy_box_url = "/home/avullo/work/vagrant-feature-jmg-vagrant-vcloud/vcloudTest/boxes/starman.box" | |
nodes = [ | |
{ :hostname => "starman", :box => "starman", :box_url => dummy_box_url }, | |
] | |
Vagrant.configure("2") do |config| | |
# vCloud Director provider settings | |
config.vm.provider :vcloud do |vcloud| | |
vcloud.hostname = "https://extcloud01.ebi.ac.uk" | |
vcloud.username = "admin" | |
vcloud.password = "******" | |
vcloud.org_name = "Ensembl" | |
vcloud.vdc_name = "Ensembl-test" | |
vcloud.catalog_name = "test" | |
# vcloud.ip_subnet = "192.168.2.0/24" | |
vcloud.vdc_network_name = "ensembl-test-net" | |
vcloud.vdc_edge_gateway = "ensembl-test-edge" | |
vcloud.vdc_edge_gateway_ip = "192.168.2.1" | |
end | |
nodes.each do |node| | |
config.vm.define node[:hostname] do |node_config| | |
node_config.vm.box = node[:box] | |
node_config.vm.hostname = node[:hostname] | |
node_config.vm.box_url = node[:box_url] | |
node_config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct: true | |
# node_config.vm.provision :puppet do |puppet| | |
# puppet.manifests_path = 'puppet/manifests' | |
# puppet.manifest_file = 'site.pp' | |
# puppet.module_path = 'puppet/modules' | |
# end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment