Project

General

Profile

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.

Status:
Closed
Priority:
Urgent
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:

Description

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
OK
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 http://apt-mirror.front.sepia.ceph.com precise InRelease
Ign http://apt-mirror.front.sepia.ceph.com precise-updates InRelease
Ign http://apt-mirror.front.sepia.ceph.com precise-backports InRelease
Ign http://apt-mirror.front.sepia.ceph.com precise-security InRelease
Hit http://apt-mirror.front.sepia.ceph.com precise Release.gpg
Hit http://apt-mirror.front.sepia.ceph.com precise-updates Release.gpg
Hit http://apt-mirror.front.sepia.ceph.com precise-backports Release.gpg
Hit http://apt-mirror.front.sepia.ceph.com precise-security Release.gpg
Hit http://apt-mirror.front.sepia.ceph.com precise Release
Hit http://apt-mirror.front.sepia.ceph.com precise-updates Release
Hit http://ceph.com precise InRelease
Hit http://gitbuilder.ceph.com precise InRelease
Hit http://gitbuilder.ceph.com precise InRelease
Hit http://apt-mirror.front.sepia.ceph.com precise-backports Release
Hit http://apt-mirror.front.sepia.ceph.com precise-security Release
Hit http://apt-mirror.front.sepia.ceph.com precise/main Sources
Hit http://apt-mirror.front.sepia.ceph.com precise/restricted Sources
Hit http://apt-mirror.front.sepia.ceph.com precise/universe Sources
Hit http://apt-mirror.front.sepia.ceph.com precise/multiverse Sources
Hit http://apt-mirror.front.sepia.ceph.com precise/main amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/restricted amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/universe amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/multiverse amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/main i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/restricted i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/universe i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise/multiverse i386 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise/main TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise/multiverse TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise/restricted TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise/universe TranslationIndex
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/main Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/restricted Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/universe Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/main amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/restricted amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/universe amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/main i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/restricted i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/universe i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse i386 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/main TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/restricted TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/universe TranslationIndex
Hit http://ceph.com precise/main amd64 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise/main Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise/main Translation-en
Hit http://ceph.com precise/main i386 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise/multiverse Translation-en_US
Hit http://gitbuilder.ceph.com precise/main amd64 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise/multiverse Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise/restricted Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise/restricted Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise/universe Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise/universe Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/main Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/main Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/multiverse Translation-en
Hit http://gitbuilder.ceph.com precise/main i386 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/restricted Translation-en_US
Ign http://gitbuilder.ceph.com precise/main TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/restricted Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/universe Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-updates/universe Translation-en
Ign http://ceph.com precise/main TranslationIndex
Hit http://gitbuilder.ceph.com precise/main amd64 Packages
Hit http://gitbuilder.ceph.com precise/main i386 Packages
Ign http://gitbuilder.ceph.com precise/main TranslationIndex
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/main Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/restricted Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/universe Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/main amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/restricted amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/universe amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/main i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/restricted i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/universe i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse i386 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/main TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/restricted TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/universe TranslationIndex
Hit http://apt-mirror.front.sepia.ceph.com precise-security/main Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-security/restricted Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-security/universe Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-security/multiverse Sources
Hit http://apt-mirror.front.sepia.ceph.com precise-security/main amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/restricted amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/universe amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/multiverse amd64 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/main i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/restricted i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/universe i386 Packages
Hit http://apt-mirror.front.sepia.ceph.com precise-security/multiverse i386 Packages
Ign http://apt-mirror.front.sepia.ceph.com precise-security/main TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-security/multiverse TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-security/restricted TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-security/universe TranslationIndex
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/main Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/main Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/multiverse Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/mu  File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/cli.py", line 112, in main
    return args.func(args)
  File "/home/ubuntu/ceph-dep/ceph-deploy/ceph_deploy/install.py", line 171, in install
    version=version,
  File "/home/ubuntu/ceph-dep/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.3-py2.7.egg/pushy/protocol/proxy.py", 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/connection.py", 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/baseconnection.py", 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/baseconnection.py", line 645, in __handle
    raise e
ltiverse Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/restricted Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/restricted Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/universe Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-backports/universe Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-security/main Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-security/main Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-security/multiverse Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-security/multiverse Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-security/restricted Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-security/restricted Translation-en
Ign http://apt-mirror.front.sepia.ceph.com precise-security/universe Translation-en_US
Ign http://apt-mirror.front.sepia.ceph.com precise-security/universe Translation-en
Ign http://gitbuilder.ceph.com precise/main Translation-en_US
Ign http://gitbuilder.ceph.com precise/main Translation-en
Ign http://gitbuilder.ceph.com precise/main Translation-en_US
Ign http://gitbuilder.ceph.com precise/main Translation-en
Ign http://ceph.com precise/main Translation-en_US
Ign http://ceph.com 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


Subtasks

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

History

#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