Skip to content

[hostcfgd] Fix the delay type to 'boot' delay instead of a unit activation delay#8895

Merged
renukamanavalan merged 1 commit intosonic-net:masterfrom
shlomibitton:shlomi_hostcfgd_delay_master
Oct 20, 2021
Merged

[hostcfgd] Fix the delay type to 'boot' delay instead of a unit activation delay#8895
renukamanavalan merged 1 commit intosonic-net:masterfrom
shlomibitton:shlomi_hostcfgd_delay_master

Conversation

@shlomibitton
Copy link
Copy Markdown
Contributor

Signed-off-by: Shlomi Bitton [email protected]

Why I did it

With current code the delay will take place even if simple 'config reload' command executed and this is not desired.
This delay should be used only when fast-rebooting.

How I did it

Change the type of delay to OnBootSec instead of OnActiveSec.

How to verify it

Fast-reboot with this PR and observe the delay.
Run 'config-reload' command and observe no delay is running.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@shlomibitton
Copy link
Copy Markdown
Contributor Author

@dgsudharsan can you please review?

@shlomibitton
Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@shlomibitton
Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@shlomibitton
Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dgsudharsan
Copy link
Copy Markdown
Collaborator

@lguohan Can you please review and signoff?

@shlomibitton
Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@shlomibitton
Copy link
Copy Markdown
Contributor Author

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@renukamanavalan renukamanavalan merged commit 60e424e into sonic-net:master Oct 20, 2021
judyjoseph pushed a commit that referenced this pull request Oct 21, 2021
Why I did it
With current code the delay will take place even if simple 'config reload' command executed and this is not desired.
This delay should be used only when fast-rebooting.

How I did it
Change the type of delay to OnBootSec instead of OnActiveSec.

How to verify it
Fast-reboot with this PR and observe the delay.
Run 'config-reload' command and observe no delay is running.
@shlomibitton shlomibitton deleted the shlomi_hostcfgd_delay_master branch March 15, 2022 09:59
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.

6 participants