| Summary: | atomic-openshift-master serivce masked/fails to restart after successful HA install of 3.2.0.17 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> |
| Component: | Installer | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED NOTABUG | QA Contact: | Ma xiaoqiang <xiama> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | aos-bugs, jialiu, jokerman, mifiedle, mmccomas, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-21 03:35:34 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
Mike Fiedler
2016-04-20 19:20:35 UTC
Failed to mention. Non-HA (i.e. single master, no load balancer) installs using the same playbook, including AWS config, do not experience the issue. Removing the cloudprovider config made no difference. @Mike I find '0.0.0.0:8443: bind: address already in use' in the error log, I think the master-api service is still running on the server when you try to start the master service. it is not reasonable to start atomic-openshift-master service on the ha-master. So I think it is not a bug. thx The restart issue happens on all master nodes. How are changes to master-config.yaml supposed to be picked up? Normally (per the documentation), it is via atomic-openshift-master restart. Example of what I mean in comment 4: setting metricsPublicURL or the default project node selector. For HA installations we mask the atomic-openshift-master service on purpose, instead the atomic-openshift-api and atomic-openshift-controllers units are used in their place. Both the atomic-openshift-api and atomic-openshift-controllers service use the /etc/origin/master/master-config.yaml config file, however the environment file for the controllers service (/etc/sysconfig/atomic-openshift-controllers) overrides some values via command line parameters. Instead of issuing a `systemctl restart atomic-openshift-master` for an HA install, you should instead issue `systemctl restart atomic-openshift-master-api atomic-openshift-master-controllers` instead. HA master will disable "atomic-openshift-master" service, and split the service into to "atomic-openshift-master-api" and "atomic-openshift-master-controllers" services, the two service will pick up different parts according to what change you did in master config file. If you are not sure your should restart which service to pick up your change, suggest restart both of the two services per master. I agree comment 4, it should be NOTABUG, or maybe a docs bug. Thanks for the clarification and apologies for the firedrill |