Skip to content
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

build/ops: /usr/bin/ceph from ceph-common is broken without installing ceph #5206

Merged
1 commit merged into from Jul 28, 2015

Conversation

smithfarm
Copy link
Contributor

@ghost
Copy link

ghost commented Jul 11, 2015

@smithfarm please ignore the bot false negative, it will be fixed by #5208

@ghost
Copy link

ghost commented Jul 11, 2015

@smithfarm the fix was merged, could you please rebase & repush to trigger the bot once more ?

ghost pushed a commit that referenced this pull request Jul 15, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 15, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 16, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@@ -60,7 +60,7 @@ Standards-Version: 3.9.3
Package: ceph
Architecture: linux-any
Depends: binutils,
ceph-common (>= 0.78-500),
ceph-common (>= 9.0.0-943),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

> 0.94.2

@ghost ghost changed the title /usr/bin/ceph from ceph-common is broken without installing ceph DNM: /usr/bin/ceph from ceph-common is broken without installing ceph Jul 19, 2015
@ghost
Copy link

ghost commented Jul 19, 2015

fails http://pulpito.ceph.com/abhi-2015-07-16_21:14:44-rbd-hammer-backports---basic-multi/975526/

2015-07-17T21:41:48.413 INFO:teuthology.orchestra.run.burnupi05:Running: u'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph=0.94.2-162-gbeee587-1trusty ceph-dbg=0.94.2-162-gbeee587-1trusty ceph-mds=0.94.2-162-gbeee587-1trusty ceph-mds-dbg=0.94.2-162-gbeee587-1trusty ceph-common=0.94.2-162-gbeee587-1trusty ceph-common-dbg=0.94.2-162-gbeee587-1trusty ceph-fuse=0.94.2-162-gbeee587-1trusty ceph-fuse-dbg=0.94.2-162-gbeee587-1trusty ceph-test=0.94.2-162-gbeee587-1trusty ceph-test-dbg=0.94.2-162-gbeee587-1trusty radosgw=0.94.2-162-gbeee587-1trusty radosgw-dbg=0.94.2-162-gbeee587-1trusty python-ceph=0.94.2-162-gbeee587-1trusty libcephfs1=0.94.2-162-gbeee587-1trusty libcephfs1-dbg=0.94.2-162-gbeee587-1trusty libcephfs-java=0.94.2-162-gbeee587-1trusty libcephfs-jni=0.94.2-162-gbeee587-1trusty librados2=0.94.2-162-gbeee587-1trusty librados2-dbg=0.94.2-162-gbeee587-1trusty librbd1=0.94.2-162-gbeee587-1trusty librbd1-dbg=0.94.2-162-gbeee587-1trusty rbd-fuse=0.94.2-162-gbeee587-1trusty librados2=0.94.2-162-gbeee587-1trusty librados2-dbg=0.94.2-162-gbeee587-1trusty librbd1=0.94.2-162-gbeee587-1trusty librbd1-dbg=0.94.2-162-gbeee587-1trusty'
2015-07-17T21:41:48.457 INFO:teuthology.orchestra.run.burnupi05.stdout:Reading package lists...
2015-07-17T21:41:48.769 INFO:teuthology.orchestra.run.burnupi05.stdout:Building dependency tree...
2015-07-17T21:41:48.771 INFO:teuthology.orchestra.run.burnupi05.stdout:Reading state information...
2015-07-17T21:41:49.040 INFO:teuthology.orchestra.run.burnupi05.stdout:Some packages could not be installed. This may mean that you have
2015-07-17T21:41:49.040 INFO:teuthology.orchestra.run.burnupi05.stdout:requested an impossible situation or if you are using the unstable
2015-07-17T21:41:49.040 INFO:teuthology.orchestra.run.burnupi05.stdout:distribution that some required packages have not yet been created
2015-07-17T21:41:49.040 INFO:teuthology.orchestra.run.burnupi05.stdout:or been moved out of Incoming.
2015-07-17T21:41:49.041 INFO:teuthology.orchestra.run.burnupi05.stdout:The following information may help to resolve the situation:
2015-07-17T21:41:49.041 INFO:teuthology.orchestra.run.burnupi05.stdout:
2015-07-17T21:41:49.041 INFO:teuthology.orchestra.run.burnupi05.stdout:The following packages have unmet dependencies:
2015-07-17T21:41:49.041 INFO:teuthology.orchestra.run.burnupi05.stdout: ceph : Depends: ceph-common (>= 9.0.0-943) but 0.94.2-162-gbeee587-1trusty is to be installed
2015-07-17T21:41:49.041 INFO:teuthology.orchestra.run.burnupi05.stdout: ceph-common : Breaks: ceph (< 9.0.0-943) but 0.94.2-162-gbeee587-1trusty is to be installed
2015-07-17T21:41:49.085 INFO:teuthology.orchestra.run.burnupi05.stderr:E: Unable to correct problems, you have held broken packages.

@smithfarm smithfarm changed the title DNM: /usr/bin/ceph from ceph-common is broken without installing ceph /usr/bin/ceph from ceph-common is broken without installing ceph Jul 19, 2015
ghost pushed a commit that referenced this pull request Jul 19, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 19, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@@ -60,7 +60,7 @@ Standards-Version: 3.9.3
Package: ceph
Architecture: linux-any
Depends: binutils,
ceph-common (>= 0.78-500),
ceph-common (>= 0.94.2),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It must be >> 0.94.2 otherwise upgrading from 0.94.2 to 0.94.3 will not do the right thing.

Prior to this commit, if a user installed the "ceph-common" Debian
package without installing "ceph", then /usr/bin/ceph would crash
because it was missing the ceph_argparse library.

Ship the ceph_argparse library in "ceph-common" instead of "ceph". (This
was the intention of the original commit that moved argparse to "ceph",
2a23eac)

http://tracker.ceph.com/issues/11388 Refs: ceph#11388

Reported-by: Jens Rosenboom <j.rosenboom@x-ion.de>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit 110608e)

Conflicts:
	debian/ceph.install
            There is no ceph_daemon.py in hammer
        debian/control
            Depends/Replaces/Breaks version adapted (from 9.0.0 to 0.94.2)
            also adapted ceph-dbg Replaces/Breaks
ghost pushed a commit that referenced this pull request Jul 19, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 19, 2015
…thout installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jul 28, 2015
/usr/bin/ceph from ceph-common is broken without installing ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost merged commit 481728a into ceph:hammer Jul 28, 2015
@smithfarm smithfarm deleted the wip-11998-hammer branch July 29, 2015 07:04
@ghost ghost changed the title /usr/bin/ceph from ceph-common is broken without installing ceph build/ops: /usr/bin/ceph from ceph-common is broken without installing ceph Aug 4, 2015
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants