#9007 batcave01.iad2 can not reposync el7
Closed: Fixed by smooge. Opened by smooge.

The reposync script from EL7 to EL8 needs work. Currently fails and generates

Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//ppc64le'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//ppc64le'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//ppc64le'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//ppc64le'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//ppc64le'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//s390x'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//s390x'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//s390x'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//s390x'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//s390x'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//s390x'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//x86_64'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//x86_64'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//x86_64'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//x86_64'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//x86_64'
Command line error: argument -e/--errorlevel: invalid int value: '/var/tmp/reposync-rhel7//x86_64'

File is in /mnt/fedora/app/fi-repo/rhel/rhel7 and needs to be:

  1. A reposync module needs to be made in ansible
  2. File and yum items needs to be ansible and updated there versus by hand
  3. Cron job is in /etc/ and also needs this.

On RHEL7 -e is the cache dir

-e CACHEDIR, --cachedir=CACHEDIR
                        directory in which to store metadata

on RHEL8, we need to use --metadata-path

--metadata-path METADATA_PATH
                        where to store downloaded repository metadata.

Also we need to specify --repoid instead of just r

Remaining every other option should work.

Thanks I have hacked that into the non-ansibled script the rest needs to be fixed later. Keepign ticket open for that.

Should be fixed by https://pagure.io/fedora-infra/ansible/pull-request/119

Thanks I will double check to see if it is working tonight.

Metadata Update from @smooge:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata