Bug 1309626 - [RFE]: [GSS] - Feature Request (RFE) to force a volume to use a specified port
Summary: [RFE]: [GSS] - Feature Request (RFE) to force a volume to use a specified port
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Atin Mukherjee
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-18 10:34 UTC by Mukul Malhotra
Modified: 2019-10-10 11:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-22 06:56:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mukul Malhotra 2016-02-18 10:34:08 UTC
Description of problem:

This is a feature request (RFE) to force a volume to use a specified port manually as currently this feature does not exist.

For example:

# gluster volume <Volume_Name> force <Port_Number>

Thanks
Mukul

Comment 1 Atin Mukherjee 2016-02-19 12:05:40 UTC
Why is that need, can you please elaborate?

Comment 2 Mukul Malhotra 2016-02-19 15:17:15 UTC
Hello Atin,

Actually, customer' setup is behind the firewall so due to change in brick port in https://bugzilla.redhat.com/show_bug.cgi?id=1306656, customer have to open multiple port in firewall so Its a customer's requirement to force a specific brick port.

Mukul

Comment 3 Atin Mukherjee 2016-02-22 04:01:55 UTC
Mukul,

But what happens if we fix 1306656? Does this requirement still hold true here?

~Atin

Comment 4 Atin Mukherjee 2016-02-22 04:38:45 UTC
OTOH, 3.1.1 onwards we have also defined the firewalld rules for opening up the ports for RHGS. In that case brick ports ranging from 49152 to 49664 are already opened up.

Comment 6 Atin Mukherjee 2016-02-22 11:37:51 UTC
Based on #c5 lowering down the priority and severity.

Comment 7 Cal Calhoun 2016-03-17 15:54:21 UTC
A customer has asked about the feasibility of having new bricks re-use previously freed ports before grabbing new ones.  Is that in the realm of this potential RFE or better for a new one?

Comment 8 Atin Mukherjee 2016-03-29 10:05:53 UTC
(In reply to Cal Calhoun from comment #7)
> A customer has asked about the feasibility of having new bricks re-use
> previously freed ports before grabbing new ones.  Is that in the realm of
> this potential RFE or better for a new one?

We've started working on that, an upstream patch http://review.gluster.org/#/c/10785/ is posted for review. But I am still not convinced about this requirement where a dedicated port will be given to a specific volume. Does it really make sense?

Comment 9 Cal Calhoun 2016-03-30 17:09:11 UTC
(In reply to Atin Mukherjee from comment #8)
> (In reply to Cal Calhoun from comment #7)
> > A customer has asked about the feasibility of having new bricks re-use
> > previously freed ports before grabbing new ones.  Is that in the realm of
> > this potential RFE or better for a new one?
> 
> We've started working on that, an upstream patch
> http://review.gluster.org/#/c/10785/ is posted for review. But I am still
> not convinced about this requirement where a dedicated port will be given to
> a specific volume. Does it really make sense?

I think the only reason it applies is so that gluster behaves in a predictable way, by reusing resources rather than grabbing new ones.  I think this specific customer will be satisfied with assigning his ports directly but having ports re-used automatically might save some issues in the future.

Comment 10 Atin Mukherjee 2016-04-19 13:30:01 UTC
(In reply to Cal Calhoun from comment #9)
> (In reply to Atin Mukherjee from comment #8)
> > (In reply to Cal Calhoun from comment #7)
> > > A customer has asked about the feasibility of having new bricks re-use
> > > previously freed ports before grabbing new ones.  Is that in the realm of
> > > this potential RFE or better for a new one?
> > 
> > We've started working on that, an upstream patch
> > http://review.gluster.org/#/c/10785/ is posted for review. But I am still
> > not convinced about this requirement where a dedicated port will be given to
> > a specific volume. Does it really make sense?
> 
> I think the only reason it applies is so that gluster behaves in a
> predictable way, by reusing resources rather than grabbing new ones.  I
> think this specific customer will be satisfied with assigning his ports
> directly but having ports re-used automatically might save some issues in
> the future.

Agreed, but the intention of this bug is different IMO and I don't think that's feasible. IIUC, the request is to use a specific port for a particular brick process which I don't think we can do here.

Comment 11 Atin Mukherjee 2016-04-19 15:25:52 UTC
Mukul,

We wouldn't be able to meet this requirement since that will introduce some definite problems into the code.

-Atin

Comment 12 Atin Mukherjee 2016-07-19 05:47:12 UTC
Alok,

Dev doesn't think this feature to be a feasible one. What's your take on this?

~Atin

Comment 16 Mukul Malhotra 2016-08-22 06:56:11 UTC
Atin,

As per comment 13 & 14, closing the bz.

Mukul


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