Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-742

Reduce confusion with internet connectivity check

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • 1.1
    • None
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 1
    • 2022-Q3, 2022-Q4

      The _check_internet_access() method doesn't log in a good way that's easy for the customer to know what is going on. Within the prepare system information task we have the ping to the DNS (soon to be changed in RHELC-637).

      [08/29/2022 13:34:28] TASK - [Prepare: Gather system information] *******************************
      Name: CentOS Linux
      OS version: 7.9
      Architecture: x86_64
      Config filename: centos-7-x86_64.cfg
      Running the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option.
      The 'rpm -Va' output has been stored in the /var/log/convert2rhel/rpm_va.log file
      Checking internet connectivity using host '8.8.8.8' and port '53'.
      WARNING - Couldn't connect to the host '8.8.8.8'.

      Acceptance Criteria

      • The log message is updated to be less confusing for the customer, either removed or changed from a generic "couldn't connect" to a message about assumption, e.g. about host being offline, only has access to specific repos, or blocks port 443
      • Log about what this means for other checks

              rolivier@redhat.com Rodolfo Olivieri
              fgustavs@redhat.com Freya Gustavsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: