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 how to update OpenStack components, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
The editor teaches you how to update OpenStack components. Note that it is an Update, not an Upgrade. An update is a patch to a component with the same version, while an upgrade is a refresh version, such as upgrading from kilo to liberty.
Is an update really necessary?
For OpenStack that has been deployed, do we have a need to update a component? The answer is: yes!
OpenStack is software. If it is software, there will be bug. OpenStack contains a lot of components, the structure is very loose, each component can be updated separately, as long as ensure that each component belongs to the same large version (such as kilo, liberty) will not have a problem.
When we encounter bug, if the community already has a fix, we just need to update the component that contains the fix, and the other components remain the same.
Let's take the nova component as an example to demonstrate how to update. Suppose the currently deployed OpenStack is kilo, and a bug has been found and needs to be upgraded. The easiest way is to upgrade to the latest version of nova in kilo, as follows:
From github clone nova.
Switch to the latest version of kilo.
Install the nova python source code.
Restart all nova-* services.
From github clone nova
All the code of OpenStack is maintained on github, and each module has its own repository. Nova's repository is in https://github.com/openstack/nova.
Click "Branches" to see the most recent versions of nova.
Hey, how come there is no kilo? Don't worry, click "Tags".
There is kilo-eol, and "eol" means "end of life", which means that nova is no longer updated for kilo and is the final version of kilo. If you want to update nova on kilo, you can use this version.
Download nova through the git clone command
Run the command:
Git clone https://github.com/openstack/nova.git
Switch to the latest version of kilo
When the download is complete, check that the current branch is master:
Switch to kilo-eol:
Confirm that it is now kilo-eol:
Install nova python source code
OpenStack is developed with python, the updated version is very simple, only need to install the new version of the source code through the pip command, there is no compilation and other steps.
Execute the following command in the nova directory:
Pip install.
Nova has been updated from nova-2015.1.3.dev1 to nova-2015.1.4.
Restart all nova-* services
All nodes running nova-* services (control nodes and compute nodes) need to update the source code and restart the service, and the easiest way is to restart the entire node.
The above is how to update OpenStack components. Have you learned any 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.