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

setup postfix hostname using conf file #7411

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

mbussolotto
Copy link
Member

@mbussolotto mbussolotto commented Aug 11, 2023

What does this PR change?

setup postfix hostname using conf file. REALHOSTNAME can be removed, since HOSTNAME is already set using hostname -f or UYUNI_FQDN. After that we can configure postfix using:

postconf -e myhostname=$HOSTNAME

GUI diff

No difference.

  • DONE

Documentation

Test coverage

  • No tests: add explanation

  • No tests: already covered

  • Unit tests were added

  • Cucumber tests were added

  • DONE

Links

related #uyuni-project/uyuni-tools#22

  • 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_pgsql"
  • Re-run test "susemanager_unittests"
  • Re-run test "javascript_lint"
  • Re-run test "spacecmd_unittests"

@mbussolotto mbussolotto marked this pull request as draft August 11, 2023 13:37
@mbussolotto mbussolotto marked this pull request as ready for review August 11, 2023 13:38
@mbussolotto mbussolotto marked this pull request as draft August 11, 2023 13:39
@mbussolotto
Copy link
Member Author

not tested yet

@mbussolotto mbussolotto marked this pull request as ready for review August 22, 2023 07:01
@mbussolotto
Copy link
Member Author

@cbosdo I'm waiting for a fix in the acceptance tests, but in the meanwhile you can have a look :)

@mbussolotto mbussolotto marked this pull request as draft August 22, 2023 07:50
@mbussolotto mbussolotto removed the request for review from cbosdo August 22, 2023 07:50
@mbussolotto
Copy link
Member Author

it seems it breaks unit tests, having a look on it

Copy link
Contributor

@cbosdo cbosdo left a comment

Choose a reason for hiding this comment

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

Postfix config needs to be persisted in the containers

susemanager/bin/mgr-setup Show resolved Hide resolved
@mbussolotto mbussolotto changed the base branch from server-container to master August 22, 2023 09:02
@mbussolotto mbussolotto marked this pull request as ready for review August 22, 2023 09:05
@mbussolotto mbussolotto requested review from a team as code owners August 22, 2023 09:09
@mbussolotto mbussolotto requested review from wweellddeerr and vzhestkov and removed request for a team August 22, 2023 09:09
@mbussolotto mbussolotto changed the base branch from master to server-container August 22, 2023 09:09
@github-actions
Copy link
Contributor

Suggested tests to cover this Pull Request
  • buildhost_osimage_build_image
  • buildhost_docker_build_image
  • srv_menu
  • buildhost_docker_auth_registry
  • srv_virtual_host_manager

@mbussolotto
Copy link
Member Author

@cbosdo it looks like susemanger_unittests are broken for server-container branch. I cherry-picked the commit in master and they worked fine. I verified the issue with this PR #7447

@mbussolotto
Copy link
Member Author

changes for uyuni-tools here uyuni-project/uyuni-tools#22

Copy link
Contributor

@cbosdo cbosdo left a comment

Choose a reason for hiding this comment

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

Please drop the unneeded files or at least the changes in them before merging.

containers/doc/server-kubernetes/pvs.yaml Outdated Show resolved Hide resolved
containers/doc/server-kubernetes/migration-job.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@cbosdo cbosdo left a comment

Choose a reason for hiding this comment

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

LGTM now

@mbussolotto mbussolotto merged commit 7257a7e into uyuni-project:server-container Aug 23, 2023
2 checks passed
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.

2 participants