Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1155

installCerts.py Script fails to execute successfully. Failed in Cleaning up the files present in /tmp folder.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • sdnc-oam
    • None

      installCert.py fails in deleting files :  keystore.jks, keystore.pass,  truststore.jks, truststore.pass present in /tmp folder hence return failure code on execution.

       

      Below are the logs from :  installCerts.log

      2020-04-14 02:00:48,329 - root - DEBUG - Healthcheck Passed in 0 seconds.
      2020-04-14 02:00:48,331 - root - DEBUG - Posting private key in to ODL keystore
      2020-04-14 02:00:48,343 - root - DEBUG - Response :200 Reason :OK
      2020-04-14 02:00:48,343 - root - DEBUG - Posting trusted cert list in to ODL
      2020-04-14 02:00:48,354 - root - DEBUG - Response :200 Reason :OK
      2020-04-14 02:00:48,354 - root - DEBUG - Posting the cert in to ODL
      2020-04-14 02:00:48,365 - root - DEBUG - Response :200 Reason :OK
      2020-04-14 02:00:48,365 - root - INFO - Looking for jks files in folder /tmp
      2020-04-14 02:00:48,365 - root - DEBUG - Converting /tmp/truststore.jks into p12 format
      2020-04-14 02:00:48,817 - root - DEBUG - Converting /tmp/keystore.jks into p12 format
      2020-04-14 02:00:49,396 - root - DEBUG - key ok
      2020-04-14 02:00:49,422 - root - DEBUG - certList ok
      2020-04-14 02:00:49,449 - root - DEBUG - cert ok
      2020-04-14 02:00:49,449 - root - DEBUG - Posting private key in to ODL keystore
      2020-04-14 02:00:49,460 - root - DEBUG - Response :200 Reason :OK
      2020-04-14 02:00:49,460 - root - DEBUG - Posting trusted cert list in to ODL
      2020-04-14 02:00:49,472 - root - DEBUG - Response :200 Reason :OK
      2020-04-14 02:00:49,472 - root - DEBUG - Posting the cert in to ODL
      2020-04-14 02:00:49,483 - root - DEBUG - Response :200 Reason :OK
      2020-04-14 02:00:49,483 - root - DEBUG - Cleaning up the file /tmp/truststore.pass

      Execution stoped as script failed to delete /tmp/truststore.pass file.

            ajay_dp001 ajay_dp001
            ajay_dp001 ajay_dp001
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: