-
Notifications
You must be signed in to change notification settings - Fork 70
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
Stop and disable iscsi-starter.service #846
Stop and disable iscsi-starter.service #846
Conversation
roles/edpm_iscsid/tasks/install.yml
Outdated
- ansible_facts.services["iscsi.service"] is defined | ||
- ansible_facts.services["iscsi.service"]["status"] != "not-found" | ||
- ansible_facts.services["iscsi.service"]["status"] == "enabled" | ||
- ansible_facts.services["item"] is defined |
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.
I guess you've to remove the quotes from "item" here.
roles/edpm_iscsid/tasks/install.yml
Outdated
loop: | ||
- iscsi.service | ||
- iscsi-starter.service | ||
|
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.
And the redundant line here.
When an EDPM node rebooted which runs a VM with iscsi-backed volume, it leaves node records under /var/lib/iscsi/nodes. While the records exist, iscsi-starter.service runs iscsi.service. Then it starts iscsid.service also. To prevent this issue, we need to stop and disable iscsi-starter.service. Signed-off-by: Keigo Noha <[email protected]>
18a3231
to
8d723ce
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bshephar, knoha-rh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ef3c633
into
openstack-k8s-operators:main
/cherrypick 18.0-fr1 |
@knoha-rh: new pull request created: #847 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…iscsi-starter Stop and disable iscsi-starter.service
When an EDPM node rebooted which runs a VM with iscsi-backed volume,
it leaves node records under /var/lib/iscsi/nodes.
While the records exist, iscsi-starter.service runs iscsi.service.
Then it starts iscsid.service also.
To prevent this issue, we need to stop and disable iscsi-starter.service.
JIRA:OSPRH-12372