summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova_git.bb
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2018-04-30 14:51:41 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-05-01 23:15:31 -0400
commitedb9fed9aca8452e54624d9da109cdd7cabcf30c (patch)
treed4e82ce24e800b24d08548a138b3df0488eda780 /meta-openstack/recipes-devtools/python/python-nova_git.bb
parentdb5a6a32fed0b97dcaa590120558c857f30c1bec (diff)
downloadmeta-cloud-services-edb9fed9aca8452e54624d9da109cdd7cabcf30c.tar.gz
python-cinder: uprev to latest stable/pike
Requires the introduction of python-oauth2client and python-google-api-python-client packages/recipes. As with other openstack component uprev's we move some of the initialization from the first run scripts to the cinder-init.service which is run on first boot. This allows for someone to disable the default configuration by not including the cinder-init package in their image. The initialization is done following the guide at: At this point we have cinder up and running, which we can verify using the "openstack volume service list" command. root@controller:~# openstack volume service list +------------------+----------------------+------+---------+-------+----------------------------+ | Binary | Host | Zone | Status | State | Updated At | +------------------+----------------------+------+---------+-------+----------------------------+ | cinder-backup | controller | nova | enabled | down | 2018-04-30T15:31:08.330770 | | cinder-volume | controller@nfsdriver | nova | enabled | down | 2018-04-30T15:31:10.477678 | | cinder-scheduler | controller | nova | enabled | down | 2018-04-30T15:31:10.653041 | +------------------+----------------------+------+---------+-------+----------------------------+ We will have to adjust the configuration for a compute node but at this point we are concentrating on the initial configuration for the controller image. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb
index 741fc0a..3e646df 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb
@@ -188,6 +188,9 @@ do_install_append() {
188 sed -e "/#api_servers =/aapi_servers = ${CONTROLLER_IP}:9292" -i ${CONF_FILE} 188 sed -e "/#api_servers =/aapi_servers = ${CONTROLLER_IP}:9292" -i ${CONF_FILE}
189 sed -e "/#lock_path =/alock_path = /var/lib/nova/tmp" -i ${CONF_FILE} 189 sed -e "/#lock_path =/alock_path = /var/lib/nova/tmp" -i ${CONF_FILE}
190 190
191 # Configure cinder
192 sed -e "/^\[cinder\].*/aos_region_name = RegionOne" -i ${CONF_FILE}
193
191 str="os_region_name = RegionOne" 194 str="os_region_name = RegionOne"
192 str="$str\nproject_domain_name = Default" 195 str="$str\nproject_domain_name = Default"
193 str="$str\nproject_name = service" 196 str="$str\nproject_name = service"