cyborg-api in controller not work at kolla_external_fqdn with port 6666

Bug #2020088 reported by PEScn
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla-ansible
In Progress
Medium
Wenping Song
Antelope
Confirmed
Medium
Unassigned
Bobcat
In Progress
Medium
Wenping Song
Xena
Confirmed
Medium
Unassigned
Yoga
Confirmed
Medium
Unassigned
Zed
Confirmed
Medium
Unassigned

Bug Description

Env:
kolla_internal_fqdn = 172.16.5.20
kolla_external_fqdn = 172.16.5.20
controller_ip = 172.16.17.1

when curl http://172.16.5.20:6666/v2/, error is:

curl: (7) Failed to connect to 172.16.5.20 port 6666 after 0 ms: Connection refused

How to Fix:

Change endpoint into http://172.16.17.1:6666/v2, it works.

{"id": "v2.0", "links": [{"href": "http://172.16.17.1:6666/accelerator/v2/", "rel": "self"}], "max_version": "2.2", "min_version": "2.0", "status": "CURRENT"}

it may be port-listening wrong, or bind docker port error.

Revision history for this message
PEScn (pescn) wrote :

More Infomation:

ubuntu@registry:~$ curl http://172.16.5.20:5000/v3
{"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "http://172.16.5.20:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}}

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

looks like incorrect haproxy configuration.

Changed in kolla-ansible:
status: New → Incomplete
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

could you please provide the haproxy/services.d/cyborg.cfg file

Revision history for this message
PEScn (pescn) wrote :

no this file in /etc/kolla/haproxy/services.d/ :

ubuntu@os1:~$ sudo ls /etc/kolla/haproxy/services.d/
cinder-api.cfg glance-api.cfg heat-api.cfg keystone.cfg memcached.cfg nova-novncproxy.cfg skyline-apiserver.cfg zun-api.cfg
cloudkitty-api.cfg gnocchi-api.cfg horizon.cfg magnum-api.cfg neutron-server.cfg placement-api.cfg skyline-console.cfg zun-wsproxy.cfg
etcd.cfg heat-api-cfn.cfg influxdb.cfg mariadb.cfg nova-api.cfg rabbitmq.cfg trove-api.cfg

os1 is 172.16.17.1, is controller

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

because of absence of haproxy configuration file you got an error 'Failed to connect to 172.16.5.20' on 6666 (cyborg-api) port.

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

could you please provide the full deployment configuration.

Revision history for this message
PEScn (pescn) wrote (last edit ):
Download full text (9.2 KiB)

Here is globals.yml

---
workaround_ansible_issue_8743: yes
kolla_base_distro: "ubuntu"
kolla_internal_vip_address: "172.16.5.20"
docker_registry: internat.deploy.pescn.cc
docker_namespace: "quay/openstack.kolla"
docker_configure_for_zun: "yes"
containerd_configure_for_zun: "yes"
docker_apt_package_pin: "5:20.*"
docker_yum_package_pin: "20.*"
network_interface: "eno1"
neutron_external_interface: "eno2"
openstack_region_name: "115Lab"
enable_ceilometer: "yes"
enable_cinder: "yes"
enable_cinder_backend_lvm: "yes"
enable_cloudkitty: "yes"
enable_cyborg: "yes"
enable_etcd: "yes"
enable_gnocchi: "yes"
enable_gnocchi_statsd: "yes"
enable_ironic: "no"
enable_kuryr: "yes"
enable_magnum: "yes"
enable_neutron_dvr: "yes"
enable_neutron_metering: "yes"
enable_redis: "yes"
enable_skyline: "yes"
enable_trove: "yes"
enable_zun: "yes"
ironic_dnsmasq_dhcp_ranges:
  - range: 172.17.2.1,172.17.2.255

Here is multinode:
[control]
172.16.17.1 ansible_ssh_user=ubuntu ansible_become=True

[network:children]
control

[compute]
172.16.17.2 ansible_ssh_user=ubuntu ansible_become=True
172.16.17.3 ansible_ssh_user=ubuntu ansible_become=True
172.16.17.4 ansible_ssh_user=ubuntu ansible_become=True

[monitoring:children]
control

[storage]
172.16.17.4 ansible_ssh_user=ubuntu ansible_become=True

[deployment]
localhost ansible_connection=local

[baremetal:children]
control
network
compute
storage
monitoring

[tls-backend:children]
control

[common:children]
control
network
compute
storage
monitoring

[collectd:children]
compute

[grafana:children]
monitoring

[etcd:children]
control

[influxdb:children]
monitoring

[prometheus:children]
monitoring

[kafka:children]
control

[telegraf:children]
compute
control
monitoring
network
storage

[hacluster:children]
control

[hacluster-remote:children]
compute

[loadbalancer:children]
network

[mariadb:children]
control

[rabbitmq:children]
control

[outward-rabbitmq:children]
control

[monasca-agent:children]
compute
control
monitoring
network
storage

[monasca:children]
monitoring

[storm:children]
monitoring

[keystone:children]
control

[glance:children]
control

[nova:children]
control

[neutron:children]
network

[openvswitch:children]
network
compute
manila-share

[cinder:children]
control

[cloudkitty:children]
control

[freezer:children]
control

[memcached:children]
control

[horizon:children]
control

[swift:children]
control

[barbican:children]
control

[heat:children]
control

[murano:children]
control

[solum:children]
control

[ironic:children]
control

[magnum:children]
control

[sahara:children]
control

[mistral:children]
control

[manila:children]
control

[ceilometer:children]
control

[aodh:children]
control

[cyborg:children]
control
compute

[gnocchi:children]
control

[tacker:children]
control

[trove:children]
control

[senlin:children]
control

[vitrage:children]
control

[watcher:children]
control

[octavia:children]
control

[designate:children]
control

[placement:children]
control

[bifrost:children]
deployment

[zookeeper:children]
control

[zun:children]
control

[skyline:children]
control

[redis:children]
control

[blazar:children]
control

[venus:children]
monitoring

# Common
[cron:childre...

Read more...

Revision history for this message
PEScn (pescn) wrote :

It looks like thers is no haproxy setting for cyborg.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kolla-ansible because there has been no activity for 60 days.]

Changed in kolla-ansible:
status: Incomplete → Expired
Changed in kolla-ansible:
status: Expired → Incomplete
Changed in kolla-ansible:
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by "Wenping Song <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/890293

Revision history for this message
Théo Galera (theogav) wrote :

Hello, the bug also affects me for deployment of my platform, do we know when the fix will be merged ?
I see that the patch is stuck since February 26th.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.