Some errors in the rocky version of the official document deployment for OpenStack

Source: Internet
Author: User

Openstack-rocky version of Error
Error 1:
Package download failure, after determining the system source is not a problem, found that Ping does not pass Baidu. Finally, a DNS resolution was added, stating that no DNS was added (/etc/resolv.conf).

Error 2:
As the Admin user, an error occurred while requesting the authentication token, should be a port error, when configured, using 5000, the following command in the test using 35357, so wrong.
[[email protected] ~]# OpenStack--os-auth-url http://controller:35357/v3 \

--os-project-domain-name default--os-user-domain-name default \
--os-project-name Admin-- Os-username Admin Token issue
Password:
Failed to discover available identity versions when contacting Http://contr Oller:35357/v3. Attempting to the parse version from URL.
Unable to establish connection to Http://controller:35357/v3/auth/tokens:HTTPConnectionPool (host= ' controller ', port=35357): Max retries exceeded with URL:/v3/auth/tokens (caused by newconnectionerror (' < Urllib3.connection.HTTPConnection object at 0x7f4266a08490>: Failed to establish a new connection: [Errno 111] Connecti On refused ',))

Error 3:
Create and edit the DEMO-OPENRC file and add the following:
Export Os_project_domain_name=default
Export Os_user_domain_name=default
Export Os_project_name=myproject
Export Os_username=myuser
Export Os_password=myuser_pass
Export Os_auth_url=http://controller:5000/v3
Export os_identity_api_version=3
Export os_image_api_version=2
Replace Demo_pass for the password that you selected for the user in the identity service.
Solution: In the last line, the Demo_pass should be replaced with Myuser_pass.

Error 4:
To create a cell1 cell:

Su-s/bin/sh-c "Nova-manage cell_v2 create_cell--name=cell1--verbose" Nova

109e1d4b-536a-40d0-83c6-5f121b82b650
Solution: This is a one-line command, and the shell thinks it is two lines.

Error 5:
After the compute service is configured, a few services (should be 4) are found on the controller when validating. The workaround is to close the missing service separately and start again.
[[email protected] ~]# OpenStack Compute Service List
+----+----------------+-----------------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated at |
+----+----------------+-----------------------+----------+---------+-------+----------------------------+
| 1 | Nova-conductor | Centos7-c.localdomain | Internal | Enabled | Up | 2018-10-09t14:04:34.000000 |
| 2 | Nova-scheduler | Centos7-c.localdomain | Internal | Enabled | Up | 2018-10-09t14:04:33.000000 |
| 5 | Nova-compute | Centos7-d.localdomain | Nova | Enabled | Up | 2018-10-09t14:04:36.000000 |
+----+----------------+-----------------------+----------+---------+-------+----------------------------+
[Email protected] ~]#

Error 6:
Start a service less in official documents
Start the compute service and configure it to start at system boot time:

Systemctl enable Openstack-nova-api.service \

Openstack-nova-scheduler.service openstack-nova-conductor.service \
Openstack-nova-novncproxy.service

Systemctl start Openstack-nova-api.service \

Openstack-nova-scheduler.service openstack-nova-conductor.service \
Openstack-nova-novncproxy.service

Some errors in the rocky version of the official document deployment for OpenStack

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.