Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1757179
Summary: | ModuleNotFoundError: No module named 'yaml' when running tpm2_ptool | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | nicolasoliver03 |
Component: | tpm2-pkcs11 | Assignee: | Jakub Jelen <jjelen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | jjelen, pbrobinson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tpm2-pkcs11-0-0.8.20191011git0b7ceff.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-15 21:26:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1269538 |
Description
nicolasoliver03
2019-09-30 18:37:12 UTC
Thank you for the report. If I read your bug report correctly, you are saying you are missing the python3-pyyaml dependency in the tools subpackage package. If I see right, the latest version of tpm2-pkcs11 already provides the requires.txt so the requirements should get resolved automatically, but that is not what I see when I try to build it locally on my Fedora 30. So I will update to the current snapshot and add explicit requires. FEDORA-2019-ce5d61669f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ce5d61669f tpm2-pkcs11-0-0.8.20191011git0b7ceff.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ce5d61669f Works fine now! [root@fedora-server-1 ~]# rpm -qa tpm2-pkcs11-tools tpm2-pkcs11-tools-0-0.8.20191011git0b7ceff.fc31.x86_64 [root@fedora-server-1 ~]# tpm2_ptool init --pobj-pin=mypobjpin --path=~/tmp Created a primary object of id: 1 Thanks tpm2-pkcs11-0-0.8.20191011git0b7ceff.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. |