Merge "support glance only mode by if...then checking for is_service_enabled nova. removed redundant is_service_enabled checks for screen_it processes. fixes bug 885767"
This commit is contained in:
commit
51c1d8adfa
1
AUTHORS
1
AUTHORS
@ -17,6 +17,7 @@ Jay Pipes <jaypipes@gmail.com>
|
|||||||
Jesse Andrews <anotherjesse@gmail.com>
|
Jesse Andrews <anotherjesse@gmail.com>
|
||||||
Johannes Erdfelt <johannes.erdfelt@rackspace.com>
|
Johannes Erdfelt <johannes.erdfelt@rackspace.com>
|
||||||
Justin Shepherd <galstrom21@gmail.com>
|
Justin Shepherd <galstrom21@gmail.com>
|
||||||
|
Ken Pepple <ken.pepple@rabbityard.com>
|
||||||
Kiall Mac Innes <kiall@managedit.ie>
|
Kiall Mac Innes <kiall@managedit.ie>
|
||||||
Russell Bryant <rbryant@redhat.com>
|
Russell Bryant <rbryant@redhat.com>
|
||||||
Scott Moser <smoser@ubuntu.com>
|
Scott Moser <smoser@ubuntu.com>
|
||||||
|
19
stack.sh
19
stack.sh
@ -1557,7 +1557,7 @@ fi
|
|||||||
|
|
||||||
# If we're using Quantum (i.e. q-svc is enabled), network creation has to
|
# If we're using Quantum (i.e. q-svc is enabled), network creation has to
|
||||||
# happen after we've started the Quantum service.
|
# happen after we've started the Quantum service.
|
||||||
if is_service_enabled mysql; then
|
if is_service_enabled mysql && is_service_enabled nova; then
|
||||||
# create a small network
|
# create a small network
|
||||||
$NOVA_DIR/bin/nova-manage network create private $FIXED_RANGE 1 $FIXED_NETWORK_SIZE
|
$NOVA_DIR/bin/nova-manage network create private $FIXED_RANGE 1 $FIXED_NETWORK_SIZE
|
||||||
|
|
||||||
@ -1578,24 +1578,17 @@ fi
|
|||||||
# ``libvirtd`` to our user in this script, when nova-compute is run it is
|
# ``libvirtd`` to our user in this script, when nova-compute is run it is
|
||||||
# within the context of our original shell (so our groups won't be updated).
|
# within the context of our original shell (so our groups won't be updated).
|
||||||
# Use 'sg' to execute nova-compute as a member of the libvirtd group.
|
# Use 'sg' to execute nova-compute as a member of the libvirtd group.
|
||||||
|
# We don't check for is_service_enable as screen_it does it for us
|
||||||
screen_it n-cpu "cd $NOVA_DIR && sg libvirtd $NOVA_DIR/bin/nova-compute"
|
screen_it n-cpu "cd $NOVA_DIR && sg libvirtd $NOVA_DIR/bin/nova-compute"
|
||||||
screen_it n-crt "cd $NOVA_DIR && $NOVA_DIR/bin/nova-cert"
|
screen_it n-crt "cd $NOVA_DIR && $NOVA_DIR/bin/nova-cert"
|
||||||
screen_it n-obj "cd $NOVA_DIR && $NOVA_DIR/bin/nova-objectstore"
|
screen_it n-obj "cd $NOVA_DIR && $NOVA_DIR/bin/nova-objectstore"
|
||||||
screen_it n-vol "cd $NOVA_DIR && $NOVA_DIR/bin/nova-volume"
|
screen_it n-vol "cd $NOVA_DIR && $NOVA_DIR/bin/nova-volume"
|
||||||
screen_it n-net "cd $NOVA_DIR && $NOVA_DIR/bin/nova-network"
|
screen_it n-net "cd $NOVA_DIR && $NOVA_DIR/bin/nova-network"
|
||||||
screen_it n-sch "cd $NOVA_DIR && $NOVA_DIR/bin/nova-scheduler"
|
screen_it n-sch "cd $NOVA_DIR && $NOVA_DIR/bin/nova-scheduler"
|
||||||
if is_service_enabled n-novnc; then
|
screen_it n-novnc "cd $NOVNC_DIR && ./utils/nova-novncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF --web ."
|
||||||
screen_it n-novnc "cd $NOVNC_DIR && ./utils/nova-novncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF --web ."
|
screen_it n-xvnc "cd $NOVA_DIR && ./bin/nova-xvpvncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF"
|
||||||
fi
|
screen_it n-cauth "cd $NOVA_DIR && ./bin/nova-consoleauth"
|
||||||
if is_service_enabled n-xvnc; then
|
screen_it horizon "cd $HORIZON_DIR && sudo tail -f /var/log/apache2/error.log"
|
||||||
screen_it n-xvnc "cd $NOVA_DIR && ./bin/nova-xvpvncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF"
|
|
||||||
fi
|
|
||||||
if is_service_enabled n-cauth; then
|
|
||||||
screen_it n-cauth "cd $NOVA_DIR && ./bin/nova-consoleauth"
|
|
||||||
fi
|
|
||||||
if is_service_enabled horizon; then
|
|
||||||
screen_it horizon "cd $HORIZON_DIR && sudo tail -f /var/log/apache2/error.log"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install Images
|
# Install Images
|
||||||
# ==============
|
# ==============
|
||||||
|
Loading…
Reference in New Issue
Block a user