UNSOLVED

Apex_Ops

updated

9 years ago

A

Apex_Ops

1 Rookie

90 Posts

1

5282

December 14th, 2017 07:00

ESRS logs upload in OneFS 8.1.x

Is it true that log gather (isi_gather_info --esrs) upload via ESRS will not work in OneFS 8.1.x ?

Reference: https://support.emc.com/kb/514580 and https://support.emc.com/kb/514581

  • Phil.Lam

    4 Apprentice

    641 Posts

    12 Points

    4140

    0

    Posted December 15th, 2017 13:00

    not entirely but it's been replaced with another command, isi diagnostics.

    OneFS 8.1 eLicensing and remote support changes

    The isi diagnostics gather, and isi diagnostics netlogger commands replace the isi gather info command.

  • Apex_Ops

    1 Rookie

    90 Posts

    4140

    0

    Posted December 18th, 2017 07:00

    The reason I asked is because all ESRS uploads are failing with:

    Upload to ESRS via REST failed. Error: ESRS Managed File Transfer Upload failed. Error response code from gateway: 401, Unauthorized. Response dictionary was: {{'body': '\n\n401 Unauthorized\n\n

    Unauthorized

    \n

    This server could not verify that you\nare authorized to access the document\nrequested.  Either you supplied the wrong\ncredentials (e.g., bad password), or your\nbrowser doesn\'t understand how to supply\nthe credentials required.

    \n
    \n', 'http_response_code': 401}}

    Traceback (most recent call last):

      File "/usr/bin/isi_gather_info", line 2812, in uploadPackage

        False, "isi_gather_info")

      File "/usr/local/lib/python2.7/site-packages/isi/esrs/restclient.py", line 1048, in mft_upload_file

      File "/usr/local/lib/python2.7/site-packages/isi/esrs/restclient.py", line 845, in _gateway_failover

      File "/usr/local/lib/python2.7/site-packages/isi/esrs/restclient.py", line 821, in _mft_put

      File "/usr/local/lib/python2.7/site-packages/isi/esrs/restclient.py", line 106, in _check_return_code

    ESRSBadCodeError: ESRS Managed File Transfer Upload failed. Error response code from gateway: 401, Unauthorized. Response dictionary was: {{'body': '\n\n401 Unauthorized\n\n

    Unauthorized

    \n

    This server could not verify that you\nare authorized to access the document\nrequested.  Either you supplied the wrong\ncredentials (e.g., bad password), or your\nbrowser doesn\'t understand how to supply\nthe credentials required.

    \n
    \n', 'http_response_code': 401}}

  • Phil.Lam

    4 Apprentice

    641 Posts

    12 Points

    4140

    0

    Posted December 20th, 2017 14:00

    Are you using ESRS 3 gateway? OneFS 8.1 esrs needs a ESRS 3 gateway.

    http://doc.isilon.com/onefs/8.1.0/elms_esrs/01-ifs-c-elms-esrs-container-topic.htm

  • Apex_Ops

    1 Rookie

    90 Posts

    4140

    0

    Posted December 21st, 2017 00:00

    Yes its ESRS 3.

  • Phil.Lam

    4 Apprentice

    641 Posts

    12 Points

    4140

    0

    Posted December 21st, 2017 13:00

    ronanb,

    Are the esrs credentials correct? You are hitting this issue:

    511087 : Isilon OneFS 8.1 Error enabling ESRS gateway: "Error response code from gateway: 401, Unauthorized"

    https://support.emc.com/kb/511087

    Have you done the following command?

    # isi esrs modify --enabled=true --username= --password=

    Example of the error when enabling the ESRS v3 configuration on the cluster:

    cluster-1# isi esrs modify --enabled=true --username=user --password=EMC123
    Internal error: ESRSBadCodeError: ESRS Add Device failed. Error response code from gateway: 401, Unauthorized. Response dictionary was: {{'http_response_code': 401, u'responseCode': 401, u'serialNumber': u'ELMISL######', u'gatewaySerialNumber': u'########', u'veType': u'Connected', u'message': u'Invalid username and password.', u'model': u'ISILON-GW'}}

  • Apex_Ops

    1 Rookie

    90 Posts

    4140

    0

    Posted December 22nd, 2017 02:00

    FYI:

    I opened a service request with Isilon support who confirmed that ESRS log uploads do not work in OneFS 8.1.0.1 and recommended to avail of the fix in One 8.1.0.2 when available in mid-January.

    If I try a log upload with ESRS , if fails. If I try it with a small file, it works. These are the symptoms of KB http://support.emc.com/kb/514580 which says to use FTP for all log gathers.

  • Phil.Lam

    4 Apprentice

    641 Posts

    12 Points

    4140

    0

    Posted December 22nd, 2017 11:00

    ronanb,

    Thanks for the info, that's a NEW bug to me.