Browse code

Set the port of S3_URL to 8080 with swift3 enabled

Fixes: bug #1171608
The value of the port defaults to 3333 which is the
default for nova-objectstore.

Change-Id: If87df6a765bcfc4d467628411dceec72d5af412e

rahmu authored on 2013/04/24 17:40:07
Showing 1 changed files
... ...
@@ -589,8 +589,10 @@ if is_service_enabled s-proxy; then
589 589
     install_swift
590 590
     configure_swift
591 591
 
592
+    # swift3 middleware to provide S3 emulation to Swift
592 593
     if is_service_enabled swift3; then
593
-        # swift3 middleware to provide S3 emulation to Swift
594
+        # replace the nova-objectstore port by the swift port
595
+        S3_SERVICE_PORT=8080
594 596
         git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
595 597
         setup_develop $SWIFT3_DIR
596 598
     fi