]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix subuser rm command failure 10718/head
authorOrit Wasserman <owasserm@redhat.com>
Wed, 20 Jan 2016 16:24:38 +0000 (17:24 +0100)
committerOrit Wasserman <owasserm@redhat.com>
Fri, 12 Aug 2016 21:34:17 +0000 (23:34 +0200)
Fixes: 14375
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit bbc06e70b49b2917ee63985727cb92724fb99209)

src/rgw/rgw_user.cc

index 3f52c6b0214e1bbcd220a0db61a5916f7de810f3..2947fd6204f1c4e2391d25ebbede3f5033e286f6 100644 (file)
@@ -1351,7 +1351,7 @@ int RGWSubUserPool::execute_remove(RGWUserAdminOpState& op_state,
   }
 
   // always purge all associate keys
-  user->keys.remove_subuser_keys(op_state, &subprocess_msg, defer_user_update);
+  user->keys.remove_subuser_keys(op_state, &subprocess_msg, true);
 
   // remove the subuser from the user info
   subuser_map->erase(siter);