[ovirt-users] Bug in hostdeploy / baseurl - RepoError: Cannot find a valid baseurl for repo: base/7/x86_64

Daniel Helgenberger daniel.helgenberger at m-box.de
Wed Jun 17 11:35:28 UTC 2015



On 17.06.2015 13:28, Alon Bar-Lev wrote:
>
>
> ----- Original Message -----
>> From: "Daniel Helgenberger" <daniel.helgenberger at m-box.de>
>> To: "Alon Bar-Lev" <alonbl at redhat.com>
>> Cc: Users at ovirt.org
>> Sent: Wednesday, June 17, 2015 2:26:18 PM
>> Subject: Re: [ovirt-users] Bug in hostdeploy / baseurl - RepoError: Cannot find a valid baseurl for repo:
>> base/7/x86_64
>>
>> Hello Alon,
>>
>> On 17.06.2015 13:22, Alon Bar-Lev wrote:
>>> Please do not use multiple channels to discuss the same issue.
>>
>> I just make a habit of posting bug links on the ML as well. I see this
>> as an 'FYI', since I often miss BZ if not posted on the list Of course,
>> further discussion sould continue in BZ.
>
> Please do not do that. Discuss in list first, then if a bug should be opened you will instructed to do so.
> If you open a bug, avoid discussion in other mediums.

Ok; next time I'll will discuss it here first, like always. This one 
seemed too obvouis for me though; I had it on two hosts..

Cheers!

