Openstack-kilo--issue (12) Openstack-keystone and httpd services occupy 35357 and 5000

Source: Internet
Author: User

= = Keystone Service = =OpenStack-keystone:                     inactive

As shown above: If you start httpd, you will not be able to start the Openstack-keystone service very well, as you can see in the official documentation:

 the 35357 . By default, the Keystone service still listens on ports35357. Therefore, this guide disables the Keystone Service.

This means that the httpd and Openstack-keystone services will use the same two ports 35357 and 5000. So the document chooses to use the httpd, but in this way, just installed on the time is no problem, long time will find a lot of problems:

So Google has found a solution:

I have resolved the"OpenStack Service Create"problem following this steps:http and KEYSTONE service sharing the same port, so stop httpd and start OpenStack-keystone.service. Edit/etc/keystone/keystone.conf and replace"hostname or IP"To"localhost": Connection= MySQL://Keystone:[email Protected]/keystoneRemember to stop service httpd and enable start service Keystone:-Systemctl Stop httpd.service-systemctl Enable Openstack-keystone.service = Systemctl start openstack-Keystone.serviceand Finally, exec"OpenStack Service Create--name Keystone--description"OpenStack Identity"Identity"command. Most of important to remember, the dashboard horizon use Apache so, Keystone and Apache service must is running. Into keystone.conf and Wsgi-keystone.conf occur bind a single interface on ports theand35357Instead of all interface"*"Or"0.0.0.0": Edit/etc/keystone/keystone.conf = Set Admin_bind_host = <ip_mgmt> = Set Public_bind_host = <ip_mgmt>Edit/etc/httpd/conf.d/wsgi-keystone.conf = Set Listen127.0.0.1: the= Listen127.0.0.1:35357= Same forVirtualHost127.0.0.1: the&35357After service OpenStack-keystone.service and Httpd.service Restart, both process would be runninginchThe same Time.

This solves the situation where httpd and Openstack-keystone cannot be opened at the same time.

[Email protected] ~]# Openstack-status
......
= = Keystone Service = =OpenStack-Keystone: active= = Horizon Service = =OpenStack- Dashboard: Active
......

Openstack-kilo--issue (12) Openstack-keystone and httpd services occupy 35357 and 5000

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.