Skip to content
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

Check smart-restart on dev and install it on all servers #3839

Open
alinvetian opened this issue Dec 19, 2024 · 3 comments
Open

Check smart-restart on dev and install it on all servers #3839

alinvetian opened this issue Dec 19, 2024 · 3 comments
Assignees

Comments

@alinvetian
Copy link
Contributor

Following: #3331

Check smart-restart behavior on dev servers and if all is OK install it on all stage and production machines

@alinvetian alinvetian self-assigned this Dec 19, 2024
@alinvetian alinvetian converted this from a draft issue Dec 19, 2024
@ahamelers
Copy link
Collaborator

ahamelers commented Jan 7, 2025

I usually deregister an instance from the load balancer target group before restarting, so people who may be using it aren't disrupted. Does smart-restart do this, or would we have to be careful to deregister from the load balancer before doing any dnf upgrade?

@ahamelers
Copy link
Collaborator

I just did a dnf upgrade and on dev, this happened right at the end. The instance did not automatically restart.

post-transaction-actions: ls: cannot access '/etc/smart-restart-conf.d/*pre-restart': No such file or directory
ls: cannot access '/etc/smart-restart-conf.d/*post-restart': No such file or directory
Failed to read PID 3039547's smaps.
Failed to read PID 3039548's smaps.

@alinvetian
Copy link
Contributor Author

I created 2 files that echo some messages on the config folder, one for *-pre-restart and on for *-post-restart
These files should not be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants