-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Docker 1.5.0 package must require proper device-mapper version #12108
Comments
Docker 1.5.0-28.el7.centos is a 7.1.1503 update, which requires/expects that you have fully updated to 7.1.1503. If you're doing selective updates, you will run into issues like this. |
in theory a 'yum update' should resolve what you're seeing. |
what @jperrin said :) , this happened on my machine too, and a |
This is a packaging bug from RH. The new docker package should require the correct version of device mapper in it's package dependencies. |
like what @jperrin said, I'd guess people would do a full system update whenever a major update goes out and things would just work, but ya, this sure is a packaging bug considering selective updates. Thanks for reporting. also, may I interest you in 2 other docker rpms with quicker releases compared to the RHEL recompiled variant? See this page for details: http://wiki.centos.org/Cloud/Docker . Add the repository mentioned in there and then you'll see the |
Here is the RH bug for this issue |
ahh, i see this was already reported. Sorry about the memory lapse. This will get fixed in the next update |
|
Could you please tell me your recipe to solve the problem? Unfortunately I read the thread after I upgraded the docker package. The current packages are: But I have: systemctl enable docker.service systemctl status docker.service May 07 08:23:58 docker docker[18796]: time="2015-05-07T08:23:58Z" level="info" msg="+job serveapi(unix:...ock)" Have you only upgrade device-mapper to the newest version? Which yum repos have you specified to get the right packages? cat /etc/redhat-release |
I have just solved the problem by installing the packages device-mapper-event device-mapper-event-devel. systemctl enable docker.serviceln -s '/usr/lib/systemd/system/docker.service' '/etc/systemd/system/multi-user.target.wants/docker.service' systemctl status docker.servicedocker.service - Docker Application Container Engine May 07 08:23:58 docker docker[18796]: time="2015-05-07T08:23:58Z" level="info" msg="+job serveapi(unix:...ock)" systemctl start docker.service |
this can be closed, it is fixed in 1.6.0-11.0.1.el7.centos more info: |
@tmm1, thx it helped me CentOS 7 docker --version sudo systemctl start docker авг 02 23:47:50 violin systemd[1]: Started Docker Application Container Engine. sudo systemctl status docker -l авг 02 23:47:50 violin systemd[1]: Started Docker Application Container Engine. |
I am running on centos 7 after running yum update, and using docker 1.7.1. I see the same details as @vvkuznetsov when trying to start docker and it is not working. @vvkuznetsov is yours actually working? It looks like it is failing... |
Docker 1.7.1 works on CentOS 7 ( 3.10.0-229.el7.x86_64) . However on Red Hat 7 (3.10.0-123.el7.x86_64 ), it fails with the same detail as @vvkuznetsov |
Docker version 1.7.1, build 786b29d The above doesn't work for me and gives same errors as @vvkuznetsov |
@shubham-sakuja-mt Did you upgrade the device-mapper-event package of your CentOS 7. The dm_task_get_info_with_deferred_remove is NOT IN the libdevmapper.so.1.02 of the device-mapper-event version 1.02.84 ( my Red Hat) but it is IN the device-mapper-event version 10 1.02.93 (Cent OS). |
I tried, however the latest available version through yum is the former. Which repo are you finding the .93 version? [root@ftp-sim ~] 3# yum install device-mapper-event |
Ok I found and installed the below packages to upgrade to 1.02.93 and all is working well! for rpm in $(echo 'ftp://rpmfind.net/linux/centos/7.1.1503/updates/x86_64/Packages/device-mapper-libs-1.02.93-3.el7_1.1.x86_64.rpm' 'ftp://rpmfind.net/linux/centos/7.1.1503/updates/x86_64/Packages/device-mapper-1.02.93-3.el7_1.1.x86_64.rpm' 'ftp://rpmfind.net/linux/centos/7.1.1503/updates/x86_64/Packages/device-mapper-event-1.02.93-3.el7_1.1.x86_64.rpm' |
using --nodeps and --force is nearly always how you break things. A simple 'yum update' to ensure you're running the latest version is all that's needed. |
@jperrin as i explained, that didn't work as it would just install 1.02.84, which was obv not what was needed... |
Then you've somehow configured the system to not get updates. That's the problem to fix. Ignoring dependencies with --nodeps and --force WILL lead to breakage and tears. 1.02.84 is from 7.0, You've pulled the new packages from 7.1 with none of the required updates that go along with them, because you've somehow stuck yourself to 7.0. |
@shubham-sakhuja-mt yes, after installing device-mapper-event I have no problems. P.S. It was not a fresh installation. I uninstall docker 1.6.(2?) and then installed 1.7.1. |
yum install lvm2 works for me in centOS7 instead of yum update :) |
Thanks @shubham-sakhuja-mt and @jperrin . But the links above are broken. Is there any way for CentOS 7.0 to upgrade |
@tmm1 works for me |
Hi fellas,
I've tried to install docker 1.5.0-28.el7.centos on my Centos7 machine but it's don't work.
error is:
/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
So the problem is that docker 1.5.0-28.el7.centos require newer version of device-mapper than I have but package it self does not require any other, which is wrong. I understand that this problem isn't for docker devs but I don't know where I should register such.
In the irc @cpuguy83 recommended to ping there @lsm5
NOTE: It works well after update device-mapper to 7:1.02.93-3.el7
The text was updated successfully, but these errors were encountered: