]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
debian,ceph.spec: fix ceph-osd upgrade conflicts
authorMatan Breizman <mbreizma@redhat.com>
Tue, 9 Dec 2025 09:52:08 +0000 (09:52 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 11 Dec 2025 11:56:46 +0000 (11:56 +0000)
commit9f1c8f9447026f5ef4965a96d1aaaae7ee59dad4
treea6b6c6c2646b6908c567f2eb6b052a1e8c887449
parentc1de2b134fe75e452ebbdd7e8f8f6170cbb41323
debian,ceph.spec: fix ceph-osd upgrade conflicts

With https://github.com/ceph/ceph/pull/65782 merged, upgrading ceph-osd
would need to replace the previous ceph-osd existing on the machine.
Otherwise, we won't be able to symlink the newly installed package:
```
2025-12-05T21:09:20.472 INFO:teuthology.orchestra.run.smithi077.stdout:
Installing       : ceph-osd-classic-2:20.3.0-4434.g8611241d.el9.x86_6
24/87
2025-12-05T21:09:20.478 INFO:teuthology.orchestra.run.smithi077.stdout:
Running scriptlet: ceph-osd-classic-2:20.3.0-4434.g8611241d.el9.x86_6
24/87
2025-12-05T21:09:20.479
INFO:teuthology.orchestra.run.smithi077.stdout:failed to link
/usr/bin/ceph-osd -> /etc/alternatives/ceph-osd: /usr/bin/ceph-osd
exists and it is not a symlink
```

Note: debian/control ceph-osd-classic already had Replace and Breaks:
      - Breaks is replaced with Conflicts to not allow coexistence.
      - Release version is bumped up to be relevant for latest main

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
ceph.spec.in
debian/control