Browse code

Remove Nova object store service

As of I8bf7cbaa7015bb61656ab90ccc8f944aaeebb095, Nova
removed the n-obj service, so we should cleanup

Change-Id: I7db3796a6448decb4ac5e66d980f487c7d1f394e

Davanum Srinivas authored on 2016/01/12 12:10:43
Showing 4 changed files
... ...
@@ -46,7 +46,7 @@ Edit your ``local.conf`` to look like
46 46
     # Horizon
47 47
     ENABLED_SERVICES+=,horizon
48 48
     # Nova
49
-    ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch
49
+    ENABLED_SERVICES+=,n-api,n-crt,n-cpu,n-cond,n-sch
50 50
     # Glance
51 51
     ENABLED_SERVICES+=,g-api,g-reg
52 52
     # Neutron
... ...
@@ -20,7 +20,7 @@ ENABLED\_SERVICES
20 20
 
21 21
     ::
22 22
 
23
-        ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,c-sch,c-api,c-vol,n-sch,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPE
23
+        ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-cpu,n-net,n-cond,c-sch,c-api,c-vol,n-sch,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPE
24 24
 
25 25
     Other services that are not enabled by default can be enabled in
26 26
     ``localrc``. For example, to add Swift, use the following service
... ...
@@ -450,7 +450,7 @@ function create_nova_accounts {
450 450
     fi
451 451
 
452 452
     # S3
453
-    if is_service_enabled n-obj swift3; then
453
+    if is_service_enabled swift3; then
454 454
         if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
455 455
 
456 456
             get_or_create_service "s3" "s3" "S3"
... ...
@@ -869,11 +869,6 @@ function start_nova_rest {
869 869
     run_process n-cauth "$NOVA_BIN_DIR/nova-consoleauth --config-file $api_cell_conf"
870 870
     run_process n-sproxy "$NOVA_BIN_DIR/nova-serialproxy --config-file $api_cell_conf"
871 871
 
872
-    # Starting the nova-objectstore only if swift3 service is not enabled.
873
-    # Swift will act as s3 objectstore.
874
-    is_service_enabled swift3 || \
875
-        run_process n-obj "$NOVA_BIN_DIR/nova-objectstore --config-file $api_cell_conf"
876
-
877 872
     export PATH=$old_path
878 873
 }
879 874
 
... ...
@@ -907,7 +902,7 @@ function stop_nova_rest {
907 907
     # Kill the nova screen windows
908 908
     # Some services are listed here twice since more than one instance
909 909
     # of a service may be running in certain configs.
910
-    for serv in n-api n-crt n-net n-sch n-novnc n-xvnc n-cauth n-spice n-cond n-cell n-cell n-api-meta n-obj n-sproxy; do
910
+    for serv in n-api n-crt n-net n-sch n-novnc n-xvnc n-cauth n-spice n-cond n-cell n-cell n-api-meta n-sproxy; do
911 911
         stop_process $serv
912 912
     done
913 913
 }
... ...
@@ -86,10 +86,9 @@ LOGDAYS=2
86 86
 # Swift
87 87
 # -----
88 88
 
89
-# Swift is now used as the back-end for the S3-like object store. If Nova's
90
-# objectstore (``n-obj`` in ``ENABLED_SERVICES``) is enabled, it will NOT
91
-# run if Swift is enabled. Setting the hash value is required and you will
92
-# be prompted for it if Swift is enabled so just set it to something already:
89
+# Swift is now used as the back-end for the S3-like object store. Setting the
90
+# hash value is required and you will be prompted for it if Swift is enabled
91
+# so just set it to something already:
93 92
 SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
94 93
 
95 94
 # For development purposes the default of 3 replicas is usually not required.