-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
telemetry process can not start if SONiC is installed from ONIE in 202012 #12499
Comments
If there was no telemetry/ folder under /etc/sonic/ it means that image was not deployed after installation and certificates were not generated (probably missed configuration steps)) If there are no certificates, image behavior will be the following:
If telemetry/ folder exists, there is no problem at all. |
Hello @vaibhavhd |
There has been an improvement to migrating telemetry (and other tables): sonic-net/sonic-utilities#2887 As part of the improvement, tables and their data is not hardcoded in db_migrator. Instead, migrator calls minigraph parser which uses minigraph.xml. Let me know if this answers your concerns. |
@stephenxs, according to above comments it is expected behavior, could you please check and help to close the ticket if you agree? |
Yes, I think the issue can be closed with the solution. |
Description
Steps to reproduce the issue:
Describe the results you received:
The telemetry process does not start due to the following error
Describe the results you expected:
The telemetry should start without error
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
It is relevant to PR sonic-net/sonic-utilities#2277 in which the entry
TELEMETRY|certs
is forcibly inserted intoCONFIG_DB
in db_migrator which is also invoked during configuration initialization. But the certifications won't be generated automatically. As a result, the telemetry process won't start.Just want to double-check whether it is the expected behavior
The text was updated successfully, but these errors were encountered: