Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[warm boot finalizer] only wait for enabled components to reconcile #6454

Merged
merged 7 commits into from
Jan 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unintended functin rename
yxieca committed Jan 14, 2021

Unverified

This user has not yet uploaded their public signing key.
commit 708bec286e0286b0868751fb596f2ba77dcba4ee
6 changes: 3 additions & 3 deletions files/image_config/warmboot-finalizer/finalize-warmboot.sh
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ function debug()
}


function filter_component_list()
function set_component_list()
{
CP_LIST=${!RECONCILE_COMPONENTS[@]}
COMPONENT_LIST=""
@@ -66,7 +66,7 @@ function wait_for_database_service()
}


function get_component_state()
function set_component_state()
{
sonic-db-cli STATE_DB hget "WARM_RESTART_TABLE|$1" state
}
@@ -126,7 +126,7 @@ fi

restore_counters_folder

filter_component_list
get_component_list

debug "Waiting for components: '${COMPONENT_LIST}' to reconcile ..."