Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

timeoutError for service cloudServersOpenStack #139

Open
refaelgold opened this issue May 25, 2015 · 2 comments
Open

timeoutError for service cloudServersOpenStack #139

refaelgold opened this issue May 25, 2015 · 2 comments

Comments

@refaelgold
Copy link

Hey ,
i try to make a rackspace envirment

Vagrant.configure("2") do |config|
  # The box is optional in newer versions of Vagrant
  # config.vm.box = "dummy"

  config.vm.provider :rackspace do |rs|
    rs.username = "SECRET"
    rs.api_key  = "SECRET"
    rs.flavor   = /1 GB Performance/
    rs.image    = /Ubuntu/
    rs.metadata = {"key" => "value"}       # optional
  end
end

i get this error

vagrant up --provider=rackspace
/Users/nirgoldman/.vagrant.d/gems/gems/fog-1.30.0/lib/fog/rackspace/models/identity/service_catalog.rb:54:in `get_endpoint': Unknown region : for service cloudServersOpenStack. Please use one of the following regions: :lon (RuntimeError)

can you tell me what is the error and how to fix it?

Thanks,
Nir

@smashwilson
Copy link
Collaborator

Hi @refaelgold,

You'll also need to explicitly specify a region:

config.vm.provider :rackspace do |rs|
  rs.username = "SECRET"
  rs.api_key  = "SECRET"
  rs.flavor   = /1 GB Performance/
  rs.image    = /Ubuntu/
  rs.rackspace_region = :lon  # <= Like so
  rs.metadata = {"key" => "value"}
end

Hmm, I see the README and the code comments are out of date. I'll see what I can do.

@mdarby
Copy link

mdarby commented May 26, 2015

Here is a list of Rackspace's regions:

  • Dallas-Fort Worth (DFW)
  • Chicago (ORD)
  • Northern Virginia (IAD)
  • London (LON)
  • Sydney (SYD)
  • Hong Kong (HKG)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants