Storage group association again - upload mode
-
@claude-girard what do you mean they all changed to the default group? The method I created doesn’t change any data at all, it checks the image association for the primary group, and uses that group to find the master of that group. I’m guessing by changing it, the GUI is still showing properly, just at capture/multicast tasks it’s always trying the default group?
-
I was able to somewhat replicate this issue and believe I have fixed it again. I did a very basic set of tests to confirm and test the fixes, so a realworld test would be very much appreciated.
-
@tom-elliott
In my previous post I meant that in Fog gui, list all images, in “storage group” column, all images was on default.
And I verified in imageGroupAssoc table in database, IgaStoragegroupId and igaprimary were 1 and 1 for all lines.But now, this issue seems solved.
I tried unicast deploy, capture, and multicast deploy, with Image storage group association = default + a primary node.
Then I deleted default one in image storage group association, and I tried again same tests, so with only one storage group associated.And now all is fine.
Thank you -
Ooops, I replied too fast. Not solved !!!
My storage group association is again default for all my images.
I’ll try again several tests to see after which one I can replicate this issue. -
I don’t know if this issue is linked to the initial one, but now capture and deply, in unicast mode or in multicast mode, are working fine.
So, initial issue can be marked as solved.Maybe should I open a new subject, but , when my image storage group association is like this:
My images storage association are ok:
And I want to remove default one because I have only one storage group for an image.
So I select it and delete it:
And now all images but the one I modified are linked to default storage group.
An finally, if it can help, I could see that just after modifiyng storage group in image association, I had only one line in database table, the one I was modifing.
The others came after, with 1 and 1 in IgaStoragegroupId and igaprimarySo I think that imageGroupAssoc table is dropped when asking to modify one image, and settings of other images are lost.
-
I noticed after tinkering with the web UI images settings that if you configure the image and uncheck replication then also set the storage group to any other one than default it will not rename the storage groups for other images provided you do not try to remove default from within that storage group. What I’m not sure of is if you have multiple storage nodes in a storage group if that replication setting will not allow the image to replicate to those storage nodes in that particular storage group now if it’s unchecked.
-
@jgallo replication stops for any type of replication
-
Found and fixed in working.
The problem was whenever you removed a node from an image (regardless of primary status – primary status appeared to work properly if all you did was add and update). It would remove all group associations attached to that group ID. I just had a bad logic check, sorry for that.
Fixed the logic check and found there was one other potential for issue and was able to address that as well. Tested a few different times and all appears to be working properly now, in regards to all things associated with this thread. (Capture node not following properly, and then deleting all images that had that storage group id associated to it).
Please give an update and test, a real world test would be better than my basic testing/checks available.
-
@tom-elliott
After doing the same tests, this time everything is ok.
Thanx -
I forgot to precise version: 1.5.2.31