Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1228842 - ceph-deploy rgw create should echo the port number (e.g., 7480)
ceph-deploy rgw create should echo the port number (e.g., 7480)
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Ceph-Installer (Show other bugs)
1.3.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 1.3.1
Assigned To: Travis Rhoden
ceph-qe-bugs
: FutureFeature
: 1228846 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-05 17:32 EDT by John Wilkins
Modified: 2017-12-12 19:29 EST (History)
9 users (show)

See Also:
Fixed In Version: ceph-deploy-1.5.25-2.el7cp
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-23 15:21:24 EST
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
Red Hat Product Errata RHSA-2015:2066 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage 1.3.1 security, bug fix, and enhancement update 2015-11-23 21:34:55 EST
Red Hat Product Errata RHSA-2015:2512 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage 1.3.1 security, bug fix, and enhancement update 2016-02-02 22:15:52 EST

  None (edit)
Description John Wilkins 2015-06-05 17:32:19 EDT
Description of problem:

The ceph-deploy rgw create utility does an excellent job of getting a Ceph Object Gateway. However, it starts the gateway on default port 7480, which most people wouldn't guess. 


Version-Release number of selected component (if applicable):


How reproducible:

Every time. 

Steps to Reproduce:
1. ceph-deploy install --rgw <node-name>
2. ceph-deploy rgw create <node-name>

Actual results:

It works, but http://<node-name> says connection refused.

Expected results:

Anonymous request payload. Most users will be expecting something on port 80, or port 8080. Port 7480 probably isn't anyone's nth guess, so informing them what port it's using would help.

So an acceptable result is: 

"Ceph Object Gateway is running under port N" where N is the port number.

Additional info:

It would be ultra slick to provide an instruction given the name of the node. E.g., "To change the port, add 
[client.rgw.<node-name>]
rgw_frontends = "civetweb port=n"

To your Ceph configuration file, where 'n' is the port number. Then, restart the Ceph Object Gateway. 

sudo systemctl restart ceph-radosgw.service
Comment 2 Federico Lucifredi 2015-06-08 18:49:59 EDT
*** Bug 1228846 has been marked as a duplicate of this bug. ***
Comment 3 Travis Rhoden 2015-07-16 17:55:18 EDT
Change merged upstream with: https://github.com/ceph/ceph-deploy/commit/2878c9183fa01bf2fe27580852a165300e3ea061
Comment 7 Ken Dreyer (Red Hat) 2015-08-18 17:04:36 EDT
For Ubuntu, this bug is fixed in ceph-deploy-1.5.27.1.
Comment 8 shilpa 2015-10-21 07:55:31 EDT
ceph-deploy rgw create command succeeds with the following message:

[ceph_deploy.rgw][INFO  ] The Ceph Object Gateway (RGW) is now running on host magnaxxx and default port 7480
Comment 10 errata-xmlrpc 2015-11-23 15:21:24 EST
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://access.redhat.com/errata/RHSA-2015:2512
Comment 11 Siddharth Sharma 2015-11-23 16:53:43 EST
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://access.redhat.com/errata/RHSA-2015:2066

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