Skip to content

jhack tail produces lots of "not found in history... simulating one" lines with Juju 4 #232

@astrojuanlu

Description

@astrojuanlu

Bug Description

Listening for events...ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/0:mysql_pebble_ready not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/1:mysql_pebble_ready not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/2:mysql_pebble_ready not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/0:config_changed not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/2:config_changed not found in history... simulating one.

To Reproduce

(TBC)

Environment

                                 juju info v0.1                                 
┌──────────────┬───────────────────────────────────────────────────────────────┐
│ jhack        │ 0.4.4.0.24                                                    │
│ python       │ 3.11.14 (/home/ubuntu/.local/share/uv/tools/jhack/bin/python) │
│ juju-* snaps │  juju │ 4.0.0 - 33191 (4.0/stable)                            │
│ microk8s     │ Not Installed.                                                │
│ lxd          │ 5.21.4 LTS                                                    │
│ multipass    │ Not Installed.                                                │
│ multipassd   │ Not Installed.                                                │
│ os           │ Ubuntu 24.04.3 LTS                                            │
│ kernel       │ Linux 6.8.0-88-generic x86_64                                 │
└──────────────┴───────────────────────────────────────────────────────────────┘

Relevant log output

(See above)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions