Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-3123

Script to stop when run on non-CentOS7

XMLWordPrintable

      Goal: 

      Until RHINENG-1531 is implemented, when a customer runs the pre-conversion analysis/conversion task on a non-CentOS7 host while having the rhc-worker-script package installed on the host, Task should show them a message saying that the task is supported on CentOS Linux 7 only.

      The requirement of having rhc-worker-script installed is that it will be the script checking for the distro. On a host without the package installed, the customer will unfortunately see some kind of vague error. That will be prevented by the RHINENG-1531 later on though.

      Acceptance Criteria:

      • The pre-conversion analysis and the conversion tasks are updated to do an early check of the distribution and the major version. If not CentOS Linux, the scripts return a message to be shown in Insights that the task is supported on CentOS Linux 7 only.

            rolivier@redhat.com Rodolfo Olivieri
            mbocek@redhat.com Michal Bocek
            Martin Litwora Martin Litwora
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: