Hi there,

Just started using the vagrant OpenStack plugin but can't go past this 
error:



Bringing machine 'default' up with 'openstack' provider...
> /Users/sandas/.vagrant.d/gems/gems/excon-0.39.0/lib/excon/connection.rb:423:in
>  
> `setup_proxy': undefined method `has_key?' for nil:NilClass (NoMethodError)
>


This is my very simple Vagrant file:


# -*- mode: ruby -*-
# vi: set ft=ruby :

require 'vagrant-openstack-plugin'

Vagrant.configure("2") do |config|
    config.vm.box = "dummy"
    config.vm.box_url = 
"https://github.com/cloudbau/vagrant-openstack-plugin/raw/master/dummy.box";

    # Make sure the private key from the key pair is provided
    config.ssh.private_key_path = "~/.ssh/cert/p3-ab.pem"

    config.vm.provider :openstack do |os|
        os.username         = "sandasx"               # e.g. 
"#{ENV['OS_USERNAME']}"
        os.api_key          = "xxxxx-xxxx"            # e.g. 
"#{ENV['OS_PASSWORD']}"
        os.flavor           = /m1.tiny/               # Regex or String
        os.image            = /Ubuntu/                # Regex or String
        os.endpoint         = "http://10.240.0.8:5000/v2.0/tokens";   
        os.keypair_name     = "p3-key-006"            # as stored in Nova
        os.ssh_username     = "ubuntu"                # login for the VM

        os.server_name      = "p3-san-test-001"
        os.metadata         = {"provisioned-by" => "TestUsers"}       
        os.user_data        = "#cloud-config\nmanage_etc_hosts: True"
        os.network          = false  
        os.networks         = [ ]                     # optional, overrides 
os.network
        os.security_groups  = ['default']         
        os.address_id       = :floating_ip
        os.floating_ip      = :auto        
    end
end



Anyone knows what am I missing?

-San



-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to