I have an openshift deployment 3.9 origin on Opentack, created a LBaaSv2 in
front of the infrastructure VMs so that apps can be accessed (used
terraform for this, link to the config:
https://gist.github.com/infinitydon/b458aa2f27669330f50d7444c8583f64).

Their names are kubernauts-master-lb and kubernauts-nodes-lb

One LB (kubernauts-master-lb) is dedicated to the Master API endpoint and
web-console, this is working fine (HTTPS port 8443).

I used the second LB (kubernauts-nodes-lb) with two listeners (HTTP &
HTTPS) but only the HTTPS route is working, any HTTP route always give the
following error:

*503 Service Unavailable No server is available to handle this request.*

I have checked the logs on neutron_lbaas_agent and the openshift router
pods but I could not drill down as to why this is happening.

Both HTTP and HTTPS listeners have the same configuration, only the ports
are different, below shows only the LB config that is currently having
issues:

neutron lbaas-loadbalancer-list

+--------------------------------------+----------------------+----------------------------------+-------------+---------------------+----------+
| id                                   | name                 |
tenant_id                        | vip_address | provisioning_status |
provider |
+--------------------------------------+----------------------+----------------------------------+-------------+---------------------+----------+
| fb4c3b09-c2ba-463b-9380-1a29e34c11cd | kubernauts-nodes-lb  |
4e769000ffe241818900dc40fb5d75d4 | 10.0.0.7    | ACTIVE              |
haproxy  |
+--------------------------------------+----------------------+----------------------------------+-------------+---------------------+----------+


[root ~]# neutron lbaas-listener-list
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+--------------------------------------+--------------------------------------+------+----------------------------------+----------+---------------+----------------+
| id                                   | default_pool_id
       | name | tenant_id                        | protocol |
protocol_port | admin_state_up |
+--------------------------------------+--------------------------------------+------+----------------------------------+----------+---------------+----------------+
| f21b5577-c612-4628-8401-a3b3988f4a6d |
4ff3ba5e-2b19-4d05-a5ac-5871ebb18be2 |      |
4e769000ffe241818900dc40fb5d75d4 | HTTP     |            80 | True
      |
| 0c21f282-7419-43d3-a3e9-d8628baa4d12 |
0afcdd87-c8b0-4664-98e4-3c18e01035ab |      |
4e769000ffe241818900dc40fb5d75d4 | HTTPS    |           443 | True
      |


[root~]# neutron lbaas-listener-show f21b5577-c612-4628-8401-a3b3988f4a6d
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+---------------------------+------------------------------------------------+
| Field                     | Value                                          |
+---------------------------+------------------------------------------------+
| admin_state_up            | True                                           |
| connection_limit          | -1                                             |
| default_pool_id           | 4ff3ba5e-2b19-4d05-a5ac-5871ebb18be2           |
| default_tls_container_ref |                                                |
| description               |                                                |
| id                        | f21b5577-c612-4628-8401-a3b3988f4a6d           |
| loadbalancers             | {"id": "fb4c3b09-c2ba-463b-9380-1a29e34c11cd"} |
| name                      |                                                |
| protocol                  | HTTP                                           |
| protocol_port             | 80                                             |
| sni_container_refs        |                                                |
| tenant_id                 | 4e769000ffe241818900dc40fb5d75d4               |
+---------------------------+------------------------------------------------+


[root~]# neutron lbaas-listener-show 0c21f282-7419-43d3-a3e9-d8628baa4d12
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+---------------------------+------------------------------------------------+
| Field                     | Value                                          |
+---------------------------+------------------------------------------------+
| admin_state_up            | True                                           |
| connection_limit          | -1                                             |
| default_pool_id           | 0afcdd87-c8b0-4664-98e4-3c18e01035ab           |
| default_tls_container_ref |                                                |
| description               |                                                |
| id                        | 0c21f282-7419-43d3-a3e9-d8628baa4d12           |
| loadbalancers             | {"id": "fb4c3b09-c2ba-463b-9380-1a29e34c11cd"} |
| name                      |                                                |
| protocol                  | HTTPS                                          |
| protocol_port             | 443                                            |
| sni_container_refs        |                                                |
| tenant_id                 | 4e769000ffe241818900dc40fb5d75d4               |
+---------------------------+------------------------------------------------+



[root~]# neutron lbaas-pool-show 4ff3ba5e-2b19-4d05-a5ac-5871ebb18be2
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+---------------------+------------------------------------------------+
| Field               | Value                                          |
+---------------------+------------------------------------------------+
| admin_state_up      | True                                           |
| description         |                                                |
| healthmonitor_id    | b481c80f-391e-43f2-ab38-e21fa4fde5a9           |
| id                  | 4ff3ba5e-2b19-4d05-a5ac-5871ebb18be2           |
| lb_algorithm        | ROUND_ROBIN                                    |
| listeners           | {"id": "f21b5577-c612-4628-8401-a3b3988f4a6d"} |
| loadbalancers       | {"id": "fb4c3b09-c2ba-463b-9380-1a29e34c11cd"} |
| members             | 2aca61f3-9c8e-4651-a731-3c276cc1d2f1           |
|                     | 9eb01438-f2e3-4959-81fa-523b755880ce           |
| name                |                                                |
| protocol            | HTTP                                           |
| session_persistence |                                                |
| tenant_id           | 4e769000ffe241818900dc40fb5d75d4               |
+---------------------+------------------------------------------------+

[root~]# neutron lbaas-pool-show 0afcdd87-c8b0-4664-98e4-3c18e01035ab
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+---------------------+------------------------------------------------+
| Field               | Value                                          |
+---------------------+------------------------------------------------+
| admin_state_up      | True                                           |
| description         |                                                |
| healthmonitor_id    | 64210ced-64a4-47fd-9965-27cd3dc85135           |
| id                  | 0afcdd87-c8b0-4664-98e4-3c18e01035ab           |
| lb_algorithm        | ROUND_ROBIN                                    |
| listeners           | {"id": "0c21f282-7419-43d3-a3e9-d8628baa4d12"} |
| loadbalancers       | {"id": "fb4c3b09-c2ba-463b-9380-1a29e34c11cd"} |
| members             | ba7b3dc6-c504-4dcd-9566-a8983b63b011           |
|                     | 5754a9c7-a9d5-4337-88de-235439ac7bb1           |
| name                |                                                |
| protocol            | HTTPS                                          |
| session_persistence |                                                |
| tenant_id           | 4e769000ffe241818900dc40fb5d75d4               |
+---------------------+------------------------------------------------+

[root~]# neutron lbaas-member-list 4ff3ba5e-2b19-4d05-a5ac-5871ebb18be2
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+--------------------------------------+-----------------------------------+----------------------------------+-----------+---------------+--------+--------------------------------------+----------------+
| id                                   | name
    | tenant_id                        | address   | protocol_port |
weight | subnet_id                            | admin_state_up |
+--------------------------------------+-----------------------------------+----------------------------------+-----------+---------------+--------+--------------------------------------+----------------+
| 2aca61f3-9c8e-4651-a731-3c276cc1d2f1 |
kubernauts-nodes-ops-lb-member_80 | 4e769000ffe241818900dc40fb5d75d4 |
10.0.0.13 |            80 |      1 |
9e392f87-94c7-4125-ba3b-202ce8415ff8 | True           |
| 9eb01438-f2e3-4959-81fa-523b755880ce |
kubernauts-nodes-ops-lb-member_80 | 4e769000ffe241818900dc40fb5d75d4 |
10.0.0.6  |            80 |      1 |
9e392f87-94c7-4125-ba3b-202ce8415ff8 | True           |
+--------------------------------------+-----------------------------------+----------------------------------+-----------+---------------+--------+--------------------------------------+----------------+

[root ~]# neutron lbaas-member-list 0afcdd87-c8b0-4664-98e4-3c18e01035ab
neutron CLI is deprecated and will be removed in the future. Use
openstack CLI instead.
+--------------------------------------+------------------------------------+----------------------------------+-----------+---------------+--------+--------------------------------------+----------------+
| id                                   | name
     | tenant_id                        | address   | protocol_port |
weight | subnet_id                            | admin_state_up |
+--------------------------------------+------------------------------------+----------------------------------+-----------+---------------+--------+--------------------------------------+----------------+
| ba7b3dc6-c504-4dcd-9566-a8983b63b011 |
kubernauts-nodes-ops-lb-member_443 | 4e769000ffe241818900dc40fb5d75d4
| 10.0.0.13 |           443 |      1 |
9e392f87-94c7-4125-ba3b-202ce8415ff8 | True           |
| 5754a9c7-a9d5-4337-88de-235439ac7bb1 |
kubernauts-nodes-ops-lb-member_443 | 4e769000ffe241818900dc40fb5d75d4
| 10.0.0.6  |           443 |      1 |
9e392f87-94c7-4125-ba3b-202ce8415ff8 | True           |
+--------------------------------------+------------------------------------+----------------------------------+-----------+---------------+--------+--------------------------------------+----------------+

I need some help in troubleshooting this further.
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to