| Summary: | unexpected error and a traceback when uploaded content cert is not RH one | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Irina Gulina <igulina> |
| Component: | Tools | Assignee: | RHUI Bug List <rhui-bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Vratislav Hutsky <vhutsky> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0.0 | CC: | bkearney, igulina, jboutaud, pcreech |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-09 07:33:35 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: | |
|
Description
Irina Gulina
2016-04-05 15:08:26 UTC
I can't reproduce this with a random pem file or an empty file: 1 - GeoTrustGlobalCA.pem comes from rubygems has nothing to do with Red Hat: # rhui-manager cert upload --cert /tmp/GeoTrustGlobalCA.pem The given certificate does not contain any entitlements that are compatible with the RHUI. For questions, please visit: https://access.redhat.com/support/contact/customerService.html 2 - empty.pem is an empty file: # rhui-manager cert upload --cert /tmp/empty.pem The certificate or certificate and key combination does not appear to be valid I suggest we close this bug (currentrelease) unless you have a pem file that still causes rhui-manager to crash. Maybe it was fixed at some moment. Yes, close. Thanks Yes, 3.0.4 has improved the way certificate uploads are handled. I can reproduce a similar (not the same) crash with GeoTrustGlobalCA.pem on 3.0.3: # rhui-manager cert upload --cert /tmp/GeoTrustGlobalCA.pem An unexpected error has occurred during the last operation. 'NoneType' object has no attribute 'id' OK, closing as currentrelease since 3.0.4 can handle this kind of pem file better. As for an empty file, I get the same error message in 3.0.3 and 3.0.4. |