Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-685

Status not changing from pending on AWS EC2 southeast2 provider

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.15.0
    • Fix Version/s: None
    • Component/s: Compute
    • Environment:

      Using libcloud 0.17.0 with Python 2.7.9 x64 on Windows 8.1 x64.

      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
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              SamuelMarks Samuel Marks
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: