ensure tgtd is running in debug mode
this change enables on-the-fly tgtd debug before starting cinder Change-Id: I193bfd77c5a82e8347d75e2a7fe670a6e25f5558
This commit is contained in:
parent
4c2870b64a
commit
384454de57
@ -496,6 +496,8 @@ function start_cinder() {
|
|||||||
# name, and would need to be adjusted too
|
# name, and would need to be adjusted too
|
||||||
exit_distro_not_supported "restarting tgt"
|
exit_distro_not_supported "restarting tgt"
|
||||||
fi
|
fi
|
||||||
|
# NOTE(gfidente): ensure tgtd is running in debug mode
|
||||||
|
sudo tgtadm --mode system --op update --name debug --value on
|
||||||
fi
|
fi
|
||||||
|
|
||||||
screen_it c-api "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF"
|
screen_it c-api "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF"
|
||||||
|
Loading…
Reference in New Issue
Block a user