Comment 15 for bug 1682423

Revision history for this message
Kim-Norman Sahm (kisahm) wrote :

I've tried Bernards workaround and it's working.

--- api.py 2017-10-10 14:40:14.384511170 +0200
+++ api.py.patched 2017-10-10 14:40:46.192451521 +0200
@@ -83,6 +83,7 @@
 from nova import utils
 from nova.virt import hardware
 from nova.volume import cinder
+from time import sleep

 LOG = logging.getLogger(__name__)

@@ -2354,6 +2355,7 @@
         expected_attrs.extend(['metadata', 'system_metadata',
                                'security_groups', 'info_cache'])
         # NOTE(ameade): we still need to support integer ids for ec2
+ sleep(1.0)
         try:
             if uuidutils.is_uuid_like(instance_id):
                 LOG.debug("Fetching instance by UUID",