listen(): Address already in use for barbican_api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Liyingjun |
Bug Description
Barbican_api fails with error: 'listen(): Address already in use [core/socket.c line 775]':
full log:
*** has_emperor mode detected (fd: 6) ***
[uWSGI] getting INI configuration from barbican-api.ini
*** Starting uWSGI 2.0.12-debian (64bit) on [Tue Oct 11 01:52:52 2016] ***
compiled with version: 5.3.1 20160412 on 13 April 2016 08:36:06
os: Linux-4.
nodename: holly
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /etc/barbican/
detected binary path: /usr/bin/uwsgi-core
your memory page size is 4096 bytes
detected max file descriptor number: 65536
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
listen(): Address already in use [core/socket.c line 775]
Tue Oct 11 01:52:52 2016 - [emperor] curse the uwsgi instance barbican-api.ini (pid: 57)
Tue Oct 11 01:52:52 2016 - [emperor] removed uwsgi instance barbican-api.ini
By default barbican uwsgi is configured to listen all address on host [1], we need to change this to the ip address for host.
[1]: https:/
Changed in kolla: | |
assignee: | nobody → Liyingjun (liyingjun) |
Changed in kolla: | |
milestone: | none → newton-rc2 |
importance: | Undecided → Critical |
importance: | Critical → High |
Fix proposed to branch: master /review. openstack. org/384771
Review: https:/