get_quota_info returns json in headers

Bug #1545145 reported by Victor Denisov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
MOS Maintenance
7.0.x
Fix Released
Medium
Denis Meltsaykin

Bug Description

This is a known bug in radosgw version 0.80.9 firefly.
The fix is available here:

http://tracker.ceph.com/issues/13644

Commit in ceph tree: 64fceed2202c94edf28b8315fe14c9affa8c0116

diff --git a/src/rgw/rgw_rest_user.cc b/src/rgw/rgw_rest_user.cc
index cfc274b..3f0e7d9 100644
--- a/src/rgw/rgw_rest_user.cc
+++ b/src/rgw/rgw_rest_user.cc
@ -692,6 +692,7 @ void RGWOp_Quota_Info::execute()
if (http_ret < 0)
return;

+ flusher.start(0);
if (show_all) {
UserQuotas quotas(info);
encode_json("quota", quotas, s->formatter);

Revision history for this message
Victor Denisov (vdenisov) wrote :

This bug affects fuel 6.1 and 7.0.

Ilya Kutukov (ikutukov)
Changed in fuel:
assignee: nobody → MOS Maintenance (mos-maintenance)
tags: added: area-mos
Changed in fuel:
milestone: none → 6.1-updates
status: New → Confirmed
importance: Undecided → Medium
tags: added: radosgw
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Setting to won't fix as it is not customer-found issue with medium importance.

Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
Victor Denisov (vdenisov) wrote :

Alexey, members of L2 team don't file tickets just for fun.
It's been filed exactly because it's customer found. Fuel 8.0 has hammer version of Ceph so it shouldn't affect new deployments, but if any maintenance updates for 7.0 are planned this fix should be there.

tags: added: customer-found support
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Victor, it is hard to check origins of every bug reporter, so please use correct tags.

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

@Victor, could you please elaborate on this? There is not enough information in the description. How does this bug affect users, did you find any workaround, does a cluster become non-operational because of the issue, what are the "steps-to-reproduce"?

Revision history for this message
Victor Denisov (vdenisov) wrote :

The cluster doesn't become non operational.
But the customer couldn't use request quota info using S3 api in radosgw.

http://docs.ceph.com/docs/master/radosgw/adminops/#get-user-quota

The reproduction steps would be to send this curl request to rados gateway.
The workaround would be not to use S3 api. But it doesn't work for the customer.

no longer affects: fuel/6.1.x
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to packages/trusty/ceph (7.0)

Fix proposed to branch: 7.0
Change author: Denis V. Meltsaykin <email address hidden>
Review: https://review.fuel-infra.org/35146

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to packages/trusty/ceph (7.0)

Reviewed: https://review.fuel-infra.org/35146
Submitter: Denis V. Meltsaykin <email address hidden>
Branch: 7.0

Commit: d56288c154902c03d6b96eac405ba01ce765b6db
Author: Denis V. Meltsaykin <email address hidden>
Date: Tue May 2 13:00:52 2017

Fix for empty response header

Fixed http://tracker.ceph.com/issues/13644

Change-Id: I15a892edec9e0a880d6383f5ca4bce4228619ecf
Closes-Bug: #1545145

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 7.0 + mu8 updates.

root@node-4:~# dpkg -l | grep ceph | grep 0.80.9
ii ceph 0.80.9-1~u14.04+mos2+mos7.0+2 amd64 distributed storage and file system
ii ceph-common 0.80.9-1~u14.04+mos2+mos7.0+2 amd64 common utilities to mount and interact with a ceph storage cluster
ii libcephfs1 0.80.9-1~u14.04+mos2+mos7.0+2 amd64 Ceph distributed file system client library
ii python-ceph 0.80.9-1~u14.04+mos2+mos7.0+2 amd64 Python libraries for the Ceph distributed filesystem

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.