Enable mogan console services and add description of quick-start

Change-Id: Ib186b7661618ed8d35d84cdbfee8d72273dda627
Partially-Implements: bp console-support
This commit is contained in:
liusheng 2017-03-14 19:05:37 +08:00
parent 9eba5f599a
commit 42363e9fd4
3 changed files with 15 additions and 3 deletions

View File

@ -153,13 +153,17 @@ function start_mogan {
run_process mogan-engine "${MOGAN_BIN_DIR}/mogan-engine --config-file ${MOGAN_CONF_DIR}/mogan.conf"
run_process mogan-scheduler "${MOGAN_BIN_DIR}/mogan-scheduler --config-file ${MOGAN_CONF_DIR}/mogan.conf"
fi
run_process mogan-consoleauth "${MOGAN_BIN_DIR}/mogan-consoleauth --config-file ${MOGAN_CONF_DIR}/mogan.conf"
run_process mogan-shellinaboxproxy "${MOGAN_BIN_DIR}/mogan-shellinaboxproxy --config-file ${MOGAN_CONF_DIR}/mogan.conf"
}
# stop_mogan - Stop running processes
function stop_mogan {
# Kill the Mogan screen windows
for serv in mogan-api mogan-engine mogan-scheduler; do
for serv in mogan-api mogan-engine mogan-scheduler mogan-consoleauth mogan-shellinaboxproxy; do
stop_process $serv
done
}

View File

@ -2,8 +2,8 @@
# We have to add Mogan to enabled services for run_process to work
# Now we just support to run services in separate processes and screens:
# enable_service mogan mogan-api mogan-engine mogan-scheduler
enable_service mogan mogan-api mogan-engine mogan-scheduler
# enable_service mogan mogan-api mogan-engine mogan-scheduler mogan-consoleauth mogan-shellinaboxproxy
enable_service mogan mogan-api mogan-engine mogan-scheduler mogan-consoleauth mogan-shellinaboxproxy
# Set up default repos
MOGAN_REPO=${MOGAN_REPO:-${GIT_BASE}/openstack/mogan.git}

View File

@ -327,6 +327,14 @@ Create devstack/local.conf with minimal settings required to enable Mogan
END
.. note::
If you want to enable shellinabox console functionality, please disable
VM console log and set the ironic deployment driver as *agent_ssh* in
the devstack config file::
IRONIC_VM_LOG_CONSOLE=False
IRONIC_DEPLOY_DRIVER=agent_ssh
.. note::
Git protocol requires access to port 9418, which is not a standard port that
corporate firewalls always allow. If you are behind a firewall or on a proxy that