Instance not found for host: 10

13 views
Skip to first unread message

PaolaR

unread,
Aug 24, 2016, 8:45:01 PM8/24/16
to rubber
We got this error when running cap deploy:

* executing "sudo -p 'sudo password: '  bash -l -c 'cd /u/apps/myapp/current && RUBBER_ENV=production RAILS_ENV=production ./script/rubber config '"

    servers: ["app03.myapp.com"]

    [app03.myapp.com] executing command

 ** [out :: app03.myapp.com] Instance not found for host: 10

    command finished in 1368ms

failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\''  bash -l -c '\\''cd /u/apps/myapp/current && RUBBER_ENV=production RAILS_ENV=production ./script/rubber config '\\'''" on app03.myapp.com


We also don't know where "host: 10" comes from. instead of showing the app name it is picking up this number.



We were able to run this with no issues, until we had to move to a new instance. We accidentally created the instance manually, not through rubber, and we gave it the same name as the old one. It looks like something went out of sync with rubber. 

We changed (manually) instance-production.yml with new ami and other info, and run refresh. 

/etc/hosts looks with the right data too. 



Not sure what else is missing. Any idea/suggestion?


thanks


paola


Kevin Menard

unread,
Sep 4, 2016, 11:10:16 PM9/4/16
to rubbe...@googlegroups.com
Hi Paola,

Have you looked at your instance-<env>.yml file? There is some information in there you would need to manually update then, such as the instance ID and any potential volume mappings.

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

Reply all
Reply to author
Forward
0 new messages