Bug 1334048
| Summary: | Foreman discovery image proxy service fails to start when network is not yet initialized | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Paul Armstrong <parmstro> |
| Component: | Discovery Image | Assignee: | Lukas Zapletal <lzap> |
| Status: | CLOSED ERRATA | QA Contact: | Sachin Ghai <sghai> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.8 | CC: | bbuckingham, cwelton, lzap, sghai |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 11:15:39 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: | |||
|
Description
Paul Armstrong
2016-05-07 15:27:04 UTC
Analysis: The proxy unit is missing After=basic.target network-online.target rule and can occassionally start when network is not yet online. The proxy certificate generator requires a valid IP address. For this reason, it fails to generate HTTPS cert therefore the service fails to start. This was fixed in 6.2 BETA already. 0c18ba2a6d04e5105db1e2085fe69f091b6922c7 Workaround: Use fdi image from 6.2 BETA repositories, upgrade it, restart. Triage notes: We can backport this patch into 6.1 repository if needed. @Lzap: Could you please provide steps to verify this bz. In general I can discover host without any issue but just wanted to see if any extra verification required. thanks One idea is: turn DHCP service off, start FDI, wait a bit and enable it. But you must not keep it turned off for more than 45 seconds, otherwise FDI will timeout. https://bugzilla.redhat.com/show_bug.cgi?id=1262922 Thanks Lukas. I tried to reproduce the issue with suggested steps in comment6 using sat62 GA snap19. I turned off dhcpd and started the FDI and later switched it on. Host was registered successfully and foreman-proxy service was active. Later, I tried FDI TUI, where I selected the "Discover via DHCP" and service was down for some time and then I restarted the dhcpd and host get the IP and discovered successfully. In both cases, I see foreman-proxy service in active state. thanks Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |