[artful] apachectl: Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8776
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Charm |
Fix Released
|
High
|
Liam Young | ||
cinder (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The Cinder charm on Artful tries to start apache2 on tcp 8776, but haproxy is already bound to that port/socket. This is observable via the charm's workload status message, as it stays in a blocked state.
ubuntu@
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8776 0.0.0.0:* LISTEN 29128/haproxy
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 772/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 908/sshd
tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN 29128/haproxy
tcp 0 0 0.0.0.0:3260 0.0.0.0:* LISTEN 12174/tgtd
tcp 0 0 172.17.110.9:44034 172.17.110.16:5672 ESTABLISHED 29198/python
tcp 0 0 172.17.110.9:44018 172.17.110.16:5672 ESTABLISHED 29114/python
tcp 0 0 172.17.110.9:47026 172.17.110.3:17070 ESTABLISHED 1979/jujud
tcp 0 0 172.17.110.9:22 10.5.0.6:46140 ESTABLISHED 30024/sshd: ubuntu
tcp 0 0 172.17.110.9:47018 172.17.110.3:17070 ESTABLISHED 1852/jujud
tcp 0 0 172.17.110.9:44030 172.17.110.16:5672 ESTABLISHED 29114/python
tcp 0 0 172.17.110.9:44016 172.17.110.16:5672 ESTABLISHED 29114/python
tcp 0 0 172.17.110.9:36970 172.17.110.8:3306 ESTABLISHED 29114/python
tcp 0 0 172.17.110.9:47020 172.17.110.3:17070 ESTABLISHED 1852/jujud
tcp 0 0 172.17.110.9:47024 172.17.110.3:17070 ESTABLISHED 1979/jujud
tcp 0 0 172.17.110.9:36986 172.17.110.8:3306 ESTABLISHED 29198/python
tcp 0 0 172.17.110.9:44032 172.17.110.16:5672 ESTABLISHED 29198/python
tcp 0 0 172.17.110.9:44028 172.17.110.16:5672 ESTABLISHED 29198/python
tcp6 0 0 :::8776 :::* LISTEN 29128/haproxy
tcp6 0 0 ::1:11211 :::* LISTEN 26285/memcached
tcp6 0 0 :::5355 :::* LISTEN 772/systemd-resolve
tcp6 0 0 :::22 :::* LISTEN 908/sshd
tcp6 0 0 :::3260 :::* LISTEN 12174/tgtd
udp 0 0 0.0.0.0:5355 0.0.0.0:* 772/systemd-resolve
udp 0 0 127.0.0.53:53 0.0.0.0:* 772/systemd-resolve
udp 0 0 172.17.110.9:68 0.0.0.0:* 588/systemd-network
udp6 0 0 :::5355 :::* 772/systemd-resolve
udp6 0 0 ::1:11211 :::* 26285/memcached
.
ubuntu@
ubuntu 30210 0.0 0.0 14796 1068 pts/0 S+ 18:51 0:00 grep --color=auto apache
.
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
Sep 28 18:49:07 juju-4947e0-
.
jenkins@
Model Controller Cloud/Region Version SLA
auto-osci-sv10 auto-osci-sv10 serverstack/
App Version Status Scale Charm Store Rev OS Notes
cinder 11.0.0 blocked 1 cinder local 136 ubuntu
glance 15.0.0 active 1 glance jujucharms 291 ubuntu
keystone 12.0.0 active 1 keystone jujucharms 312 ubuntu
percona-cluster 5.6.34-26.19 active 1 percona-cluster jujucharms 272 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 276 ubuntu
Unit Workload Agent Machine Public address Ports Message
cinder/0* blocked idle 0 172.17.110.9 8776/tcp Services not running that should be: apache2
glance/0* active idle 1 172.17.110.11 9292/tcp Unit is ready
keystone/0* active idle 2 172.17.110.5 5000/tcp Unit is ready
percona-cluster/0* active idle 3 172.17.110.8 3306/tcp Unit is ready
rabbitmq-server/0* active idle 4 172.17.110.16 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 172.17.110.9 b87806e5-
1 started 172.17.110.11 88cfab0e-
2 started 172.17.110.5 51edcf6e-
3 started 172.17.110.8 153a964e-
4 started 172.17.110.16 909c9064-
Relation provider Requirer Interface Type
cinder:cluster cinder:cluster cinder-ha peer
glance:cluster glance:cluster glance-ha peer
glance:
keystone:cluster keystone:cluster keystone-ha peer
keystone:
keystone:
percona-
percona-
percona-
percona-
rabbitmq-
rabbitmq-
rabbitmq-
Changed in charm-cinder: | |
assignee: | nobody → Liam Young (gnuoy) |
tags: | added: artful |
Changed in charm-cinder: | |
milestone: | none → 17.11 |
Changed in charm-cinder: | |
importance: | Undecided → Medium |
Changed in cinder (Ubuntu): | |
status: | New → Invalid |
Changed in charm-cinder: | |
status: | Fix Committed → Fix Released |
Test updates are here: https:/ /review. openstack. org/#/c/ 508200/