Skip to content

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

Merged
lguohan merged 1 commit intosonic-net:masterfrom
Staphylo:master-chassis-db-startup
Dec 4, 2020
Merged

[database-chassis] Fix how database-chassis starts#6099
lguohan merged 1 commit intosonic-net:masterfrom
Staphylo:master-chassis-db-startup

Conversation

@Staphylo
Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

Staphylo commented Dec 2, 2020

retest vsimage please

2 similar comments
@Staphylo
Copy link
Copy Markdown
Collaborator Author

Staphylo commented Dec 3, 2020

retest vsimage please

@Staphylo
Copy link
Copy Markdown
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