Error changing container access
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
I am using radosgw as object storage in openstack liberty. I am using ceph jewel. Currently I can create public and private containers. But cannot change the access of containers ie. cannot change a public container to private and vice versa. There is pop-up. "Success: Successfully updated container access to public." But access is not changing. Couldn't find any errors in logs. I tried with ceph-infernalis, but couldn't recreate this with infernalis.
Everything worked with infernalis.
COMMAND
curl -X POST -i -H "X-Auth-
2016-06-23 03:17:11.822539 7f0ae2ffd700 2 RGWDataChangesL
2016-06-23 03:17:33.822711 7f0ae2ffd700 2 RGWDataChangesL
2016-06-23 03:17:48.028376 7f09077fe700 20 RGWEnv::set(): HTTP_USER_AGENT: curl/7.35.0
2016-06-23 03:17:48.028397 7f09077fe700 20 RGWEnv::set(): HTTP_HOST: 10.10.20.9:7480
2016-06-23 03:17:48.028400 7f09077fe700 20 RGWEnv::set(): HTTP_ACCEPT: */*
2016-06-23 03:17:48.028403 7f09077fe700 20 RGWEnv::set(): HTTP_X_AUTH_TOKEN: 5b83a5faf86e4df
2016-06-23 03:17:48.028410 7f09077fe700 20 RGWEnv::set(): HTTP_X_
2016-06-23 03:17:48.028412 7f09077fe700 20 RGWEnv::set(): REQUEST_METHOD: POST
2016-06-23 03:17:48.028414 7f09077fe700 20 RGWEnv::set(): REQUEST_URI: /swift/v1/pub5
2016-06-23 03:17:48.028416 7f09077fe700 20 RGWEnv::set(): QUERY_STRING:
2016-06-23 03:17:48.028422 7f09077fe700 20 RGWEnv::set(): REMOTE_USER:
2016-06-23 03:17:48.028424 7f09077fe700 20 RGWEnv::set(): SCRIPT_URI: /swift/v1/pub5
2016-06-23 03:17:48.028427 7f09077fe700 20 RGWEnv::set(): SERVER_PORT: 7480
2016-06-23 03:17:48.028429 7f09077fe700 20 HTTP_ACCEPT=*/*
2016-06-23 03:17:48.028430 7f09077fe700 20 HTTP_HOST=
2016-06-23 03:17:48.028431 7f09077fe700 20 HTTP_USER_
2016-06-23 03:17:48.028432 7f09077fe700 20 HTTP_X_
2016-06-23 03:17:48.028434 7f09077fe700 20 HTTP_X_
2016-06-23 03:17:48.028435 7f09077fe700 20 QUERY_STRING=
2016-06-23 03:17:48.028436 7f09077fe700 20 REMOTE_USER=
2016-06-23 03:17:48.028437 7f09077fe700 20 REQUEST_METHOD=POST
2016-06-23 03:17:48.028438 7f09077fe700 20 REQUEST_
2016-06-23 03:17:48.028439 7f09077fe700 20 SCRIPT_
2016-06-23 03:17:48.028439 7f09077fe700 20 SERVER_PORT=7480
2016-06-23 03:17:48.028442 7f09077fe700 1 ====== starting new request req=0x7f09077f87d0 =====
2016-06-23 03:17:48.028470 7f09077fe700 2 req 63:0.000029::POST /swift/
2016-06-23 03:17:48.028478 7f09077fe700 10 host=10.10.20.9
2016-06-23 03:17:48.028482 7f09077fe700 20 subdomain= domain= in_hosted_domain=0 in_hosted_
2016-06-23 03:17:48.028494 7f09077fe700 10 meta>> HTTP_X_
2016-06-23 03:17:48.028501 7f09077fe700 10 x>> x-amz-read:*
2016-06-23 03:17:48.028520 7f09077fe700 10 ver=v1 first=pub5 req=
2016-06-23 03:17:48.028527 7f09077fe700 10 handler=
2016-06-23 03:17:48.028530 7f09077fe700 2 req 63:0.000089:
2016-06-23 03:17:48.028535 7f09077fe700 10 op=35RGWPutMeta
2016-06-23 03:17:48.028537 7f09077fe700 2 req 63:0.000095:
2016-06-23 03:17:48.028544 7f09077fe700 20 token_id=
2016-06-23 03:17:48.028553 7f09077fe700 20 cached token.project.
2016-06-23 03:17:48.028559 7f09077fe700 20 updating user=1c1ae7b02e
2016-06-23 03:17:48.028577 7f09077fe700 20 get_system_
2016-06-23 03:17:48.028589 7f09077fe700 10 cache get: name=default.
2016-06-23 03:17:48.029626 7f09077fe700 10 cache put: name=default.
2016-06-23 03:17:48.029638 7f09077fe700 10 moving default.
2016-06-23 03:17:48.029653 7f09077fe700 20 get_system_
2016-06-23 03:17:48.029661 7f09077fe700 10 cache get: name=default.
2016-06-23 03:17:48.029670 7f09077fe700 20 get_system_
2016-06-23 03:17:48.029681 7f09077fe700 10 cache get: name=default.
2016-06-23 03:17:48.029705 7f09077fe700 2 req 63:0.001263:
2016-06-23 03:17:48.029711 7f09077fe700 10 s->object=<NULL> s->bucket=pub5
2016-06-23 03:17:48.029715 7f09077fe700 2 req 63:0.001273:
2016-06-23 03:17:48.029745 7f09077fe700 15 decode_policy Read AccessControlPo
2016-06-23 03:17:48.029758 7f09077fe700 2 req 63:0.001316:
2016-06-23 03:17:48.029762 7f09077fe700 2 req 63:0.001320:
2016-06-23 03:17:48.029766 7f09077fe700 2 req 63:0.001324:
2016-06-23 03:17:48.029769 7f09077fe700 2 req 63:0.001328:
2016-06-23 03:17:48.029772 7f09077fe700 20 required_mask= 2 user.op_mask=7
2016-06-23 03:17:48.029774 7f09077fe700 2 req 63:0.001332:
2016-06-23 03:17:48.029778 7f09077fe700 5 Searching permissions for uid=1c1ae7b02ea
2016-06-23 03:17:48.029780 7f09077fe700 5 Found permission: 15
2016-06-23 03:17:48.029783 7f09077fe700 5 Searching permissions for group=1 mask=50
2016-06-23 03:17:48.029784 7f09077fe700 5 Permissions for group not found
2016-06-23 03:17:48.029786 7f09077fe700 5 Searching permissions for group=2 mask=50
2016-06-23 03:17:48.029788 7f09077fe700 5 Permissions for group not found
2016-06-23 03:17:48.029789 7f09077fe700 5 Getting permissions id=1c1ae7b02eaa
2016-06-23 03:17:48.029790 7f09077fe700 10 uid=1c1ae7b02ea
2016-06-23 03:17:48.029792 7f09077fe700 2 req 63:0.001351:
2016-06-23 03:17:48.029795 7f09077fe700 2 req 63:0.001353:
2016-06-23 03:17:48.029798 7f09077fe700 2 req 63:0.001356:
2016-06-23 03:17:48.029818 7f09077fe700 20 get_system_
2016-06-23 03:17:48.029825 7f09077fe700 10 cache get: name=default.
2016-06-23 03:17:48.030978 7f09077fe700 10 cache put: name=default.
2016-06-23 03:17:48.030984 7f09077fe700 10 moving default.
2016-06-23 03:17:48.030989 7f09077fe700 10 grant user does not exist:*
2016-06-23 03:17:48.030998 7f09077fe700 10 x>> x-amz-read:*
2016-06-23 03:17:48.033822 7f09077fe700 10 cache put: name=default.
2016-06-23 03:17:48.033834 7f09077fe700 10 adding default.
2016-06-23 03:17:48.033836 7f09077fe700 10 updating xattr: name=user.rgw.acl bl.length()=235
2016-06-23 03:17:48.033838 7f09077fe700 10 updating xattr: name=user.rgw.idtag bl.length()=0
2016-06-23 03:17:48.033838 7f09077fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.033839 7f09077fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.033854 7f09077fe700 10 distributing notification oid=notify.3 bl.length()=1043
2016-06-23 03:17:48.035022 7f0ae37fe700 10 RGWWatcher:
2016-06-23 03:17:48.035059 7f0ae37fe700 10 cache put: name=default.
2016-06-23 03:17:48.035068 7f0ae37fe700 10 moving default.
2016-06-23 03:17:48.035077 7f0ae37fe700 10 updating xattr: name=user.rgw.acl bl.length()=235
2016-06-23 03:17:48.035083 7f0ae37fe700 10 updating xattr: name=user.rgw.idtag bl.length()=0
2016-06-23 03:17:48.035085 7f0ae37fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.035087 7f0ae37fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.039124 7f09077fe700 10 cache put: name=default.
2016-06-23 03:17:48.039146 7f09077fe700 10 moving default.
2016-06-23 03:17:48.039154 7f09077fe700 10 updating xattr: name=user.rgw.acl bl.length()=235
2016-06-23 03:17:48.039155 7f09077fe700 10 updating xattr: name=user.rgw.idtag bl.length()=0
2016-06-23 03:17:48.039156 7f09077fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.039156 7f09077fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.039174 7f09077fe700 10 distributing notification oid=notify.6 bl.length()=1027
2016-06-23 03:17:48.040176 7f0ae37fe700 10 RGWWatcher:
2016-06-23 03:17:48.040202 7f0ae37fe700 10 cache put: name=default.
2016-06-23 03:17:48.040207 7f0ae37fe700 10 moving default.
2016-06-23 03:17:48.040211 7f0ae37fe700 10 updating xattr: name=user.rgw.acl bl.length()=235
2016-06-23 03:17:48.040212 7f0ae37fe700 10 updating xattr: name=user.rgw.idtag bl.length()=0
2016-06-23 03:17:48.040213 7f0ae37fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.040214 7f0ae37fe700 10 updating xattr: name=user.
2016-06-23 03:17:48.042645 7f09077fe700 2 req 63:0.014203:
2016-06-23 03:17:48.042744 7f09077fe700 2 req 63:0.014302:
2016-06-23 03:17:48.042754 7f09077fe700 2 req 63:0.014313:
2016-06-23 03:17:48.042764 7f09077fe700 1 ====== req done req=0x7f09077f87d0 op status=1902 http_status=204 ======
2016-06-23 03:17:48.042782 7f09077fe700 20 process_request() returned -1902
2016-06-23 03:17:48.042811 7f09077fe700 1 civetweb: 0x7f08f80008c0: 10.10.20.9 - - [23/Jun/
2016-06-23 03:17:55.822874 7f0ae2ffd700 2 RGWDataChangesL
RESULT
root@CONTROL1:~# curl -X GET -i -H "X-Auth-
HTTP/1.1 204 No Content
X-Timestamp: 0.00000
X-Container-
X-Container-
X-Storage-Policy: default-placement
X-Trans-Id: tx0000000000000
Content-Length: 0
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Question: are you using the Ceph packages for Jewel provided by the Ceph project? The Liberty UCA is only tested and verified against itself (which is Ceph Hammer, not Jewel). Either way, this is probably a question best asked on the ceph development mailing list - I've run OpenStack Liberty clouds with RADOSGW for some time and have not seen this issue.