-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing issue with doryd service not coming up #586
base: master
Are you sure you want to change the base?
Conversation
@imran-ansari @wdurairaj @sneharai4 @prablr79 Kindly review |
section: Service | ||
option: ExecStart | ||
value: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/hpe.com~hpe/doryd /etc/origin/master/admin.kubeconfig hpe.com | ||
when: services_state['ansible_facts']['services']['doryd.service']['state'] == "stopped" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can there be a possible race condition between the two attempts to start the service?
E.g. the admin.conf, is good and the service is about to come up but the state is still "stopped" so the attempt to start service with admin.kubeconfig is also made. Is some sleep or wait required between the two attempts? Please check.
daemon_reload: yes | ||
enabled: yes | ||
name: doryd.service | ||
when: services_state['ansible_facts']['services']['doryd.service']['state'] == "stopped" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to check against started rather than stopped
path: /etc/systemd/system/doryd.service | ||
section: Service | ||
option: ExecStart | ||
value: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/hpe.com~hpe/doryd /etc/origin/master/admin.kubeconfig hpe.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stopgap fix. The long term fix would be to understand which config file works for which version of openshift/kubernetes
No description provided.