>
> Thanks.
>
>>
>> If you think this is not right will stop doing so.
>>
>>>
>>> ----- Original Message -----
>>>> From: "Daniel Helgenberger" <daniel.helgenberger at m-box.de>
>>>> To: Users at ovirt.org
>>>> Sent: Wednesday, June 17, 2015 2:21:58 PM
>>>> Subject: [ovirt-users] Bug in hostdeploy / baseurl - RepoError: Cannot
>>>> find a valid baseurl for repo: base/7/x86_64
>>>>
>>>> Hello,
>>>>
>>>> I just went ahead and filed [BZ1232714] because with ovirt 3.5.3 host
>>>> deploy seens to fail on CentOS7 if there is no baseurl setting in yum
>>>> repos:
>>>>
>>>> RepoError: Cannot find a valid baseurl for repo: base/7/x86_64
>>>>
>>>> [BZ1232714] https://bugzilla.redhat.com/show_bug.cgi?id=1232714
>>>>
>>>> -8<---------
>>>>> 2015-06-17 12:27:37 DEBUG otopi.transaction transaction._prepare:77
>>>>> preparing 'Yum Transaction'
>>>>> Loaded plugins: fastestmirror
>>>>> 2015-06-17 12:27:37 DEBUG otopi.context context._executeMethod:138 Stage
>>>>> internal_packages METHOD
>>>>> otopi.plugins.otopi.network.hostname.Plugin._internal_packages
>>>>> 2015-06-17 12:27:37 DEBUG otopi.plugins.otopi.packagers.yumpackager
>>>>> yumpackager.verbose:88 Yum queue package iproute for install
>>>>> Loading mirror speeds from cached hostfile
>>>>> 2015-06-17 12:27:37 ERROR otopi.plugins.otopi.packagers.yumpackager
>>>>> yumpackager.error:97 Yum Cannot queue package iproute: Cannot find a
>>>>> valid
>>>>> baseurl for repo: base/7/x86_64
>>>>> 2015-06-17 12:27:37 DEBUG otopi.context context._executeMethod:152 method
>>>>> exception
>>>>> Traceback (most recent call last):
>>>>>     File "/tmp/ovirt-s3ofZ9o6Pq/pythonlib/otopi/context.py", line 142, in
>>>>>     _executeMethod
>>>>>       method['method']()
>>>>>     File "/tmp/ovirt-s3ofZ9o6Pq/otopi-plugins/otopi/network/hostname.py",
>>>>>     line 66, in _internal_packages
>>>>>       self.packager.install(packages=('iproute',))
>>>>>     File
>>>>>     "/tmp/ovirt-s3ofZ9o6Pq/otopi-plugins/otopi/packagers/yumpackager.py",
>>>>>     line 303, in install
>>>>>       ignoreErrors=ignoreErrors
>>>>>     File "/tmp/ovirt-s3ofZ9o6Pq/pythonlib/otopi/miniyum.py", line 865, in
>>>>>     install
>>>>>       **kwargs
>>>>>     File "/tmp/ovirt-s3ofZ9o6Pq/pythonlib/otopi/miniyum.py", line 509, in
>>>>>     _queue
>>>>>       provides = self._queryProvides(packages=(package,))
>>>>>     File "/tmp/ovirt-s3ofZ9o6Pq/pythonlib/otopi/miniyum.py", line 447, in
>>>>>     _queryProvides
>>>>>       for po in self._yb.searchPackageProvides(args=packages):
>>>>>     File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3406, in
>>>>>     searchPackageProvides
>>>>>       where = self.returnPackagesByDep(arg)
>>>>>     File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4232, in
>>>>>     returnPackagesByDep
>>>>>       return self.pkgSack.searchProvides(depstring)
>>>>>     File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in
>>>>>     <lambda>
>>>>>       pkgSack = property(fget=lambda self: self._getSacks(),
>>>>>     File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in
>>>>>     _getSacks
>>>>>       self.repos.populateSack(which=repos)
>>>>>     File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in
>>>>>     populateSack
>>>>>       self.doSetup()
>>>>>     File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in
>>>>>     doSetup
>>>>>       self.ayum.plugins.run('postreposetup')
>>>>>     File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in
>>>>>     run
>>>>>       func(conduitcls(self, self.base, conf, **kwargs))
>>>>>     File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in
>>>>>     postreposetup_hook
>>>>>       if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
>>>>>     File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in
>>>>>     <lambda>
>>>>>       urls = property(fget=lambda self: self._geturls(),
>>>>>     File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in
>>>>>     _geturls
>>>>>       self._baseurlSetup()
>>>>>     File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in
>>>>>     _baseurlSetup
>>>>>       self.check()
>>>>>     File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in
>>>>>     check
>>>>>       'Cannot find a valid baseurl for repo: %s' % self.ui_id
>>>>> RepoError: Cannot find a valid baseurl for repo: base/7/x86_64
>>>>> 2015-06-17 12:27:37 ERROR otopi.context context._executeMethod:161 Failed
>>>>> to execute stage 'Environment packages setup': Cannot find a valid
>>>>> baseurl
>>>>> for repo: base/7/x86_64
>>>>> 2015-06-17 12:27:37 DEBUG otopi.transaction transaction.abort:131
>>>>> aborting
>>>>> 'Yum Transaction'
>>>>> 2015-06-17 12:27:37 INFO otopi.plugins.otopi.packagers.yumpackager
>>>>> yumpackager.info:92 Yum Performing yum transaction rollback
>>>>> Could not retrieve mirrorlist
>>>>> http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
>>>>> error was
>>>>> 14: curl#7 - "Failed connect to mirrorlist.centos.org:80; No route to
>>>>> host"
>>>>> Loaded plugins: fastestmirror
>>>>> 2015-06-17 12:27:37 DEBUG otopi.context context.dumpEnvironment:490
>>>>> ENVIRONMENT DUMP - BEGIN
>>>>> 2015-06-17 12:27:37 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>>>> BASE/error=bool:'True'
>>>>> 2015-06-17 12:27:37 DEBUG otopi.context context.dumpEnvironment:500 ENV
>>>>> BASE/exceptionInfo=list:'[(<class 'yum.Errors.RepoError'>, RepoError(),
>>>>> <traceback object at 0x2e26200>)]'
>>>>> 2015-06-17 12:27:37 DEBUG otopi.context context.dumpEnvironment:504
>>>>> ENVIRONMENT DUMP - END
>>>>> 2015-06-17 12:27:37 INFO otopi.context context.runSequence:417 Stage:
>>>>> Pre-termination
>>>>
>>>> -8<-----
>>>>
>>>>
>>>>
>>>> --
>>>> Daniel Helgenberger
>>>> m box bewegtbild GmbH
>>>>
>>>> P: +49/30/2408781-22
>>>> F: +49/30/2408781-10
>>>>
>>>> ACKERSTR. 19
>>>> D-10115 BERLIN
>>>>
>>>>
>>>> www.m-box.de  www.monkeymen.tv
>>>>
>>>> Geschäftsführer: Martin Retschitzegger / Michaela Göllner
>>>> Handeslregister: Amtsgericht Charlottenburg / HRB 112767
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>
>>
>> --
>> Daniel Helgenberger
>> m box bewegtbild GmbH
>>
>> P: +49/30/2408781-22
>> F: +49/30/2408781-10
>>
>> ACKERSTR. 19
>> D-10115 BERLIN
>>
>>
>> www.m-box.de  www.monkeymen.tv
>>
>> Geschäftsführer: Martin Retschitzegger / Michaela Göllner
>> Handeslregister: Amtsgericht Charlottenburg / HRB 112767
>>
>

-- 
Daniel Helgenberger
m box bewegtbild GmbH

P: +49/30/2408781-22
F: +49/30/2408781-10

ACKERSTR. 19
D-10115 BERLIN


www.m-box.de  www.monkeymen.tv

Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767



More information about the Users mailing list