Bug 1435266 - Octavia should not bind to local host but proper networker ip
Summary: Octavia should not bind to local host but proper networker ip
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z1
: 13.0 (Queens)
Assignee: Brent Eagles
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks: 1378993
TreeView+ depends on / blocked
 
Reported: 2017-03-23 13:39 UTC by Alexander Stafeyev
Modified: 2019-09-10 14:10 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.0.2-35.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-10 10:34:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
conf file (10.42 KB, text/plain)
2017-03-23 13:39 UTC, Alexander Stafeyev
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 487450 0 None None None 2017-10-31 12:48:44 UTC

Description Alexander Stafeyev 2017-03-23 13:39:28 UTC
Created attachment 1265762 [details]
conf file

Description of problem:
/etc/octavia/octavia.conf
[DEFAULT]
# Print more verbose output (set logging level to INFO instead of default WARNING level).
# verbose = True
# Print debugging output (set logging level to DEBUG instead of default WARNING level).
# debug = False
# bind_host = 127.0.0.1 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
# bind_port = 9876
# api_handler = queue_producer
#
# How should authentication be handled (keystone, noauth)
# auth_strategy = noauth


The specified i nthe cond file is 
host = 172.17.1.19 ---------> should be bind_host = 172.17.1.19


!!!conf file attached !!! 

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

How reproducible:
100%

Steps to Reproduce:
1. deploy ops11 with ospd + octavia yaml files 
2.
3.

Actual results:
Octavia binds to local host 

Expected results:
SHould bind to the networker

Additional info:

Comment 1 Assaf Muller 2017-04-13 18:38:27 UTC
Brent and I discussed this and came up with the following plan:

If you can please change bind_host to the IP of the controller on the internal API network and run Tempest to see if that works. If it does, then Brent can send a patch to TripleO to ensure that octavia-api binds on normal IP address on the internal API network, which means that it will not be a post-deployment documentation step, but will happen automatically through regular deployment.

If it doesn't work, then it will continue to be a post-deployment documented step (To use the IP address on the LB network) and we'll target 12 to fix it in TripleO.

Comment 2 Alexander Stafeyev 2017-04-19 05:29:17 UTC
(In reply to Assaf Muller from comment #1)
> Brent and I discussed this and came up with the following plan:
> 
> If you can please change bind_host to the IP of the controller on the
> internal API network and run Tempest to see if that works. If it does, then
> Brent can send a patch to TripleO to ensure that octavia-api binds on normal
> IP address on the internal API network, which means that it will not be a
> post-deployment documentation step, but will happen automatically through
> regular deployment.
> 
> If it doesn't work, then it will continue to be a post-deployment documented
> step (To use the IP address on the LB network) and we'll target 12 to fix it
> in TripleO.

I need to execute post deployment step anyhow. 
I will comment out the post deployment configuration and configure manually "bind_host" in the octavia.conf file. 

I will get back with the result.

Comment 4 Red Hat Bugzilla Rules Engine 2017-05-01 19:45:48 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 5 Assaf Muller 2017-07-07 19:18:13 UTC
Following up on comment 2, did we nail this down?

Comment 6 Alexander Stafeyev 2017-08-14 11:42:33 UTC
(In reply to Assaf Muller from comment #5)
> Following up on comment 2, did we nail this down?

I do not recall what happened with this one. 

I do recall that changing the IP to the non localhost ip did not result with issues. 

May be NirM remembers something regarding that.

Comment 7 Nir Magnezi 2017-08-14 11:54:53 UTC
(In reply to Alexander Stafeyev from comment #6)
> (In reply to Assaf Muller from comment #5)
> > Following up on comment 2, did we nail this down?
> 
> I do not recall what happened with this one. 
> 
> I do recall that changing the IP to the non localhost ip did not result with
> issues. 
> 
> May be NirM remembers something regarding that.

I can't answer until both Or and Brent finalize the current Octavia:TripleO work, but maybe they'll have a better answer.

Comment 8 Brent Eagles 2017-10-31 12:48:44 UTC
This is currently being handled in workflow driven ansible in this patch: https://review.openstack.org/#/c/487450/

Comment 15 Jon Schlueter 2018-06-27 19:40:39 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-8.0.2-38.el7ost.  This build is available now.


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