Skip to content
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

Conversation

knoha-rh
Copy link
Contributor

@knoha-rh knoha-rh commented Dec 13, 2024

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

@openshift-ci openshift-ci bot requested review from dprince and jpodivin December 13, 2024 09:19
@knoha-rh knoha-rh requested a review from rabi December 13, 2024 09:20
- 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
Copy link
Contributor

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.

loop:
- iscsi.service
- iscsi-starter.service

Copy link
Contributor

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]>
@knoha-rh knoha-rh force-pushed the disable-iscsi-starter branch from 18a3231 to 8d723ce Compare December 14, 2024 01:44
Copy link
Contributor

openshift-ci bot commented Dec 14, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit ef3c633 into openstack-k8s-operators:main Dec 14, 2024
34 checks passed
@knoha-rh
Copy link
Contributor Author

/cherrypick 18.0-fr1

@openshift-cherrypick-robot

@knoha-rh: new pull request created: #847

In response to this:

/cherrypick 18.0-fr1

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.

sbekkerm pushed a commit to sbekkerm/edpm-ansible that referenced this pull request Dec 25, 2024
…iscsi-starter

Stop and disable iscsi-starter.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants