Merge "fix ec2-api-metadata memcached overlap with nova-api" into stable/pike

This commit is contained in:
Jenkins 2017-10-13 18:00:15 +00:00 committed by Gerrit Code Review
commit 566cfd4832
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def get_metadata_item(context, path_tokens, os_instance_id, remote_ip,
elif version not in VERSIONS:
raise exception.EC2MetadataNotFound()
cache_key = 'metadata-%s' % os_instance_id
cache_key = 'ec2api-metadata-%s' % os_instance_id
cache = cache_region.get(
cache_key, expiration_time=CONF.metadata.cache_expiration)
if cache and cache != cache_core.NO_VALUE: