Bug 695451
Summary: | Func 0.28 fails to find certificates | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Erinn Looney-Triggs <erinn.looneytriggs> |
Component: | func | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | el5 | CC: | alikins, brett.lentz, gregswift |
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: | 2011-04-13 17:17:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Erinn Looney-Triggs
2011-04-11 19:08:05 UTC
func doesn't require it - but if you wish to use the virt module it does. I believe this is the same as the func 0.24 in epel5 currently. Well func fails to start in RHEL 5 due to the above errors. Version 0.24 does not. that is not failing because of the libvirt error. That is failing because it doesn't have a certificate. Hey reading to the bottom, who would have thought :). Ok here is what I have, func-0.24 works like a charm on the system, tied in with the master etc, everything works. Upgrade to func 0.28, it no longer works, the client throws the aforementioned error. Now maybe I am missing something here, but it seems like it should start and work. I am able to roll back and the old version works, go forward, it fails. So this is bash equivalent to what that piece of code is running: ls $(awk '/^cert_dir/ { print $3}' /etc/certmaster/certmaster.conf)/$(hostname --fqdn).cert what's interesting is that 3 lines before it it basically does this: ls $(awk '/^cert_dir/ { print $3}' /etc/certmaster/certmaster.conf)/$(hostname --fqdn).pem and that works... which means its finding your key, but not your certificate file. ya know what? It occurs to me that if you do: ls $(awk '/^cert_dir/ { print $3}' /etc/certmaster/certmaster.conf) you will find the a set of 3 matching files with the extensions: cert, csr, and pem. then you will find another pair with only the extensions: csr and pem is that the case? Here is what I have, I have fqdn.cert, fqdn.csr, and fqdn.pem in /etc/pki/certmaster. The other pair you are talking about don't seem to exist, though there is a ca.cert file in that directory as well. -Erinn hrm... well... then i'm not 100% sure whats going on. you've got the bits that are supposed to be there file wise. whats the output of when you are on 0.28: python -c "from func import utils; print utils.get_hostname_by_route()" erinn, could you run funcd --info and report the output? And now with more testing this problem disappears magically. Let's chalk this up to operator issues (the most likely cause of all problems), sorry to waste time. -Erinn |