博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
openstack 升级设计要求的指导原则
阅读量:5288 次
发布时间:2019-06-14

本文共 1770 字,大约阅读时间需要 5 分钟。

不知道其他软件有没有类似的指导原则。

Theory of Upgrade

Grenade works under the following theory of upgrade.

  • New code should work with old configs(新代码兼容旧的配置)

The upgrade process should not require a config change to run a new release. All config behavior is supposed to be deprecated over a release cycle, so that upon release new code works with the last releases configs. Those configs may create deprecation warnings which need to be addressed before the next release, but they should still work and largely have the same behavior.

  • New code should need nothing more than 'db migrations' (新代码只需要考虑db迁移)

Clearly the release of new code may include new database models. Standard upgrade procedure is to turn off all services that touch the database, run the db migration script, and start with new code.

  • Resources created by services before upgrade, should still be there after the system is upgraded (服务创建的资源,在系统升级后,应继续存在)

When upgrading Nova you expect all your VMs to still function during the entire upgrade (whether or not Nova services are up). Taking down the control plane should not take down your VMs.

  • Any other required changes on upgrade are an exception and must be called out in the release notes. (升级过程中其他作为特例的改变要求, 必须出现在发行说明中)

Grenade supports per release specific upgrade scripts (from-juno, from-kilo). These are designed to support upgrades where additional manual steps are needed for a specific upgrade (i.e. from juno to kilo). These should be used sparingly.

The Grenade core team requires the following before landing these kinds of changes:

  • The Release Notes for the release where this will be required clearly specify these manual upgrade steps.
  • The PTL for the project in question has signed off on this change.

转载于:https://www.cnblogs.com/shaohef/p/4498795.html

你可能感兴趣的文章
树莓派开发板入门学习笔记2:[转]树莓派系统在VM中能做什么
查看>>
利用F#编写、理解Y组合子函数
查看>>
Flink学习笔记:Time的故事
查看>>
BZOJ3158 千钧一发(最小割)
查看>>
@SuppressLint("NewApi")
查看>>
Windows下Postgresql数据库的下载与配置方法
查看>>
【solr】Solr与JDK对应版本关系,Tomcat与JDK
查看>>
16种基本颜色关键字
查看>>
Week 2
查看>>
常见的传输线阻抗计算软件(轉自笨笨熊的屋屋)
查看>>
Python 分解带括号的字符串
查看>>
C#中event和delegate的区别
查看>>
hdu 2795 Billboard 线段树单点更新
查看>>
BZOJ 4031: [HEOI2015]小Z的房间 高斯消元 MartixTree定理 辗转相除法
查看>>
【博客搬家旧文】leetcode 804. Unique Morse Code Words
查看>>
市场说 Web前端工程师的3项素质
查看>>
[笔记] 快速乘
查看>>
HDU 2717.Catch That Cow
查看>>
CentOS6.5x64采用静默模式安装64位oracle11g
查看>>
http://edu.manew.com/ ,蛮牛教育(很少免费),主要是unty3D和大数据方向。适合扫盲...
查看>>