Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openmandriva cooker x86_64 repos seem to be broken #1066

Open
praiskup opened this issue May 4, 2023 · 6 comments
Open

openmandriva cooker x86_64 repos seem to be broken #1066

praiskup opened this issue May 4, 2023 · 6 comments
Labels
configs Issue in mock-core-configs package

Comments

@praiskup
Copy link
Member

praiskup commented May 4, 2023

Transferring from
fedora-copr/copr#2688

By @opoplawski:

https://copr.fedorainfracloud.org/coprs/orion/yubico-authenticator/build/5848873/

OpenMandriva Cooker - x86_64                     87  B/s | 157  B     00:01    
Errors during downloading metadata for repository 'openmandriva-cooker':
  - Status code: 502 for http://mirrors.openmandriva.org/mirrors.php?platform=cooker&arch=x86_64&repo=main&release=release (IP: 81.221.122.240)
Error: Failed to download metadata for repo 'openmandriva-cooker': Cannot prepare internal mirrorlist: Status code: 502 for http://mirrors.openmandriva.org/mirrors.php?platform=cooker&arch=x86_64&repo=main&release=release (IP: 81.221.122.240)
OpenMandriva Rolling - x86_64                    89  B/s | 157  B     00:01    
Errors during downloading metadata for repository 'openmandriva-rolling':
  - Status code: 502 for http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=x86_64&repo=main&release=release (IP: 81.221.122.240)
Error: Failed to download metadata for repo 'openmandriva-rolling': Cannot prepare internal mirrorlist: Status code: 502 for http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=x86_64&repo=main&release=release (IP: 81.221.122.240)
@praiskup praiskup added the configs Issue in mock-core-configs package label May 4, 2023
@praiskup praiskup changed the title openmandriva repos seem to be broken openmandriva cooker x86_64 repos seem to be broken May 4, 2023
@Conan-Kudo
Copy link
Member

cc: @berolinux

@praiskup
Copy link
Member Author

@berolinux ping, are you OK if we EOL the configs?

@Conan-Kudo
Copy link
Member

Cooker is not EOL, it's the rolling development branch similar to Rawhide.

@praiskup
Copy link
Member Author

Right, thank you for the info.

Is there any other way than dropping the non-working configuration files, though?

@berolinux
Copy link
Contributor

I can't reproduce the problem...
http://mirrors.openmandriva.org/mirrors.php?platform=cooker&arch=x86_64&repo=main&release=release
returns a working mirror list here, not a 502.

Can anyone confirm that there is a real problem here and not just a temporary outage that has been fixed a long time ago?

@praiskup
Copy link
Member Author

Seems to work now, at least Rolling. But there's a different problem now with Cooker:

Finish(bootstrap): cleaning package manager metadata
INFO: Guessed host environment type: unknown
INFO: Using bootstrap image: docker.io/openmandriva/cooker:latest
INFO: Pulling image: docker.io/openmandriva/cooker:latest
INFO: Copy content of container docker.io/openmandriva/cooker:latest to /var/lib/mock/openmandriva-cooker-x86_64-bootstrap-1709201235.321714/root
INFO: Checking that docker.io/openmandriva/cooker:latest image matches host's architecture
INFO: mounting docker.io/openmandriva/cooker:latest with podman image mount
INFO: image docker.io/openmandriva/cooker:latest as /var/lib/containers/storage/overlay/858ab53b3bd3d7608ba487da40118ced1afbea690f99f2428764795a07e3e7cf/merged
INFO: umounting image docker.io/openmandriva/cooker:latest (/var/lib/containers/storage/overlay/858ab53b3bd3d7608ba487da40118ced1afbea690f99f2428764795a07e3e7cf/merged) with podman image umount
INFO: Package manager dnf detected and used (fallback)
INFO: Bootstrap image not marked ready
Start(bootstrap): installing dnf tooling
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Copr repository                                 1.4 kB/s | 257  B     00:00    
determining the fastest mirror (17 hosts).. done.
OpenMandriva Cooker - x86_64                    4.4 MB/s |  21 MB     00:04    
Package python-dnf-4.18.2-1.noarch is already installed.
Dependencies resolved.
================================================================================
 Package                    Arch      Version      Repository              Size
================================================================================
Installing:
 python-dnf-plugins-core    noarch    4.5.0-1      openmandriva-cooker    129 k
Upgrading:
 dnf                        noarch    4.19.0-1     openmandriva-cooker    486 k
 dnf-data                   noarch    4.19.0-1     openmandriva-cooker     31 k
 python-dnf                 noarch    4.19.0-1     openmandriva-cooker    539 k
Installing dependencies:
 python-dateutil            noarch    2.8.2-2      openmandriva-cooker    250 k
 python-six                 noarch    1.16.0-5     openmandriva-cooker     17 k
 python-systemd             x86_64    235-1        openmandriva-cooker     65 k
 timezone                   x86_64    8:2023c-1    openmandriva-cooker    403 k

Transaction Summary
================================================================================
Install  5 Packages
Upgrade  3 Packages

Total download size: 1.9 M
Downloading Packages:
done.
(1/8): python-six-1.16.0-5-omv2290.noarch.rpm   149 kB/s |  17 kB     00:00    
(2/8): python-systemd-235-1-omv2390.x86_64.rpm  301 kB/s |  65 kB     00:00    
(3/8): python-dnf-plugins-core-4.5.0-1-omv2490. 343 kB/s | 129 kB     00:00    
(4/8): python-dateutil-2.8.2-2-omv4090.noarch.r 393 kB/s | 250 kB     00:00    
(5/8): dnf-data-4.19.0-1-omv2490.noarch.rpm     336 kB/s |  31 kB     00:00    
(6/8): timezone-2023c-1-omv2390.x86_64.rpm      468 kB/s | 403 kB     00:00    
(7/8): dnf-4.19.0-1-omv2490.noarch.rpm          456 kB/s | 486 kB     00:01    
(8/8): python-dnf-4.19.0-1-omv2490.noarch.rpm   503 kB/s | 539 kB     00:01    
--------------------------------------------------------------------------------
Total                                           946 kB/s | 1.9 MB     00:02     
OpenMandriva Cooker - x86_64                    3.0 MB/s | 3.1 kB     00:00    
Importing GPG key 0xBF81DE15:
 Userid     : "OpenMandriva Association <om-cooker@ml.openmandriva.org>"
 Fingerprint: 88D1 9FB4 68BA 8F3F DA4F 5E8C 1809 22D8 BF81 DE15
 From       : /usr/share/distribution-gpg-keys/openmandriva/RPM-GPG-KEY-OpenMandriva
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: timezone-8:2023c-1.x86_64                              1/1 
  Preparing        :                                                        1/1 
  Upgrading        : dnf-data-4.19.0-1.noarch                              1/11 
  Upgrading        : python-dnf-4.19.0-1.noarch                            2/11 
  Installing       : timezone-8:2023c-1.x86_64                             3/11 
  Installing       : python-systemd-235-1.x86_64                           4/11 
  Installing       : python-six-1.16.0-5.noarch                            5/11 
  Installing       : python-dateutil-2.8.2-2.noarch                        6/11 
  Installing       : python-dnf-plugins-core-4.5.0-1.noarch                7/11 
  Upgrading        : dnf-4.19.0-1.noarch                                   8/11 
  Running scriptlet: dnf-4.19.0-1.noarch                                   8/11 
  Running scriptlet: dnf-4.18.2-1.noarch                                   9/11 
  Cleanup          : dnf-4.18.2-1.noarch                                   9/11 
  Running scriptlet: dnf-4.18.2-1.noarch                                   9/11 
  Cleanup          : python-dnf-4.18.2-1.noarch                           10/11 
  Cleanup          : dnf-data-4.18.2-1.noarch                             11/11 
  Running scriptlet: dnf-data-4.18.2-1.noarch                             11/11 

Upgraded:
  dnf-4.19.0-1.noarch   dnf-data-4.19.0-1.noarch   python-dnf-4.19.0-1.noarch  
Installed:
  python-dateutil-2.8.2-2.noarch     python-dnf-plugins-core-4.5.0-1.noarch    
  python-six-1.16.0-5.noarch         python-systemd-235-1.x86_64               
  timezone-8:2023c-1.x86_64         

Complete!
Finish(bootstrap): installing dnf tooling
Start(bootstrap): creating root cache
Finish(bootstrap): creating root cache
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/openmandriva-cooker-x86_64-1709201235.321714/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf detected and used (direct choice)
INFO: Buildroot is handled by package management downloaded with a bootstrap image:
  rpm-4.19.1-1.x86_64
Start: installing minimal buildroot with dnf
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Failed loading plugin "needs_restarting": No module named 'dbus'
Copr repository                                 6.2 kB/s | 257  B     00:00    
Traceback (most recent call last):
  File "/usr/bin/dnf-3", line 62, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 208, in user_main
    errcode = main(args)
              ^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 67, in main
    return _main(base, args, cli_class, option_parser_class)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 106, in _main
    return cli_run(cli, base)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 122, in cli_run
    cli.run()
  File "/usr/lib/python3.11/site-packages/dnf/cli/cli.py", line 1040, in run
    self._process_demands()
  File "/usr/lib/python3.11/site-packages/dnf/cli/cli.py", line 741, in _process_demands
    self.base.fill_sack(
  File "/usr/lib/python3.11/site-packages/dnf/base.py", line 407, in fill_sack
    self._add_repo_to_sack(r)
  File "/usr/lib/python3.11/site-packages/dnf/base.py", line 144, in _add_repo_to_sack
    if 'filelists' in self.conf.optional_metadata_types:
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/conf/config.py", line 67, in __getattr__
    option = getattr(self._config, name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigMain' object has no attribute 'optional_metadata_types'
WARNING: DNF command failed, retrying, attempt #2, sleeping 10s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configs Issue in mock-core-configs package
Projects
None yet
Development

No branches or pull requests

3 participants