|
...
|
...
|
@@ -432,12 +432,13 @@ function start_cinder {
|
|
432
|
432
|
_configure_tgt_for_config_d
|
|
433
|
433
|
if is_ubuntu; then
|
|
434
|
434
|
sudo service tgt restart
|
|
435
|
|
- elif is_fedora || is_suse; then
|
|
436
|
|
- restart_service tgtd
|
|
|
435
|
+ elif is_suse; then
|
|
|
436
|
+ # NOTE(dmllr): workaround restart bug
|
|
|
437
|
+ # https://bugzilla.suse.com/show_bug.cgi?id=934642
|
|
|
438
|
+ stop_service tgtd
|
|
|
439
|
+ start_service tgtd
|
|
437
|
440
|
else
|
|
438
|
|
- # note for other distros: unstack.sh also uses the tgt/tgtd service
|
|
439
|
|
- # name, and would need to be adjusted too
|
|
440
|
|
- exit_distro_not_supported "restarting tgt"
|
|
|
441
|
+ restart_service tgtd
|
|
441
|
442
|
fi
|
|
442
|
443
|
# NOTE(gfidente): ensure tgtd is running in debug mode
|
|
443
|
444
|
sudo tgtadm --mode system --op update --name debug --value on
|