Chown operation can leave outdated objects in the cache
|Target version:||Release 3.2.1|
|Affected Versions:||OpenNebula 3.2|
Because cached objects are indexed by ID and the <name,owner> key, the chown operation must update the name index.
When VM templates use Images or VNets by name, outdated objects (with previous owner) can be accessed with a specific sequence of operations.
Thanks to Akihiko Ota for reporting in the mailing list:
Bug #1087: Update cache name index after a chown operation
(cherry picked from commit def2de2a6838dbbe8dc6c08dcfdeba74944b4068)
bug #1087: More work on the cache
(cherry picked from commit f05942f6e4b3658ccd3f17226514b2f97683d4c0)