Activity log for bug #1952282

Date Who What changed Old value New value Message
2021-11-25 16:52:22 Bas de Bruijne bug added bug
2021-11-25 16:57:06 Bas de Bruijne description Run fails on juju wait timeout because ceph dashboard dies: ------------------------------------------------ ceph-mon/0* waiting executing 0/lxd/1 10.246.65.28 Monitor bootstrapped but waiting for number of OSDs to reach expected-osd-count (6) ceph-dashboard/0* blocked idle 10.246.65.28 Dashboard is not enabled logrotated/15 active idle 10.246.65.28 Unit is ready. ceph-mon/1 active executing 2/lxd/1 10.246.65.55 Unit is ready and clustered ceph-dashboard/1 error idle 10.246.65.55 hook failed: "dashboard-relation-changed" logrotated/20 active idle 10.246.65.55 Unit is ready. ceph-mon/2 active executing 4/lxd/1 10.246.65.52 Unit is ready and clustered ceph-dashboard/2 error idle 10.246.65.52 hook failed: "dashboard-relation-changed" logrotated/22 active idle 10.246.65.52 Unit is ready. ------------------------------------------------ Ceph dashboard log: ------------------------------------------------ 2021-11-24 17:26:00 INFO unit.ceph-dashboard/2.juju-log server.go:327 dashboard:74: Requesting a CA certificate. Common name: juju-af480f-4-lxd-1.prodymcprodface.solutionsqa, SANS: ['10.246.65.20', 'juju-af480f-4-lxd-1'] 2021-11-24 17:26:01 ERROR unit.ceph-dashboard/2.juju-log server.go:327 dashboard:74: Command failed: b"Error ENOTSUP: Module 'dashboard' is not enabled (required by command 'dashboard debug'): use `ceph mgr module enable dashboard` to enable it\n" Traceback (most recent call last): File "./src/charm.py", line 378, in _run_cmd output = subprocess.check_output(cmd, stderr=subprocess.STDOUT) File "/usr/lib/python3.8/subprocess.py", line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ceph', 'dashboard', 'debug', 'disable']' returned non-zero exit status 95. ------------------------------------------------ Later: ------------------------------------------------ 2021-11-24 17:26:11 ERROR unit.ceph-dashboard/2.juju-log server.go:327 dashboard:74: Uncaught exception while in charm code: Traceback (most recent call last): File "./src/charm.py", line 597, in <module> main(CephDashboardCharm) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/main.py", line 406, in main _emit_charm_event(charm, dispatcher.event_name) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/main.py", line 140, in _emit_charm_event event_to_emit.emit(*args, **kwargs) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 278, in emit framework._emit(event) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 722, in _emit self._reemit(event_path) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 767, in _reemit custom_handler(event) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/src/interface_dashboard.py", line 50, in on_changed self.on.mon_ready.emit() File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 278, in emit framework._emit(event) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 722, in _emit self._reemit(event_path) File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 767, in _reemit custom_handler(event) File "./src/charm.py", line 427, in _configure_dashboard self._configure_tls() File "./src/charm.py", line 539, in _configure_tls ceph_utils.dashboard_set_ssl_certificate( File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/charms_ceph/utils.py", line 3527, in _dashboard_set_ssl_artifact subprocess.check_call(cmd) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ceph', 'dashboard', 'set-ssl-certificate', 'juju-af480f-4-lxd-1', '-i', PosixPath('/etc/ceph/ceph-dashboard.crt')]' returned non-zero exit status 95. 2021-11-24 17:26:11 ERROR juju.worker.uniter.operation runhook.go:146 hook "dashboard-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1 ------------------------------------------------ Testruns where this happened (3 today): https://solutions.qa.canonical.com/testruns/testRun/6a264856-6a03-4995-b531-fa5f936ba7ad https://solutions.qa.canonical.com/testruns/testRun/eaf26a04-7428-41e4-8fb7-93941b0112eb https://solutions.qa.canonical.com/testruns/testRun/abf5ac6c-3b5a-405b-a565-719123d8703d With artifacts respectively: https://oil-jenkins.canonical.com/artifacts/6a264856-6a03-4995-b531-fa5f936ba7ad/index.html https://oil-jenkins.canonical.com/artifacts/eaf26a04-7428-41e4-8fb7-93941b0112eb/index.html https://oil-jenkins.canonical.com/artifacts/abf5ac6c-3b5a-405b-a565-719123d8703d/index.html We also had a run with the same configuration where this did not happen and ceph-dashboard is happy: https://solutions.qa.canonical.com/testruns/testRun/276098a9-923d-4d92-86e0-3d177b13e6b9 with artifacts: https://oil-jenkins.canonical.com/artifacts/276098a9-923d-4d92-86e0-3d177b13e6b9/index.html Run fails on juju wait timeout because ceph dashboard dies: ------------------------------------------------ ceph-mon/0* waiting executing 0/lxd/1 10.246.65.28 Monitor bootstrapped but waiting for number of OSDs to reach expected-osd-count (6)   ceph-dashboard/0* blocked idle 10.246.65.28 Dashboard is not enabled   logrotated/15 active idle 10.246.65.28 Unit is ready. ceph-mon/1 active executing 2/lxd/1 10.246.65.55 Unit is ready and clustered   ceph-dashboard/1 error idle 10.246.65.55 hook failed: "dashboard-relation-changed"   logrotated/20 active idle 10.246.65.55 Unit is ready. ceph-mon/2 active executing 4/lxd/1 10.246.65.52 Unit is ready and clustered   ceph-dashboard/2 error idle 10.246.65.52 hook failed: "dashboard-relation-changed"   logrotated/22 active idle 10.246.65.52 Unit is ready. ------------------------------------------------ Ceph dashboard log: ------------------------------------------------ 2021-11-24 17:26:00 INFO unit.ceph-dashboard/2.juju-log server.go:327 dashboard:74: Requesting a CA certificate. Common name: juju-af480f-4-lxd-1.prodymcprodface.solutionsqa, SANS: ['10.246.65.20', 'juju-af480f-4-lxd-1'] 2021-11-24 17:26:01 ERROR unit.ceph-dashboard/2.juju-log server.go:327 dashboard:74: Command failed: b"Error ENOTSUP: Module 'dashboard' is not enabled (required by command 'dashboard debug'): use `ceph mgr module enable dashboard` to enable it\n" Traceback (most recent call last):   File "./src/charm.py", line 378, in _run_cmd     output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)   File "/usr/lib/python3.8/subprocess.py", line 415, in check_output     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,   File "/usr/lib/python3.8/subprocess.py", line 516, in run     raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ceph', 'dashboard', 'debug', 'disable']' returned non-zero exit status 95. ------------------------------------------------ Later: ------------------------------------------------ 2021-11-24 17:26:11 ERROR unit.ceph-dashboard/2.juju-log server.go:327 dashboard:74: Uncaught exception while in charm code: Traceback (most recent call last):   File "./src/charm.py", line 597, in <module>     main(CephDashboardCharm)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/main.py", line 406, in main     _emit_charm_event(charm, dispatcher.event_name)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/main.py", line 140, in _emit_charm_event     event_to_emit.emit(*args, **kwargs)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 278, in emit     framework._emit(event)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 722, in _emit     self._reemit(event_path)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 767, in _reemit     custom_handler(event)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/src/interface_dashboard.py", line 50, in on_changed     self.on.mon_ready.emit()   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 278, in emit     framework._emit(event)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 722, in _emit     self._reemit(event_path)   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/ops/framework.py", line 767, in _reemit     custom_handler(event)   File "./src/charm.py", line 427, in _configure_dashboard     self._configure_tls()   File "./src/charm.py", line 539, in _configure_tls     ceph_utils.dashboard_set_ssl_certificate(   File "/var/lib/juju/agents/unit-ceph-dashboard-2/charm/venv/charms_ceph/utils.py", line 3527, in _dashboard_set_ssl_artifact     subprocess.check_call(cmd)   File "/usr/lib/python3.8/subprocess.py", line 364, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ceph', 'dashboard', 'set-ssl-certificate', 'juju-af480f-4-lxd-1', '-i', PosixPath('/etc/ceph/ceph-dashboard.crt')]' returned non-zero exit status 95. 2021-11-24 17:26:11 ERROR juju.worker.uniter.operation runhook.go:146 hook "dashboard-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1 ------------------------------------------------ Testruns where this happened (3 today): https://solutions.qa.canonical.com/testruns/testRun/6a264856-6a03-4995-b531-fa5f936ba7ad https://solutions.qa.canonical.com/testruns/testRun/eaf26a04-7428-41e4-8fb7-93941b0112eb https://solutions.qa.canonical.com/testruns/testRun/abf5ac6c-3b5a-405b-a565-719123d8703d With artifacts respectively: https://oil-jenkins.canonical.com/artifacts/6a264856-6a03-4995-b531-fa5f936ba7ad/index.html https://oil-jenkins.canonical.com/artifacts/eaf26a04-7428-41e4-8fb7-93941b0112eb/index.html https://oil-jenkins.canonical.com/artifacts/abf5ac6c-3b5a-405b-a565-719123d8703d/index.html We also had a run with the same configuration where this did not happen and ceph-dashboard is happy: https://solutions.qa.canonical.com/testruns/testRun/276098a9-923d-4d92-86e0-3d177b13e6b9 with artifacts: https://oil-jenkins.canonical.com/artifacts/276098a9-923d-4d92-86e0-3d177b13e6b9/index.html Future occurrences can be found here: https://solutions.qa.canonical.com/bugs/bugs/bug/1952282
2021-11-26 02:10:21 Billy Olsen charm-ceph-dashboard: status New Triaged
2021-11-26 02:10:25 Billy Olsen charm-ceph-dashboard: importance Undecided High
2023-05-16 15:40:24 Alexander Litvinov bug added subscriber Canonical Field High
2023-05-17 07:40:51 Peter Sabaini bug added subscriber Peter Sabaini
2023-05-17 08:39:03 Nobuto Murata bug watch added https://github.com/rook/rook/issues/4207
2023-05-17 08:52:43 Nobuto Murata bug added subscriber Nobuto Murata
2023-05-18 12:54:48 Natalia Litvinova bug added subscriber Canonical Field Critical
2023-05-18 16:32:02 Jeffrey Chang tags cdo-qa foundations-engine
2023-05-29 07:38:10 OpenStack Infra charm-ceph-dashboard: status Triaged In Progress
2023-08-25 14:42:33 OpenStack Infra charm-ceph-dashboard: status In Progress Fix Committed
2023-09-22 13:04:10 Ponnuvel Palaniyappan bug added subscriber Ponnuvel Palaniyappan
2023-10-02 00:50:01 Alan Baghumian bug added subscriber Alan Baghumian
2023-10-03 13:57:32 Peter Sabaini charm-ceph-dashboard: status Fix Committed Fix Released
2023-10-17 23:31:00 Felipe Reyes nominated for series charm-ceph-dashboard/quincy.2
2023-10-17 23:31:00 Felipe Reyes bug task added charm-ceph-dashboard/quincy.2
2023-10-17 23:31:06 Felipe Reyes charm-ceph-dashboard/quincy.2: status New Fix Released
2023-10-17 23:31:09 Felipe Reyes charm-ceph-dashboard: status Fix Released Fix Committed