Bug 1228842 - ceph-deploy rgw create should echo the port number (e.g., 7480)
Summary: ceph-deploy rgw create should echo the port number (e.g., 7480)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.1
Assignee: Travis Rhoden
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
: 1228846 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-05 21:32 UTC by John Wilkins
Modified: 2022-07-09 07:35 UTC (History)
9 users (show)

Fixed In Version: ceph-deploy-1.5.25-2.el7cp
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 20:21:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3453 0 None None None 2022-02-21 18:31:09 UTC
Red Hat Product Errata RHSA-2015:2066 0 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage 1.3.1 security, bug fix, and enhancement update 2015-11-24 02:34:55 UTC
Red Hat Product Errata RHSA-2015:2512 0 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage 1.3.1 security, bug fix, and enhancement update 2016-02-03 03:15:52 UTC

Description John Wilkins 2015-06-05 21:32:19 UTC
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 22:49:59 UTC
*** Bug 1228846 has been marked as a duplicate of this bug. ***

Comment 3 Travis Rhoden 2015-07-16 21:55:18 UTC
Change merged upstream with: https://github.com/ceph/ceph-deploy/commit/2878c9183fa01bf2fe27580852a165300e3ea061

Comment 7 Ken Dreyer (Red Hat) 2015-08-18 21:04:36 UTC
For Ubuntu, this bug is fixed in ceph-deploy-1.5.27.1.

Comment 8 shilpa 2015-10-21 11:55:31 UTC
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 20:21:24 UTC
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 21:53:43 UTC
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.