Project

General

Profile

Actions

communication #59918

closed

Salt automation: auto-deploy and monitoring

Added by mcaj about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Configuration management (CM)
Target version:
-
Start date:
2019-11-17
Due date:
% Done:

100%

Estimated time:

Description

Our general Salt goals are

  • all core services to be in salt
  • automating our automation
  • better monitoring/reporting

This time we will focus on auto-deploy and Monitoring
The following solutions were proposed :

trigger the state.apply via the CI and send the output on monitoring

The auto-deploy via the CI can be done in the similar way as we are using for openqa.
Oliver Kurz offer us help in this are.
Marin Caj and Ricardo Klein will investigate monitoring options for salt so
we store changes and status in Monitoring tool.

Actions #1

Updated by okurz about 5 years ago

https://gitlab.suse.de/openqa/salt-states-openqa/blob/master/.gitlab-ci.yml has the important pieces that we use already. I can propose something for a salt repo on gitlab.i.o.o

Actions #2

Updated by cboltz about 5 years ago

  • Private changed from Yes to No

I can't access gitlab.suse.de, therefore I'm looking forward to your MR to gitlab.infra.o.o ;-)

A little warning: Some servers have a "salt timebomb" (aka manually edited config files which are not synced back to salt), therefore please send out a warning before actually enabling this everywhere. IIRC this affects anna/elsa, daffy* (see the open MRs for keepalived) and mirrordb* (postgresql config files). This shouldn't stop us from auto-deploying changes in salt, but obviously we need to get these servers re-salted before ;-)

Actions #3

Updated by cboltz about 5 years ago

Update on the "salt timebombs" mentioned in my previous comment:

As soon as MR 302 gets accepted, the known (to me) salt timebombs are gone, and we can apply a highstate everywhere again.

Actions #4

Updated by lrupp almost 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Hi there - and a Happy and Healthy 2022!

I'm currently closing old tickets which did not see much change.
If the main concern still exists and should be handled, please re-open by just replying to this Email.

Thanks in advance,
Lars

Actions

Also available in: Atom PDF