[ovirt-users] ovirt hosted-engine deploy never works

Osvaldo ALVAREZ POZO alvarez at xtra-mail.fr
Thu Sep 1 05:50:01 EDT 2016


Hello, 

this is the output of yum install haveged 

yum install haveged 
Loaded plugins: fastestmirror, imgbased-warning 
Warning: yum operations are not persisted across upgrades! 
centos-ovirt40-release | 3.4 kB 00:00 
ovirt-4.0 | 2.9 kB 00:00 
ovirt-4.0-centos-gluster37 | 2.9 kB 00:00 
ovirt-4.0-epel/x86_64/metalink | 22 kB 00:00 
ovirt-4.0-epel | 4.3 kB 00:00 
ovirt-4.0-patternfly1-noarch-epel | 3.0 kB 00:00 
virtio-win-stable | 3.0 kB 00:00 
(1/8): ovirt-4.0-centos-gluster37/x86_64/primary_db | 60 kB 00:00 
(2/8): ovirt-4.0-epel/x86_64/group_gz | 170 kB 00:00 
(3/8): ovirt-4.0-epel/x86_64/updateinfo | 618 kB 00:00 
(4/8): centos-ovirt40-release/primary_db | 32 kB 00:00 
(5/8): ovirt-4.0-patternfly1-noarch-epel/x86_64/primary_db | 2.2 kB 00:00 
(6/8): ovirt-4.0/7/primary_db | 173 kB 00:00 
(7/8): virtio-win-stable/primary_db | 2.0 kB 00:00 
(8/8): ovirt-4.0-epel/x86_64/primary_db | 4.3 MB 00:01 
Determining fastest mirrors 
* ovirt-4.0: ftp.nluug.nl 
* ovirt-4.0-epel: mir01.syntis.net 
No package haveged available. 


Sincerily 

Inle 


De: "alvarez" <alvarez at xtra-mail.fr> 
À: "Simone Tiraboschi" <stirabos at redhat.com> 
Cc: "users" <users at ovirt.org> 
Envoyé: Jeudi 1 Septembre 2016 11:39:02 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

hello, 

but normally it is not possible to install paquets on ovirt node 
that's way I wonder how to install haveged? 

yum localinstall is this the command? 

Thanks 


De: "Simone Tiraboschi" <stirabos at redhat.com> 
À: "alvarez" <alvarez at xtra-mail.fr> 
Cc: "users" <users at ovirt.org> 
Envoyé: Jeudi 1 Septembre 2016 11:17:38 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 11:12 AM, Osvaldo ALVAREZ POZO < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > wrote: 



hello, 

thanks very much 

yum installlocal haveged 

right ? It is a ovirt-node 4 




You have also to enable and start it if you didn't 

BQ_BEGIN

thanks 


De: "Simone Tiraboschi" < [ mailto:stirabos at redhat.com | stirabos at redhat.com ] > 
À: "alvarez" < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > 
Cc: "users" < [ mailto:users at ovirt.org | users at ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 10:29:44 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > wrote: 

BQ_BEGIN

hello, 

wath could be a reasonable level? 1000? 

BQ_END

Yes, I think so. 

BQ_BEGIN


do you have a procedure for this? 

BQ_END

If haveged is enough for you, 
yum install haveged 
systemctl enable haveged 
systemctl start haveged 
and wait till /proc/sys/kernel/random/entropy_avail goes back to a reasonable value. 

BQ_BEGIN


thanks 

Sincerily 


De: "Simone Tiraboschi" < [ mailto:stirabos at redhat.com | stirabos at redhat.com ] > 
À: "alvarez" < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > 
Cc: "users" < [ mailto:users at ovirt.org | users at ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:58:38 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > wrote: 

BQ_BEGIN


Hello, 
Thanks for hte fast reply. 

cat /proc/sys/kernel/random/entropy_avail 
133 


BQ_END

Ok, the issue is definitively here: 
You can try installing the haveged deamon or any other method to keep entropy at a reasonable level. 

BQ_BEGIN


it is a physical server Poweredge R710 

thanks 

inle 

De: "Simone Tiraboschi" < [ mailto:stirabos at redhat.com | stirabos at redhat.com ] > 
À: "alvarez" < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > 
Cc: "users" < [ mailto:users at ovirt.org | users at ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:13:45 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > wrote: 

BQ_BEGIN


hello, 

Thanks for all the answers. 
In attachments the log file 


BQ_END


It's taking a long time on this step executing engine-setup on the engine VM: 

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:204 DIALOG:SEND ### |- [ INFO ] Creating/refreshing Engine 'internal' domain database schema 
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method exception 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod 
method['method']() 
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py", line 132, in _closeup 
line, timeout = self._appliance_readline_nb(TIMEOUT) 
File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py", line 107, in _appliance_readline_nb 
timeout 
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal 
raise RuntimeError("SIG%s" % signum) 
RuntimeError: SIG1 
2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Closing up': SIG1 

In this step engine-setup is requiring a lot of entropy for cryptographic actions so a similar delay could be due to the lack of entropy on your system. 

Can you please check the entropy on your host? 
cat /proc/sys/kernel/random/entropy_avail 
is it a nested env? 

BQ_BEGIN

Thanks 

inle 

De: "alvarez" < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > 
À: "Simone Tiraboschi" < [ mailto:stirabos at redhat.com | stirabos at redhat.com ] > 
Envoyé: Mercredi 31 Août 2016 14:45:53 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

Hello, 

I am re-installing in orther to do the experience again. 

the hostname is resolvable the dns server is in same network segment. 

Sincerily 

Inle 


De: "Simone Tiraboschi" < [ mailto:stirabos at redhat.com | stirabos at redhat.com ] > 
À: "alvarez" < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > 
Cc: "users" < [ mailto:users at ovirt.org | users at ovirt.org ] > 
Envoyé: Mercredi 31 Août 2016 14:26:31 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO < [ mailto:alvarez at xtra-mail.fr | alvarez at xtra-mail.fr ] > wrote: 

BQ_BEGIN

Hello, 

I am trying to deploy ovirt hosted-engine (over iscsi, i do not have NFS) from cockpit web interface. 
I have: 
-1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412) 
-le rpm for the appliance ovirt-engine-appliance-4.0-20160819.1.el7.centos.noarch 

I have four network nics let's say nic1, nic2, nic3 and nic4. I use nic3 and nic4 for ISCSi 
I have the ovirt-node ip on nic1. 

Any time I try to deploy ovirt hosted engine from ovirt-node cockpit interface the result is the same, I receive a "time out message", and the ovirt-node cockpit web interface does not work anymore. 

The documentation does not talk about network card requirement I do not know where to look. 

should I use nic2 instead of nic1 when deploying hosted-engine? 

Any advice? 

BQ_END

I suspect that you hist [ https://bugzilla.redhat.com/show_bug.cgi?id=1358530 | https://bugzilla.redhat.com/show_bug.cgi?id=1358530 ] 

Can you please check if the hostname of your host is correctly resolvable? 

BQ_BEGIN


Thanks 

Inle 





_______________________________________________ 
Users mailing list 
[ mailto:Users at ovirt.org | Users at ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | http://lists.ovirt.org/mailman/listinfo/users ] 


BQ_END



_______________________________________________ 
Users mailing list 
[ mailto:Users at ovirt.org | Users at ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | http://lists.ovirt.org/mailman/listinfo/users ] 


BQ_END



BQ_END



BQ_END



BQ_END



_______________________________________________ 
Users mailing list 
Users at ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160901/fb2d5bee/attachment.html>


More information about the Users mailing list