Skip to content

Add the internal device id to the updated device (bsc#1247445). (#2680)#3326

Merged
teclator merged 5 commits intoSLE-16from
zFCP_refresh_SLE-16
Mar 25, 2026
Merged

Add the internal device id to the updated device (bsc#1247445). (#2680)#3326
teclator merged 5 commits intoSLE-16from
zFCP_refresh_SLE-16

Conversation

@teclator
Copy link
Copy Markdown
Contributor

@teclator teclator commented Mar 24, 2026

Original fix and description from #2680 backported to SLE-16 branch

When a zFCPController is activated the UI is not refreshed properly maintaining it as inactive

The problem is that the changed device does not contain its id, therefore we are not replacing it at all. For refreshing the zFCP Controllers table, just notifying the device id and replacing the object should be enough, but we need to retrieve also the disks associated with the activated controller and this is done through the controllers query, therefore, we invalidate it after any controllers change.

The only thing that could be improved is that it takes some time to get the list of LUNs and the controllers selector updated.

  • Tested manually

Update: In recent changes it has been also reported that when a controller is activated apart of the controller LUNs the disks table is populated with the other controller LUNs. The problem is that retrieving the controllers also tries to get the luns of each controller through the zfcp_san_disc which activates temporally the controller in question. We should get only the LUNs for the active controllers and that is what has been also implemented.

When a zFCPController is activated the UI is not refreshed properly
maintaining it as inactive.

- https://trello.com/c/5SeUZvuG
- https://bugzilla.suse.com/show_bug.cgi?id=1247445

The problem is that the changed device does not contain its id,
therefore we are not replacing it at all. For refreshing the **zFCP**
Controllers table, just notifying the device id and replacing the object
should be enough, but we need to retrieve also the disks associated with
the activated controller and this is done through the controllers query,
therefore, we invalidate it after any controllers change.

The only thing that could be improved is that it takes some time to get
the list of LUNs and the controllers selector updated.

- *Tested manually*
@teclator teclator force-pushed the zFCP_refresh_SLE-16 branch from fd2b073 to 471a768 Compare March 24, 2026 11:21
@teclator teclator marked this pull request as ready for review March 24, 2026 23:03
Copy link
Copy Markdown
Contributor

@joseivanlopez joseivanlopez left a comment

Choose a reason for hiding this comment

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

LGTM

@teclator teclator merged commit b19baad into SLE-16 Mar 25, 2026
13 of 14 checks passed
@teclator teclator deleted the zFCP_refresh_SLE-16 branch March 25, 2026 11:51
@imobachgs imobachgs mentioned this pull request Apr 14, 2026
imobachgs added a commit that referenced this pull request Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants