Add a debug log to uti.py::subp of which command is being run in order to help with the debug

Open Beginner friendly
#503 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
observability

Research direction

Open pycloudlib/util.py at the subp function around line 165 and compare its behavior with cloud-init's subp implementation around lines 222-229. Add equivalent debug visibility for the command being run, then verify the existing test suite still passes and that the command appears in debug output.

Written by the indexing model from the issue text.

Description

Dominant language
Python
Stars
22
Forks
45
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from canonical/pycloudlib

All issues in canonical/pycloudlib

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.