Bug #15997
"file /etc/yum.repos.d/ceph.repo from install of ceph-release-1-1.el7.noarch conflicts..." trying to upgrade from hammer to jewel
0%
Description
Hi,
On a lab cluster: 3 mon (Centos 7), 5 osd nodes (6 osd) (Centos 7), ceph 0.94.7, ceph-deploy 1.5.33
Trying to upgrade from hammer to jewel with ceph-deploy:
[root@cephmon-lab-01-ber ceph]# ceph-deploy install --release jewel ceph-lab-03-ber
Here's the output:
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.33): /usr/bin/ceph-deploy install --release jewel ceph-lab-03-ber [ceph_deploy.cli][INFO ] ceph-deploy options: [ceph_deploy.cli][INFO ] verbose : False [ceph_deploy.cli][INFO ] testing : None [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7ff434d399e0> [ceph_deploy.cli][INFO ] cluster : ceph [ceph_deploy.cli][INFO ] dev_commit : None [ceph_deploy.cli][INFO ] install_mds : False [ceph_deploy.cli][INFO ] stable : None [ceph_deploy.cli][INFO ] default_release : False [ceph_deploy.cli][INFO ] username : None [ceph_deploy.cli][INFO ] adjust_repos : True [ceph_deploy.cli][INFO ] func : <function install at 0x7ff435c2ba28> [ceph_deploy.cli][INFO ] install_all : False [ceph_deploy.cli][INFO ] repo : False [ceph_deploy.cli][INFO ] host : ['ceph-lab-03-ber'] [ceph_deploy.cli][INFO ] install_rgw : False [ceph_deploy.cli][INFO ] install_tests : False [ceph_deploy.cli][INFO ] repo_url : None [ceph_deploy.cli][INFO ] ceph_conf : None [ceph_deploy.cli][INFO ] install_osd : False [ceph_deploy.cli][INFO ] version_kind : stable [ceph_deploy.cli][INFO ] install_common : False [ceph_deploy.cli][INFO ] overwrite_conf : False [ceph_deploy.cli][INFO ] quiet : False [ceph_deploy.cli][INFO ] dev : master [ceph_deploy.cli][INFO ] local_mirror : None [ceph_deploy.cli][INFO ] release : jewel [ceph_deploy.cli][INFO ] install_mon : False [ceph_deploy.cli][INFO ] gpg_url : None [ceph_deploy.install][DEBUG ] Installing stable version jewel on cluster ceph hosts ceph-lab-03-ber [ceph_deploy.install][DEBUG ] Detecting platform for host ceph-lab-03-ber ... [ceph-lab-03-ber][DEBUG ] connected to host: ceph-lab-03-ber [ceph-lab-03-ber][DEBUG ] detect platform information from remote host [ceph-lab-03-ber][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.1.1503 Core [ceph-lab-03-ber][INFO ] installing Ceph on ceph-lab-03-ber [ceph-lab-03-ber][INFO ] Running command: yum clean all [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Cleaning repos: Ceph Ceph-noarch base ceph-source epel extras updates [ceph-lab-03-ber][DEBUG ] Cleaning up everything [ceph-lab-03-ber][DEBUG ] Cleaning up list of fastest mirrors [ceph-lab-03-ber][INFO ] Running command: yum -y install epel-release [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Determining fastest mirrors [ceph-lab-03-ber][DEBUG ] * base: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * updates: ftp.pasteur.fr [ceph-lab-03-ber][DEBUG ] 26 packages excluded due to repository priority protections [ceph-lab-03-ber][DEBUG ] Package epel-release-7-6.noarch already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][INFO ] Running command: yum -y install yum-plugin-priorities [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Loading mirror speeds from cached hostfile [ceph-lab-03-ber][DEBUG ] * base: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * updates: ftp.pasteur.fr [ceph-lab-03-ber][DEBUG ] 26 packages excluded due to repository priority protections [ceph-lab-03-ber][DEBUG ] Package yum-plugin-priorities-1.1.31-34.el7.noarch already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][DEBUG ] Configure Yum priorities to include obsoletes [ceph-lab-03-ber][WARNIN] check_obsoletes has been enabled for Yum priorities plugin [ceph-lab-03-ber][INFO ] Running command: rpm --import https://download.ceph.com/keys/release.asc [ceph-lab-03-ber][INFO ] Running command: rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-lab-03-ber][DEBUG ] Retrieving https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-lab-03-ber][WARNIN] file /etc/yum.repos.d/ceph.repo from install of ceph-release-1-1.el7.noarch conflicts with file from package ceph-release-1-1.el7.noarch [ceph-lab-03-ber][DEBUG ] Preparing... ######################################## [ceph-lab-03-ber][ERROR ] RuntimeError: command returned non-zero exit status: 1 [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm
I tried the failing command on the target node (ceph-lab-03-ber):
[root@ceph-lab-03-ber ~]# rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm Retrieving https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm Preparing... ################################# [100%] file /etc/yum.repos.d/ceph.repo from install of ceph-release-1-1.el7.noarch conflicts with file from package ceph-release-1-1.el7.noarch
It seems ceph-deploy tries to install ceph-release-1.0 whereas there is ceph-release-1.1 installed on the node:
[root@ceph-lab-03-ber ~]# rpm -qa | grep ceph ceph-release-1-1.el7.noarch libcephfs1-0.94.7-0.el7.x86_64 ceph-radosgw-0.94.7-0.el7.x86_64 python-cephfs-0.94.7-0.el7.x86_64 ceph-common-0.94.7-0.el7.x86_64 ceph-0.94.7-0.el7.x86_64
A workaround that worked for me was to remove the installed ceph-release package on the target node:
yum remove ceph-release
and the ran twice the ceph-deploy command from the admin node. First the version number it show me is 0.94.7:
[root@cephmon-lab-01-ber ceph]# ceph-deploy install --release jewel ceph-lab-03-ber [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.33): /usr/bin/ceph-deploy install --release jewel ceph-lab-03-ber [ceph_deploy.cli][INFO ] ceph-deploy options: [ceph_deploy.cli][INFO ] verbose : False [ceph_deploy.cli][INFO ] testing : None [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7ff1aeade9e0> [ceph_deploy.cli][INFO ] cluster : ceph [ceph_deploy.cli][INFO ] dev_commit : None [ceph_deploy.cli][INFO ] install_mds : False [ceph_deploy.cli][INFO ] stable : None [ceph_deploy.cli][INFO ] default_release : False [ceph_deploy.cli][INFO ] username : None [ceph_deploy.cli][INFO ] adjust_repos : True [ceph_deploy.cli][INFO ] func : <function install at 0x7ff1af9d0a28> [ceph_deploy.cli][INFO ] install_all : False [ceph_deploy.cli][INFO ] repo : False [ceph_deploy.cli][INFO ] host : ['ceph-lab-03-ber'] [ceph_deploy.cli][INFO ] install_rgw : False [ceph_deploy.cli][INFO ] install_tests : False [ceph_deploy.cli][INFO ] repo_url : None [ceph_deploy.cli][INFO ] ceph_conf : None [ceph_deploy.cli][INFO ] install_osd : False [ceph_deploy.cli][INFO ] version_kind : stable [ceph_deploy.cli][INFO ] install_common : False [ceph_deploy.cli][INFO ] overwrite_conf : False [ceph_deploy.cli][INFO ] quiet : False [ceph_deploy.cli][INFO ] dev : master [ceph_deploy.cli][INFO ] local_mirror : None [ceph_deploy.cli][INFO ] release : jewel [ceph_deploy.cli][INFO ] install_mon : False [ceph_deploy.cli][INFO ] gpg_url : None [ceph_deploy.install][DEBUG ] Installing stable version jewel on cluster ceph hosts ceph-lab-03-ber [ceph_deploy.install][DEBUG ] Detecting platform for host ceph-lab-03-ber ... [ceph-lab-03-ber][DEBUG ] connected to host: ceph-lab-03-ber [ceph-lab-03-ber][DEBUG ] detect platform information from remote host [ceph-lab-03-ber][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.1.1503 Core [ceph-lab-03-ber][INFO ] installing Ceph on ceph-lab-03-ber [ceph-lab-03-ber][INFO ] Running command: yum clean all [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Cleaning repos: base epel extras updates [ceph-lab-03-ber][DEBUG ] Cleaning up everything [ceph-lab-03-ber][DEBUG ] Cleaning up list of fastest mirrors [ceph-lab-03-ber][INFO ] Running command: yum -y install epel-release [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Determining fastest mirrors [ceph-lab-03-ber][DEBUG ] * base: centos.mirror.fr.planethoster.net [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: mirrors.atosworldline.com [ceph-lab-03-ber][DEBUG ] * updates: centos.mirror.fr.planethoster.net [ceph-lab-03-ber][DEBUG ] Package epel-release-7-6.noarch already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][INFO ] Running command: yum -y install yum-plugin-priorities [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Loading mirror speeds from cached hostfile [ceph-lab-03-ber][DEBUG ] * base: centos.mirror.fr.planethoster.net [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: mirrors.atosworldline.com [ceph-lab-03-ber][DEBUG ] * updates: centos.mirror.fr.planethoster.net [ceph-lab-03-ber][DEBUG ] Package yum-plugin-priorities-1.1.31-34.el7.noarch already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][DEBUG ] Configure Yum priorities to include obsoletes [ceph-lab-03-ber][WARNIN] check_obsoletes has been enabled for Yum priorities plugin [ceph-lab-03-ber][INFO ] Running command: rpm --import https://download.ceph.com/keys/release.asc [ceph-lab-03-ber][INFO ] Running command: rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-lab-03-ber][DEBUG ] Retrieving https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-lab-03-ber][DEBUG ] Preparing... ######################################## [ceph-lab-03-ber][DEBUG ] Updating / installing... [ceph-lab-03-ber][DEBUG ] ceph-release-1-1.el7 ######################################## [ceph-lab-03-ber][WARNIN] ensuring that /etc/yum.repos.d/ceph.repo contains a high priority [ceph-lab-03-ber][WARNIN] altered ceph.repo priorities to contain: priority=1 [ceph-lab-03-ber][INFO ] Running command: yum -y install ceph ceph-radosgw [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][WARNIN] Not using downloaded repomd.xml because it is older than what we have: [ceph-lab-03-ber][WARNIN] Current : Mon May 16 21:09:23 2016 [ceph-lab-03-ber][WARNIN] Downloaded: Sat May 14 03:00:41 2016 [ceph-lab-03-ber][WARNIN] Not using downloaded repomd.xml because it is older than what we have: [ceph-lab-03-ber][WARNIN] Current : Mon May 16 21:08:05 2016 [ceph-lab-03-ber][WARNIN] Downloaded: Sat May 14 02:59:01 2016 [ceph-lab-03-ber][WARNIN] Not using downloaded repomd.xml because it is older than what we have: [ceph-lab-03-ber][WARNIN] Current : Mon May 16 21:08:11 2016 [ceph-lab-03-ber][WARNIN] Downloaded: Sat May 14 02:59:05 2016 [ceph-lab-03-ber][DEBUG ] Loading mirror speeds from cached hostfile [ceph-lab-03-ber][DEBUG ] * base: centos.mirror.fr.planethoster.net [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: mirrors.atosworldline.com [ceph-lab-03-ber][DEBUG ] * updates: centos.mirror.fr.planethoster.net [ceph-lab-03-ber][DEBUG ] 26 packages excluded due to repository priority protections [ceph-lab-03-ber][DEBUG ] Package 1:ceph-0.94.7-0.el7.x86_64 already installed and latest version [ceph-lab-03-ber][DEBUG ] Package 1:ceph-radosgw-0.94.7-0.el7.x86_64 already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][INFO ] Running command: ceph --version [ceph-lab-03-ber][DEBUG ] ceph version 0.94.7 (d56bdf93ced6b80b07397d57e3fa68fe68304432)
Second, the upgrade looks ok:
[root@cephmon-lab-01-ber ceph]# ceph-deploy install --release jewel ceph-lab-03-ber [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.33): /usr/bin/ceph-deploy install --release jewel ceph-lab-03-ber [ceph_deploy.cli][INFO ] ceph-deploy options: [ceph_deploy.cli][INFO ] verbose : False [ceph_deploy.cli][INFO ] testing : None [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fdcc92309e0> [ceph_deploy.cli][INFO ] cluster : ceph [ceph_deploy.cli][INFO ] dev_commit : None [ceph_deploy.cli][INFO ] install_mds : False [ceph_deploy.cli][INFO ] stable : None [ceph_deploy.cli][INFO ] default_release : False [ceph_deploy.cli][INFO ] username : None [ceph_deploy.cli][INFO ] adjust_repos : True [ceph_deploy.cli][INFO ] func : <function install at 0x7fdcca122a28> [ceph_deploy.cli][INFO ] install_all : False [ceph_deploy.cli][INFO ] repo : False [ceph_deploy.cli][INFO ] host : ['ceph-lab-03-ber'] [ceph_deploy.cli][INFO ] install_rgw : False [ceph_deploy.cli][INFO ] install_tests : False [ceph_deploy.cli][INFO ] repo_url : None [ceph_deploy.cli][INFO ] ceph_conf : None [ceph_deploy.cli][INFO ] install_osd : False [ceph_deploy.cli][INFO ] version_kind : stable [ceph_deploy.cli][INFO ] install_common : False [ceph_deploy.cli][INFO ] overwrite_conf : False [ceph_deploy.cli][INFO ] quiet : False [ceph_deploy.cli][INFO ] dev : master [ceph_deploy.cli][INFO ] local_mirror : None [ceph_deploy.cli][INFO ] release : jewel [ceph_deploy.cli][INFO ] install_mon : False [ceph_deploy.cli][INFO ] gpg_url : None [ceph_deploy.install][DEBUG ] Installing stable version jewel on cluster ceph hosts ceph-lab-03-ber [ceph_deploy.install][DEBUG ] Detecting platform for host ceph-lab-03-ber ... [ceph-lab-03-ber][DEBUG ] connected to host: ceph-lab-03-ber [ceph-lab-03-ber][DEBUG ] detect platform information from remote host [ceph-lab-03-ber][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.1.1503 Core [ceph-lab-03-ber][INFO ] installing Ceph on ceph-lab-03-ber [ceph-lab-03-ber][INFO ] Running command: yum clean all [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Cleaning repos: Ceph Ceph-noarch base ceph-source epel extras updates [ceph-lab-03-ber][DEBUG ] Cleaning up everything [ceph-lab-03-ber][DEBUG ] Cleaning up list of fastest mirrors [ceph-lab-03-ber][INFO ] Running command: yum -y install epel-release [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Determining fastest mirrors [ceph-lab-03-ber][DEBUG ] * base: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * updates: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] 25 packages excluded due to repository priority protections [ceph-lab-03-ber][DEBUG ] Package epel-release-7-6.noarch already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][INFO ] Running command: yum -y install yum-plugin-priorities [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Loading mirror speeds from cached hostfile [ceph-lab-03-ber][DEBUG ] * base: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * updates: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] 25 packages excluded due to repository priority protections [ceph-lab-03-ber][DEBUG ] Package yum-plugin-priorities-1.1.31-34.el7.noarch already installed and latest version [ceph-lab-03-ber][DEBUG ] Nothing to do [ceph-lab-03-ber][DEBUG ] Configure Yum priorities to include obsoletes [ceph-lab-03-ber][WARNIN] check_obsoletes has been enabled for Yum priorities plugin [ceph-lab-03-ber][INFO ] Running command: rpm --import https://download.ceph.com/keys/release.asc [ceph-lab-03-ber][INFO ] Running command: rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-lab-03-ber][DEBUG ] Retrieving https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-lab-03-ber][DEBUG ] Preparing... ######################################## [ceph-lab-03-ber][DEBUG ] Updating / installing... [ceph-lab-03-ber][DEBUG ] ceph-release-1-1.el7 ######################################## [ceph-lab-03-ber][WARNIN] ensuring that /etc/yum.repos.d/ceph.repo contains a high priority [ceph-lab-03-ber][WARNIN] altered ceph.repo priorities to contain: priority=1 [ceph-lab-03-ber][INFO ] Running command: yum -y install ceph ceph-radosgw [ceph-lab-03-ber][DEBUG ] Loaded plugins: fastestmirror, priorities [ceph-lab-03-ber][DEBUG ] Loading mirror speeds from cached hostfile [ceph-lab-03-ber][DEBUG ] * base: centos.quelquesmots.fr [ceph-lab-03-ber][DEBUG ] * epel: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * extras: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] * updates: mirrors.ircam.fr [ceph-lab-03-ber][DEBUG ] 25 packages excluded due to repository priority protections [ceph-lab-03-ber][DEBUG ] Resolving Dependencies [ceph-lab-03-ber][DEBUG ] --> Running transaction check [ceph-lab-03-ber][DEBUG ] ---> Package ceph.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package ceph.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: ceph-mon = 1:10.2.1-0.el7 for package: 1:ceph-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: ceph-osd = 1:10.2.1-0.el7 for package: 1:ceph-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: ceph-mds = 1:10.2.1-0.el7 for package: 1:ceph-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] ---> Package ceph-radosgw.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package ceph-radosgw.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: ceph-common = 1:10.2.1-0.el7 for package: 1:ceph-radosgw-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: librgw2 = 1:10.2.1-0.el7 for package: 1:ceph-radosgw-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: ceph-selinux = 1:10.2.1-0.el7 for package: 1:ceph-radosgw-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: librados2 = 1:10.2.1-0.el7 for package: 1:ceph-radosgw-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: librgw.so.2()(64bit) for package: 1:ceph-radosgw-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Running transaction check [ceph-lab-03-ber][DEBUG ] ---> Package ceph-common.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package ceph-common.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: python-cephfs = 1:10.2.1-0.el7 for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: python-rbd = 1:10.2.1-0.el7 for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: python-rados = 1:10.2.1-0.el7 for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libcephfs1 = 1:10.2.1-0.el7 for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: librbd1 = 1:10.2.1-0.el7 for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libradosstriper.so.1()(64bit) for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libboost_iostreams-mt.so.1.53.0()(64bit) for package: 1:ceph-common-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] ---> Package ceph-mds.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: ceph-base = 1:10.2.1-0.el7 for package: 1:ceph-mds-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] ---> Package ceph-mon.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libboost_random-mt.so.1.53.0()(64bit) for package: 1:ceph-mon-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] ---> Package ceph-osd.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libfuse.so.2(FUSE_2.5)(64bit) for package: 1:ceph-osd-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libfuse.so.2(FUSE_2.8)(64bit) for package: 1:ceph-osd-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libfuse.so.2(FUSE_2.6)(64bit) for package: 1:ceph-osd-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libfuse.so.2(FUSE_2.2)(64bit) for package: 1:ceph-osd-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: libfuse.so.2()(64bit) for package: 1:ceph-osd-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] ---> Package ceph-selinux.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: selinux-policy-base >= 3.13.1-60.el7_2.3 for package: 1:ceph-selinux-10.2.1-0.el7.x86_64 [ceph-lab-03-ber][DEBUG ] ---> Package librados2.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package librados2.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] ---> Package librgw2.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] --> Running transaction check [ceph-lab-03-ber][DEBUG ] ---> Package boost-iostreams.x86_64 0:1.53.0-25.el7 will be installed [ceph-lab-03-ber][DEBUG ] ---> Package boost-random.x86_64 0:1.53.0-25.el7 will be installed [ceph-lab-03-ber][DEBUG ] ---> Package boost-regex.x86_64 0:1.53.0-25.el7 will be installed [ceph-lab-03-ber][DEBUG ] ---> Package ceph-base.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] ---> Package fuse-libs.x86_64 0:2.9.2-6.el7 will be installed [ceph-lab-03-ber][DEBUG ] ---> Package libcephfs1.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package libcephfs1.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] ---> Package libradosstriper1.x86_64 1:10.2.1-0.el7 will be installed [ceph-lab-03-ber][DEBUG ] ---> Package librbd1.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package librbd1.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] ---> Package python-cephfs.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package python-cephfs.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] ---> Package python-rados.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package python-rados.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] ---> Package python-rbd.x86_64 1:0.94.7-0.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package python-rbd.x86_64 1:10.2.1-0.el7 will be an update [ceph-lab-03-ber][DEBUG ] ---> Package selinux-policy-targeted.noarch 0:3.13.1-23.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.3 will be an update [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: selinux-policy = 3.13.1-60.el7_2.3 for package: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch [ceph-lab-03-ber][DEBUG ] --> Processing Dependency: selinux-policy = 3.13.1-60.el7_2.3 for package: selinux-policy-targeted-3.13.1-60.el7_2.3.noarch [ceph-lab-03-ber][DEBUG ] --> Running transaction check [ceph-lab-03-ber][DEBUG ] ---> Package selinux-policy.noarch 0:3.13.1-23.el7 will be updated [ceph-lab-03-ber][DEBUG ] ---> Package selinux-policy.noarch 0:3.13.1-60.el7_2.3 will be an update [ceph-lab-03-ber][DEBUG ] --> Finished Dependency Resolution [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Dependencies Resolved [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] ================================================================================ [ceph-lab-03-ber][DEBUG ] Package Arch Version Repository Size [ceph-lab-03-ber][DEBUG ] ================================================================================ [ceph-lab-03-ber][DEBUG ] Updating: [ceph-lab-03-ber][DEBUG ] ceph x86_64 1:10.2.1-0.el7 Ceph 3.1 k [ceph-lab-03-ber][DEBUG ] ceph-radosgw x86_64 1:10.2.1-0.el7 Ceph 246 k [ceph-lab-03-ber][DEBUG ] Installing for dependencies: [ceph-lab-03-ber][DEBUG ] boost-iostreams x86_64 1.53.0-25.el7 base 60 k [ceph-lab-03-ber][DEBUG ] boost-random x86_64 1.53.0-25.el7 base 38 k [ceph-lab-03-ber][DEBUG ] boost-regex x86_64 1.53.0-25.el7 base 294 k [ceph-lab-03-ber][DEBUG ] ceph-base x86_64 1:10.2.1-0.el7 Ceph 4.2 M [ceph-lab-03-ber][DEBUG ] ceph-mds x86_64 1:10.2.1-0.el7 Ceph 2.8 M [ceph-lab-03-ber][DEBUG ] ceph-mon x86_64 1:10.2.1-0.el7 Ceph 2.8 M [ceph-lab-03-ber][DEBUG ] ceph-osd x86_64 1:10.2.1-0.el7 Ceph 9.0 M [ceph-lab-03-ber][DEBUG ] ceph-selinux x86_64 1:10.2.1-0.el7 Ceph 20 k [ceph-lab-03-ber][DEBUG ] fuse-libs x86_64 2.9.2-6.el7 base 93 k [ceph-lab-03-ber][DEBUG ] libradosstriper1 x86_64 1:10.2.1-0.el7 Ceph 1.8 M [ceph-lab-03-ber][DEBUG ] librgw2 x86_64 1:10.2.1-0.el7 Ceph 2.8 M [ceph-lab-03-ber][DEBUG ] Updating for dependencies: [ceph-lab-03-ber][DEBUG ] ceph-common x86_64 1:10.2.1-0.el7 Ceph 15 M [ceph-lab-03-ber][DEBUG ] libcephfs1 x86_64 1:10.2.1-0.el7 Ceph 1.8 M [ceph-lab-03-ber][DEBUG ] librados2 x86_64 1:10.2.1-0.el7 Ceph 1.9 M [ceph-lab-03-ber][DEBUG ] librbd1 x86_64 1:10.2.1-0.el7 Ceph 2.4 M [ceph-lab-03-ber][DEBUG ] python-cephfs x86_64 1:10.2.1-0.el7 Ceph 68 k [ceph-lab-03-ber][DEBUG ] python-rados x86_64 1:10.2.1-0.el7 Ceph 146 k [ceph-lab-03-ber][DEBUG ] python-rbd x86_64 1:10.2.1-0.el7 Ceph 62 k [ceph-lab-03-ber][DEBUG ] selinux-policy noarch 3.13.1-60.el7_2.3 updates 375 k [ceph-lab-03-ber][DEBUG ] selinux-policy-targeted noarch 3.13.1-60.el7_2.3 updates 3.9 M [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Transaction Summary [ceph-lab-03-ber][DEBUG ] ================================================================================ [ceph-lab-03-ber][DEBUG ] Install ( 11 Dependent packages) [ceph-lab-03-ber][DEBUG ] Upgrade 2 Packages (+ 9 Dependent packages) [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Total download size: 50 M [ceph-lab-03-ber][DEBUG ] Downloading packages: [ceph-lab-03-ber][DEBUG ] Delta RPMs disabled because /usr/bin/applydeltarpm not installed. [ceph-lab-03-ber][DEBUG ] -------------------------------------------------------------------------------- [ceph-lab-03-ber][DEBUG ] Total 8.1 MB/s | 50 MB 00:06 [ceph-lab-03-ber][DEBUG ] Running transaction check [ceph-lab-03-ber][DEBUG ] Running transaction test [ceph-lab-03-ber][DEBUG ] Transaction test succeeded [ceph-lab-03-ber][DEBUG ] Running transaction [ceph-lab-03-ber][WARNIN] Warning: RPMDB altered outside of yum. [ceph-lab-03-ber][DEBUG ] Installing : boost-iostreams-1.53.0-25.el7.x86_64 1/33 [ceph-lab-03-ber][DEBUG ] Installing : boost-random-1.53.0-25.el7.x86_64 2/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:librados2-10.2.1-0.el7.x86_64 3/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:python-rados-10.2.1-0.el7.x86_64 4/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:librgw2-10.2.1-0.el7.x86_64 5/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:librbd1-10.2.1-0.el7.x86_64 6/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:libcephfs1-10.2.1-0.el7.x86_64 7/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:python-cephfs-10.2.1-0.el7.x86_64 8/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:python-rbd-10.2.1-0.el7.x86_64 9/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:libradosstriper1-10.2.1-0.el7.x86_64 10/33 [ceph-lab-03-ber][DEBUG ] Updating : selinux-policy-3.13.1-60.el7_2.3.noarch 11/33 [ceph-lab-03-ber][DEBUG ] Updating : selinux-policy-targeted-3.13.1-60.el7_2.3.noarch 12/33 2keph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Installing : boost-regex-1.53.0-25.el7.x86_64 13/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:ceph-common-10.2.1-0.el7.x86_64 14/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:ceph-selinux-10.2.1-0.el7.x86_64 15/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:ceph-base-10.2.1-0.el7.x86_64 16/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:ceph-mon-10.2.1-0.el7.x86_64 17/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:ceph-mds-10.2.1-0.el7.x86_64 18/33 [ceph-lab-03-ber][DEBUG ] Installing : fuse-libs-2.9.2-6.el7.x86_64 19/33 [ceph-lab-03-ber][DEBUG ] Installing : 1:ceph-osd-10.2.1-0.el7.x86_64 20/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:ceph-10.2.1-0.el7.x86_64 21/33 [ceph-lab-03-ber][DEBUG ] Updating : 1:ceph-radosgw-10.2.1-0.el7.x86_64 22/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:ceph-0.94.7-0.el7.x86_64 23/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:ceph-radosgw-0.94.7-0.el7.x86_64 24/33 [ceph-lab-03-ber][DEBUG ] Cleanup : selinux-policy-targeted-3.13.1-23.el7.noarch 25/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:ceph-common-0.94.7-0.el7.x86_64 26/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:python-cephfs-0.94.7-0.el7.x86_64 27/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:python-rbd-0.94.7-0.el7.x86_64 28/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:python-rados-0.94.7-0.el7.x86_64 29/33 [ceph-lab-03-ber][DEBUG ] Cleanup : selinux-policy-3.13.1-23.el7.noarch 30/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:librbd1-0.94.7-0.el7.x86_64 31/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:librados2-0.94.7-0.el7.x86_64 32/33 [ceph-lab-03-ber][DEBUG ] Cleanup : 1:libcephfs1-0.94.7-0.el7.x86_64 33/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:libcephfs1-10.2.1-0.el7.x86_64 1/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-selinux-10.2.1-0.el7.x86_64 2/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-10.2.1-0.el7.x86_64 3/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-base-10.2.1-0.el7.x86_64 4/33 [ceph-lab-03-ber][DEBUG ] Verifying : fuse-libs-2.9.2-6.el7.x86_64 5/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-osd-10.2.1-0.el7.x86_64 6/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:python-rados-10.2.1-0.el7.x86_64 7/33 [ceph-lab-03-ber][DEBUG ] Verifying : boost-regex-1.53.0-25.el7.x86_64 8/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-common-10.2.1-0.el7.x86_64 9/33 [ceph-lab-03-ber][DEBUG ] Verifying : boost-iostreams-1.53.0-25.el7.x86_64 10/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-radosgw-10.2.1-0.el7.x86_64 11/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-mon-10.2.1-0.el7.x86_64 12/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:python-cephfs-10.2.1-0.el7.x86_64 13/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-mds-10.2.1-0.el7.x86_64 14/33 [ceph-lab-03-ber][DEBUG ] Verifying : selinux-policy-3.13.1-60.el7_2.3.noarch 15/33 [ceph-lab-03-ber][DEBUG ] Verifying : boost-random-1.53.0-25.el7.x86_64 16/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:python-rbd-10.2.1-0.el7.x86_64 17/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:librgw2-10.2.1-0.el7.x86_64 18/33 [ceph-lab-03-ber][DEBUG ] Verifying : selinux-policy-targeted-3.13.1-60.el7_2.3.noarch 19/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:librbd1-10.2.1-0.el7.x86_64 20/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:libradosstriper1-10.2.1-0.el7.x86_64 21/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:librados2-10.2.1-0.el7.x86_64 22/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:librados2-0.94.7-0.el7.x86_64 23/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-0.94.7-0.el7.x86_64 24/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:librbd1-0.94.7-0.el7.x86_64 25/33 [ceph-lab-03-ber][DEBUG ] Verifying : selinux-policy-targeted-3.13.1-23.el7.noarch 26/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:python-rados-0.94.7-0.el7.x86_64 27/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:python-cephfs-0.94.7-0.el7.x86_64 28/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:libcephfs1-0.94.7-0.el7.x86_64 29/33 [ceph-lab-03-ber][DEBUG ] Verifying : selinux-policy-3.13.1-23.el7.noarch 30/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-common-0.94.7-0.el7.x86_64 31/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:ceph-radosgw-0.94.7-0.el7.x86_64 32/33 [ceph-lab-03-ber][DEBUG ] Verifying : 1:python-rbd-0.94.7-0.el7.x86_64 33/33 [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Dependency Installed: [ceph-lab-03-ber][DEBUG ] boost-iostreams.x86_64 0:1.53.0-25.el7 boost-random.x86_64 0:1.53.0-25.el7 [ceph-lab-03-ber][DEBUG ] boost-regex.x86_64 0:1.53.0-25.el7 ceph-base.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] ceph-mds.x86_64 1:10.2.1-0.el7 ceph-mon.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] ceph-osd.x86_64 1:10.2.1-0.el7 ceph-selinux.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] fuse-libs.x86_64 0:2.9.2-6.el7 libradosstriper1.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] librgw2.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Updated: [ceph-lab-03-ber][DEBUG ] ceph.x86_64 1:10.2.1-0.el7 ceph-radosgw.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Dependency Updated: [ceph-lab-03-ber][DEBUG ] ceph-common.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] libcephfs1.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] librados2.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] librbd1.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] python-cephfs.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] python-rados.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] python-rbd.x86_64 1:10.2.1-0.el7 [ceph-lab-03-ber][DEBUG ] selinux-policy.noarch 0:3.13.1-60.el7_2.3 [ceph-lab-03-ber][DEBUG ] selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.3 [ceph-lab-03-ber][DEBUG ] [ceph-lab-03-ber][DEBUG ] Complete! [ceph-lab-03-ber][INFO ] Running command: ceph --version [ceph-lab-03-ber][DEBUG ] ceph version 10.2.1 (3a66dd4f30852819c1bdaa8ec23c795d4ad77269)
I used that crap tip on my 3 monitors, the upgrade then succeeded.
On my osd nodes I then encountered another problem, but that's another story. (another ticket should come)
Here are my ceph.repo file on the mon/admin node after the ceph-deploy + mon upgrade:
[Ceph] name=Ceph packages for $basearch baseurl=http://download.ceph.com/rpm-jewel/el7/$basearch enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://download.ceph.com/keys/release.asc priority=1 [Ceph-noarch] name=Ceph noarch packages baseurl=http://download.ceph.com/rpm-jewel/el7/noarch enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://download.ceph.com/keys/release.asc priority=1 [ceph-source] name=Ceph source packages baseurl=http://download.ceph.com/rpm-jewel/el7/SRPMS enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://download.ceph.com/keys/release.asc priority=1
before the upgrade:
[root@cephmon-lab-01-ber ceph]# cat /etc/yum.repos.d/ceph.repo.rpmsave [Ceph] name=Ceph packages for $basearch baseurl=http://ceph.com/rpm-hammer/rhel7/$basearch enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc priority=1 [Ceph-noarch] name=Ceph noarch packages baseurl=http://ceph.com/rpm-hammer/rhel7/noarch enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc priority=1 [ceph-source] name=Ceph source packages baseurl=http://ceph.com/rpm-hammer/rhel7/SRPMS enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc priority=1
Is there something I did wrong ? Can you see the problem ?
Thanks for your time !
Related issues
History
#1 Updated by Phil Barton almost 8 years ago
+1 on this issue:
[ceph-deploy@admin-node ~]$ uname -r 3.10.0-229.14.1.el7.x86_64 [ceph-deploy@admin-node ~]$ cat /etc/*-release CentOS Linux release 7.1.1503 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)"
Resolved with the same process of removing ceph-release
[node1][DEBUG ] Configure Yum priorities to include obsoletes [node1][WARNIN] check_obsoletes has been enabled for Yum priorities plugin [node1][INFO ] Running command: sudo rpm --import https://download.ceph.com/keys/release.asc [node1][INFO ] Running command: sudo rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [node1][DEBUG ] Retrieving https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [node1][DEBUG ] Preparing... ######################################## [node1][WARNIN] file /etc/yum.repos.d/ceph.repo from install of ceph-release-1-1.el7.noarch conflicts with file from package ceph-release-1-1.el7.noarch [node1][ERROR ] RuntimeError: command returned non-zero exit status: 1 [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [ceph-deploy@admin-node ~]$ ssh node1 Last login: Fri Jun 10 12:24:47 2016 from admin-node [ceph-deploy@node1 ~]$ sudo yum remove ceph-release Loaded plugins: fastestmirror, priorities Resolving Dependencies ... Complete! [ceph-deploy@node1 ~]$ logout Connection to node1 closed. [ceph-deploy@admin-node ~]$ ceph-deploy install --stable jewel node1 [ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph-deploy/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.33): /bin/ceph-deploy install --stable jewel node1 ... [node1][DEBUG ] Complete! [node1][INFO ] Running command: sudo ceph --version [node1][DEBUG ] ceph version 10.2.1 (3a66dd4f30852819c1bdaa8ec23c795d4ad77269)
Thanks.
#2 Updated by Alfredo Deza over 7 years ago
- Status changed from New to Rejected
This is probably because the system was polluted with a previous install. I was unable to replicate this on a new CentOS 7 box:
$ ceph-deploy --version 1.5.34 ... $ ceph-deploy install --release jewel node6 [ceph_deploy.conf][DEBUG ] found configuration file at: /Users/alfredo/tmp/foo/cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.34): /Users/alfredo/.virtualenvs/ceph-deploy/bin/ceph-deploy install --release jewel node6 [ceph_deploy.cli][INFO ] ceph-deploy options: [ceph_deploy.cli][INFO ] verbose : False [ceph_deploy.cli][INFO ] testing : None [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x1030bb5a8> [ceph_deploy.cli][INFO ] cluster : ceph [ceph_deploy.cli][INFO ] dev_commit : None [ceph_deploy.cli][INFO ] install_mds : False [ceph_deploy.cli][INFO ] stable : None [ceph_deploy.cli][INFO ] default_release : False [ceph_deploy.cli][INFO ] username : None [ceph_deploy.cli][INFO ] adjust_repos : True [ceph_deploy.cli][INFO ] func : <function install at 0x103022b90> [ceph_deploy.cli][INFO ] install_all : False [ceph_deploy.cli][INFO ] repo : False [ceph_deploy.cli][INFO ] host : ['node6'] [ceph_deploy.cli][INFO ] install_rgw : False [ceph_deploy.cli][INFO ] install_tests : False [ceph_deploy.cli][INFO ] repo_url : None [ceph_deploy.cli][INFO ] ceph_conf : None [ceph_deploy.cli][INFO ] install_osd : False [ceph_deploy.cli][INFO ] version_kind : stable [ceph_deploy.cli][INFO ] install_common : False [ceph_deploy.cli][INFO ] overwrite_conf : False [ceph_deploy.cli][INFO ] quiet : False [ceph_deploy.cli][INFO ] dev : master [ceph_deploy.cli][INFO ] nogpgcheck : False [ceph_deploy.cli][INFO ] local_mirror : None [ceph_deploy.cli][INFO ] release : jewel [ceph_deploy.cli][INFO ] install_mon : False [ceph_deploy.cli][INFO ] gpg_url : None [ceph_deploy.install][DEBUG ] Installing stable version jewel on cluster ceph hosts node6 [ceph_deploy.install][DEBUG ] Detecting platform for host node6 ... [node6][DEBUG ] connection detected need for sudo [node6][DEBUG ] connected to host: node6 [node6][DEBUG ] detect platform information from remote host [node6][DEBUG ] detect machine type [ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.0.1406 Core [node6][INFO ] installing Ceph on node6 [node6][INFO ] Running command: sudo yum clean all [node6][DEBUG ] Loaded plugins: fastestmirror [node6][DEBUG ] Cleaning repos: base extras updates [node6][DEBUG ] Cleaning up everything [node6][INFO ] Running command: sudo yum -y install epel-release [node6][DEBUG ] Loaded plugins: fastestmirror [node6][DEBUG ] Determining fastest mirrors [node6][DEBUG ] * base: bay.uchicago.edu [node6][DEBUG ] * extras: mirror.confluxtech.com [node6][DEBUG ] * updates: mirror.us.leaseweb.net [node6][DEBUG ] Resolving Dependencies [node6][DEBUG ] --> Running transaction check [node6][DEBUG ] ---> Package epel-release.noarch 0:7-6 will be installed [node6][DEBUG ] --> Finished Dependency Resolution [node6][DEBUG ] [node6][DEBUG ] Dependencies Resolved [node6][DEBUG ] [node6][DEBUG ] ================================================================================ [node6][DEBUG ] Package Arch Version Repository Size [node6][DEBUG ] ================================================================================ [node6][DEBUG ] Installing: [node6][DEBUG ] epel-release noarch 7-6 extras 14 k [node6][DEBUG ] [node6][DEBUG ] Transaction Summary [node6][DEBUG ] ================================================================================ [node6][DEBUG ] Install 1 Package [node6][DEBUG ] [node6][DEBUG ] Total download size: 14 k [node6][DEBUG ] Installed size: 24 k [node6][DEBUG ] Downloading packages: [node6][DEBUG ] Public key for epel-release-7-6.noarch.rpm is not installed [node6][WARNIN] warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY [node6][DEBUG ] Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 [node6][WARNIN] Importing GPG key 0xF4A80EB5: [node6][WARNIN] Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" [node6][WARNIN] Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 [node6][WARNIN] Package : centos-release-7-0.1406.el7.centos.2.3.x86_64 (@anaconda) [node6][WARNIN] From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 [node6][DEBUG ] Running transaction check [node6][DEBUG ] Running transaction test [node6][DEBUG ] Transaction test succeeded [node6][DEBUG ] Running transaction [node6][DEBUG ] Installing : epel-release-7-6.noarch 1/1 [node6][DEBUG ] Verifying : epel-release-7-6.noarch 1/1 [node6][DEBUG ] [node6][DEBUG ] Installed: [node6][DEBUG ] epel-release.noarch 0:7-6 [node6][DEBUG ] [node6][DEBUG ] Complete! [node6][INFO ] Running command: sudo yum -y install yum-plugin-priorities [node6][DEBUG ] Loaded plugins: fastestmirror [node6][DEBUG ] Loading mirror speeds from cached hostfile [node6][DEBUG ] * base: bay.uchicago.edu [node6][DEBUG ] * epel: reflector.westga.edu [node6][DEBUG ] * extras: mirror.confluxtech.com [node6][DEBUG ] * updates: mirror.us.leaseweb.net [node6][DEBUG ] Resolving Dependencies [node6][DEBUG ] --> Running transaction check [node6][DEBUG ] ---> Package yum-plugin-priorities.noarch 0:1.1.31-34.el7 will be installed [node6][DEBUG ] --> Finished Dependency Resolution [node6][DEBUG ] [node6][DEBUG ] Dependencies Resolved [node6][DEBUG ] [node6][DEBUG ] ================================================================================ [node6][DEBUG ] Package Arch Version Repository Size [node6][DEBUG ] ================================================================================ [node6][DEBUG ] Installing: [node6][DEBUG ] yum-plugin-priorities noarch 1.1.31-34.el7 base 25 k [node6][DEBUG ] [node6][DEBUG ] Transaction Summary [node6][DEBUG ] ================================================================================ [node6][DEBUG ] Install 1 Package [node6][DEBUG ] [node6][DEBUG ] Total download size: 25 k [node6][DEBUG ] Installed size: 28 k [node6][DEBUG ] Downloading packages: [node6][DEBUG ] Running transaction check [node6][DEBUG ] Running transaction test [node6][DEBUG ] Transaction test succeeded [node6][DEBUG ] Running transaction [node6][DEBUG ] Installing : yum-plugin-priorities-1.1.31-34.el7.noarch 1/1 [node6][DEBUG ] Verifying : yum-plugin-priorities-1.1.31-34.el7.noarch 1/1 [node6][DEBUG ] [node6][DEBUG ] Installed: [node6][DEBUG ] yum-plugin-priorities.noarch 0:1.1.31-34.el7 [node6][DEBUG ] [node6][DEBUG ] Complete! [node6][DEBUG ] Configure Yum priorities to include obsoletes [node6][WARNIN] check_obsoletes has been enabled for Yum priorities plugin [node6][INFO ] Running command: sudo rpm --import https://download.ceph.com/keys/release.asc [node6][INFO ] Running command: sudo rpm -Uvh --replacepkgs https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [node6][DEBUG ] Retrieving https://download.ceph.com/rpm-jewel/el7/noarch/ceph-release-1-0.el7.noarch.rpm [node6][DEBUG ] Preparing... ######################################## [node6][DEBUG ] Updating / installing... [node6][DEBUG ] ceph-release-1-1.el7 ######################################## [node6][WARNIN] ensuring that /etc/yum.repos.d/ceph.repo contains a high priority [node6][WARNIN] altered ceph.repo priorities to contain: priority=1 [node6][INFO ] Running command: sudo yum -y install ceph ceph-radosgw [node6][DEBUG ] Loaded plugins: fastestmirror, priorities [node6][DEBUG ] Loading mirror speeds from cached hostfile [node6][DEBUG ] * base: bay.uchicago.edu [node6][DEBUG ] * epel: reflector.westga.edu [node6][DEBUG ] * extras: mirror.confluxtech.com [node6][DEBUG ] * updates: mirror.us.leaseweb.net [node6][DEBUG ] 25 packages excluded due to repository priority protections [node6][DEBUG ] Resolving Dependencies [node6][DEBUG ] --> Running transaction check [node6][DEBUG ] ---> Package ceph.x86_64 1:10.2.2-0.el7 will be installed ... [node6][DEBUG ] Dependency Updated: [node6][DEBUG ] cryptsetup-libs.x86_64 0:1.6.7-1.el7 [node6][DEBUG ] selinux-policy.noarch 0:3.13.1-60.el7_2.7 [node6][DEBUG ] selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.7 [node6][DEBUG ] [node6][DEBUG ] Complete! [node6][INFO ] Running command: sudo ceph --version [node6][DEBUG ] ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
#3 Updated by Vasu Kulkarni over 6 years ago
- Related to Bug #20809: luminous ceph-release-1-0.el7.noarch.rpm doesn't update the previous version from jewel added
#4 Updated by Vasu Kulkarni over 6 years ago
- Status changed from Rejected to 12
#5 Updated by Vasu Kulkarni over 6 years ago
A very genuine case which we should handle for easy upgrade
#6 Updated by Patrick Donnelly over 4 years ago
- Status changed from 12 to New