Bug #1087

Chown operation can leave outdated objects in the cache

Added by Carlos Martín over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:01/25/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Release 3.2.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.2

Description

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:
http://lists.opennebula.org/pipermail/users-opennebula.org/2012-January/007666.html

Associated revisions

Revision def2de2a
Added by Carlos Martín over 9 years ago

Bug #1087: Update cache name index after a chown operation

Revision b0817439
Added by Carlos Martín over 9 years ago

Bug #1087: Update cache name index after a chown operation
(cherry picked from commit def2de2a6838dbbe8dc6c08dcfdeba74944b4068)

Revision f05942f6
Added by Ruben S. Montero over 9 years ago

bug #1087: More work on the cache

Revision 404b34c9
Added by Ruben S. Montero over 9 years ago

bug #1087: More work on the cache
(cherry picked from commit f05942f6e4b3658ccd3f17226514b2f97683d4c0)

Revision f10e852f
Added by Carlos Martín over 9 years ago

Bug #1087: Core tests

Revision 03e9b52c
Added by Carlos Martín over 9 years ago

Bug #1087: Core tests
(cherry picked from commit f10e852fe4c693c069026475e36ecd16b6b32d2a)

History

#1 Updated by Carlos Martín over 9 years ago

  • Status changed from New to Closed
  • Target version set to Release 3.2.1
  • Resolution set to fixed

Also available in: Atom PDF