Well that is the point where you should open a ticket so that the GUI folks can do some proper analysis. Just looking at your snippet it looks like we queried mounts for nrg5_tools but then insert ones for nrg1_tools which is weird. I know the code loops over the filesystems individually.
 
Mit freundlichen Grüßen / Kind regards

 
 
  •      
  • Dr. Alexander Wolf-Reber
    Spectrum Scale container native architect
    Department M069 / Spectrum Scale Software Development

    +49-160-90540880
    a.wolf-reber@de.ibm.com

IBM Deutschland Research & Development GmbH / Vorsitzende des Aufsichtsrats: Gregor Pillen / Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294

 
 
----- Original message -----
From: "Oesterlin, Robert" <Robert.Oesterlin@nuance.com>
Sent by: gpfsug-discuss-bounces@spectrumscale.org
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Cc:
Subject: [EXTERNAL] Re: [gpfsug-discuss] GUI: FILESYSTEM_MOUNT returns ERROR: duplicate key value violates unique constraint
Date: Wed, Mar 17, 2021 17:10
 

The command completed, and I re-ran the FILESYSTEM_MOUNT, but it failed the same way.

 

[root@ess1ems ~]# psql postgres postgres -c "delete from fscc.filesystem_mounts"

DELETE 20

 

/usr/lpp/mmfs/gui/cli/runtask FILESYSTEM_MOUNT -debug

10:32 AM

Operation Failed

10:32 AM

Error: debug: locale=en_US
debug: Running 'mmlsmount 'fs1' -Y ' on node localhost
debug: Running 'mmlsmount 'fs2' -Y ' on node localhost
debug: Running 'mmlsmount 'fs3' -Y ' on node localhost
debug: Running 'mmlsmount 'fs4' -Y ' on node localhost
debug: Running 'mmlsmount 'nrg1_tools' -Y ' on node localhost
debug: Running 'mmlsmount 'nrg5_tools' -Y ' on node localhost
err: java.sql.BatchUpdateException: Batch entry 5 INSERT INTO FSCC.FILESYSTEM_MOUNTS (CLUSTER_ID, DEVICENAME, HOST_NAME, MOUNT_MODE, LAST_UPDATE) VALUES ('16677155164911809171','nrg1_tools','ems1-hs','RO','2021-03-17 11:32:38.830000-04'::timestamp) was aborted: ERROR: duplicate key value violates unique constraint "filesystem_mounts_pk"
Detail: Key (host_name, cluster_id, devicename)=(ems1-hs, 16677155164911809171, nrg1_tools) already exists. Call getNextException to see other errors in the batch.

 

 

Bob Oesterlin

Sr Principal Storage Engineer, Nuance

 

 

From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of Alexander Wolf <A.Wolf-Reber@de.ibm.com>
Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Date: Wednesday, March 17, 2021 at 10:10 AM
To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org>
Subject: [EXTERNAL] Re: [gpfsug-discuss] GUI: FILESYSTEM_MOUNT returns ERROR: duplicate key value violates unique constraint

 

CAUTION: This Email is from an EXTERNAL source. Ensure you trust this sender before clicking on any links or attachments.


I think

 

    psql postgres postgres -c "delete from fscc.filesystem_mounts"'

 

ran as root should do the trick.

 

Mit freundlichen Grüßen / Kind regards

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=9wVvU2JGu8kk60_rkUVBwR84NKAkfYjSxxNdTKbY3Dk&s=wKkPWxQO-O2mhz5iEJ0MIVNX6LTAK391l99FAl7QsGk&e=