[ovirt-users] synchronize cache

Markus Scherer m.scherer at m-u-m.info
Thu Jul 21 10:49:03 UTC 2016


and the log





During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
     return _main(base, args)
   File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 112, in 
_main
     cli.run()
   File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1095, in run
     self._process_demands()
   File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 810, in 
_process_demands
     load_available_repos=lar)
   File "/usr/lib/python3.5/site-packages/dnf/base.py", line 239, in 
fill_sack
     self._add_repo_to_sack(r)
   File "/usr/lib/python3.5/site-packages/dnf/base.py", line 111, in 
_add_repo_to_sack
     repo.load()
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 847, in load
     raise dnf.exceptions.RepoError(msg)
dnf.exceptions.RepoError: Failed to synchronize cache for repo 'ovirt-4.0'
Jul 21 12:41:20 CRITICAL Fehler: Failed to synchronize cache for repo 
'ovirt-4.0'
Jul 21 12:42:14 INFO --- logging initialized ---
Jul 21 12:42:14 DDEBUG timer: config: 4 ms
Jul 21 12:42:14 DEBUG cachedir: /var/cache/dnf
Jul 21 12:42:14 DEBUG Loaded plugins: download, noroot, builddep, Query, 
needs-restarting, copr, langpacks, reposync, config-manager, playground, 
debuginfo-install, protected_packages, generate_completion_cache
Jul 21 12:42:14 DEBUG langpacks: No languages are enabled
Jul 21 12:42:14 DEBUG Error reading file : 
/var/lib/dnf/plugins/langpacks/installed_langpacks as it does not exist
Jul 21 12:42:14 DEBUG initialized Langpacks plugin
Jul 21 12:42:14 DEBUG DNF version: 1.1.9
Jul 21 12:42:14 DDEBUG Command: dnf clean all
Jul 21 12:42:14 DDEBUG Installroot: /
Jul 21 12:42:14 DDEBUG Releasever: 24
Jul 21 12:42:14 DDEBUG Base command: clean
Jul 21 12:42:14 DDEBUG Extra commands: ['all']
Jul 21 12:42:14 DEBUG Cleaning data: dbcache packages metadata
Jul 21 12:42:14 DDEBUG Removing file /var/cache/dnf/updates.solv
Jul 21 12:42:14 DDEBUG Removing file /var/cache/dnf/updates-filenames.solvx
Jul 21 12:42:14 DDEBUG Removing file /var/cache/dnf/updates-updateinfo.solvx
Jul 21 12:42:14 DDEBUG Removing file /var/cache/dnf/updates-presto.solvx
Jul 21 12:42:14 DDEBUG Removing file /var/cache/dnf/@System.solv
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/metalink.xml
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/repodata/b747c4b18ee6243458bdfe74ee8dd646458276bd70c91a75096ed063bef9b804-filelists.xml.gz
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/repodata/repomd.xml
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/repodata/781757fbb297b45c9198498298511f1da75136b514071200b4a749514dea513d-comps-f24.xml.xz
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/repodata/86d5fab59fde143382fc6ee4ebd34a12187da8123b93a5d50f946e5bd4c0ea06-updateinfo.xml.xz
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/repodata/67b06459bd1f9137e934e355d566ae7358e17ba7ba87ef7a83ed2a5907b1b833-primary.xml.gz
Jul 21 12:42:14 DDEBUG Removing file 
/var/cache/dnf/updates-c4f1c95f64c2b794/repodata/84f4fad977e033c253bc8dcc1b3f1dd90acf5d42f85ed0b56b853e096aa94693-prestodelta.xml.xz
Jul 21 12:42:14 INFO 12 files removed
Jul 21 12:42:14 DDEBUG Cleaning up.
Jul 21 12:42:23 INFO --- logging initialized ---
Jul 21 12:42:23 DDEBUG timer: config: 4 ms
Jul 21 12:42:23 DEBUG cachedir: /var/cache/dnf
Jul 21 12:42:23 DEBUG Loaded plugins: copr, needs-restarting, 
protected_packages, noroot, config-manager, langpacks, 
generate_completion_cache, reposync, download, playground, builddep, 
Query, debuginfo-install
Jul 21 12:42:23 DEBUG langpacks: No languages are enabled
Jul 21 12:42:23 DEBUG Error reading file : 
/var/lib/dnf/plugins/langpacks/installed_langpacks as it does not exist
Jul 21 12:42:23 DEBUG initialized Langpacks plugin
Jul 21 12:42:23 DEBUG DNF version: 1.1.9
Jul 21 12:42:23 DDEBUG Command: dnf check-update
Jul 21 12:42:23 DDEBUG Installroot: /
Jul 21 12:42:23 DDEBUG Releasever: 24
Jul 21 12:42:23 DDEBUG Base command: check-update
Jul 21 12:42:23 DDEBUG Extra commands: []
Jul 21 12:42:23 DDEBUG repo: downloading from remote: fedora, _Handle: 
metalnk: 
https://mirrors.fedoraproject.org/metalink?repo=fedora-24&arch=x86_64, 
mlist: None, urls [].
Jul 21 12:42:44 DEBUG not found deltainfo for: Fedora 24 - x86_64
Jul 21 12:42:44 DEBUG not found updateinfo for: Fedora 24 - x86_64
Jul 21 12:42:57 DDEBUG repo: downloading from remote: ovirt-4.0, 
_Handle: metalnk: None, mlist: None, urls 
['http://resources.ovirt.org/pub/ovirt-4.0/rpm/fc24/'].
Jul 21 12:42:59 DEBUG Cannot download 
'http://resources.ovirt.org/pub/ovirt-4.0/rpm/fc24/': Cannot download 
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
Jul 21 12:42:59 DDEBUG Cleaning up.
Jul 21 12:42:59 SUBDEBUG
Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 226, in perform
     return super(_Handle, self).perform(result)
   File "/usr/lib64/python3.5/site-packages/librepo/__init__.py", line 
1506, in perform
     _librepo.Handle.perform(self, result)
librepo.LibrepoException: (19, 'Cannot download repomd.xml: Cannot 
download repodata/repomd.xml: All mirrors were tried', 'Usable URL not 
found')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 835, in load
     self._handle_load(handle)
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 590, in 
_handle_load
     return self._handle_load_core(handle)
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 603, in 
_handle_load_core
     result = handle.perform()
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 230, in perform
     raise _DetailedLibrepoError(exc, source)
dnf.repo._DetailedLibrepoError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
     return _main(base, args)
   File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 112, in 
_main
     cli.run()
   File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1095, in run
     self._process_demands()
   File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 810, in 
_process_demands
     load_available_repos=lar)
   File "/usr/lib/python3.5/site-packages/dnf/base.py", line 239, in 
fill_sack
     self._add_repo_to_sack(r)
   File "/usr/lib/python3.5/site-packages/dnf/base.py", line 111, in 
_add_repo_to_sack
     repo.load()
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 847, in load
     raise dnf.exceptions.RepoError(msg)
dnf.exceptions.RepoError: Failed to synchronize cache for repo 'ovirt-4.0'
Jul 21 12:42:59 CRITICAL Fehler: Failed to synchronize cache for repo 
'ovirt-4.0'
Jul 21 12:47:02 INFO --- logging initialized ---
Jul 21 12:47:02 DDEBUG timer: config: 4 ms
Jul 21 12:47:02 DEBUG cachedir: /var/cache/dnf
Jul 21 12:47:02 DEBUG Loaded plugins: copr, Query, debuginfo-install, 
playground, generate_completion_cache, builddep, langpacks, 
config-manager, needs-restarting, protected_packages, noroot, download, 
reposync
Jul 21 12:47:02 DEBUG langpacks: No languages are enabled
Jul 21 12:47:02 DEBUG Error reading file : 
/var/lib/dnf/plugins/langpacks/installed_langpacks as it does not exist
Jul 21 12:47:02 DEBUG initialized Langpacks plugin
Jul 21 12:47:02 DEBUG DNF version: 1.1.9
Jul 21 12:47:02 DDEBUG Command: dnf check-update
Jul 21 12:47:02 DDEBUG Installroot: /
Jul 21 12:47:02 DDEBUG Releasever: 24
Jul 21 12:47:02 DDEBUG Base command: check-update
Jul 21 12:47:02 DDEBUG Extra commands: []
Jul 21 12:47:02 DDEBUG repo: downloading from remote: updates, _Handle: 
metalnk: 
https://mirrors.fedoraproject.org/metalink?repo=updates-released-f24&arch=x86_64, 
mlist: None, urls [].
Jul 21 12:47:11 DDEBUG repo: downloading from remote: ovirt-4.0, 
_Handle: metalnk: None, mlist: 
http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-fc24, urls [].
Jul 21 12:47:12 DEBUG Cannot download 
'http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-fc24': 
Cannot prepare internal mirrorlist: No URLs in mirrorlist.
Jul 21 12:47:12 DDEBUG Cleaning up.
Jul 21 12:47:12 SUBDEBUG
Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 226, in perform
     return super(_Handle, self).perform(result)
   File "/usr/lib64/python3.5/site-packages/librepo/__init__.py", line 
1506, in perform
     _librepo.Handle.perform(self, result)
librepo.LibrepoException: (15, 'Cannot prepare internal mirrorlist: No 
URLs in mirrorlist', 'Bad mirrorlist or metalink file')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 835, in load
     self._handle_load(handle)
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 590, in 
_handle_load
     return self._handle_load_core(handle)
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 603, in 
_handle_load_core
     result = handle.perform()
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 230, in perform
     raise _DetailedLibrepoError(exc, source)
dnf.repo._DetailedLibrepoError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
     return _main(base, args)
   File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 112, in 
_main
     cli.run()
   File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1095, in run
     self._process_demands()
   File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 810, in 
_process_demands
     load_available_repos=lar)
   File "/usr/lib/python3.5/site-packages/dnf/base.py", line 239, in 
fill_sack
     self._add_repo_to_sack(r)
   File "/usr/lib/python3.5/site-packages/dnf/base.py", line 111, in 
_add_repo_to_sack
     repo.load()
   File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 847, in load
     raise dnf.exceptions.RepoError(msg)
dnf.exceptions.RepoError: Failed to synchronize cache for repo 'ovirt-4.0'
Jul 21 12:47:12 CRITICAL Fehler: Failed to synchronize cache for repo 
'ovirt-4.0'


Am 21.07.2016 um 11:16 schrieb Sandro Bonazzola:
> try with:
> [ovirt-4.0]
> name=Latest oVirt 4.0 Release
> baseurl=http://resources.ovirt.org/pub/ovirt-4.0/rpm/fc$releasever/
> #mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-fc$releasever
> enabled=1
> skip_if_unavailable=0
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.0
>
> On Thu, Jul 21, 2016 at 10:20 AM, Markus Scherer <m.scherer at m-u-m.info 
> <mailto:m.scherer at m-u-m.info>> wrote:
>
>     my ovirt.repo file
>
>     [ovirt-4.0]
>     name=Latest oVirt 4.0 Release
>     #baseurl=http://resources.ovirt.org/pub/ovirt-4.0/rpm/fc$releasever/
>     mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-fc$releasever
>     enabled=1
>     skip_if_unavailable=0
>     gpgcheck=1
>     gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.0
>
>
>     Am 21.07.2016 um 09:08 schrieb Sandro Bonazzola:
>>
>>
>>     On Thu, Jul 21, 2016 at 7:11 AM, Markus Scherer
>>     <m.scherer at m-u-m.info <mailto:m.scherer at m-u-m.info>> wrote:
>>
>>         Sorry the same problem
>>
>>
>>
>>     Maybe you hit a mirror out of sync, can you try using baseurl
>>     instead of mirrorlist in the ovirt .repo files?
>>
>>
>>         Thx
>>
>>
>>         Am 20.07.2016 um 16:45 schrieb Sandro Bonazzola:
>>>
>>>
>>>         On Mon, Jul 18, 2016 at 9:41 AM, Markus Scherer
>>>         <max at m-u-m.info <mailto:max at m-u-m.info>> wrote:
>>>
>>>             Hi,
>>>
>>>             on an fresh installed fedora server 23 i got a "Failed
>>>             to synchronize cache for repo 'ovirt-4.0'".
>>>             I have done a "dnf clean all" a "dnf check-update" and a
>>>             reboot but always the same problem.
>>>
>>>             thx for help
>>>
>>>
>>>         I regenerated the metadata within the repo, can you please
>>>         try again?
>>>         Thanks,
>>>
>>>             _______________________________________________
>>>             Users mailing list
>>>             Users at ovirt.org <mailto:Users at ovirt.org>
>>>             http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>>         -- 
>>>         Sandro Bonazzola
>>>         Better technology. Faster innovation. Powered by community
>>>         collaboration.
>>>         See how it works at redhat.com <http://redhat.com>
>>
>>
>>
>>
>>     -- 
>>     Sandro Bonazzola
>>     Better technology. Faster innovation. Powered by community
>>     collaboration.
>>     See how it works at redhat.com <http://redhat.com>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at ovirt.org <mailto:Users at ovirt.org>
>>     http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> -- 
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com <http://redhat.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160721/d318a01f/attachment-0001.html>


More information about the Users mailing list