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

[database-chassis] Fix how database-chassis starts #6099

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

Staphylo
Copy link
Collaborator

@Staphylo Staphylo commented Dec 2, 2020

- Why I did it

The database-chassis service crash when the platform boots due to missing waits.
The /usr/bin/database.sh script tries to operate on a missing socket and fails.
It eventually ends up working though it needs fixing.

- How I did it

We now wait for the chassis database to be ready the same way we do database.

- How to verify it

During boot the database-chassis is not reported as failed by systemctl list-units

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

Fix how database-chassis starts

The service crash when the platform boots due to missing waits.
/usr/bin/database.sh tries to operate on a missing socket and fails.
We now wait for the chassis database to be ready the same way we do database.
@Staphylo
Copy link
Collaborator Author

Staphylo commented Dec 2, 2020

retest vsimage please

2 similar comments
@Staphylo
Copy link
Collaborator Author

Staphylo commented Dec 3, 2020

retest vsimage please

@Staphylo
Copy link
Collaborator Author

Staphylo commented Dec 3, 2020

retest vsimage please

@lguohan lguohan merged commit 8576911 into sonic-net:master Dec 4, 2020
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
The service crash when the platform boots due to missing waits.
/usr/bin/database.sh tries to operate on a missing socket and fails.
We now wait for the chassis database to be ready the same way we do database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants