#1576 Pungi fails to resolve architecture when custom install tree is selected
Closed: Insufficient data 9 months ago by lsedlar. Opened 2 years ago by cappyishihara.

When setting a custom install tree for a live media compose, Pungi somehow fails to resolve the architecture and fails to fetch the tree info.

    '^Flagship$':[
        {
            'name': 'Ultramarine-Flagship-Live',
            'kickstart': 'kickstarts/ultramarine-budgie.ks',
            'arches': ['x86_64'],
            'repo': [
                'https://dl.fedoraproject.org/pub/fedora/linux/releases/35/Everything/$basearch/os',
                'https://dl.fedoraproject.org/pub/fedora/linux/updates/35/Everything/$basearch/',
                'Everything',
                'https://download1.rpmfusion.org/free/fedora/releases/35/Everything/$basearch/os/',
                'https://download1.rpmfusion.org/free/fedora/tainted/35/$basearch/',
                'https://download1.rpmfusion.org/nonfree/fedora/releases/35/Everything/$basearch/os/',
                'https://download1.rpmfusion.org/nonfree/fedora/tainted/35/$basearch/',
            ],
            'install_tree_from': 'Everything',
            'scratch': True

        }
    ]
07:47:34,129 DBG modules.payloads.payload.dnf.tree_info: Load treeinfo metadata for 'https://lapis.ultramarine-linux.org/kojifiles/compose/35/Ultramarine-35-20211214.1/compose/Everything/$basearch/os'.
07:47:34,139 WRN misc: /usr/lib/python3.10/site-packages/urllib3/connection.py:512: DeprecationWarning: ssl.match_hostname() is deprecated
  match_hostname(cert, asserted_hostname)

07:47:34,140 DBG modules.payloads.payload.dnf.tree_info: Failed to download '.treeinfo': 404 Client Error: Not Found for url: https://lapis.ultramarine-linux.org/kojifiles/compose/35/Ultramarine-35-20211214.1/compose/Everything/$basearch/os/.treeinfo
07:47:34,151 DBG modules.payloads.payload.dnf.tree_info: Failed to download 'treeinfo': 404 Client Error: Not Found for url: https://lapis.ultramarine-linux.org/kojifiles/compose/35/Ultramarine-35-20211214.1/compose/Everything/$basearch/os/treeinfo

Pungi doesn't resolve the URL. Pungi uses the configuration to create a task in Koji. The parameters to the task have the $basearch variable in them, and resolution to actual value is done by whatever tool runs in the task. In this case that seems to be DNF.

Where is the log output coming from?

Metadata Update from @lsedlar:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

9 months ago

Login to comment on this ticket.

Metadata