kolla-toolbox build will fail when the latest rabbitmq-server dependencies don't match the current specified

Bug #2066171 reported by Matt Crees
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned

Bug Description

Seen in this patch for example, where I try to build an earlier version of rabbitmq: https://review.opendev.org/c/openstack/kolla/+/918973

Relevant excerpt from kolla-build logs:
```
INFO:kolla.common.utils.kolla-toolbox:The following packages have unmet dependencies:
INFO:kolla.common.utils.kolla-toolbox: rabbitmq-server : Depends: erlang-base (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: erlang-base-hipe (>= 1:26.0) but it is not installable or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-crypto (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-eldap (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-inets (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-mnesia (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-os-mon (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-parsetools (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-public-key (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-runtime-tools (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-ssl (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-syntax-tools (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-tools (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox: Depends: erlang-xmerl (>= 1:26.0) but 1:25.3.2.12-1rmq1ppa1~ubuntu22.04.1 is to be installed or
INFO:kolla.common.utils.kolla-toolbox: esl-erlang (>= 1:26.0) but it is not installable
INFO:kolla.common.utils.kolla-toolbox:E: Unable to correct problems, you have held broken packages.
```

I think this will also cause us issues next time RabbitMQ makes a release, so should be fixed in master.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kolla/+/920037

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/920037
Committed: https://opendev.org/openstack/kolla/commit/006ccee101b3944eeb22299226d45520850dba0e
Submitter: "Zuul (22348)"
Branch: master

commit 006ccee101b3944eeb22299226d45520850dba0e
Author: Matt Crees <email address hidden>
Date: Mon May 20 14:29:01 2024 +0100

    Pass rabbitmq apt preferences into kolla-toolbox

    If the latest and targeted rabbitmq-server dependencies mismatch,
    kolla-toolbox will fail to build.

    Closes-Bug: #2066171
    Change-Id: I64e9442545d98364585e3c632ae9142cd6b4f9bf

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/2024.1)

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/kolla/+/923940

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla/+/923941

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla/+/923942

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (stable/2023.1)

Change abandoned by "Matt Crees <email address hidden>" on branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla/+/923942
Reason: abandonded: merged into this patch: https://review.opendev.org/c/openstack/kolla/+/918973 as fixes are required together

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.