Skip to content

add config-setup.service as dependency for pcie-check.service #7599

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

Merged
merged 1 commit into from
May 18, 2021

Conversation

sujinmkang
Copy link
Collaborator

@sujinmkang sujinmkang commented May 13, 2021

Why I did it

start pcie-check.service after config-setup.service since pcie_util depends on device_info which is available with config db metadata.

How I did it

Add config-setup.service as a dependency of pcie-check.service

How to verify it

Upon reboot, check if the pcie-check.sh throws the platform api error which is dependent on DEVICE_METADATA

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

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@sujinmkang sujinmkang requested a review from lguohan as a code owner May 13, 2021 00:30
@sujinmkang sujinmkang requested a review from jleveque May 17, 2021 07:17
@jleveque
Copy link
Contributor

@sujinmkang: In the "Why I did it" section, can you please state the reason why the dependency is needed?

@sujinmkang sujinmkang merged commit c646257 into sonic-net:master May 18, 2021
@shlomibitton
Copy link
Contributor

@jleveque can you please cherry-pick this change to 202012 also?

qiluo-msft pushed a commit that referenced this pull request May 19, 2021
Why I did it
start pcie-check.service after config-setup.service since pcie_util depends on device_info which is available with config db metadata.

How I did it
Add config-setup.service as a dependency of pcie-check.service

How to verify it
Upon reboot, check if the pcie-check.sh throws the platform api error which is dependent on DEVICE_METADATA
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…net#7599)

Why I did it
start pcie-check.service after config-setup.service since pcie_util depends on device_info which is available with config db metadata.

How I did it
Add config-setup.service as a dependency of pcie-check.service

How to verify it
Upon reboot, check if the pcie-check.sh throws the platform api error which is dependent on DEVICE_METADATA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants