Remove ensure logs check in upgrade scripts
This commit removes the ensure_logs_exist call in all the upgrade scripts. This function currently only works in a non-systemd world. Now that all the logs go in the journal we can't check for separate log files anymore. In the future we'll modifiy the function to handle systemd and the journal properly, but for right now this is to unblock things. Change-Id: Iedf824a1772115e0dff287a898636f8e58471269
This commit is contained in:
@@ -77,7 +77,6 @@ start_swift
|
||||
|
||||
# Don't succeed unless the services come up
|
||||
ensure_services_started swift-object-server swift-proxy-server
|
||||
ensure_logs_exist s-proxy
|
||||
|
||||
|
||||
set +o xtrace
|
||||
|
||||
@@ -63,7 +63,6 @@ start_glance
|
||||
|
||||
# Don't succeed unless the services come up
|
||||
ensure_services_started glance-api
|
||||
ensure_logs_exist g-api g-reg
|
||||
|
||||
set +o xtrace
|
||||
echo "*********************************************************************"
|
||||
|
||||
@@ -142,7 +142,6 @@ start_neutron_agents
|
||||
|
||||
# Don't succeed unless the services come up
|
||||
# TODO: service names ensure_services_started
|
||||
ensure_logs_exist q-svc
|
||||
|
||||
set +o xtrace
|
||||
echo "*********************************************************************"
|
||||
|
||||
@@ -133,7 +133,6 @@ if ! is_service_enabled ironic; then
|
||||
expected_runnning_services+=' nova-compute'
|
||||
fi
|
||||
ensure_services_started $expected_runnning_services
|
||||
ensure_logs_exist n-api n-cond n-cpu
|
||||
|
||||
if [[ "$FORCE_ONLINE_MIGRATIONS" == "True" ]]; then
|
||||
# Run "online" migrations after we've got all the services running
|
||||
|
||||
@@ -63,10 +63,8 @@ start_cinder
|
||||
|
||||
# Don't succeed unless the services come up
|
||||
ensure_services_started cinder-api
|
||||
ensure_logs_exist c-api
|
||||
if is_service_enabled c-vol; then
|
||||
ensure_services_started cinder-volume
|
||||
ensure_logs_exist c-vol
|
||||
fi
|
||||
|
||||
set +o xtrace
|
||||
|
||||
Reference in New Issue
Block a user