Add a debug log to uti.py::subp of which command is being run in order to help with the debug
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
Code is here https://github.com/canonical/pycloudlib/blob/c21733c55352fcc57fb6c4d46d4673c787920188/pycloudlib/util.py#L165
I am asking for a log similar to the subp function in the cloud-init repo as it would help debugging
- Dominant language
- Python
- Stars
- 22
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from canonical/pycloudlib
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
canonical/pycloudlib#502 · 1 comment ·
-
documentation good first issue
Difficulty 1/5 Under an hour Newbie friendliness 70/100
canonical/pycloudlib#377 · 2 comments · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
canonical/pycloudlib#523 ·
-
canonical/pycloudlib#497 · 1 reaction · 2 assignees ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
canonical/pycloudlib#490 ·
All issues in canonical/pycloudlib
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100