Landscape-server charm failed with install hook - connection is shut down

Bug #2037576 reported by Jeffrey Chang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
New
Undecided
Unassigned

Bug Description

Charm landscape-server for series jammy with revision 87 with architecture=amd64, with landscape-server23.03+17-0landscape0.

Solutions QA found this from https://solutions.qa.canonical.com/testruns/20e99a26-7d72-457f-ab6c-fbea70fdce95.
logs can be found here, https://oil-jenkins.canonical.com/artifacts/20e99a26-7d72-457f-ab6c-fbea70fdce95/generated/generated/landscape/juju-crashdump-landscape-2023-09-27-07.37.14.tar.gz

Error logs
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:603 "metric-sender" manifold worker completed successfully
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "metric-collect" manifold worker stopped: fortress operation aborted
stack trace:
github.com/juju/juju/worker/fortress.init:43: fortress operation aborted
github.com/juju/juju/worker/metrics/collect.newCollect:165:
github.com/juju/juju/worker/fortress.Occupy:63:
github.com/juju/juju/cmd/jujud/agent/engine.occupyStart.func1:93:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:603 "charm-dir" manifold worker completed successfully
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:603 "metric-spool" manifold worker completed successfully
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "migration-inactive-flag" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "migration-minion" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "logging-config-updater" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "api-address-updater" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "meter-status" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "hook-retry-strategy" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:618 "secret-drain-worker" manifold worker stopped: connection is shut down
stack trace:
github.com/juju/juju/rpc.init:14: connection is shut down
github.com/juju/juju/rpc.(*Conn).Call:178:
github.com/juju/juju/api.(*state).APICall:1261:
2023-09-27 07:34:23 DEBUG juju.worker.dependency engine.go:603 "api-caller" manifold worker completed successfully
2023-09-27 07:34:23 DEBUG juju.worker.uniter runlistener.go:130 juju-exec listener stopping
2023-09-27 07:34:23 DEBUG juju.worker.uniter runlistener.go:149 juju-exec listener stopped
2023-09-27 07:35:16 ERROR unit.landscape-server/0.juju-log server.go:325 Uncaught exception while in charm code:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/model.py", line 2616, in _run
    result = run(args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('/var/lib/juju/tools/unit-landscape-server-0/status-set', '--application=False', 'maintenance', 'Installing SSL certificate')' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/./src/charm.py", line 1004, in <module>
    main(LandscapeServerCharm)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/main.py", line 441, in main
    _emit_charm_event(charm, dispatcher.event_name)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/main.py", line 149, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/framework.py", line 354, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/framework.py", line 830, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/framework.py", line 919, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/./src/charm.py", line 271, in _on_install
    self.unit.status = MaintenanceStatus("Installing SSL certificate")
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/model.py", line 532, in status
    self._backend.status_set(value.name, value.message, is_app=False)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/model.py", line 2818, in status_set
    self._run('status-set', f'--application={is_app}', status, message)
  File "/var/lib/juju/agents/unit-landscape-server-0/charm/venv/ops/model.py", line 2618, in _run
    raise ModelError(e.stderr)
ops.model.ModelError: ERROR connection is shut down

2023-09-27 07:35:16 ERROR juju.worker.uniter.operation runhook.go:180 hook "install" (via hook dispatching script: dispatch) failed: exit status 1

description: updated
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.