listen(): Address already in use for barbican_api

Bug #1632177 reported by Liyingjun
6
This bug affects 1 person
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.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016
nodename: holly
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /etc/barbican/vassals
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://github.com/openstack/barbican/blob/master/etc/barbican/vassals/barbican-api.ini

Liyingjun (liyingjun)
Changed in kolla:
assignee: nobody → Liyingjun (liyingjun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/384771

Changed in kolla:
status: New → In Progress
Changed in kolla:
milestone: none → newton-rc2
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/384771
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=cd0336658fa188dac7e9de625c677db57ff619c2
Submitter: Jenkins
Branch: master

commit cd0336658fa188dac7e9de625c677db57ff619c2
Author: liyingjun <email address hidden>
Date: Tue Oct 11 10:05:07 2016 +0800

    Fix 'Address already in use' for barbican-api

    By default barbican uwsgi is configured to listen all address on host
    [1], we need to change this to the ip address of the host.

    [1]:
    https://github.com/openstack/barbican/blob/master/etc/barbican/vassals/barbican-api.ini

    Change-Id: I4a1f9fb44ad55caf21f82c1b6d272a9743d65fd8
    Closes-bug: #1632177

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0rc2

This issue was fixed in the openstack/kolla 3.0.0.0rc2 release candidate.

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

Other bug subscribers

Remote bug watches

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