Fixed creation of cinder's volumes
Manila's function "_configure_tgt_for_config_d" was imported second and was redefining cinder's with same name. It caused absense of cinder.conf for tgt. Change-Id: I259994b337f857a3f71a37f91e71bbe2543d0815 Closes-Bug: #1290516
This commit is contained in:
parent
3e290e7051
commit
6505530e47
|
@ -357,14 +357,6 @@ function install_manila {
|
|||
fi
|
||||
}
|
||||
|
||||
# apply config.d approach (e.g. Oneiric does not have this)
|
||||
function _configure_tgt_for_config_d {
|
||||
if [[ ! -d /etc/tgt/conf.d/ ]]; then
|
||||
sudo mkdir -p /etc/tgt/conf.d
|
||||
echo "include /etc/tgt/conf.d/*.conf" | sudo tee -a /etc/tgt/targets.conf
|
||||
fi
|
||||
}
|
||||
|
||||
# start_manila - Start running processes, including screen
|
||||
function start_manila {
|
||||
samba_daemon_name=smbd
|
||||
|
|
Loading…
Reference in New Issue