Bug 1055712
| Summary: | Review Request: docker - Automates deployment of containerized applications | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lokesh Mandvekar <lsm5> | ||||||||
| Component: | Package Review | Assignee: | Jan Chaloupka <jchaloup> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | rawhide | CC: | admiller, dwalsh, gbailey, golang-updates, lemenkov, lsm5, lwang, mattdm, mgoldman, ohadlevy, package-review, pahan, panemade, sct, vbatts | ||||||||
| Target Milestone: | --- | Flags: | jchaloup:
fedora-review+
gwync: fedora-cvs+ |
||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | docker-1.5.0-25.git5ebfacd.fc22 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-03-29 05:04:11 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | 1111916, 1114175, 1117562, 1118880 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Lokesh Mandvekar
2014-01-20 19:37:02 UTC
Created attachment 852824 [details]
docker systemd unit file
Created attachment 852837 [details]
patch for docs generation on el6+
Created attachment 852838 [details]
init script (for el6)
Matt, perhaps we should get this going? rawhide seems to have just made the switch to 22. Lokesh -- funny, yes... I was just independently thinking the same thing. First blocker is #1118880 Let's make that clickable! Bug #1118880 Some more golang-* package review blockers added Matt: ping, would you like to go ahead with Bug 1118880, so that we can get this one going too? Spec URL: https://lsm5.fedorapeople.org/docker/docker.spec SRPM URL: https://lsm5.fedorapeople.org/docker/SRPMS/docker-1.3.2-2.fc22.src.rpm Other files: unitfile: https://lsm5.fedorapeople.org/docker/docker.service extra options: https://lsm5.fedorapeople.org/docker/docker.sysconfig storage options: https://lsm5.fedorapeople.org/docker/docker-storage.sysconfig koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=8230597 The libcontainer dep is a little messed up, so I've used the version from within the vendor dir. Also, there's a cyclic dep docker -> libcontainer -> docker-pkg-devel (from docker), so whenever things get messy I've been using the vendor/ dir itself. (The cyclic dep is because of the upstream repos depending on each other.) Spec URL: https://github.com/lsm5/docker-rpm/blob/master/docker.spec Let's use github for this review :) also, see https://github.com/lsm5/docker-rpm for other files used Looking at Provides of devel subpackage, do we have to provide old docker-io-... as well? docker-devel and docker-pkg-devel should be sufficient for f22. The same for other subpackages: fish-completion provides docker-io-fish-completion. Or is this because of upgrade path from f21 to f22? In this case spec file is fine. Summary: - wmdocker is already renamed - wmdocker for f22 and higher no longer obsoletes docker - docker repository for master branch (f22 in this case) is dead.package so we can reuse the branch and create master (f23) for this docker - building docker from vendored source codes is fine as it needs update of github.com/coreos/libcontainer and 1.4.0 version is not back-compatible with 1.2.0 (see [1]) - license is correct (ASL 2.0) - provider, provider_tld, project, repo, import_path, commit macros presented - devel subpackage is missing some BuildRequires but as it is built from vendored source codes and there is a cyclic dependency on libcontainer, this is not an issue [1] Api check of libcontainer-1.2.0 and libcontainer-1.4.0 (incompatible changes): $ gofed apidiff libcontainer-1.2.0 libcontainer-1.4.0 -c Package: . -interface Container removed methods: Path -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error -identifiers differ in type: error != Error Package: cgroups -ActiveCgroup type removed -struct CpuUsage: CurrentUsage field removed -struct CpuUsage: PercentUsage field removed Package: cgroups/fs -Paths func removed -Cleanup func removed -type differs: pointer != map -type differs: selector != map Package: cgroups/systemd -Paths func removed -Cleanup func removed -GetStats func removed -type differs: selector != map Package: mount -Mounts type removed -OfType func removed Package: namespaces -function CreateCommand: parameter count changed: 7 -> 6 -Selector differs in selector: syncpipe != os, at function: Init -Selector differs in expression: SyncPipe != File, at function: Init -function DefaultCreateCommand: parameter count changed: 7 -> 6 -function Exec: parameter count changed: 10 -> 9 -function InitializeNetworking: parameter count changed: 4 -> 3 -type differs: selector != map Package: netlink -function NetworkCreateVethPair: parameter count changed: 2 -> 3 Package: network -function CreateVethPair: parameter count changed: 2 -> 3 Package: user -GetUserGroupSupplementaryHome func removed -function ParsePasswd: parameter count changed: 0 -> 1 -function ParsePasswdFilter: parameter count changed: 1 -> 2 -function ParseGroupFilter: parameter count changed: 1 -> 2 -function ParseGroup: parameter count changed: 0 -> 1 (In reply to Jan Chaloupka from comment #13) > Looking at Provides of devel subpackage, do we have to provide old > docker-io-... as well? docker-devel and docker-pkg-devel should be > sufficient for f22. > > The same for other subpackages: fish-completion provides > docker-io-fish-completion. > > Or is this because of upgrade path from f21 to f22? In this case spec file > is fine. yup: http://pkgs.fedoraproject.org/cgit/docker-io.git/tree/docker-io.spec#n55 . I'll include that comment in the spec file here too. Also, RE: https://fedorahosted.org/fpc/ticket/341#comment:15 if this package is approved, we need to check with infrastructure before doing a new SCM request. > Summary: > - wmdocker is already renamed > - wmdocker for f22 and higher no longer obsoletes docker > - docker repository for master branch (f22 in this case) is dead.package so > we can reuse the branch and create master (f23) for this docker > - building docker from vendored source codes is fine as it needs update of > github.com/coreos/libcontainer and 1.4.0 version is not back-compatible with > 1.2.0 (see [1]) > - license is correct (ASL 2.0) > - provider, provider_tld, project, repo, import_path, commit macros presented > - devel subpackage is missing some BuildRequires but as it is built from > vendored source codes and there is a cyclic dependency on libcontainer, this > is not an issue > > > > [1] Api check of libcontainer-1.2.0 and libcontainer-1.4.0 (incompatible > changes): > $ gofed apidiff libcontainer-1.2.0 libcontainer-1.4.0 -c > Package: . > -interface Container removed methods: Path > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > -identifiers differ in type: error != Error > Package: cgroups > -ActiveCgroup type removed > -struct CpuUsage: CurrentUsage field removed > -struct CpuUsage: PercentUsage field removed > Package: cgroups/fs > -Paths func removed > -Cleanup func removed > -type differs: pointer != map > -type differs: selector != map > Package: cgroups/systemd > -Paths func removed > -Cleanup func removed > -GetStats func removed > -type differs: selector != map > Package: mount > -Mounts type removed > -OfType func removed > Package: namespaces > -function CreateCommand: parameter count changed: 7 -> 6 > -Selector differs in selector: syncpipe != os, at function: Init > -Selector differs in expression: SyncPipe != File, at function: Init > -function DefaultCreateCommand: parameter count changed: 7 -> 6 > -function Exec: parameter count changed: 10 -> 9 > -function InitializeNetworking: parameter count changed: 4 -> 3 > -type differs: selector != map > Package: netlink > -function NetworkCreateVethPair: parameter count changed: 2 -> 3 > Package: network > -function CreateVethPair: parameter count changed: 2 -> 3 > Package: user > -GetUserGroupSupplementaryHome func removed > -function ParsePasswd: parameter count changed: 0 -> 1 > -function ParsePasswdFilter: parameter count changed: 1 -> 2 > -function ParseGroupFilter: parameter count changed: 1 -> 2 > -function ParseGroup: parameter count changed: 0 -> 1 apicheck rocks!! Thanks! In that case, the spec file can be approved. Package Change Request ====================== Package Name: docker New Branches: f22 Owners: lsm5 InitialCC: golang-sig The already existing 'docker' in dist-git used to be a windowmanager traying app (or something) and it's now been renamed to 'wmdocker', while docker-io will be renamed to 'docker' starting with fedora 22. http://pkgs.fedoraproject.org/cgit/docker.git/ will have f22 and later branches contain the container specific stuff, while f20 and prior branches will continue to have the older wm docker stuff. See: https://fedorahosted.org/fedora-infrastructure/ticket/4691 Package Change Request ====================== Package Name: docker Short Description: Automates deployment of containerized applications New Branches: f22 Owners: lsm5 InitialCC: golang-sig (added "Short Description:" field, I hope this doesn't collide with the prior description) Git done (by process-git-requests). Actually that will be ignored, you probably need to have rel-eng fix it. docker-1.5.0-24.git5ebfacd.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/docker-1.5.0-24.git5ebfacd.fc22 docker-1.5.0-25.git5ebfacd.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/docker-1.5.0-25.git5ebfacd.fc22 Package docker-1.5.0-24.git5ebfacd.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing docker-1.5.0-24.git5ebfacd.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-4619/docker-1.5.0-24.git5ebfacd.fc22 then log in and leave karma (feedback). docker-1.5.0-25.git5ebfacd.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |