IBM Support

usnloader job failing on ICP 3.2.2 running on Power

Troubleshooting


Problem

On a newly installed IBM Cloud Private 3.2.2, the usnloader job used to update the Security notices for the VA components
runs for long time and then fails.
Some times it fails after shorter times with error:
Traceback (most recent call last):
  File "/opt/usnloader/usnloader_d.py", line 145, in <module>
    usnloader(args)
  File "/opt/usnloader/usnloader_d.py", line 86, in usnloader
    new_usn = [ usn for usn in usn_info_list if not es.doc_exists(usn['id'])]
  File "/opt/usnloader/elastic_index.py", line 84, in doc_exists
    return self.es.exists(index=INDEX_NAME, doc_type=DOC_TYPE, id=doc_id)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 71, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 325, in exists
    doc_type, id), params=params)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 327, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 124, in perform_request
    self._raise_error(response.status, raw_data)
  File "/usr/local/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 122, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.TransportError: TransportError(503, u'')
or
Traceback (most recent call last):
  File "/opt/usnloader/usnloader_d.py", line 150, in <module>
    usnloader(args)
  File "/opt/usnloader/usnloader_d.py", line 110, in usnloader
    es.add_update_document('fedora', status['fedora'], logger)

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBS6K","label":"IBM Cloud Private"},"ARM Category":[{"code":"a8m0z000000brN2AAI","label":"IBM Cloud Private-\u003EVulnerability Advisor"}],"ARM Case Number":"TS003851433","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
13 October 2020

UID

ibm16347546