Feature #5769

ceph-deploy: install command should be able to downgrade the existing ceph packages to a given ceph branch

Added by Tamilarasi muthamizhan over 7 years ago. Updated about 4 years ago.

Target version:
% Done:


Affected Versions:


currently, install command does not automatically downgrade the existing packages on a given system to a given ceph branch. It would be nice to have install command take care of downgrading the packages, so we dont have to cleanup the system, every time we downgrade ceph.

ubuntu@mira074:~/ceph-dep/ceph-deploy$ dpkg -l | grep librbd1
ii  librbd1                                      0.67-rc2-32-g4aeb73a-1precise    RADOS block device client library

ubuntu@mira074:~/ceph-dep/ceph-deploy$ ./ceph-deploy install --stable=cuttlefish mira074
Distro info: Ubuntu 12.04 precise
E: Unable to correct problems, you have held broken packages.
Traceback (most recent call last):
  File "./ceph-deploy", line 9, in <module>
    load_entry_point('ceph-deploy==1.1', 'console_scripts', 'ceph-deploy')()
Ign precise InRelease
Ign precise-updates InRelease
Ign precise-backports InRelease
Ign precise-security InRelease
Hit precise Release.gpg
Hit precise-updates Release.gpg
Hit precise-backports Release.gpg
Hit precise-security Release.gpg
Hit precise Release
Hit precise-updates Release
Hit precise InRelease
Hit precise InRelease
Hit precise InRelease
Hit precise-backports Release
Hit precise-security Release
Hit precise/main Sources
Hit precise/restricted Sources
Hit precise/universe Sources
Hit precise/multiverse Sources
Hit precise/main amd64 Packages
Hit precise/restricted amd64 Packages
Hit precise/universe amd64 Packages
Hit precise/multiverse amd64 Packages
Hit precise/main i386 Packages
Hit precise/restricted i386 Packages
Hit precise/universe i386 Packages
Hit precise/multiverse i386 Packages
Ign precise/main TranslationIndex
Ign precise/multiverse TranslationIndex
Ign precise/restricted TranslationIndex
Ign precise/universe TranslationIndex
Hit precise-updates/main Sources
Hit precise-updates/restricted Sources
Hit precise-updates/universe Sources
Hit precise-updates/multiverse Sources
Hit precise-updates/main amd64 Packages
Hit precise-updates/restricted amd64 Packages
Hit precise-updates/universe amd64 Packages
Hit precise-updates/multiverse amd64 Packages
Hit precise-updates/main i386 Packages
Hit precise-updates/restricted i386 Packages
Hit precise-updates/universe i386 Packages
Hit precise-updates/multiverse i386 Packages
Ign precise-updates/main TranslationIndex
Ign precise-updates/multiverse TranslationIndex
Ign precise-updates/restricted TranslationIndex
Ign precise-updates/universe TranslationIndex
Hit precise/main amd64 Packages
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Hit precise/main i386 Packages
Ign precise/multiverse Translation-en_US
Hit precise/main amd64 Packages
Ign precise/multiverse Translation-en
Ign precise/restricted Translation-en_US
Ign precise/restricted Translation-en
Ign precise/universe Translation-en_US
Ign precise/universe Translation-en
Ign precise-updates/main Translation-en_US
Ign precise-updates/main Translation-en
Ign precise-updates/multiverse Translation-en_US
Ign precise-updates/multiverse Translation-en
Hit precise/main i386 Packages
Ign precise-updates/restricted Translation-en_US
Ign precise/main TranslationIndex
Ign precise-updates/restricted Translation-en
Ign precise-updates/universe Translation-en_US
Ign precise-updates/universe Translation-en
Ign precise/main TranslationIndex
Hit precise/main amd64 Packages
Hit precise/main i386 Packages
Ign precise/main TranslationIndex
Hit precise-backports/main Sources
Hit precise-backports/restricted Sources
Hit precise-backports/universe Sources
Hit precise-backports/multiverse Sources
Hit precise-backports/main amd64 Packages
Hit precise-backports/restricted amd64 Packages
Hit precise-backports/universe amd64 Packages
Hit precise-backports/multiverse amd64 Packages
Hit precise-backports/main i386 Packages
Hit precise-backports/restricted i386 Packages
Hit precise-backports/universe i386 Packages
Hit precise-backports/multiverse i386 Packages
Ign precise-backports/main TranslationIndex
Ign precise-backports/multiverse TranslationIndex
Ign precise-backports/restricted TranslationIndex
Ign precise-backports/universe TranslationIndex
Hit precise-security/main Sources
Hit precise-security/restricted Sources
Hit precise-security/universe Sources
Hit precise-security/multiverse Sources
Hit precise-security/main amd64 Packages
Hit precise-security/restricted amd64 Packages
Hit precise-security/universe amd64 Packages
Hit precise-security/multiverse amd64 Packages
Hit precise-security/main i386 Packages
Hit precise-security/restricted i386 Packages
Hit precise-security/universe i386 Packages
Hit precise-security/multiverse i386 Packages
Ign precise-security/main TranslationIndex
Ign precise-security/multiverse TranslationIndex
Ign precise-security/restricted TranslationIndex
Ign precise-security/universe TranslationIndex
Ign precise-backports/main Translation-en_US
Ign precise-backports/main Translation-en
Ign precise-backports/multiverse Translation-en_US
Ign precise-backports/mu  File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/", line 112, in main
    return args.func(args)
  File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/", line 171, in install
  File "/home/ubuntu/ceph-dep/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/", line 255, in <lambda>
    (conn.operator(type_, self, args, kwargs))
  File "/home/ubuntu/ceph-dep/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/", line 66, in operator
    return self.send_request(type_, (object, args, kwargs))
  File "/home/ubuntu/ceph-dep/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/", line 329, in send_request
    return self.__handle(m)
  File "/home/ubuntu/ceph-dep/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/", line 645, in __handle
    raise e
ltiverse Translation-en
Ign precise-backports/restricted Translation-en_US
Ign precise-backports/restricted Translation-en
Ign precise-backports/universe Translation-en_US
Ign precise-backports/universe Translation-en
Ign precise-security/main Translation-en_US
Ign precise-security/main Translation-en
Ign precise-security/multiverse Translation-en_US
Ign precise-security/multiverse Translation-en
Ign precise-security/restricted Translation-en_US
Ign precise-security/restricted Translation-en
Ign precise-security/universe Translation-en_US
Ign precise-security/universe Translation-en
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Ign precise/main Translation-en_US
Ign precise/main Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
gdisk is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ceph-common : Depends: librbd1 (= 0.61.7-1precise) but 0.67-rc2-32-g4aeb73a-1precise is to be installed
pushy.protocol.proxy.ExceptionProxy: Command '['env', 'DEBIAN_FRONTEND=noninteractive', 'DEBIAN_PRIORITY=critical', 'apt-get', '-q', '-o', 'Dpkg::Options::=--force-confnew', 'install', '--no-install-recommends', '--assume-yes', '--', 'ceph', 'ceph-mds', 'ceph-common', 'ceph-fs-common', 'gdisk']' returned non-zero exit status 100


teuthology - Subtask #5889: teuthology ceph-deploy task fails on Centos -- possible packaging issue?Duplicate


#1 Updated by Neil Levine about 6 years ago

  • Project changed from devops to Ceph-deploy
  • Category deleted (ceph-deploy)

#2 Updated by Ian Colle about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF