Bug 1826781
| Summary: | Failed to upgrade logging from 4.4 to 4.5 - Could not resolve placeholder 'POD_IP' | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | IgorKarpukhin <ikarpukh> | |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> | |
| Status: | CLOSED ERRATA | QA Contact: | Qiaoling Tang <qitang> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.5 | CC: | anli, aos-bugs, bparees, mburke, openshift-bugzilla-robot, qitang | |
| Target Milestone: | --- | Keywords: | Reopened | |
| Target Release: | 4.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause: EO operator wasn't updating ENV for deployment and stateful set
Consequence: EO operator wasn't starting after 4.4 -> 4.5 upgrade
Fix: Fixed by explicitly updating ENV variables for the EO operator
Result: Bug fixed
|
Story Points: | --- | |
| Clone Of: | 1809498 | |||
| : | 1829064 (view as bug list) | Environment: | ||
| Last Closed: | 2020-07-13 17:30:21 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1824006, 1829971 | |||
|
Description
IgorKarpukhin
2020-04-22 14:32:53 UTC
I tested upgrade from 4.4 to 4.5 again, still hit the issue in https://bugzilla.redhat.com/show_bug.cgi?id=1809498#c0. For the issue in https://bugzilla.redhat.com/show_bug.cgi?id=1809498#c4, it didn't appear. I checked the logging 4.4, the env var `POD_IP` was added to the elasticsearch when deploying logging 4.4. I also tested upgrade from 4.3 to 4.5, the issue in https://bugzilla.redhat.com/show_bug.cgi?id=1809498#c4 didn't appear, but I hit the same issue in https://bugzilla.redhat.com/show_bug.cgi?id=1809498#c0. The env var `POD_IP` wasn't added to the elasticsearch when deploying logging 4.3. It seems the fix PR https://github.com/openshift/elasticsearch-operator/pull/316 only fixes the issue in https://bugzilla.redhat.com/show_bug.cgi?id=1809498#c4. @IgorKarpukhin, is my understanding correct? 4.5 logging images are from 4.5.0-0.ci-2020-04-22-212726. Yes, that's correct. This fix isn't backported to 4.4 yet. I'm working on it. Qiaoling Tang could you please post the logs from catalog operator during the upgrade from 4.3 to 4.4? Ex: oc logs -f catalog-operator-7648d9cff4-rqx9j -n openshift-operator-lifecycle-manager Catalog operator logs: http://pastebin.test.redhat.com/858655 Cluster version: 4.4.0-0.nightly-2020-04-23-192521 Moving to ON_QA. Qiaoling if you feel it is reasonable to move this bug to Verified please do so., Per the discussions in the above, I move this to VERIFIED. Feel free to reopen this bz if you have any problems related to this issue. *** Bug 1829971 has been marked as a duplicate of this bug. *** This issue has been fixed by this PR: https://github.com/openshift/elasticsearch-operator/pull/316. Not a bug anymore. moving back to verified. the release process will close this when appropriate. 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-2020:2409 |