Re: [ovirt-users] oVirt 4.0 hosted-engine deploy exits without messages or logs
On Fri, May 13, 2016 at 10:43 AM, Gianluca Cecchi wrote: > On Thu, May 12, 2016 at 3:32 PM, Sandro Bonazzola wrote: > >> >> >> >> I strongly suggest to use master. In particular, I strongly suggest to us >> oVirt Node Next ISO for hosts and the engine appliance for the deployment. >> Installing Hosted Engine using Cockpit Web UI has been a nice experience >> yesterday. >> https://twitter.com/SandroBonazzola/status/730426730515673092 >> >> Be sure to install also the new dashboard package once your Hosted Engine >> is up, that's another nice thing to see in action. >> >> > It seems master from yesterday, attempting self hosted engine on nfs3 with > hypervisor on CentOS 7.2 gives: > > [ INFO ] Stage: Transaction setup > [ INFO ] Stage: Misc configuration > [ INFO ] Stage: Package installation > [ INFO ] Stage: Misc configuration > [ INFO ] Configuring libvirt > [ INFO ] Configuring VDSM > [ INFO ] Starting vdsmd > [ INFO ] Creating Storage Domain > [ INFO ] Creating Storage Pool > [ INFO ] Connecting Storage Pool > [ INFO ] Verifying sanlock lockspace initialization > [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] > Network is unreachable > [ INFO ] Stage: Clean up > > It seems I get the same problem with 4.0 beta too... At least basic sh engine install should work in a beta, I think [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ INFO ] Connecting Storage Pool [ INFO ] Verifying sanlock lockspace initialization [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160531110857.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy Inside ovirt-hosted-engine-setup initially I see an error about SSL and vdsmd May 31 11:03:58 ovirtita.localdomain.local vdsm[8571]: vdsm vds.dispatcher ERROR SSL error during reading data: unexpected eof 2016-05-31 11:04:36 DEBUG otopi.plugins.otopi.services.systemd plugin.execute:926 execute-output: ('/bin/systemctl', 'status', 'vdsmd.service') stderr: I see it also inside messages And then 2016-05-31 11:08:51 DEBUG otopi.plugins.gr_he_setup.sanlock.lockspace storage_backends.create_volume :270 Connecting to VDSM 2016-05-31 11:08:51 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-setup/sanlock/lockspace.py", l ine 143, in _misc lockspace + '.metadata': md_size, File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 369, in create service_size=size) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 279, in create_volume volUUID=volume_uuid File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 245, in _get_volume_path volUUID File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python2.7/xmlrpclib.py", line 1301, in single_request self.send_content(h, request_body) File "/usr/lib64/python2.7/xmlrpclib.py", line 1448, in send_content connection.endheaders(request_body) File "/usr/lib64/python2.7/httplib.py", line 975, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 835, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 797, in send self.connect() File "/usr/lib/python2.7/site-packages/vdsm/m2cutils.py", line 203, in connect sock = socket.create_connection((self.host, self.port), self.timeout) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 101] Network is unreachable 2016-05-31 11:08:51 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable 2016-05-31 11:08:51 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-hosted-engine/firewalld/hosted-console.xml'' 2016-05-31 11:08:51 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-hosted-engine/iptables.example'' 2016-05-31 11:08:51 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/sysconfig/iptables'' The NFS file system is indeed mounted together with a loop device /dev/loop1
Re: [ovirt-users] oVirt 4.0 hosted-engine deploy exits without messages or logs
On Thu, May 12, 2016 at 3:32 PM, Sandro Bonazzola wrote: > > > > I strongly suggest to use master. In particular, I strongly suggest to us > oVirt Node Next ISO for hosts and the engine appliance for the deployment. > Installing Hosted Engine using Cockpit Web UI has been a nice experience > yesterday. > https://twitter.com/SandroBonazzola/status/730426730515673092 > > Be sure to install also the new dashboard package once your Hosted Engine > is up, that's another nice thing to see in action. > > It seems master from yesterday, attempting self hosted engine on nfs3 with hypervisor on CentOS 7.2 gives: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ INFO ] Connecting Storage Pool [ INFO ] Verifying sanlock lockspace initialization [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable [ INFO ] Stage: Clean up What I see as relevant in log is 2016-05-12 16:47:36 DEBUG otopi.plugins.ovirt_hosted_engine_setup.sanlock.lockspace storage_backends .create_volume:270 Connecting to VDSM 2016-05-12 16:47:36 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/ovirt-hosted-engine-setup/sanlock/lo ckspace.py", line 143, in _misc lockspace + '.metadata': md_size, File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 369, in create service_size=size) File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 279, in create_volume volUUID=volume_uuid File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 245, in _get_volume_path volUUID File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python2.7/xmlrpclib.py", line 1301, in single_request self.send_content(h, request_body) File "/usr/lib64/python2.7/xmlrpclib.py", line 1448, in send_content connection.endheaders(request_body) File "/usr/lib64/python2.7/httplib.py", line 975, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 835, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 797, in send self.connect() File "/usr/lib/python2.7/site-packages/vdsm/m2cutils.py", line 203, in connect sock = socket.create_connection((self.host, self.port), self.timeout) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 101] Network is unreachable 2016-05-12 16:47:36 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable 2016-05-12 16:47:36 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-hosted-engine/firewalld/hosted-console.xml'' 2016-05-12 16:47:36 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/ovirt-hosted-engine/iptables.example'' 2016-05-12 16:47:36 DEBUG otopi.transaction transaction.abort:119 aborting 'File transaction for '/etc/sysconfig/iptables'' 2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN 2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'True' 2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(, error(101, 'Network is unreachable'), )]' 2016-05-12 16:47:36 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END 2016-05-12 16:47:36 INFO otopi.context context.runSequence:687 Stage: Clean up 2016-05-12 16:47:36 DEBUG otopi.context context.runSequence:691 STAGE cleanup 2016-05-12 16:47:36 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.engine.add_host.Plugin._cleanup 2016-05-12 16:47:36 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki.Plugin._cleanup 2016-05-12 16:47:36 DEBUG otopi.context context._executeMethod:128 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._cleanup 2016-05-12 16:47:36 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.storage storage._destroyStoragePool:931 _destroyStoragePool 2016-05-12 16:47:42 DEBUG otopi.plugi
Re: [ovirt-users] oVirt 4.0 hosted-engine deploy exits without messages or logs
On Thu, May 12, 2016 at 2:46 PM, Gianluca Cecchi wrote: > Hello, > trying to have an insight at 4.0 alpha1, using CentOS 7.2 and hosted > engine. > > Installed packages after configuring repo at > > http://plain.resources.ovirt.org/pub/ovirt-4.0_alpha1/rpm/el7/noarch/ovirt-release40.rpm > are > > ovirt-hosted-engine-setup-2.0.0-0.0.master.20160325145108.gita9a3495.el7.centos.noarch > ovirt-engine-appliance-4.0-20160405.1.el7.centos.noarch > otopi-1.5.0-0.0.master.20160403070351.gitfa92bb0.el7.noarch > > but > [root@ovirtita ~]# hosted-engine --deploy > [root@ovirtita ~]# echo $? > 1 > I strongly suggest to use master. In particular, I strongly suggest to us oVirt Node Next ISO for hosts and the engine appliance for the deployment. Installing Hosted Engine using Cockpit Web UI has been a nice experience yesterday. https://twitter.com/SandroBonazzola/status/730426730515673092 Be sure to install also the new dashboard package once your Hosted Engine is up, that's another nice thing to see in action. > > [root@ovirtita ~]# ls /var/log > anaconda chrony dmesg.old libvirt ovirt-hosted-engine-ha secure > vdsm > audit coreglusterfs maillog ovirt-hosted-engine-setup spooler > wpa_supplicant.log > boot.log crongrubby messages ppptallylog > wtmp > btmp dmesg lastlogntpstats sa tuned > yum.log > > [root@ovirtita ~]# ls /var/log/ovirt-hosted-engine-* > /var/log/ovirt-hosted-engine-ha: > > /var/log/ovirt-hosted-engine-setup: > [root@ovirtita ~]# > > [root@ovirtita log]# ll /var/log/vdsm/ > total 0 > drwxr-xr-x. 2 vdsm kvm 6 Apr 4 19:15 backup > -rw-r--r--. 1 vdsm kvm 0 May 12 14:29 connectivity.log > -rw-r--r--. 1 vdsm kvm 0 May 12 14:29 mom.log > -rw-r--r--. 1 root root 0 May 12 14:29 supervdsm.log > -rw-r--r--. 1 vdsm kvm 0 May 12 14:29 vdsm.log > > [root@ovirtita log]# ll /var/log/vdsm/backup/ > total 0 > [root@ovirtita log]# > > ? > > > > ___ > Users mailing list > Users@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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] oVirt 4.0 hosted-engine deploy exits without messages or logs
Hello, trying to have an insight at 4.0 alpha1, using CentOS 7.2 and hosted engine. Installed packages after configuring repo at http://plain.resources.ovirt.org/pub/ovirt-4.0_alpha1/rpm/el7/noarch/ovirt-release40.rpm are ovirt-hosted-engine-setup-2.0.0-0.0.master.20160325145108.gita9a3495.el7.centos.noarch ovirt-engine-appliance-4.0-20160405.1.el7.centos.noarch otopi-1.5.0-0.0.master.20160403070351.gitfa92bb0.el7.noarch but [root@ovirtita ~]# hosted-engine --deploy [root@ovirtita ~]# echo $? 1 [root@ovirtita ~]# ls /var/log anaconda chrony dmesg.old libvirt ovirt-hosted-engine-ha secure vdsm audit coreglusterfs maillog ovirt-hosted-engine-setup spooler wpa_supplicant.log boot.log crongrubby messages ppptallylog wtmp btmp dmesg lastlogntpstats sa tuned yum.log [root@ovirtita ~]# ls /var/log/ovirt-hosted-engine-* /var/log/ovirt-hosted-engine-ha: /var/log/ovirt-hosted-engine-setup: [root@ovirtita ~]# [root@ovirtita log]# ll /var/log/vdsm/ total 0 drwxr-xr-x. 2 vdsm kvm 6 Apr 4 19:15 backup -rw-r--r--. 1 vdsm kvm 0 May 12 14:29 connectivity.log -rw-r--r--. 1 vdsm kvm 0 May 12 14:29 mom.log -rw-r--r--. 1 root root 0 May 12 14:29 supervdsm.log -rw-r--r--. 1 vdsm kvm 0 May 12 14:29 vdsm.log [root@ovirtita log]# ll /var/log/vdsm/backup/ total 0 [root@ovirtita log]# ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users