Re: [ovirt-users] Ovirt node host installation failing in engine
On Thu, Dec 1, 2016 at 1:40 PM, Shalabh Goelwrote: > Thanks it worked. The host was installed and added to the cluster > successfully. Glad it worked. Thanks for the report! Best, > > On Wed, Nov 30, 2016 at 6:33 PM, Yedidyah Bar David wrote: >> >> (Replying to the list and Fabian as well) >> >> On Wed, Nov 30, 2016 at 12:45 PM, Shalabh Goel >> wrote: >> > Thanks for the reply. I looked into the logs in ovirt-engine server. The >> > log >> > is as follows: >> > >> > 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 >> > >> > 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: ovirt-4.0/7 >> > 2016-11-24 11:24:24 ERROR otopi.context context._executeMethod:151 >> > Failed to >> > execute stage 'Environment packages setup': Cannot find a valid baseurl >> > for >> > repo >> > : ovirt-4.0/7 >> > 2016-11-24 11:24:24 DEBUG otopi.transaction transaction.abort:119 >> > aborting >> > 'Yum Transaction' >> > 2016-11-24 11:24:24 INFO otopi.plugins.otopi.packagers.yumpackager >> > yumpackager.info:80 Yum Performing yum transaction rollback >> > Could not retrieve mirrorlist >> > http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el7 error >> > was >> > 14: curl#7 - "Failed to connect to 66.187.230.28: Network is >> > unreachable" >> > Loaded plugins: fastestmirror >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:760 >> > ENVIRONMENT DUMP - BEGIN >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV >> > BASE/error=bool:'True' >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV >> > BASE/exceptionInfo=list:'[(, RepoError(), >> > > > ject at 0x2e88c20>)]' >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:774 >> > ENVIRONMENT DUMP - END >> > 2016-11-24 11:24:24 INFO otopi.context context.runSequence:687 Stage: >> > Pre-termination >> > 2016-11-24 11:24:24 DEBUG otopi.context context.runSequence:691 STAGE >> > pre-terminate >> > 2016-11-24 11:24:24 DEBUG otopi.context context._executeMethod:128 Stage >> > pre-terminate METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:760 >> > ENVIRONMENT DUMP - BEGIN >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV >> > BASE/aborted=bool:'False' >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV >> > BASE/debug=int:'0' >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV >> > BASE/error=bool:'True' >> > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV >> > BASE/exceptionInfo=list:'[(, RepoError(), >> > > > : >> > >> > So my question is that if yum is the reason for the host install >> > failing? Do >> > I absolutely need Internet connectivity for the node also? What if the >> > python file can be edited to prevent it? I have installed the node using >> > the >> > node ISO available on the ovirt website >> >> Not sure about node specifically. >> >> You can try preventing host-deploy from trying to update packages using: >> >> https://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=README >> >> Search there for 'OFFLINE'. >> >> Best, >> >> > >> > Thank You >> > >> > Shalabh Goel >> > >> > On Wed, Nov 30, 2016 at 2:03 PM, Yedidyah Bar David >> > wrote: >> >> >> >> On Wed, Nov 30, 2016 at 9:44 AM, Shalabh Goel >> >> wrote: >> >> > Hi >> >> > >> >> > I just want to know if there is any way I can disable the yum looking >> >> > for >> >> > updates on the internet on the node? >> >> >> >> Not sure, adding Fabian. >> >> >> >> I think this should work if you add a proxy= line to yum.conf. >> >> Not sure how to persist this in node. >> >> >> >> Best, >> >> >> >> > >> >> > Please help me out here. >> >> > >> >> > Thanks >> >> > >> >> > Shalabh Goel >> >> > >> >> > >> >> > >> >> > >> >> > On Tue, Nov 29, 2016 at
Re: [ovirt-users] Ovirt node host installation failing in engine
Thanks it worked. The host was installed and added to the cluster successfully. On Wed, Nov 30, 2016 at 6:33 PM, Yedidyah Bar Davidwrote: > (Replying to the list and Fabian as well) > > On Wed, Nov 30, 2016 at 12:45 PM, Shalabh Goel > wrote: > > Thanks for the reply. I looked into the logs in ovirt-engine server. The > log > > is as follows: > > > > 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 > > > > 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: ovirt-4.0/7 > > 2016-11-24 11:24:24 ERROR otopi.context context._executeMethod:151 > Failed to > > execute stage 'Environment packages setup': Cannot find a valid baseurl > for > > repo > > : ovirt-4.0/7 > > 2016-11-24 11:24:24 DEBUG otopi.transaction transaction.abort:119 > aborting > > 'Yum Transaction' > > 2016-11-24 11:24:24 INFO otopi.plugins.otopi.packagers.yumpackager > > yumpackager.info:80 Yum Performing yum transaction rollback > > Could not retrieve mirrorlist > > http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el7 error > was > > 14: curl#7 - "Failed to connect to 66.187.230.28: Network is > unreachable" > > Loaded plugins: fastestmirror > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:760 > > ENVIRONMENT DUMP - BEGIN > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > > BASE/error=bool:'True' > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > > BASE/exceptionInfo=list:'[(, RepoError(), > > > ject at 0x2e88c20>)]' > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:774 > > ENVIRONMENT DUMP - END > > 2016-11-24 11:24:24 INFO otopi.context context.runSequence:687 Stage: > > Pre-termination > > 2016-11-24 11:24:24 DEBUG otopi.context context.runSequence:691 STAGE > > pre-terminate > > 2016-11-24 11:24:24 DEBUG otopi.context context._executeMethod:128 Stage > > pre-terminate METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:760 > > ENVIRONMENT DUMP - BEGIN > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > > BASE/aborted=bool:'False' > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > > BASE/debug=int:'0' > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > > BASE/error=bool:'True' > > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > > BASE/exceptionInfo=list:'[(, RepoError(), > > > : > > > > So my question is that if yum is the reason for the host install > failing? Do > > I absolutely need Internet connectivity for the node also? What if the > > python file can be edited to prevent it? I have installed the node using > the > > node ISO available on the ovirt website > > Not sure about node specifically. > > You can try preventing host-deploy from trying to update packages using: > > https://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=README > > Search there for 'OFFLINE'. > > Best, > > > > > Thank You > > > > Shalabh Goel > > > > On Wed, Nov 30, 2016 at 2:03 PM, Yedidyah Bar David > wrote: > >> > >> On Wed, Nov 30, 2016 at 9:44 AM, Shalabh Goel > >> wrote: > >> > Hi > >> > > >> > I just want to know if there is any way I can disable the yum looking > >> > for > >> > updates on the internet on the node? > >> > >> Not sure, adding Fabian. > >> > >> I think this should work if you add a proxy= line to yum.conf. > >> Not sure how to persist this in node. > >> > >> Best, > >> > >> > > >> > Please help me out here. > >> > > >> > Thanks > >> > > >> > Shalabh Goel > >> > > >> > > >> > > >> > > >> > On Tue, Nov 29, 2016 at 5:59 PM, wrote: > >> >> > >> >> Send Users mailing list submissions to > >> >> users@ovirt.org > >> >> > >> >> To subscribe or unsubscribe via the World Wide Web, visit > >> >> http://lists.ovirt.org/mailman/listinfo/users > >> >> or, via email,
Re: [ovirt-users] Ovirt node host installation failing in engine
(Replying to the list and Fabian as well) On Wed, Nov 30, 2016 at 12:45 PM, Shalabh Goelwrote: > Thanks for the reply. I looked into the logs in ovirt-engine server. The log > is as follows: > > 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 > > 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: ovirt-4.0/7 > 2016-11-24 11:24:24 ERROR otopi.context context._executeMethod:151 Failed to > execute stage 'Environment packages setup': Cannot find a valid baseurl for > repo > : ovirt-4.0/7 > 2016-11-24 11:24:24 DEBUG otopi.transaction transaction.abort:119 aborting > 'Yum Transaction' > 2016-11-24 11:24:24 INFO otopi.plugins.otopi.packagers.yumpackager > yumpackager.info:80 Yum Performing yum transaction rollback > Could not retrieve mirrorlist > http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-el7 error was > 14: curl#7 - "Failed to connect to 66.187.230.28: Network is unreachable" > Loaded plugins: fastestmirror > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:760 > ENVIRONMENT DUMP - BEGIN > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > BASE/error=bool:'True' > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > BASE/exceptionInfo=list:'[(, RepoError(), > ject at 0x2e88c20>)]' > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:774 > ENVIRONMENT DUMP - END > 2016-11-24 11:24:24 INFO otopi.context context.runSequence:687 Stage: > Pre-termination > 2016-11-24 11:24:24 DEBUG otopi.context context.runSequence:691 STAGE > pre-terminate > 2016-11-24 11:24:24 DEBUG otopi.context context._executeMethod:128 Stage > pre-terminate METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:760 > ENVIRONMENT DUMP - BEGIN > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > BASE/aborted=bool:'False' > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > BASE/debug=int:'0' > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > BASE/error=bool:'True' > 2016-11-24 11:24:24 DEBUG otopi.context context.dumpEnvironment:770 ENV > BASE/exceptionInfo=list:'[(, RepoError(), > : > > So my question is that if yum is the reason for the host install failing? Do > I absolutely need Internet connectivity for the node also? What if the > python file can be edited to prevent it? I have installed the node using the > node ISO available on the ovirt website Not sure about node specifically. You can try preventing host-deploy from trying to update packages using: https://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=README Search there for 'OFFLINE'. Best, > > Thank You > > Shalabh Goel > > On Wed, Nov 30, 2016 at 2:03 PM, Yedidyah Bar David wrote: >> >> On Wed, Nov 30, 2016 at 9:44 AM, Shalabh Goel >> wrote: >> > Hi >> > >> > I just want to know if there is any way I can disable the yum looking >> > for >> > updates on the internet on the node? >> >> Not sure, adding Fabian. >> >> I think this should work if you add a proxy= line to yum.conf. >> Not sure how to persist this in node. >> >> Best, >> >> > >> > Please help me out here. >> > >> > Thanks >> > >> > Shalabh Goel >> > >> > >> > >> > >> > On Tue, Nov 29, 2016 at 5:59 PM, wrote: >> >> >> >> Send Users mailing list submissions to >> >> users@ovirt.org >> >> >> >> To subscribe or unsubscribe via the World Wide Web, visit >> >> http://lists.ovirt.org/mailman/listinfo/users >> >> or, via email, send a message with subject or body 'help' to >> >> users-requ...@ovirt.org >> >> >> >> You can reach the person managing the list at >> >> users-ow...@ovirt.org >> >> >> >> When replying, please edit your Subject line so it is more specific >> >> than "Re: Contents of Users digest..." >> >> >> >> >> >> Today's Topics: >> >> >> >>1. Re: I wrote an oVirt thing (Yaniv Kaul) >> >>2. Ovirt node host
Re: [ovirt-users] Ovirt node host installation failing in engine
On Wed, Nov 30, 2016 at 9:44 AM, Shalabh Goelwrote: > Hi > > I just want to know if there is any way I can disable the yum looking for > updates on the internet on the node? Not sure, adding Fabian. I think this should work if you add a proxy= line to yum.conf. Not sure how to persist this in node. Best, > > Please help me out here. > > Thanks > > Shalabh Goel > > > > > On Tue, Nov 29, 2016 at 5:59 PM, wrote: >> >> Send Users mailing list submissions to >> users@ovirt.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.ovirt.org/mailman/listinfo/users >> or, via email, send a message with subject or body 'help' to >> users-requ...@ovirt.org >> >> You can reach the person managing the list at >> users-ow...@ovirt.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Users digest..." >> >> >> Today's Topics: >> >>1. Re: I wrote an oVirt thing (Yaniv Kaul) >>2. Ovirt node host installation failing in engine (Shalabh Goel) >>3. Re: How to migrate Self Hosted Engine (Gianluca Cecchi) >>4. Re: Need help with dashboard (? ???) >> >> >> -- >> >> Message: 1 >> Date: Tue, 29 Nov 2016 14:06:22 +0200 >> From: Yaniv Kaul >> To: Konstantin Shalygin >> Cc: Ovirt Users >> Subject: Re: [ovirt-users] I wrote an oVirt thing >> Message-ID: >> >>