Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problems encountered in openstack environment deployment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "how to solve the problems encountered in the deployment of the openstack environment". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Scenario reproduction: after configuring the neutron service of the network node, I execute it on the control node according to the requirements of the official website

Neutron agent-list

There is no content.

It should be that the data of the network node is not obtained by the control node.

Go to the network node and view the log of neutron.

Dhcp-agent.log,l3-agent.log et al.

All of them are reported:

AMQP server controller:5672 closed the connection. Check login credentials: Socket closed

Seeing this, I think everyone knows that even the control node failed to pass the verification. My first reaction was this, too, but I thought, probably not? Could it be something else? Then all kinds of online search for information, English websites, Japanese websites, Chinese websites, ah, did not find a reason.

Also tried a lot of strange methods, but failed in the end.

Finally, we have no choice but to re-check the configuration file of the neutron of the network node.

[oslo_messaging_rabbit]

...

Rabbit_host = controller

Rabbit_userid = openstack

Rabbit_password = RABBIT_PASS

Oops! I am really too young, that is, the password configuration is wrong. After you change it back, restart the service

Systemctl restart neutron-openvswitch-agent.service neutron-l3-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service

And then to the control node.

[root@controller ~] # neutron agent-list

+-+

| | id | agent_type | host | alive | admin_state_up | binary | |

+-+

| | 11ec8170-5083-45fa-b168-7be4c30c473e | L3 agent | network |: -) | True | neutron-l3-agent |

| | 91de96ca-776f-44f5-b15b-8542e672cd1f | Metadata agent | network |: -) | True | neutron-metadata-agent |

| | ae800f01-cdaf-4d50-b6ec-7333cea58a30 | Open vSwitch agent | network |: -) | True | neutron-openvswitch-agent |

| | d9d68c03-5c83-424b-9f18-097dba8311a8 | DHCP agent | network |: -) | True | neutron-dhcp-agent |

+-+

This is the end of the content of "how to solve the problems encountered in the deployment of openstack environment". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report