mitchellh / vagrant-rackspace

Use Vagrant to manage Rackspace Cloud instances.
MIT License
235 stars 155 forks source link

vagrant provision not reading already existing machine #122

Closed rcstr closed 10 years ago

rcstr commented 10 years ago

I need to vagrant provision, i did vagrant up like 2 weeks ago, i have done changes and provision the changes and everything has worked perfectly. today i tried vagrant provision and i'm seeing this error:

default: The server hasn't been created yet. Run 'vagrant up' first.

if i run vagrant up, it creates the machine again, i don't want this

how can i solve this issue? thanks.

rcstr commented 10 years ago

w00t

maxlinc commented 10 years ago

Vagrant will normally remember this information for two weeks - or even two years.

The information about the machine is stored on the local file system in the .vagrant/ folder. It will remember the machine as long as nothing deletes the files in that folder.

Can you check if the file ".vagrant/machines/default/rackspace/id" still exists? If does then you've uncovered a bug; if not then some tool or process you were using must have deleted the file (e.g. "git clean").

rcstr commented 10 years ago

i found the file, it was linked to a different machine id, problem fixed!! thank you! i appreciate