Skip to content

Container-based Proxy #4526

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

Merged
merged 90 commits into from
Mar 11, 2022
Merged

Container-based Proxy #4526

merged 90 commits into from
Mar 11, 2022

Conversation

ncounter
Copy link
Contributor

@ncounter ncounter commented Dec 1, 2021

What does this PR change?

Proxy as a containerized application

Based on the RFC design , this PR contains the implementation of the Proxy as a containerized application.

Containers are designed to be 4:

  • squid
  • salt-broker
  • httpd and Proxy-specific Python WSGI applications
  • tftpd

An additional container not planned in the initial RFC, but added to the picture to let bootstrapping client works:

  • sshd

Everything related to containers can be found under /containers path of this project, like the branch this PR is based on

GUI diff

No difference.

Before:

After:

  • DONE

Documentation

Test coverage

  • No tests: add explanation

  • No tests: already covered

  • Unit tests were added

  • Cucumber tests were added

  • DONE

Links

Fixes #
Tracks # add downstream PR, if any

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Re-run a test

If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:

  • Re-run test "changelog_test"
  • Re-run test "backend_unittests_pgsql"
  • Re-run test "java_pgsql_tests"
  • Re-run test "schema_migration_test_oracle"
  • Re-run test "schema_migration_test_pgsql"
  • Re-run test "susemanager_unittests"
  • Re-run test "javascript_lint"
  • Re-run test "spacecmd_unittests"

@github-actions github-actions bot added the proxy label Dec 1, 2021
@moio moio mentioned this pull request Dec 16, 2021
13 tasks
@moio moio changed the title Container proxy Container-based Proxy Dec 16, 2021
cbosdo and others added 25 commits March 11, 2022 15:49
Allow running the ssh_keygen without a path parameter to generate keys
and get them directly as a result.
Calt the Salt runner to ensure Salt certificates are valid.
In order to help setting up new containerized proxies, add a call
loading certificate files and providing the needed parameters and
dumping the configuration file.
Building container images for OBS is just copying the container folder
in SRPMS. the push-packages-toobs.sh works with the container images
without a single change.
Copy link
Contributor

@ktsamis ktsamis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me to merge, we talked and it should not cause any more turbulence in the testsuites than we have now. We will see Monday if that's true or not

@juliogonzalez juliogonzalez merged commit 9954f40 into master Mar 11, 2022
@juliogonzalez juliogonzalez deleted the container-proxy branch March 11, 2022 15:43
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.

7 participants