Details
Description
Both `node.extra['status']` and `node.state` report old information. I've confirmed (through the web interface) that my AWS EC2 instance has started + has status-checks up and running.
However, even after 10 minutes the node status hasn't changed.
How should I proceed?
Thanks for all suggestions.
PS: Here's a snippet from my wrapper:
# `node` is instantiated by `.create_node` method of `libcloud.compute.types.Provider` (actually: `libcloud.compute.drivers.ec2`, probably: `BaseEC2NodeDriver.create_node`) threshold = 60 print 'Waiting [up to] 10 minutes for node to come online' PENDING = 3 # Where do I find the enum?! while threshold and self.node.state == PENDING: sleep(10) threshold -= 1 print 'Waiting another:', threshold * 10, 'seconds. Status is:', self.node.extra['status'] if self.node.state != PENDING: print 'self.node.state =', self.node.state, "self.node.extra['status'] =", self.node.extra['status'] return self.node