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

NAS-133249 / 25.04 / Make fc.fc_host._validate more robust vs HA STANDBY unavailable #15293

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

bmeagherix
Copy link
Contributor

Fix issues with the _validate method used during fc.fc_host.create and fc.fc_host.update. The fundamental issue was during an update use the data as-is. (e.g. we do not need to check wwpn changes if none are being requested.)

This helps avoid some fragility e.g. if STANDBY node in HA is currently down, we can still update NPIV setting.


Short passing CI run here.

@bugclerk
Copy link
Contributor

@bugclerk bugclerk changed the title Make fc.fc_host._validate more robust vs HA STANDBY unavailable NAS-133249 / 25.04 / Make fc.fc_host._validate more robust vs HA STANDBY unavailable Dec 31, 2024
@bmeagherix bmeagherix requested a review from a team December 31, 2024 21:17
Copy link
Contributor

@mgrimesix mgrimesix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bmeagherix bmeagherix merged commit 2746368 into master Dec 31, 2024
2 checks passed
@bmeagherix bmeagherix deleted the NAS-133249 branch December 31, 2024 21:25
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants