Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Conversation

Bacon-Unlimited
Copy link

No description provided.

@Bacon-Unlimited Bacon-Unlimited requested a review from a team as a code owner August 12, 2021 18:10
@welcome
Copy link

welcome bot commented Aug 12, 2021

Hello! Thank you for submitting a Salt Enhancement Proposal! Our process is detailed in the README.md and more about the SEP Life-cycle. An Open Core Team member will be assigned to follow up and help guide this SEP soon and you will find the this in the Community Slack channel #sep.
Please be sure to review our Code of Conduct.
You can also check out some of our community
resources:
- Community Wiki
- Salt’s Contributor Guide
- Join our Community Slack
- IRC on LiberaChat
- SaltStack YouTube channel
- SaltStackInc Twitch channel

@Bacon-Unlimited Bacon-Unlimited requested review from dwoz and removed request for a team August 12, 2021 18:10
@OrangeDog
Copy link

I assumed this was only implemented on Windows because it doesn't have the standardised logrotate system that the other supported platforms have.

@Bacon-Unlimited
Copy link
Author

Bacon-Unlimited commented Aug 17, 2021 via email

@sagetherage sagetherage added the Draft Initial Status label Aug 19, 2021
@waynew waynew changed the title sep for standardizing log rotate settings in minion configs SEP 35: sep for standardizing log rotate settings in minion configs Aug 20, 2021
@Bacon-Unlimited
Copy link
Author

Bacon-Unlimited commented Sep 16, 2021

When adding the two config items to an Ubuntu salt-minion it created this error every second

(typed by hand... please forgive or inquire about mispellings

[salt.minion    :2879][CRITICAL][1013136] The beacon errored:
Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/salt/minion.py", line 2877, in handle_beacons
        beacons = self.process_beacons(self.functions)
    File "/usr/lib/python3/dist-packages/salt/minion.py", line 515, in process_beacons
        return self.beacons.process(
    File "/usr/lib/python3/dist-packages/salt/beacons/__init__.py", line 75, in process
        b_config[mod].append({"_beacon_name": mod})
AttributeError: 'dict' object has no attribute 'append'

image

Removal of the two log rotate minion config settings, and restarting the salt-minion service, stopped the error from being reported to the salt minion log file.

waynew
waynew previously requested changes Oct 21, 2021
@waynew
Copy link
Contributor

waynew commented Jan 5, 2022

Apologies for the long hiatus, we're working to refocus on getting SEPs through the process.


To summarize the current state:

There are a few requested changes that need to be made, there was some question/discussion around if this was due to the lack of logrotate on Windows (yes), and that if Salt handles/enables the settings that would keep the cross-platform consistency.

No objections have been raised. Requested changes should be made before this moves into final comment period.

@waynew waynew dismissed their stale review February 15, 2022 15:54

changes made

@waynew
Copy link
Contributor

waynew commented Feb 15, 2022

Thanks for making those changes! This PR is now in Final Comment period

@waynew waynew added the Final Comment Period Speak now or forever hold your peace. label Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Draft Initial Status Final Comment Period Speak now or forever hold your peace.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants