Comment 3 for bug 1572062

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Hmm, even after setting everything up properly, I am seeing warnings like this:

2016-04-26 19:49:01.731 30404 DEBUG oslo.cache.core [req-e1c84b09-256e-4a50-b6b2-2961626ab954 013fadbb4e0c42669ac9e34643b09b5f 4a0a30294e954953a41a9791d4e7f437 - - -] CACHE_SET: Key: "'eee2cd7c98a7757eb08b8c1c9be32dcf15e4b4fc'" Value: "('["c2e6cb39-439c-48ed-840e-2c9609325717", "f6dfd635-534b-4ee4-95dc-38d33defcd6f"]', {'v': 1, 'ct': 1461700141.731355})" set /usr/lib/python2.7/dist-packages/oslo_cache/core.py:94
2016-04-26 19:49:01.731 30404 WARNING nova.consoleauth.manager [req-e1c84b09-256e-4a50-b6b2-2961626ab954 013fadbb4e0c42669ac9e34643b09b5f 4a0a30294e954953a41a9791d4e7f437 - - -] Instance: cce6cbe3-e6c7-43d4-b2a6-f4bc2d1e7dfb failed to save into memcached

Though the CACHE_SET has succeeded, as I can read that value from memcached:

# nc 10.250.1.11 11211
get eee2cd7c98a7757eb08b8c1c9be32dcf15e4b4fc
VALUE eee2cd7c98a7757eb08b8c1c9be32dcf15e4b4fc 1 177
cdogpile.cache.api
CachedValue
...
.
END

If I interpret the dogpile.cache docs properly, the set function will never have a return value, so checking for that in nova/consoleauth/manager.py L94+L106 seems outdated.