Skip to content

[logrotate]Fix logrotate firstaction script to reflect correct size - #12599

Merged
liat-grozovik merged 1 commit into
sonic-net:masterfrom
dgsudharsan:logrotate_ix
Nov 8, 2022
Merged

[logrotate]Fix logrotate firstaction script to reflect correct size#12599
liat-grozovik merged 1 commit into
sonic-net:masterfrom
dgsudharsan:logrotate_ix

Conversation

@dgsudharsan

@dgsudharsan dgsudharsan commented Nov 3, 2022

Copy link
Copy Markdown
Collaborator

Why I did it

Fix logrotate firstaction script to reflect correct size. The size was modified to change dynamically based on disk size. However this variable was not updated
#9504

How I did it

Updated the variable based on disk size

How to verify it

Verify in the generated rsyslog file if the variable is correctly generated from jinja template

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

@dgsudharsan

Copy link
Copy Markdown
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld

Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik
liat-grozovik merged commit e6a0fba into sonic-net:master Nov 8, 2022
yxieca pushed a commit that referenced this pull request Nov 10, 2022
…12599)

- Why I did it
Fix logrotate firstaction script to reflect correct size. The size was modified to change dynamically based on disk size. However this variable was not updated
#9504

- How I did it
Updated the variable based on disk size

- How to verify it
Verify in the generated rsyslog file if the variable is correctly generated from jinja template
@dgsudharsan
dgsudharsan deleted the logrotate_ix branch March 9, 2023 01:51
xdqi pushed a commit to canonical/sonic-buildimage that referenced this pull request Jul 6, 2026
…onic-net#12599)

- Why I did it
Fix logrotate firstaction script to reflect correct size. The size was modified to change dynamically based on disk size. However this variable was not updated
sonic-net#9504

- How I did it
Updated the variable based on disk size

- How to verify it
Verify in the generated rsyslog file if the variable is correctly generated from jinja template
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.

5 participants