Closed
Bug 930692
Opened 11 years ago
Closed 11 years ago
mrepo: add 'mysql56' repo mirrored from Oracle MySQL 5.6 repo
Categories
(Infrastructure & Operations :: Infrastructure: Puppet, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: scabral, Unassigned)
Details
Attachments
(2 files)
5.08 KB,
patch
|
limed
:
review+
scabral
:
feedback+
Atoll
:
checked-in+
|
Details | Diff | Splinter Review |
1.64 KB,
patch
|
limed
:
review+
Atoll
:
checked-in+
|
Details | Diff | Splinter Review |
MySQL now has repos for MySQL 5.6, as announced on October 15th. So we should change around puppet.....
I checked the Oracle yum site but they're still only offering MySQL 5.5 for OL6 (which hopefully is compatible with EL6):
http://public-yum.oracle.com/repo/OracleLinux/OL6/MySQL/x86_64/
:sheeri is following up with her source to find out where the new repository is at, so we can begin mirroring it.
Flags: needinfo?(scabral)
Reporter | ||
Comment 2•11 years ago
|
||
It's been announced! http://insidemysql.com/announcing-new-yum-repositories-for-mysql/
Their repo RPM contains the below entry, which I've converted to puppet syntax in this attachment. If everything looks good, we can try shipping it. Hopefully they permit mirroring :)
$ cat etc/yum.repos.d/mysql-community.repo
[mysql-community]
name=MySQL Community Server
baseurl=http://repo.mysql.com/yum/mysql-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Attachment #824034 -
Flags: review?(limed)
Attachment #824034 -
Flags: feedback?(scabral)
Flags: needinfo?(scabral)
Reporter | ||
Comment 4•11 years ago
|
||
looks good to me! ship it!
Updated•11 years ago
|
Attachment #824034 -
Flags: review?(limed) → review+
Reporter | ||
Comment 5•11 years ago
|
||
So the one comment I have is that the repo mirroring is from Oracle, not Sun. Sun hasn't existed in three and a half years :D
(In reply to Sheeri Cabral [:sheeri] from comment #5)
> So the one comment I have is that the repo mirroring is from Oracle, not
> Sun. Sun hasn't existed in three and a half years :D
Good catch, is that issue only present in the attachment title? I looked over the patch and I think I avoided saying Sun elsewhere.
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 824034 [details] [diff] [review]
add mysql56 repo mirroring from Sun
Review of attachment 824034 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me!
Attachment #824034 -
Flags: feedback?(scabral) → feedback+
Pushed with syntax fixes, r77454. However, mirroring fails as Oracle prohibits directory indexes of their Yum repo. We'll either need to switch to reposync or ask them to fix it. (Removing private flag for that purpose.)
To do this, we'll have to realize() the mysql-community repo on mrepo servers with enabled => 0, and then configure mrepo to use the 'reposync' method rather than the default http method.
Group: infra
Status: NEW → ASSIGNED
Looking at the reposync implementation [1] it seems that we just replace 'http://' with 'reposync://' and mrepo does all the rest, including generating a temporary yum.conf and handling everything for us. Terrific!
The relevant defaults are:
+## Delete packages that are no longer in the repo
+reposync-cleanup = yes
+
+## Only download the latest packages
+reposync-newest-only = no
And we can change those as needed once this actually works. Proposed patch attached.
[1] https://github.com/dagwieers/mrepo/commit/9fa1de464cef41de0cb07b807dee410771d98177
Attachment #827088 -
Flags: review?(limed)
Attachment #824034 -
Flags: checked-in+
![]() |
||
Comment 10•11 years ago
|
||
Topic revised to reflect the Infra side of this task only - we'll do the removal of the old repo(s) someday in the future when they're no longer in use.
Summary: Can decom mozilla-mysql.repo → mrepo: add 'mysql56' repo mirrored from Oracle MySQL 5.6 repo
Updated•11 years ago
|
Attachment #827088 -
Flags: review?(limed) → review+
![]() |
||
Comment 11•11 years ago
|
||
Comment on attachment 827088 [details] [diff] [review]
change http://repo.mysql.com to reposync://repo.mysql.com
r77535 and it seems to be running without errors, at least, which is an improvement over before. Need to check back tomorrow to see if the repo mirrored correctly for i386/x86_64.
Attachment #827088 -
Flags: checked-in+
Comment 12•11 years ago
|
||
It looks like this repo is working properly - can this bug be closed?
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•