Error Initializing Globus Usage Metrics
- Error initializing Globus Usage Metrics when hostname is wrong Summary: Error initializing Globus Usage Metrics when hostname is wrong Status: NEW Product: GSI-OpenSSH Component: GSI-OpenSSH Version: 5.0 Platform: PC Linux Importance: P3 major TargetMilestone: --- Assigned To: Venkat Yekkirala URL: Keywords: Dependson: Blocks: Show dependency tree /graph Reported: 2010-12-14 14:53 by Bryce Allen Modified: 2010-12-23 16:58 (History) Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description From Bryce Allen 2010-12-14 14:53:57 I changed the hostname on my server before the DNS propagated, and when trying to sign-in I got this on the client: ssh_exchange_identification: Connection closed by remote host and in /var/log/auth.log on the server: fatal: Error initializing Globus Usage Metrics and I was unable to login. If I had not kept an ssh session open I would have been locked out of my server. As soon as DNS propagation finished, verified by using dig on the server, I was able to sign-in again with a new connection. This could be an issue with vanilla ssh, but the error message makes it seem like the cause is a failure in globus usage metrics, which should obviously not be fatal and prevent sign-in. If it really is not a gsissh specific issue, the "fatal" in the log message is very misleading. ------- Comment #1 From Venkat Yekkirala 2010-12-23 16:58:19 ------- Committed fixes to both GSI-OpenSSH and MyProxy so any errors encountered with regard to Usage Stats are NON-fatal. Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next No search results available Actions: Home | New | Search | | Reports | NewAccount | Help | LogIn [Privacy statements]
0362 /dev/sdm ... --- missing sdk at 8:0:0:0 # dmesg |grep sdk sd 8:0:0:0: [sdk] CDB: Write(10): 2a 00 11 7b 17 10 00 00 08 00 Buffer I/O error on device sdk, logical block 36659938 lost page write due to I/O error on sdk Locate physical disk in node: # dd if=/dev/sdj of=/dev/null & # dd if=/dev/sdl of=/dev/null & new disk: [8:0:4:0] disk ATA INTEL SSDSA2BZ30 0362 /dev/sds If disk is located at [8:0:0:0] then it's then top of the bay remove https://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=7111 and replace disk in tray reset TGT backing store to the new drive name: # tgtadm --lld iser --mode target --op show |grep Target Target 9: sdk # tgtadm --lld iser --mode logicalunit --op delete --tid 9 --lun 1 # tgtadm --lld iser --mode logicalunit --op new --tid 9 --lun 1 --backing-store /dev/sds # tgtadm --lld iser --mode target --op http://www.sdsc.edu/~hocks/FG/FG.problems.html show LUN 0 and LUN 1 missing # ls -l /dev/disk/by-path/ .... lrwxrwxrwx 1 root root 9 Apr 24 2014 pci-0000:04:00.0-sas-0x4433221103000000-lun-0 -> ../../sdn lrwxrwxrwx 1 root root 9 Apr 24 2014 pci-0000:86:00.0-sas-0x4433221100000000-lun-0 -> ../../sdo lrwxrwxrwx 1 root root 9 Apr 24 2014 pci-0000:86:00.0-sas-0x4433221101000000-lun-0 -> ../../sdp lrwxrwxrwx 1 root root 9 Apr 24 2014 pci-0000:86:00.0-sas-0x4433221102000000-lun-0 -> ../../sdq lrwxrwxrwx 1 root root 9 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0 -> ../../sds lrwxrwxrwx 1 root root 10 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0-part1 -> ../../sds1 lrwxrwxrwx 1 root root 10 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0-part2 -> ../../sds2 lrwxrwxrwx 1 root root 10 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0-part3 -> ../../sds3 lrwxrwxrwx 1 root root 10 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0-part4 -> ../../sds4 lrwxrwxrwx 1 root root 10 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0-part5 -> ../../sds5 lrwxrwxrwx 1 root root 10 Mar 8 11:04 pci-0000:86:00.0-sas-0x4433221103000000-lun-0-part6 -> ../../sds6 #fdisk /dev/sds p print partition table remove partitions [root@gcn-17-68 rocksconfig.d]# /sbin/iscsiadm -m discovery -t sendtargets -p 10.7.104.104 -v iser iscsiadm: Could not stat /var/lib/iscsi/nodes//,3260,-1/default to delete node: No such file or directory iscsiadm: Could not add/update [tcp:[hw=,ip=,net_if=,iscsi_if=default] 10.7.104.104,3260,1 sdr] 10.7.104.104:3260,1 sdr remove existing directory: /v
Sign in Pricing Blog Support Search https://github.com/globus/gsi-openssh/blob/master/ssh-globus-usage.c GitHub This repository Watch 11 Star 1 Fork 170 globus/gsi-openssh forked from openssh/openssh-portable Code Issues 3 Pull requests 0 Projects 0 Wiki Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags GSI_ISSHD_HPN_7_1_P1 GSI_ISSHD_HPN_7_1_P2 HPN_7_1_P1 HPN_7_1_P2 IBS ISSHD_HPN_7_1_P1 ISSHD_HPN_7_1_P2 PRIVSEP V_2_5_2 error initializing V_2_9_P1 V_2_9_9 V_3_0_2 V_3_2_3 V_3_3 V_3_5 V_3_6 V_3_6_1 V_3_7 V_3_8 V_3_8_1 V_3_9 V_4_0 V_4_1 V_4_2 V_4_3 V_4_4 V_4_5 V_4_6 V_4_7 V_4_9 V_5_3 V_5_4 V_5_6 V_5_8 V_5_9 V_6_0 V_6_2 V_6_3 V_6_4 V_6_5 V_6_6 V_6_7 V_6_8 V_6_9 V_7_0 allow-older-pkgconfig autoconf-cleanup generic generic2 gpt-5.7 error initializing globus libtool-install master skip-function-probes Nothing to show gsi-openssh-7.0p1-20150813 V_7_2_P2 V_7_2_P1 V_7_1_P2 V_7_1_P1 V_7_0_P1 V_6_9_P1 V_6_8_P1 V_6_7_P1 V_6_6_P1 V_6_5_P1 V_6_4_P1 V_6_3_P1 V_6_2_P2 V_6_2_P1 V_6_1_P1 V_6_0_P1 V_5_9_P1 V_5_8_P2 V_5_8_P1 V_5_7_P1 V_5_6_P1 V_5_5_P1 V_5_4_P1 V_5_3_P1 V_5_2_P1 V_5_1_P1 V_5_0_P1 V_4_9_P1 V_4_7_P1 V_4_6_P1 V_4_5_P1 V_4_4_P1 V_4_3_P2 V_4_3_P1 V_4_2_P1 V_4_1_P1 V_4_0_P1 V_3_9_P1 V_3_8_1_P1 V_3_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