Bug 1325817 - [Docs][Director] [rhel-ospd][upgrade] Users who upgrade from ospd7.3-->8 and uses haproxy external load balancer must adjust haproxy.conf file according to the changes introduced in ospd 8
Summary: [Docs][Director] [rhel-ospd][upgrade] Users who upgrade from ospd7.3-->8 and ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Dan Macpherson
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On: 1322857
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 09:48 UTC by Leonid Natapov
Modified: 2017-05-31 17:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-31 17:06:08 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Leonid Natapov 2016-04-11 09:48:36 UTC
Description of problem:

haproxy.cfg file has some changes in ospd8.
If users work with ospd7.3 and haproxy external load balancer  they have to adjust haproxy.cfg file on their external load balancer to reflect changes introduced in ospd8.

For example HAProxy configuration for Redis in ospd8.

listen redis
  bind 172.16.20.249:6379 
  balance first
  option tcp-check
  tcp-check connect
  tcp-check send AUTH\ examplepassword\r\n
  tcp-check send PING\r\n
  tcp-check expect string +PONG
  tcp-check send info\ replication\r\n
  tcp-check expect string role:master
  tcp-check send QUIT\r\n
  tcp-check expect string +OK
  server overcloud-controller-0 172.16.20.150:6379 check fall 5 inter 2000 rise 2
  server overcloud-controller-1 172.16.20.151:6379 check fall 5 inter 2000 rise 2
  server overcloud-controller-2 172.16.20.152:6379 check fall 5 inter 2000 rise 2

Comment 5 Marius Cornea 2016-04-18 19:51:13 UTC
FWIW I've covered the changes required for Redis auth in BZ#1322857

Comment 6 Don Domingo 2016-09-15 04:18:36 UTC
Reassigning back to default until work becomes pertinent (ie required info becomes available).

Comment 8 Sofer Athlan-Guyot 2017-05-29 12:52:36 UTC
Hi Dan,

could we add a short warning on the 8 documentation that external lb need customization for the upgrade.  This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1322857 and it just need to be added to upgrade documentation.

Comment 9 Dan Macpherson 2017-05-30 06:29:33 UTC
Added a note to the pre-upgrade section:

"If using an external load balancer, update your load balancing settings to accommodate new services in Red Hat OpenStack Platform 8. For a full list of services and example configuration, see "Services Configuration Reference" in the External Load Balancing for the Overcloud guide."

Link: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/8/html/upgrading_red_hat_openstack_platform/chap-upgrading_the_environment#sect-Important_Pre-Upgrade_Notes

Sofer, was this what was required? Did we need to mention anything further?

Comment 10 Sofer Athlan-Guyot 2017-05-31 17:02:48 UTC
Hi Dan,

I think we're good.

Thanks.

Comment 11 Dan Macpherson 2017-05-31 17:06:08 UTC
Thanks, Sofer!


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