juju debug-code shows ERROR EOF

Bug #1988334 reported by Jose C. Massón
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Committed
Medium
Harry Pidcock

Bug Description

Most of the times, when debugging a charm using `juju debug-code` I see:

```
ERROR EOF
         root@grafana-k8s-0:/var/lib/juju#
```

Revision history for this message
Jose C. Massón (jose-masson) wrote :
Revision history for this message
Vitaly Antonenko (anvial) wrote :

Hi Jose

Can I ask about the juju version, used juju charms, and cloud provider?

Changed in juju:
status: New → Triaged
status: Triaged → Incomplete
Revision history for this message
Jose C. Massón (jose-masson) wrote :

Hi Vitaly,

juju: 2.9.33
microk8s: 1.24

Both running in a Multipass machine in my laptop. The blueprint I'm using is this one: https://github.com/canonical/multipass-blueprints/blob/main/v1/charm-dev.yaml

Changed in juju:
status: Incomplete → Triaged
importance: Undecided → High
milestone: none → 2.9.35
Changed in juju:
milestone: 2.9.35 → 2.9.36
Revision history for this message
Grégory Schiano (gschiano) wrote :

I'm getting the same with "juju debug-code" or "juju debug-hooks" commands

Running:
juju: 2.9.34
microk8s: 1.25.2

I get it with any charm (tried redis-k8s, minio, discourse)
The machine is running Ubuntu 22.04.1 on an openstack instance

Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

+1 on this

juju version
2.9.35-ubuntu-amd64

microk8s version
MicroK8s v1.25.2 revision 4055

multipass version
multipass 1.10.1
multipassd 1.10.1

command:
`juju debug-code --model micro:admin/charm-model --at=hook demo-api-charm/0 config-changed`

Changed in juju:
milestone: 2.9.36 → 2.9.37
Changed in juju:
milestone: 2.9.37 → 2.9.38
Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

I can reproduce it on AWS instance

also might be relevant output:

Cleaning up the debug session
no server running on /tmp/tmux-0/default

Changed in juju:
assignee: nobody → Harry Pidcock (hpidcock)
Harry Pidcock (hpidcock)
Changed in juju:
assignee: Harry Pidcock (hpidcock) → nobody
Changed in juju:
milestone: 2.9.38 → 2.9.39
Changed in juju:
importance: High → Medium
Changed in juju:
milestone: 2.9.39 → 2.9.40
Changed in juju:
milestone: 2.9.40 → 2.9.41
Changed in juju:
milestone: 2.9.41 → 2.9.42
Changed in juju:
milestone: 2.9.42 → 2.9.43
Changed in juju:
milestone: 2.9.43 → 2.9.44
Changed in juju:
milestone: 2.9.44 → 2.9.45
Changed in juju:
milestone: 2.9.45 → 2.9.46
Harry Pidcock (hpidcock)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Harry Pidcock (hpidcock)
Revision history for this message
Harry Pidcock (hpidcock) wrote :
Changed in juju:
status: In Progress → Fix Committed
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.