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

Add 10.5 #145

Merged
merged 12 commits into from
May 18, 2021
Merged

Add 10.5 #145

merged 12 commits into from
May 18, 2021

Conversation

hhorak
Copy link
Member

@hhorak hhorak commented Jan 8, 2021

This uses a new feature of "devel repos" as more described in sclorg/container-common-scripts#186. Therefore, that PR should be merged before this one.

Except adding sources for 10.5 version, these are other changes done to make the 10.5 working:

  1. From some unknown reason, listing the DBs to be replicated made the user permissions not being replicated on 10.5
    It seems that filtering on mysql name was not supposed to be working anyway according to https://jira.mariadb.org/browse/MDEV-5704
    And there were some changes done in 10.4 that might be related: https://jira.mariadb.org/browse/MDEV-17658
    Anyway, there is probably no reason to limit the databases replicated by default.

  2. Using --auth-root-authentication-method=normal when initiating DB, which changed the default value since 10.5 and because we don't use root account inside the container, we cannot use the new functionality that depends on being a superuser after initialization of the datadir.

Templates not updated because RPMs are not yet available, the new version is also not list in the main README.md yet.

@hhorak
Copy link
Member Author

hhorak commented Jan 8, 2021

[test]

2 similar comments
@hhorak
Copy link
Member Author

hhorak commented Jan 8, 2021

[test]

@hhorak
Copy link
Member Author

hhorak commented Jan 8, 2021

[test]

@hhorak
Copy link
Member Author

hhorak commented Jan 11, 2021

The Fedora failure is very interesting, leads to https://bugzilla.redhat.com/show_bug.cgi?id=1914984 that is a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1908281.

@hhorak
Copy link
Member Author

hhorak commented Jan 12, 2021

Addresses #112.

@hhorak
Copy link
Member Author

hhorak commented Jan 13, 2021

[test]

1 similar comment
@phracek
Copy link
Member

phracek commented Mar 9, 2021

[test]

@phracek phracek self-requested a review March 9, 2021 09:51
@phracek
Copy link
Member

phracek commented Mar 9, 2021

@hhorak Thanks for the PR and driving it! Can you please update also image streams for CentOS7 at least?

10.5/cccp.yml Outdated
@@ -0,0 +1 @@
job-id: mariadb-103-centos7
Copy link
Member

Choose a reason for hiding this comment

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

I guess, it should be mariadb-105-centos7, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, fixing.

@phracek
Copy link
Member

phracek commented Mar 9, 2021

I guess devel-repos should be mentioned in version 10.5. Version 10.3 is already out and fully supported.

@phracek
Copy link
Member

phracek commented Mar 9, 2021

If it is feasible now, please update also main README.md file with build reference to quay.io repository which already exists https://quay.io/repository/centos7/mariadb-105-centos7/status

Most important is using --auth-root-authentication-method=normal which
changed the default value since 10.5 and while we don't use root acount
inside the container, we cannot use the new functionality that depends
on being a superuser after initialization of the datadir.

The replication test changes check of whether the slave has data from
the master.
From some unknown reason this makes the user permissions not being replicated on 10.5 and further.

It seems that filtering on mysql name was not supposed to be working anyway according to
https://jira.mariadb.org/browse/MDEV-5704

And there were some changes done in 10.4 that might be related:
https://jira.mariadb.org/browse/MDEV-17658

Anyway, there is probably no reason to limit the databases replicated by default.
@hhorak
Copy link
Member Author

hhorak commented Apr 27, 2021

Rebased, let's try tests again.

@hhorak
Copy link
Member Author

hhorak commented Apr 27, 2021

[test]

@phracek
Copy link
Member

phracek commented Apr 30, 2021

Let's restart tests because of sclorg/rhscl-container-ci#76

[test]

@phracek
Copy link
Member

phracek commented May 3, 2021

@hhorak Tests are passing, but there are some issues that should be solved, I guess. Please take a look on my comments. Thanks.

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

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

There are some minor issues that should be solved. Please look at them.

@hhorak
Copy link
Member Author

hhorak commented May 5, 2021

I guess devel-repos should be mentioned in version 10.5. Version 10.3 is already out and fully supported.

Right, makes sense.

If it is feasible now, please update also main README.md file with build reference to quay.io repository which already exists https://quay.io/repository/centos7/mariadb-105-centos7/status

Cool, will add it there.

@hhorak
Copy link
Member Author

hhorak commented May 5, 2021

[test]

@hhorak
Copy link
Member Author

hhorak commented May 5, 2021

I've created a separate PR for updating imagestreams, as we likely should merge those only after the images are released:
#150

@hhorak
Copy link
Member Author

hhorak commented May 5, 2021

@phracek Thanks for the review and suggestions. I think all of them should be addressed, with imagestream update PR prepared in #150.

@phracek
Copy link
Member

phracek commented May 18, 2021

LGTM. Thanks for updating issues.

@hhorak
Copy link
Member Author

hhorak commented May 18, 2021

Merging... Tadaaaaaaaa

@hhorak hhorak merged commit 2704350 into sclorg:master May 18, 2021
@pkubatrh
Copy link
Member

@hhorak I see this PR added Dockerfile.tmp - is this file just an oversight, or is it actually used for something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants