| Summary: | atomic-openshift-master.service on Native HA installs needs to be removed. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ryan Howe <rhowe> |
| Component: | Installer | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | aos-bugs, bleanhar, erjones, jokerman, mmccomas, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | atomic-openshift-utils-3.0.39-1.git.0.226c87d.el7aos.noarch | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-29 12:57:46 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
Ryan Howe
2016-02-04 21:41:45 UTC
We can't really remove it since it is tracked by the RPM package and any update would replace it. What we could do though is to mask the service to make it difficult for them to start it up unintentionally. That does make me wonder whether we could use an override unit to make it basically do nothing but kick off both the api and controllers services instead though... We could basically drop a replacement unit into /etc/systemd/system and it could override the behavior of the default shipped unit. I've created the following PR to mask the service: https://github.com/openshift/openshift-ansible/pull/1342 While we could try to create a unit to control both, I suspect we'll hit edge cases where it doesn't behave properly. For example, the suggested changes you've proposed would work for start, but would not work for stop/restart. Check on atomic-openshift-utils-3.0.40-1.git.22.da21865.el7aos.noarch Install native-ha env. Check the atomic-openshift-master service # service atomic-openshift-master restart Redirecting to /bin/systemctl restart atomic-openshift-master.service Failed to restart atomic-openshift-master.service: Unit atomic-openshift-master.service is masked. Move this issue to VERIFIED. 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:0311 |