How do I resync openstack heat after manually deleting nova host?
I had a Heat-managed Nova host put in a bad configuration and I wanted to just recreate the one host (without destroying all the hosts). So I issued a manual delete. I mistakenly thought Heat would do a state-sync and notice the host was gone and recreate it -- but now when rerunning the template against the stack it fails.
Now my heat events read:
prod2nodessdsf02 704ed947-d0fe-4e2a-ab85-988cd5e4d740 0 minutes Update Failed NotFound: resources.prod2nodessdsf02: Instance 704ed947-d0fe-4e2a-ab85-988cd5e4d740 could not be found. (HTTP 404) (Request-ID: req-1be64f7c-1b68-4002-9b44-66f41a57b0d8)
and it bails out of running the template. What should I do now?
You need to comment out the instance (prod2nodessdsf02) in template file and update the stack with new commented out template file (heat stack-update).