
(Replying to the list and Fabian as well) On Wed, Nov 30, 2016 at 12:45 PM, Shalabh Goel <shalabhgoel13@gmail.com> 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 <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: 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:'[(<class 'yum.Errors.RepoError'>, RepoError(), <traceback ob 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:'[(<class 'yum.Errors.RepoError'>, RepoError(), <traceback ob :
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 <didi@redhat.com> wrote:
On Wed, Nov 30, 2016 at 9:44 AM, Shalabh Goel <shalabhgoel13@gmail.com> 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, <users-request@ovirt.org> 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-request@ovirt.org
You can reach the person managing the list at users-owner@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 <ykaul@redhat.com> To: Konstantin Shalygin <k0ste@k0ste.ru> Cc: Ovirt Users <users@ovirt.org> Subject: Re: [ovirt-users] I wrote an oVirt thing Message-ID:
<CAJgorsY_SksEnP2jQxBgdJyKW=4_qZZGZ=DwHQ13MteEN5jG5w@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <k0ste@k0ste.ru> wrote:
ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?
We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password ( https://github.com/k0ste/ovirt-pygtk). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.
Can you further explain the use case? I assume the user portal is not good enough for some reason?
BTW, the ovirt-shell is something we deprecated. It is working on top of
the v3 api, which we plan to remove in 4.2. So better not use it.
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (https://aur.archlinux.org/packages/ovirt-engine-cli) and ovirt-engine-sdk-python (https://aur.archlinux.org/pac kages/ovirt-engine-sdk-python).
Hi,
It somehow looks like a fork of the CLI (due to the added patch[1]). I'm not sure how happy I am about it, considering the patch is adding a feature with security issues (there is a reason we do not support password passed via the command line - it's somewhat less secure). Since you are already checking for the CLI rc file[2], just add the password to it and launch with it (in a temp file in the temp directory with the right permissions, etc...)
BTW, note that the attempt to delete the password from memory[3] may or may not work. After all, it's a copy of what you got from entry.get_text() few lines before. And Python GC is not really to be relied upon to delete things ASAP anyway. There are some lovely discussions on the Internet about it. For example[4]. Y.
[1]
https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch [2] https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81 [3] https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71 [4]
http://stackoverflow.com/questions/728164/securely-erasing-password-in-memor...
My workstation at work is running Ubuntu, and I do not believe that
ovirt-shell is packaged for it.
-- Best regards, Konstantin Shalygin
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users