fix logging and move keystone client earlier in the install chain

This commit is contained in:
Vishvananda Ishaya
2012-02-06 21:21:52 +00:00
parent b0b6d315bd
commit d281376de8
2 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@ admin_token = %SERVICE_TOKEN%
compute_port = 3000
verbose = True
debug = True
# should use stdout for devstack, but leaving this for now
log_file = %DEST%/keystone/keystone.log
# commented out so devstack logs to stdout
# log_file = %DEST%/keystone/keystone.log
# ================= Syslog Options ============================
# Send logs to syslog (/dev/log) instead of to file specified

View File

@@ -653,6 +653,8 @@ fi
# setup our checkouts so they are installed into python path
# allowing ``import nova`` or ``import glance.client``
cd $KEYSTONECLIENT_DIR; sudo python setup.py develop
cd $NOVACLIENT_DIR; sudo python setup.py develop
if [[ "$ENABLED_SERVICES" =~ "key" ||
"$ENABLED_SERVICES" =~ "g-api" ||
"$ENABLED_SERVICES" =~ "n-api" ||
@@ -667,10 +669,8 @@ if [[ "$ENABLED_SERVICES" =~ "g-api" ||
"$ENABLED_SERVICES" =~ "n-api" ]]; then
cd $GLANCE_DIR; sudo python setup.py develop
fi
cd $NOVACLIENT_DIR; sudo python setup.py develop
cd $NOVA_DIR; sudo python setup.py develop
if [[ "$ENABLED_SERVICES" =~ "horizon" ]]; then
cd $KEYSTONECLIENT_DIR; sudo python setup.py develop
cd $HORIZON_DIR/horizon; sudo python setup.py develop
cd $HORIZON_DIR/openstack-dashboard; sudo python setup.py develop
fi