noble landscape-server deploy fails

Bug #2093340 reported by Heather Lemon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
New
Undecided
Unassigned

Bug Description

On noble with a fresh install and deploying landscape-server, there is a dpkg problem in the logs where it fails to install the landscape package.

ubuntu@vm:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
landscape-noble localhost-localhost localhost/localhost 3.6.1 unsupported 07:41:03-07:00

App Version Status Scale Charm Channel Rev Exposed Message
haproxy active 1 haproxy latest/stable 84 yes Unit is ready
landscape-server error 1 landscape-server latest/stable 124 no hook failed: "install"
postgresql 14.12 active 1 postgresql 14/stable 468 no
rabbitmq-server 3.12.1 active 1 rabbitmq-server 3.12/stable 213 no Unit is ready

Unit Workload Agent Machine Public address Ports Message
haproxy/0* active idle 0 10.157.202.38 Unit is ready
landscape-server/0* error idle 1 10.157.202.252 hook failed: "install"
postgresql/0* active idle 2 10.157.202.43 5432/tcp Primary
rabbitmq-server/0* active idle 3 10.157.202.193 5672,15672/tcp Unit is ready

Machine State Address Inst id Base AZ Message
0 started 10.157.202.38 juju-25b8ec-0 ubuntu@24.04 Running
1 started 10.157.202.252 juju-25b8ec-1 ubuntu@24.04 Running
2 started 10.157.202.43 juju-25b8ec-2 ubuntu@22.04 Running
3 started 10.157.202.193 juju-25b8ec-3 ubuntu@24.04 Running

  File "/var/lib/juju/agents/unit-landscape-server-0/charm/./src/charm.py", line 348, in _on_install
    apt.add_package([LANDSCAPE_SERVER, "landscape-hashids"], update_cache=True)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/lib/charms/operator_libs_linux/v0/apt.py", line 761, in add_package
    pkg, success = _add(p, version, arch)
                   ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/lib/charms/operator_libs_linux/v0/apt.py", line 802, in _add
    pkg.ensure(state=PackageState.Present)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/lib/charms/operator_libs_linux/v0/apt.py", line 289, in ensure
    self._add()
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/lib/charms/operator_libs_linux/v0/apt.py", line 261, in _add
    self._apt(
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/lib/charms/operator_libs_linux/v0/apt.py", line 255, in _apt
    raise PackageError(
charms.operator_libs_linux.v0.apt.PackageError: Could not install package(s) [['landscape-server=24.04.9-0landscape0']]: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Revision history for this message
Heather Lemon (hypothetical-lemon) wrote :

juju deployment bundle on noble

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.