Deployment of simple cluster failed with Could not start Service[keystone]: Execution of '/sbin/service openstack-keystone start' returned 1:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
High
|
Fuel Library (Deprecated) |
Bug Description
{
"build_id": "2014-08-
"ostf_sha": "a3fa823ea0e4e0
"build_number": "389",
"auth_
"api": "1.0",
"nailgun_sha": "bd0127be006102
"production": "docker",
"fuelmain_sha": "e99879292cf6e9
"astute_sha": "ce86172e776610
"feature_
"mirantis"
],
"release": "5.1",
"fuellib_sha": "4e3fdd75f8dabd
}
Steps:
1. Create next cluster - Centos, Simple, Neutron GRE, 1 controller, 1 compute
2. Run deployment
Expected - deployment passed
Actual - deploymetn failed with error in puppet log on controller-1 (node-3):
Could not start Service[keystone]: Execution of '/sbin/service openstack-keystone start' returned 1:
Error in keystone-all log:
2014-08-03 20:19:26 ERROR
root [-] Failed to start the admin server
2014-08-03 19:19:26.040 19128 TRACE root Traceback (most recent call last):
2014-08-03 19:19:26.040 19128 TRACE root File "/usr/bin/
2014-08-03 19:19:26.040 19128 TRACE root server.start()
2014-08-03 19:19:26.040 19128 TRACE root File "/usr/lib/
2014-08-03 19:19:26.040 19128 TRACE root backlog=backlog)
2014-08-03 19:19:26.040 19128 TRACE root File "/usr/lib/
2014-08-03 19:19:26.040 19128 TRACE root sock.bind(addr)
2014-08-03 19:19:26.040 19128 TRACE root File "<string>", line 1, in bind
2014-08-03 19:19:26.040 19128 TRACE root error: [Errno 98] Address already in use
2014-08-03 19:19:26.040 19128 TRACE root
Changed in fuel: | |
status: | New → Confirmed |
assignee: | Fuel Library Team (fuel-library) → Ryan Moe (rmoe) |
Changed in fuel: | |
importance: | High → Medium |
assignee: | Ryan Moe (rmoe) → nobody |
assignee: | nobody → Fuel Library Team (fuel-library) |
Changed in fuel: | |
status: | Confirmed → Triaged |
It looks like this is caused by RabbitMQ using port 35357 for its connection to epmd. The default local port range on linux is 32768-61000. In simple mode keystone will attempt to bind to 0.0.0.0.
root@node-8:~# cat /proc/sys/ net/ipv4/ ip_local_ port_range
32768 61000
From the netstat output form the diagnostic snapshot:
tcp 0 0 127.0.0.1:35357 127.0.0.1:4369 ESTABLISHED 18490/beam