Hi,
I stumpbled upon a code like this in src/rgw/rgw_common.h:
struct RGWUserInfo {
map<string, RGWAccessKey> swift_keys; // not one swift_key, a whole map
void decode(bufferlist::iterator& bl) {
string swift_key;
if (struct_v >= 4) ::decode(swift_key, bl);
// that's all, folks
}
}
Looks like swift_key is never set when RGWUserInfo is deserialized.
It looks like a bug on the surface, but nobody cared thus far, so maybe
it's not actually a problem.
Do you happen to recall where this is used... Does radosgw-admin send
a whole RGWUserInfo to RADOS, ever? It appears to go the other way, in
show_user_info(), but strangely enough the tool shows Swift keys just fine.
-- Pete
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html