Remove Nova object store service
As of I8bf7cbaa7015bb61656ab90ccc8f944aaeebb095, Nova removed the n-obj service, so we should cleanup Change-Id: I7db3796a6448decb4ac5e66d980f487c7d1f394e
This commit is contained in:
parent
2cb3db338a
commit
4a974e61c8
@ -46,7 +46,7 @@ Edit your ``local.conf`` to look like
|
|||||||
# Horizon
|
# Horizon
|
||||||
ENABLED_SERVICES+=,horizon
|
ENABLED_SERVICES+=,horizon
|
||||||
# Nova
|
# Nova
|
||||||
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch
|
ENABLED_SERVICES+=,n-api,n-crt,n-cpu,n-cond,n-sch
|
||||||
# Glance
|
# Glance
|
||||||
ENABLED_SERVICES+=,g-api,g-reg
|
ENABLED_SERVICES+=,g-api,g-reg
|
||||||
# Neutron
|
# Neutron
|
||||||
|
@ -20,7 +20,7 @@ ENABLED\_SERVICES
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
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
|
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
|
||||||
|
|
||||||
Other services that are not enabled by default can be enabled in
|
Other services that are not enabled by default can be enabled in
|
||||||
``localrc``. For example, to add Swift, use the following service
|
``localrc``. For example, to add Swift, use the following service
|
||||||
|
9
lib/nova
9
lib/nova
@ -450,7 +450,7 @@ function create_nova_accounts {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# S3
|
# S3
|
||||||
if is_service_enabled n-obj swift3; then
|
if is_service_enabled swift3; then
|
||||||
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
|
||||||
|
|
||||||
get_or_create_service "s3" "s3" "S3"
|
get_or_create_service "s3" "s3" "S3"
|
||||||
@ -869,11 +869,6 @@ function start_nova_rest {
|
|||||||
run_process n-cauth "$NOVA_BIN_DIR/nova-consoleauth --config-file $api_cell_conf"
|
run_process n-cauth "$NOVA_BIN_DIR/nova-consoleauth --config-file $api_cell_conf"
|
||||||
run_process n-sproxy "$NOVA_BIN_DIR/nova-serialproxy --config-file $api_cell_conf"
|
run_process n-sproxy "$NOVA_BIN_DIR/nova-serialproxy --config-file $api_cell_conf"
|
||||||
|
|
||||||
# Starting the nova-objectstore only if swift3 service is not enabled.
|
|
||||||
# Swift will act as s3 objectstore.
|
|
||||||
is_service_enabled swift3 || \
|
|
||||||
run_process n-obj "$NOVA_BIN_DIR/nova-objectstore --config-file $api_cell_conf"
|
|
||||||
|
|
||||||
export PATH=$old_path
|
export PATH=$old_path
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -907,7 +902,7 @@ function stop_nova_rest {
|
|||||||
# Kill the nova screen windows
|
# Kill the nova screen windows
|
||||||
# Some services are listed here twice since more than one instance
|
# Some services are listed here twice since more than one instance
|
||||||
# of a service may be running in certain configs.
|
# of a service may be running in certain configs.
|
||||||
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
|
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
|
||||||
stop_process $serv
|
stop_process $serv
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -86,10 +86,9 @@ LOGDAYS=2
|
|||||||
# Swift
|
# Swift
|
||||||
# -----
|
# -----
|
||||||
|
|
||||||
# Swift is now used as the back-end for the S3-like object store. If Nova's
|
# Swift is now used as the back-end for the S3-like object store. Setting the
|
||||||
# objectstore (``n-obj`` in ``ENABLED_SERVICES``) is enabled, it will NOT
|
# hash value is required and you will be prompted for it if Swift is enabled
|
||||||
# run if Swift is enabled. Setting the hash value is required and you will
|
# so just set it to something already:
|
||||||
# be prompted for it if Swift is enabled so just set it to something already:
|
|
||||||
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
|
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
|
||||||
|
|
||||||
# For development purposes the default of 3 replicas is usually not required.
|
# For development purposes the default of 3 replicas is usually not required.
|
||||||
|
Loading…
Reference in New Issue
Block a user