Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1336648 - Period push fails while trying to connect to the remote machine
Period push fails while trying to connect to the remote machine
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
2.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 2.0
Assigned To: Casey Bodley
shilpa
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-17 02:53 EDT by shilpa
Modified: 2017-07-30 11:40 EDT (History)
9 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.1-5.el7cp Ubuntu: ceph_10.2.1-4redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 15:38:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 15926 None None None 2016-05-18 15:46 EDT
Red Hat Product Errata RHBA-2016:1755 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 19:23:52 EDT

  None (edit)
Description shilpa 2016-05-17 02:53:00 EDT
Description of problem:

While running the command from rgw2: 

# radosgw-admin period push --url=http://rgw1:8080 --access-key=access --secret=secret > could not find connection to: http://rgw1:8080 > request failed: (2) No such file or directory


Version-Release number of selected component (if applicable):
10.2.0-1.el7cp.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Configure multisite with two zones
2. Try period push from one of the zones to the other

Seems very specific to period push. The same url works for period pull, realm pull.
Comment 2 Casey Bodley 2016-05-18 15:46:23 EDT
upstream ticket: http://tracker.ceph.com/issues/15926

fix pending review: https://github.com/ceph/ceph/pull/9146
Comment 8 shilpa 2016-06-15 05:34:21 EDT
Tested on 10.2.1-18. Period push hangs with http Bad Request error in logs: 

2016-06-15 09:10:47.988997 7f79957fa700 10 master zone rejecting period id=f6036416-4895-4cc1-8174-e568307c113e epoch=6
2016-06-15 09:10:47.989002 7f79957fa700  2 req 11:1.001853::POST /admin/realm/period:post_period:completing
2016-06-15 09:10:47.989053 7f79957fa700  2 req 11:1.001904::POST /admin/realm/period:post_period:op status=0
2016-06-15 09:10:47.989059 7f79957fa700  2 req 11:1.001910::POST /admin/realm/period:post_period:http status=400
2016-06-15 09:10:47.989066 7f79957fa700  1 ====== req done req=0x7f79957f4710 op status=0 http_status=400 ======
2016-06-15 09:10:47.989074 7f79957fa700 20 process_request() returned -22


radosgw-admin period push --url=http://rgw2:8080 --access-key=access --secret=secret/admin/realm/period

The command does not exit and it hangs at this point:
 7fd2cd8509c0 15 generated auth header: AWS access:X9evui683/LMpyW+Gv+VryRmV4s=
 7fd2cd8509c0 20 sending request to http://rgw2:8080/admin/realm/period

Re-assigning it back.
Comment 9 Casey Bodley 2016-06-15 08:35:13 EDT
The command should not hang, that is indeed a bug. But the 'period push' is rejected because you can only change the master zone's configuration with 'period commit'.
Comment 10 Ken Dreyer (Red Hat) 2016-06-15 14:13:58 EDT
shilpa, it seems like the original reported bug is now fixed?

Would you please open a new BZ for the issue of period push hanging?
Comment 11 shilpa 2016-06-16 03:42:50 EDT
(In reply to Ken Dreyer (Red Hat) from comment #10)
> shilpa, it seems like the original reported bug is now fixed?
> 
> Would you please open a new BZ for the issue of period push hanging?


Agreed. The issue now seems to be unrelated to period push. Will follow this up in a different bug. Closing this. The original issue is fixed.
Comment 13 errata-xmlrpc 2016-08-23 15:38:33 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1755.html

Note You need to log in before you can comment on or make changes to this bug.