Bug 1137026
Summary: | Fails to install on CentOS6 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Dan Benson <dan> |
Component: | docker-registry | Assignee: | Lokesh Mandvekar <lsm5> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | el6 | CC: | lsm5, mgoldman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | docker-registry-0.8.1-2.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-25 10:33:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Benson
2014-09-03 21:21:01 UTC
FWIW, this "works": sudo yum install --enablerepo=epel-testing --enablerepo=epel docker-registry But a newer version of the registry is being installed as a result. And by "works", I mean it doesn't :) The epel-testing version of docker-registry, not surprisingly, has several issues. Curious if there's an easy way to get the 7.x version from epel working without too much work. Ok, final comment. I believe I got the 8.x series working..had to: sudo yum install python-redis --enablerepo=epel sudo pip install flask_cors Not super ideal. ohh crap, I had a stale flask_cors install on my system, so I didn't notice I missed that one. flask_cors has been opened up for package review in Bug 1114413. For now I'll try and patch the current registry to not depend on cors until we have flask_cors into fedora. Are there any other issues with 0.8.1 that you noticed? Also, I don't think you have the python-redis dependency called out (didn't look at the spec). So far it's working ok. This doesn't address the brokenness of 7.x on the epel tree. Not sure what happened there. Thanks for jumping on this. (In reply to Dan Benson from comment #5) > Also, I don't think you have the python-redis dependency called out (didn't > look at the spec). python-redis isn't a requirement anymore. So it's been skipped. > > So far it's working ok. > > This doesn't address the brokenness of 7.x on the epel tree. Not sure what > happened there. Well, the 0.8.1 build will address this after it's pushed to stable. Will take 2 weeks I think, unless it has +3 karma first. Nothing can be done about the stable rpm itself. > > Thanks for jumping on this. Sure, np. Please try this: yum install https://kojipkgs.fedoraproject.org//work/tasks/4909/7524909/docker-registry-0.8.1-2.el6.noarch.rpm Will push this to epel-testing unless any other issues. Let me know. (In reply to Lokesh Mandvekar from comment #6) > python-redis isn't a requirement anymore. So it's been skipped. From within the code or the package itself? [ec2-user@ip-10-234-2-88 docker_registry]$ find . -type f -exec grep -H "import redis" {} \; ./core/lru.py:import redis > Sure, np. Please try this: yum install > https://kojipkgs.fedoraproject.org//work/tasks/4909/7524909/docker-registry- > 0.8.1-2.el6.noarch.rpm > > Will push this to epel-testing unless any other issues. Let me know. Cool -- will try this later today. (In reply to Dan Benson from comment #7) > From within the code or the package itself? > > [ec2-user@ip-10-234-2-88 docker_registry]$ find . -type f -exec grep -H > "import redis" {} \; > ./core/lru.py:import redis > 1. Redis is only needed for caching. Also, people might want to have their redis setup on some other machine (see Bug 1120214). So, I think caching is best left to the end user. Correct me if I'm wrong. Also, the RHEL7 version disables caching too fwiw. 2. If at all it's decided to enable caching by default, the redis requirement should be for the python-docker-registry-core package, since that's where the above grepped result belongs. So, that shouldn't make any difference to the docker-registry package. Sorry still haven't had a chance to test. I'm actually not using the cache, yet that code path was executed anyway. I could be missing something here. hmm, not sure, could you post some logs please? Hi Dan, I just tried this on a centos6 docker image, and I'm seeing this issue too but not on fedora rawhide. I guess I'll patch this out too. Hey thanks! Sorry about not having the cycles. On rawhide, is the redis python module installed prior to docker-registry installation? Verified that python-redis absence is not an issue on fedora rawhide. But nvm, I'm updating python-docker-registry-core to require python-redis. That will take care of the redis part. And also updating docker-registry with flask_cors patched out. Hi Dan, could you give this a go please: https://kojipkgs.fedoraproject.org//work/tasks/9114/7549114/docker-registry-0.8.1-2.el6.noarch.rpm . The same NVR works fine on rawhide for me. flask_cors verified to not be installed. Also, python-docker-registry-core has been updated to include redis. docker-registry-0.8.1-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/docker-registry-0.8.1-2.fc20 docker-registry-0.8.1-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/docker-registry-0.8.1-2.fc19 Package docker-registry-0.8.1-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing docker-registry-0.8.1-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-10563/docker-registry-0.8.1-2.fc20 then log in and leave karma (feedback). docker-registry-0.8.1-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/docker-registry-0.8.1-2.el6 docker-registry-0.8.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/docker-registry-0.8.1-2.fc21 docker-registry-0.8.1-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. docker-registry-0.8.1-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. docker-registry-0.8.1-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. docker-registry-0.8.1-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |