9353: Add libcloud.common.BaseHTTPError to CLOUD_ERRORS.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 10 Jun 2016 15:45:38 +0000 (11:45 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 10 Jun 2016 15:45:38 +0000 (11:45 -0400)
commit4d89b138dff0f1bcf1c867d529aff599fcc0cda2
tree8a4abbeca3c5c11b696d72636702e60fb44a8167
parent84b538b627cba20558e0a52f3efe73eec90a46fe
9353: Add libcloud.common.BaseHTTPError to CLOUD_ERRORS.

Due to eventual consistency, it seems that calling ex_create_tags() on a node
that has just been created can return "InvalidInstanceID.NotFound" for some
period.  The ec2 driver raises BaseHTTPError when it doesn't recognize a more
specific error, however prior to this commit, this wasn't recognized as a
retryable error, so node manager would fall over.  This commit makes
BaseHTTPError a retryable error.
services/nodemanager/arvnodeman/computenode/driver/__init__.py