Radosgw put object - 400 error

Bug #1276187 reported by Andrey Kirilochkin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Borodaenko

Bug Description

Every time you put object in ceph via radosgw you will get error 400:

cat /ceph/ceph.conf

[global]
fsid = 6f019eb8-e884-432d-90d4-176af29d7563
mon_initial_members = node-14
mon_host = 192.168.0.3
auth_supported = cephx
osd_journal_size = 2048
filestore_xattr_use_omap = true
osd_pool_default_size = 2
osd_pool_default_min_size = 1
osd_pool_default_pg_num = 100
public_network = 192.168.0.0/24
osd_pool_default_pgp_num = 100
osd_mkfs_type = xfs
cluster_network = 192.168.1.0/24

[client.radosgw.gateway]
log_file = /var/log/ceph/radosgw.log
rgw_keystone_accepted_roles = _member_, Member, admin, swiftoperator
keyring = /etc/ceph/keyring.radosgw.gateway
rgw_socket_path = /tmp/radosgw.sock
rgw_keystone_revocation_interval = 60
rgw_keystone_url = 172.18.92.6:5000
rgw_keystone_admin_token = lIpRseg4
host = node-14
rgw_dns_name = *.domain.tld

#This option need to be excluded from config file. This option makes rados s3 api unworkable.
#rgw_print_continue = False

rgw_keystone_token_cache_size = 10
rgw_data = /var/lib/ceph/radosgw
user = www-data

Changed in fuel:
importance: Undecided → High
milestone: none → 4.1
assignee: nobody → Dmitry Borodaenko (dborodaenko)
Changed in fuel:
status: New → Confirmed
tags: removed: 400 continue error print radosgw rgw
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Steps to reproduce:

1) Deploy a simple environment with RadosGW enabled.
2) Create RadosGW region map:

  radosgw-admin region-map update

3) Create RadosGW test user:

  radosgw-admin user create --uid="testuser" --display-name="Test User"

4) Copy access key and secret key values from the output of the previous command into the attached script, and run it.

If the script fails, check /var/log/ceph/radosgw.log for error 400. If this error is present, 100-continue interaction between radosgw and fastcgi isn't working.

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :
Mike Scherbakov (mihgen)
tags: added: release-notes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/74784

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/74784
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=c644a07e524fc5fdc10973d0e09e639738ec5648
Submitter: Jenkins
Branch: master

commit c644a07e524fc5fdc10973d0e09e639738ec5648
Author: Dmitry Borodaenko <email address hidden>
Date: Wed Feb 19 08:46:58 2014 -0800

    enable 100-continue for RadosGW

    Now that we have FastCGI packages with Inktank patches enabling
    100-continue, we can tell RadosGW to use it.

    Change-Id: I25b172dc8cbd54105a156a6d86deb5d859a1edb6
    Closes-bug: #1276187

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on fuel_5_0_iso#21

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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