Activity log for bug #2011278

Date Who What changed Old value New value Message
2023-03-11 00:03:43 Simon Déziel bug added bug
2023-03-11 00:04:37 Simon Déziel attachment added juju debug-log --level DEBUG --tail --exclude-module juju https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5653696/+files/debug-log.txt
2023-03-11 00:05:06 Simon Déziel attachment added juju debug-log -m controller --replay https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5653697/+files/controller-logs.txt.gz
2023-03-11 00:05:35 Simon Déziel attachment added The charm itself https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5653719/+files/lxd-cloud-cell_ubuntu-22.04-amd64.charm
2023-03-11 00:06:27 Simon Déziel attachment added Snap resource https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5653720/+files/lxd-cloud-cell_0+git.6c40e0c_amd64.snap
2023-03-11 00:06:44 Simon Déziel tags lxd-cloud
2023-03-11 00:06:56 Simon Déziel bug added subscriber Ubuntu containers team
2023-03-16 12:56:27 Joseph Phillips description Note: This is probably the same as LP: #1945514 but I'm opening a new bug to provide fresh data. Sometimes, when deploying an app, a relation-departed even it triggered at random: $ juju deploy --resource snap=./lxd-cloud-cell_0+git.6c40e0c_amd64.snap ./lxd-cloud-cell_ubuntu-22.04-amd64.charm --config name=foo -n 3 Located local charm "lxd-cloud-cell", revision 37 Deploying "lxd-cloud-cell" from local charm "lxd-cloud-cell", revision 37 on ubuntu@22.04/stable $ juju status --relations Model Controller Cloud/Region Version SLA Timestamp test overlord juju-lxd/default 3.1.0 unsupported 18:57:52-05:00 App Version Status Scale Charm Channel Rev Exposed Message lxd-cloud-cell active 3 lxd-cloud-cell 37 no Unit Workload Agent Machine Public address Ports Message lxd-cloud-cell/99 active idle 99 10.184.166.81 lxd-cloud-cell/100* active idle 112 10.184.166.56 lxd-cloud-cell/101 active idle 98 10.184.166.29 Machine State Address Inst id Base AZ Message 98 started 10.184.166.29 juju-a608ca-98 ubuntu@22.04 Running 99 started 10.184.166.81 juju-a608ca-99 ubuntu@22.04 Running 112 started 10.184.166.56 juju-a608ca-112 ubuntu@22.04 Running 113 started 10.184.166.31 juju-a608ca-113 ubuntu@22.04 Running 114 started 10.184.166.13 juju-a608ca-114 ubuntu@22.04 Running 115 started 10.184.166.136 juju-a608ca-115 ubuntu@22.04 Running Relation provider Requirer Interface Type Message lxd-cloud-cell:cluster lxd-cloud-cell:cluster cell-cluster peer Something, somehow went wrong: $ juju debug-log --level DEBUG --replay --exclude-module juju | grep -F ' 18:52:' | grep -F 'cluster_relation_departed.' unit-lxd-cloud-cell-100: 18:52:31 DEBUG unit.lxd-cloud-cell/100.juju-log cluster:37: Emitting Juju event cluster_relation_departed. unit-lxd-cloud-cell-101: 18:52:31 DEBUG unit.lxd-cloud-cell/101.juju-log cluster:37: Emitting Juju event cluster_relation_departed. unit-lxd-cloud-cell-99: 18:52:33 DEBUG unit.lxd-cloud-cell/99.juju-log cluster:37: Emitting Juju event cluster_relation_departed. unit-lxd-cloud-cell-99: 18:52:35 DEBUG unit.lxd-cloud-cell/99.juju-log cluster:37: Emitting Juju event cluster_relation_departed. That wasn't something I asked for ;) Please find attached all the needed pieces to reproduce as well as juju logs I hope are useful to track this down. Note: This is probably the same as LP: #1945514 but I'm opening a new bug to provide fresh data. Sometimes, when deploying an app, a relation-departed event is triggered at random: $ juju deploy --resource snap=./lxd-cloud-cell_0+git.6c40e0c_amd64.snap ./lxd-cloud-cell_ubuntu-22.04-amd64.charm --config name=foo -n 3 Located local charm "lxd-cloud-cell", revision 37 Deploying "lxd-cloud-cell" from local charm "lxd-cloud-cell", revision 37 on ubuntu@22.04/stable $ juju status --relations Model Controller Cloud/Region Version SLA Timestamp test overlord juju-lxd/default 3.1.0 unsupported 18:57:52-05:00 App Version Status Scale Charm Channel Rev Exposed Message lxd-cloud-cell active 3 lxd-cloud-cell 37 no Unit Workload Agent Machine Public address Ports Message lxd-cloud-cell/99 active idle 99 10.184.166.81 lxd-cloud-cell/100* active idle 112 10.184.166.56 lxd-cloud-cell/101 active idle 98 10.184.166.29 Machine State Address Inst id Base AZ Message 98 started 10.184.166.29 juju-a608ca-98 ubuntu@22.04 Running 99 started 10.184.166.81 juju-a608ca-99 ubuntu@22.04 Running 112 started 10.184.166.56 juju-a608ca-112 ubuntu@22.04 Running 113 started 10.184.166.31 juju-a608ca-113 ubuntu@22.04 Running 114 started 10.184.166.13 juju-a608ca-114 ubuntu@22.04 Running 115 started 10.184.166.136 juju-a608ca-115 ubuntu@22.04 Running Relation provider Requirer Interface Type Message lxd-cloud-cell:cluster lxd-cloud-cell:cluster cell-cluster peer Something, somehow went wrong: $ juju debug-log --level DEBUG --replay --exclude-module juju | grep -F ' 18:52:' | grep -F 'cluster_relation_departed.' unit-lxd-cloud-cell-100: 18:52:31 DEBUG unit.lxd-cloud-cell/100.juju-log cluster:37: Emitting Juju event cluster_relation_departed. unit-lxd-cloud-cell-101: 18:52:31 DEBUG unit.lxd-cloud-cell/101.juju-log cluster:37: Emitting Juju event cluster_relation_departed. unit-lxd-cloud-cell-99: 18:52:33 DEBUG unit.lxd-cloud-cell/99.juju-log cluster:37: Emitting Juju event cluster_relation_departed. unit-lxd-cloud-cell-99: 18:52:35 DEBUG unit.lxd-cloud-cell/99.juju-log cluster:37: Emitting Juju event cluster_relation_departed. That wasn't something I asked for ;) Please find attached all the needed pieces to reproduce as well as juju logs I hope are useful to track this down.
2023-03-16 12:58:31 Joseph Phillips juju: status New Triaged
2023-03-16 12:58:34 Joseph Phillips juju: importance Undecided High
2023-03-16 12:58:36 Joseph Phillips juju: assignee Joseph Phillips (manadart)
2023-04-28 00:48:53 Simon Déziel attachment added take2-juju-debug.log.gz https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5669308/+files/take2-juju-debug.log.gz
2023-04-28 00:49:14 Simon Déziel attachment added take2-juju-controller.log.gz https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5669309/+files/take2-juju-controller.log.gz
2023-04-28 00:49:43 Simon Déziel attachment added lxd-cloud-cell_ubuntu-22.04-amd64.charm https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5669310/+files/lxd-cloud-cell_ubuntu-22.04-amd64.charm
2023-04-28 00:51:02 Simon Déziel attachment added lxd-cloud-cell_0+git.6c40e0c_amd64.snap https://bugs.launchpad.net/juju/+bug/2011278/+attachment/5669311/+files/lxd-cloud-cell_0+git.6c40e0c_amd64.snap