Skip to content

Commit e347b99

Browse files
committed
Don't enabled nova-objectstore if swift is enabled
- Fixes bug 957178. Change-Id: Ieb2840344bf8c0d9a1da50925f5ca0649d9dad21
1 parent 12eebc1 commit e347b99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stack.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,6 @@ fi
16141614
# We don't check for is_service_enable as screen_it does it for us
16151615
screen_it n-cpu "cd $NOVA_DIR && sg libvirtd $NOVA_DIR/bin/nova-compute"
16161616
screen_it n-crt "cd $NOVA_DIR && $NOVA_DIR/bin/nova-cert"
1617-
screen_it n-obj "cd $NOVA_DIR && $NOVA_DIR/bin/nova-objectstore"
16181617
screen_it n-vol "cd $NOVA_DIR && $NOVA_DIR/bin/nova-volume"
16191618
screen_it n-net "cd $NOVA_DIR && $NOVA_DIR/bin/nova-network"
16201619
screen_it n-sch "cd $NOVA_DIR && $NOVA_DIR/bin/nova-scheduler"
@@ -1624,6 +1623,10 @@ screen_it n-cauth "cd $NOVA_DIR && ./bin/nova-consoleauth"
16241623
screen_it horizon "cd $HORIZON_DIR && sudo tail -f /var/log/apache2/error.log"
16251624
screen_it swift "cd $SWIFT_DIR && $SWIFT_DIR/bin/swift-proxy-server ${SWIFT_CONFIG_LOCATION}/proxy-server.conf -v"
16261625

1626+
# Starting the nova-objectstore only if swift service is not enabled.
1627+
# Swift will act as s3 objectstore.
1628+
is_service_enabled swift || \
1629+
screen_it n-obj "cd $NOVA_DIR && $NOVA_DIR/bin/nova-objectstore"
16271630

16281631
# Install Images
16291632
# ==============

0 commit comments

Comments
 (0)