Skip to content

Error processing Rocky10 on server with 4.0.16 #781

@rm-td

Description

@rm-td

I have to report another gremlin. Per previous issues all resolved, was brand new database with v4.0.15, everything cool, upgrade to 4.0.16 occured correctly. Only had Debian 12/13 clients checking in, all apt repos processed fine. Debian 13 server, mariadb/mysql backend configured.

Recomissioned Rocky 9/10 VMs, patchman-client 4.0.16 installed. Report using "patchman-client" makes it to server -v switch confirms no error submitting.

On the server a "patchman -a" refuses to process. If I remove the failed/unprocessed reports and the Rocky hosts then server returns straight back to full operation.

Can give more logs/details of repos if required. Sorry I bust it again. Thank you for patchman!
Either a Rocky 9 or Rocky 10 report I get this from a "patchman -a" on the server:

  File "/usr/bin/patchman", line 510, in <module>
    main()
    ~~~~^^
  File "/usr/bin/patchman", line 504, in main
    showhelp = process_args(args)
  File "/usr/bin/patchman", line 464, in process_args
    process_reports(args.host, args.force)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/patchman", line 311, in process_reports
    report.process(find_updates=False)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/reports/models.py", line 232, in process
    process_repos(report=self, host=host)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/reports/utils.py", line 51, in process_repos
    repo, priority = process_repo_text(repo_str, report.arch)
                     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/reports/utils.py", line 290, in process_repo_text
    r_priority = int(repo[2]) * -1
                 ~~~^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'https://mirrors.fedoraproject.org/metalink?repo=epel-z-10&arch=x86_64'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions