In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you the analysis and solution of OpenStack Bug. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Problem description
The customer reported a problem: the migrate operation on instance could not be completed for several hours, which was not normal.
Analysis of problems
In this case, the first thing to check is the nova-compute.log log of the compute node where instance is located, but unfortunately no related errors are found.
If there are no errors in nova-compute, does the lower-level hypervisor report errors? Open / var/log/libvirt/libvirtd.log, and here we find some clues:
The log above tells us that there is no instance swap corresponding to image backing file / var/lib/nova/instances/_base/swap_8192.
The current instance does use an 8192 M swap disk, but the strange thing is: why is the image backing file in use missing?
After excluding the erroneous deletion, it is suspected to be a bug. Search for:
Luckily, the third result is OpenStack's bug, which seems to be what we're looking for. Browse the bug information and find that the phenomenon described is the same as ours, and there is already fix on the version of kilo that the customer is using.
Click on the commit link to see which files have been modified by fix.
It is true that the fix is not included against the code in the customer's system, and it is confirmed that it is indeed the bug.
Solve the problem
Because the file for fix is located in the nova directory, you can see that this is the bug of the nova module. The rest of the work is straightforward:
Download the code for nova.
Install the latest version of kilo.
Restart all nova-* services.
The above content is the analysis and solution of OpenStack Bug. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.