Project Description

Saline is an addition for salt used in SUSE Manager/Uyuni aimed to provide better control and visibility for states deploymend in the large scale environments.

In current state the published version can be used only as a Prometheus exporter and missing some of the key features implemented in PoC (not published). Now it can provide metrics related to salt events and state apply process on the minions. But there is no control on this process implemented yet.

Continue with implementation of the missing features and improve the existing implementation:

  • authentication (need to decide how it should be/or not related to salt auth)

  • web service providing the control of states deployment

Goal for this Hackweek

  • Implement missing key features

  • Implement the tool for state deployment control with CLI

Resources

https://github.com/openSUSE/saline

Looking for hackers with the skills:

susemanager uyuni salt python automation monitoring

This project is part of:

Hack Week 23 Hack Week 24

Activity

  • 11 months ago: PSuarezHernandez liked this project.
  • 11 months ago: j_renner liked this project.
  • 12 months ago: deneb_alpha liked this project.
  • 12 months ago: jmodak liked this project.
  • almost 2 years ago: oscar-barrios liked this project.
  • almost 2 years ago: ygutierrez liked this project.
  • almost 2 years ago: dgedon liked this project.
  • almost 2 years ago: e_bischoff liked this project.
  • almost 2 years ago: vizhestkov added keyword "automation" to this project.
  • almost 2 years ago: vizhestkov added keyword "monitoring" to this project.
  • almost 2 years ago: vizhestkov added keyword "susemanager" to this project.
  • almost 2 years ago: vizhestkov added keyword "uyuni" to this project.
  • almost 2 years ago: vizhestkov added keyword "salt" to this project.
  • almost 2 years ago: vizhestkov added keyword "python" to this project.
  • almost 2 years ago: juliogonzalezgil liked this project.
  • almost 2 years ago: RDiasMateus liked this project.
  • almost 2 years ago: vizhestkov started this project.
  • almost 2 years ago: vizhestkov originated this project.

  • Comments

    • vizhestkov
      11 months ago by vizhestkov | Reply

      There was a significant progress with it during the Hack Week 24, but there are still the features to implement and after the conversation with Ricardo Mateus I want to extend the scope of the tool even more.

      I left the changes made during the Hack Week 24 in the separate branch for a while, will merge some of them to openSUSE/saline soon, and continue working on the core features in my spare time.

      https://github.com/vzhestkov/saline/tree/hackweek24

    Similar Projects

    Move Uyuni Test Framework from Selenium to Playwright + AI by oscar-barrios

    Description

    This project aims to migrate the existing Uyuni Test Framework from Selenium to Playwright. The move will improve the stability, speed, and maintainability of our end-to-end tests by leveraging Playwright's modern features. We'll be rewriting the current Selenium code in Ruby to Playwright code in TypeScript, which includes updating the test framework runner, step definitions, and configurations. This is also necessary because we're moving from Cucumber Ruby to CucumberJS.

    If you're still curious about the AI in the title, it was just a way to grab your attention. Thanks for your understanding.


    Goals

    • Migrate Core tests including Onboarding of clients
    • Improve test reliabillity: Measure and confirm a significant reduction of flakynes.
    • Implement a robust framework: Establish a well-structured and reusable Playwright test framework using the CucumberJS

    Resources


    Flaky Tests AI Finder for Uyuni and MLM Test Suites by oscar-barrios

    Description

    Our current Grafana dashboards provide a great overview of test suite health, including a panel for "Top failed tests." However, identifying which of these failures are due to legitimate bugs versus intermittent "flaky tests" is a manual, time-consuming process. These flaky tests erode trust in our test suites and slow down development.

    This project aims to build a simple but powerful Python script that automates flaky test detection. The script will directly query our Prometheus instance for the historical data of each failed test, using the jenkins_build_test_case_failure_age metric. It will then format this data and send it to the Gemini API with a carefully crafted prompt, asking it to identify which tests show a flaky pattern.

    The final output will be a clean JSON list of the most probable flaky tests, which can then be used to populate a new "Top Flaky Tests" panel in our existing Grafana test suite dashboard.

    Goals

    By the end of Hack Week, we aim to have a single, working Python script that:

    1. Connects to Prometheus and executes a query to fetch detailed test failure history.
    2. Processes the raw data into a format suitable for the Gemini API.
    3. Successfully calls the Gemini API with the data and a clear prompt.
    4. Parses the AI's response to extract a simple list of flaky tests.
    5. Saves the list to a JSON file that can be displayed in Grafana.
    6. New panel in our Dashboard listing the Flaky tests

    Resources