Wrong authentication port 35357 instead of 5000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Confirmed
|
Undecided
|
junboli |
Bug Description
In Installation manual for Openstack Queens on Ubuntu platform, Keytone is configured initially like this and authentication port is set to 5000. After finishing with Keystone installation on controller node and trying to install Glance error occurred during authentication process. I have used netstat to find is there port 35357 which is used as an authentication endpoint but there is no such port, only standard port at 5000 exists. Another user ( https:/
netstat -ant | grep 35357
root@controller:~# netstat -ant | grep 5000
tcp 1 0 172.17.82.1:38322 172.17.82.1:5000 CLOSE_WAIT
tcp6 0 0 :::5000 :::* LISTEN
tcp6 0 0 172.17.82.1:5000 172.17.82.1:38322 FIN_WAIT2
# keystone-manage bootstrap --bootstrap-
--bootstrap-
--bootstrap-
--bootstrap-
--bootstrap-
Finalize the installation
1. Restart the Apache service:
2. # service apache2 restart
2. Configure the administrative account
3. $ export OS_USERNAME=admin
4. $ export OS_PASSWORD=
5. $ export OS_PROJECT_
6. $ export OS_USER_
7. $ export OS_PROJECT_
8. $ export OS_AUTH_URL=http://
9. $ export OS_IDENTITY_
Replace ADMIN_PASS with the password used in the keystone-manage bootstrap command in keystone-
In Glance service port is set to correct value again:
[keystone_
# ...
auth_uri = http://
auth_url = http://
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = glance
password = GLANCE_PASS
But in Glance service port is changed to 35357:
[keystone_
# ...
auth_uri = http://
auth_url = http://
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = NOVA_PASS
[placement]
# ...
os_region_name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://
username = placement
password = PLACEMENT_PASS
etc.
The same apply to Neutron service:
[neutron]
# ...
url = http://
auth_url = http://
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = NEUTRON_PASS
service_
metadata_
And for Cinder to:
[keystone_
# ...
auth_uri = http://
auth_url = http://
memcached_servers = controller:11211
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = cinder
password = CINDER_PASS
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → junboli (junboli) |
The same bug has been fixed in Nove recently (https:/ /bugs.launchpad .net/nova/ +bug/1765144). But it is still there in Cinder.