Get sosreport dynflow files and generates user friendly html pages for tasks, plans, actions and steps
Project description
dynflowparser
Reads the dynflow files from a sosreport and generates user friendly html pages for Tasks, Plans, Actions and Steps
- Only unsuccessful Tasks are parsed by default. (Use '-a' to parse all).
- Failed Actions & Steps are automatically expanded on the Plan page for easy error location.
- Indented Actions & Steps json fields.
- Useful data on header: Hostname, Timezone, Satellite version, RAM, CPU, Tuning.
- Dynflow UTC dates are automatically converted to honor sosreport timezone according to "/sos_commands/systemd/timedatectl".
- Automatically opens output on default browser.
- Lynx friendly.
| Tasks list | Task details | Lynx |
|---|---|---|
Dependencies
Required python libraries:
- python3-dateutil
- python3-jinja2
Usage
Usage: dynflowparser.py [Options] [INPUTDIR] [OUTPUTDIR]
Options:
[-a|--all]: Parse all Plans. By default only unsuccess are parsed.
[-d|--debug]: Debug level [D,I,W,E]. Default Warning.
[-f|--from]: Filter events running from this datetime.
[-h|--help]: Show help.
[-n|--nosql]: Reuse existent sqlite file. (Useful for self debuging)
[-t|--to]: Filter events running up to this datetime.
[-q|--quiet]: Quiet. Don't show progress bar.
Arguments:
[INPUTDIR]: Default is current path.
[OUTPUTDIR]: Default is current path plus '/dynflowparser/'.
Limitations
- sosreport by default requests last 14 days.
- sosreport truncates output files at 100M, hence some records could be missing.
- Only Dynflow schema version 24 is supported. (v20 is not CSV compliant)
How to accurately export tasks.
Included export-tasks.sh can be used to overcome sosreport size limitations and get an accurate tasks export tarball. Just execute it as follows.
Usage: export-tasks.sh DAYS RESULT
DAYS: Number of days to export.
RESULT: Filter exported tasks by result: [all cancelled error pending warning].
Example: ./export-tasks.sh 3 all
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dynflowparser-0.1.0.tar.gz.
File metadata
- Download URL: dynflowparser-0.1.0.tar.gz
- Upload date:
- Size: 610.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
398f3337f2f74c95ef7e3156f1f11ecf550b30ed673a336e825b99cd94074bf2
|
|
| MD5 |
72464a66960a54238f381473953004e7
|
|
| BLAKE2b-256 |
8a2867adaf04c1edc19e984927772f9a9f0cfd4c61d893782588b9062efae9ac
|
Provenance
The following attestation bundles were made for dynflowparser-0.1.0.tar.gz:
Publisher:
python-publish.yml on pafernanr/dynflowparser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynflowparser-0.1.0.tar.gz -
Subject digest:
398f3337f2f74c95ef7e3156f1f11ecf550b30ed673a336e825b99cd94074bf2 - Sigstore transparency entry: 175689555
- Sigstore integration time:
-
Permalink:
pafernanr/dynflowparser@8544f9baa9725050dab3028b7cd842e791a71353 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pafernanr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8544f9baa9725050dab3028b7cd842e791a71353 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dynflowparser-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dynflowparser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 126.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ea67557c50bfe7bacdc39aa94924990c18673c5e29e3d6feba7f434c38b42fb
|
|
| MD5 |
844f7cb21ab85c1e21f5295026ca5589
|
|
| BLAKE2b-256 |
3b88e409560396fe6dcf5fce2129aeb9d396739c7277d0209d5b005faeee1314
|
Provenance
The following attestation bundles were made for dynflowparser-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on pafernanr/dynflowparser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynflowparser-0.1.0-py3-none-any.whl -
Subject digest:
1ea67557c50bfe7bacdc39aa94924990c18673c5e29e3d6feba7f434c38b42fb - Sigstore transparency entry: 175689556
- Sigstore integration time:
-
Permalink:
pafernanr/dynflowparser@8544f9baa9725050dab3028b7cd842e791a71353 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pafernanr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8544f9baa9725050dab3028b7cd842e791a71353 -
Trigger Event:
release
-
Statement type: