学习openstack,从devstack入手,是个不错的选择.devstack中,首先需要分析stack.sh都做了些什么! 这里面涉及到了很多shell的基础知识.我就做个简单的梳理,方便后续查阅! 1. 参数扩展(ParameterExpansion) ${parameter:-word} 使用默认值 If parameter is unset or null, the expansion of word is substituted. Otherwise, the value of pa…
这个ini开头的函数在devstack的启动配置中用的非常多,他主要负责.ini文件的配置,这个过程包括对相关ini文件的添加,注释,删除,获取信息,多行信息获取等. 这里主要说的iniset和iniget函数在devstack/inc/ini-config文件里面. iniset具体函数内容: # Set an option in an INI file # iniset [-sudo] config-file section option value # - if the file does…
same issue i faced , tried with ./unstack.sh and ./clean.sh also but couldn't fix the issue.Following step helped me to resolve this issue../unstack.sh./clean.sh rm -rf devstack folder reboot system cloned devstack codecd devstack./stack.sh ref: http…