this change enables on-the-fly tgtd debug before starting cinder
Change-Id: I193bfd77c5a82e8347d75e2a7fe670a6e25f5558
| ... | ... |
@@ -496,6 +496,8 @@ function start_cinder() {
|
| 496 | 496 |
# name, and would need to be adjusted too |
| 497 | 497 |
exit_distro_not_supported "restarting tgt" |
| 498 | 498 |
fi |
| 499 |
+ # NOTE(gfidente): ensure tgtd is running in debug mode |
|
| 500 |
+ sudo tgtadm --mode system --op update --name debug --value on |
|
| 499 | 501 |
fi |
| 500 | 502 |
|
| 501 | 503 |
screen_it c-api "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF" |