Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-14777

foreman-installer fails with "file keytool does not exist"

XMLWordPrintable

    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:
      Originally this happened on Satellite 6.11.4 after leapp.

      After leapp somehow keytool was not in the PATH and due to that installer is failing.

      Version-Release number of selected component (if applicable):
      6.11.4 but most likely can happen during any leapp

      How reproducible:
      Specific scenario of customer

      Steps to Reproduce:
      1. Instal Satellite 6.11.4 on RHEL7
      2. Use leapp to upgrade OS to RHEL8

      Actual results:

      Leapp will partitaly fail on satellite-installer part as below

      2023-01-01 00:00:00.590 DEBUG PID: 8867 leapp.workflow.FirstBoot.satellite_upgrader: [[34m2023-01-01 00:00:00[[0m [[[31mERROR ^[[0m] [[[36mconfigure^[[0m] Could not find a suitable provider for keystore
      2023-01-01 00:00:00.597 DEBUG PID: 8867 leapp.workflow.FirstBoot.satellite_upgrader: [[34m2023-01-01 00:00:00[[0m [[[31mERROR ^[[0m] [[[36mconfigure^[[0m] Could not find a suitable provider for truststore
      2023-01-01 00:00:00.607 DEBUG PID: 8867 leapp.workflow.FirstBoot.satellite_upgrader: [[34m2023-01-01 00:00:00[[0m [[[31mERROR ^[[0m] [[[36mconfigure^[[0m] Could not find a suitable provider for truststore_certificate
      2023-01-01 00:00:00.622 DEBUG PID: 8867 leapp.workflow.FirstBoot.satellite_upgrader: [[34m2023-01-01 00:00:00[[0m [[[31mERROR ^[[0m] [[[36mconfigure^[[0m] Could not find a suitable provider for keystore_certificate
      ...
      2023-01-01 00:00:00.958 ERROR PID: 8867 leapp.workflow.FirstBoot.satellite_upgrader: Could not run the installer, please inspect the logs in /var/log/foreman-installer!

      Expected results:

      Successful leapp

      Additional info:
      on RHEL7 was keytool set properly via alternatives as slave of java-1.8.0_openjdk family

      Can be fixed by

      1. alternatives --auto java

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: