Can't set image's primary group
-
Server
- FOG Version: RC-20
- OS: CentOS 7
Description
When I go to an image’s storage group area, click the checkbox to show groups not associated, and add one of those, that group gets added.
Then, I go to set the storage group that was already there as primary, and it doesn’t save. When I click “update primary group” the checkmark I placed just disappears.
There are no related apache errors.
When I set this manually via SQL, the checkbox does show up in the web GUI, so the bug is with making the change, not displaying the change.
Here’s my workaround until a fix is released:
mysql -D fog #Find the image ID of the image you need to set a primary for. select imageID, imageName from images; #Find the group ID of the group you want to set as primary: select * from nfsGroups; #Let's say the image ID is 15 and the storage group ID you want to be primary is 5. The SQL to set it would be: UPDATE `imageGroupAssoc` SET `igaPrimary` = '1' WHERE `igaImageID` = '15' AND `igaStorageGroupID` = '5'; quit
-
I’m not able to replicate.
Please check if you have an 0 id’s in either the storage group id or image id fields?
-
I just checked, I have no zeros in those tables or the image group assoc table.
-
What’s the SVN version you’re running?
-
@Tom-Elliott 6009
-
-
Fixed will be released for RC-21.