Re: [ovirt-users] ovirt 4.0 hosted engine deploy
On Mon, Jul 4, 2016 at 12:36 PM, Roy Golan wrote: > > > On Mon, Jul 4, 2016 at 12:23 PM, qinglong.d...@horebdata.cn < > qinglong.d...@horebdata.cn> wrote: > >> Hi, all >> I got an error when I excuted "hosted-engine --deploy" on centos >> 7.0 >> > > We don't support 7.0 you need Centos 7.2 > > If you are running 7.2 look at /var/log/vdsm/vdsm.log to see why it isn't > functional > >> >> > >> [root@node ~]# hosted-engine --deploy >> [ INFO ] Stage: Initializing >> [ INFO ] Generating a temporary VNC password. >> [ INFO ] Stage: Environment setup >> During customization use CTRL-D to abort. >> >> Continuing will configure this host for serving as hypervisor and >> create a VM where you have to install the engine afterwards. >> Are you sure you want to continue? (Yes, No)[Yes]: >> [ INFO ] Hardware supports virtualization >> Configuration files: [] >> >> Log file: >> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log >> Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos) >> [ INFO ] Stage: Environment packages setup >> [ INFO ] Stage: Programs detection >> [ INFO ] Stage: Environment setup >> [ INFO ] Waiting for VDSM to reply >> .. >> [ INFO ] Waiting for VDSM to reply >> >> [ ERROR ] Failed to execute stage 'Environment setup': Couldnt connect to >> VDSM within 240 seconds >> [ INFO ] Stage: Clean up >> >> [ INFO ] Generating answer file >> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704171138.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 >> >> Log file is located at >> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log >> > Could you please send the setup log? Disabling IPv6 is just a workaround, everything should work fine when IPv6 is enabled. > >> Anyone can help? Thanks! >> -- >> >> ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt 4.0 hosted-engine deploy fail on fc domain
On Fri, Jul 8, 2016 at 12:17 PM, NUNIN Roberto wrote: > Hello > > I’m in trouble deploying hosted-engine on a fresh-installed Centos7.2 > server, chosing fc domain: > > > > [ ERROR ] Failed to execute stage 'Environment customization': 'devList' > > > > Installation ends with error, following the versions of ovirt installed > software: > > > > ovirt-hosted-engine-setup-2.0.0.2-1.el7.centos.noarch > > ovirt-engine-sdk-python-3.6.7.0-1.el7.centos.noarch > > ovirt-setup-lib-1.0.2-1.el7.centos.noarch > > ovirt-host-deploy-1.5.0-1.el7.centos.noarch > > ovirt-imageio-daemon-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch > > ovirt-vmconsole-host-1.0.3-1.el7.centos.noarch > > ovirt-release40-4.0.0-5.noarch > > ovirt-vmconsole-1.0.3-1.el7.centos.noarch > > ovirt-hosted-engine-ha-2.0.0-1.el7.centos.noarch > > libgovirt-0.3.3-1.el7_2.1.x86_64 > > ovirt-imageio-common-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch > > > > Here part of the log: > > > > 2016-07-08 11:46:08 DEBUG otopi.plugins.otopi.dialog.human > dialog.__logString:204 DIALOG:SEND Please specify the > storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: > > 2016-07-08 11:46:11 DEBUG otopi.plugins.otopi.dialog.human > dialog.__logString:204 DIALOG:RECEIVEfc > > 2016-07-08 11:46:11 DEBUG otopi.context context.dumpEnvironment:760 > ENVIRONMENT DUMP - BEGIN > > 2016-07-08 11:46:11 DEBUG otopi.context context.dumpEnvironment:770 ENV > OVEHOSTED_STORAGE/domainType=str:'fc' > > 2016-07-08 11:46:11 DEBUG otopi.context context.dumpEnvironment:774 > ENVIRONMENT DUMP - END > > 2016-07-08 11:46:11 DEBUG otopi.context context._executeMethod:128 Stage > customization METHOD > otopi.plugins.gr_he_setup.storage.blockd.Plugin._customization > > 2016-07-08 11:46:11 DEBUG otopi.plugins.gr_he_setup.storage.blockd > blockd._fc_get_lun_list:404 {'status': {'message': 'Done', 'code': 0}, > 'items': [{u'status': u'free', u'vendorID': u'3PARdata', u'capacity': > u'1099511627776', u'fwrev': u'3122', u'vgUUID': u'', u'pvsize': u'', > u'pathlist': [], u'logicalblocksize': u'512', u'pathstatus': [{u'capacity': > u'1099511627776', u'physdev': u'sdb', u'type': u'FCP', u'state': u'active', > u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdc', u'type': > u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', > u'physdev': u'sdd', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, > {u'capacity': u'1099511627776', u'physdev': u'sde', u'type': u'FCP', > u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', > u'physdev': u'sdf', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, > {u'capacity': u'1099511627776', u'physdev': u'sdg', u'type': u'FCP', > u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', > u'physdev': u'sdh', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, > {u'capacity': u'1099511627776', u'physdev': u'sdi', u'type': u'FCP', > u'state': u'active', u'lun': u'1'}], u'devtype': u'FCP', > u'physicalblocksize': u'512', u'pvUUID': u'', u'serial': > u'S3PARdataVV_1619775', u'GUID': u'360002ac01d0060964d3f', > u'productID': u'VV'}]} > > 2016-07-08 11:46:11 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/storage/blockd.py", > line 612, in _customization > > lunGUID = self._customize_lun(self.domainType, target) > > File > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/blockd.py", > line 212, in _customize_lun > > available_luns = self._fc_get_lun_list() > > File > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/blockd.py", > line 407, in _fc_get_lun_list > > for device in devices['devList']: > > KeyError: 'devList' > > ERROR otopi.context context._executeMethod:151 Failed to execute stage > 'Environment customization': 'devList' > > …. > > FC volume is hosted on an HP 3PAR storage array. > > > > It is available, under multipathd, to the OS: > > > > [root@xxx-yyy-xxx ~]# multipath -l > > 360002ac01d0060964d3f dm-2 3PARdata,VV > > size=1.0T features='1 queue_if_no_path' hwhandler='0' wp=rw > > `-+- policy='round-robin 0' prio=0 status=active > > |- 2:0:11:1 sdi 8:128 active undef running > > |- 1:0:9:1 sdd 8:48 active undef running > > |- 2:0:7:1 sdg 8:96 active undef running > > |- 1:0:1:1 sdc 8:32 active undef running > > |- 2:0:6:1 sdf 8:80 active undef running > > |- 1:0:0:1 sdb 8:16 active undef running > > |- 2:0:8:1 sdh 8:112 active undef running > > `- 1:0:10:1 sde 8:64 active undef running > > [root@xxx-yyy-xxx ~]# > > > > Must I submit other relevant logs ? Which one ? > > Thanks in advance. Hi Roberto, we already opened a bug on it: https://bugzilla.redhat.com/show_bug.cgi?i
[ovirt-users] oVirt 4.0 hosted-engine deploy fail on fc domain
Hello I'm in trouble deploying hosted-engine on a fresh-installed Centos7.2 server, chosing fc domain: [ ERROR ] Failed to execute stage 'Environment customization': 'devList' Installation ends with error, following the versions of ovirt installed software: ovirt-hosted-engine-setup-2.0.0.2-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.7.0-1.el7.centos.noarch ovirt-setup-lib-1.0.2-1.el7.centos.noarch ovirt-host-deploy-1.5.0-1.el7.centos.noarch ovirt-imageio-daemon-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch ovirt-vmconsole-host-1.0.3-1.el7.centos.noarch ovirt-release40-4.0.0-5.noarch ovirt-vmconsole-1.0.3-1.el7.centos.noarch ovirt-hosted-engine-ha-2.0.0-1.el7.centos.noarch libgovirt-0.3.3-1.el7_2.1.x86_64 ovirt-imageio-common-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch Here part of the log: 2016-07-08 11:46:08 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: 2016-07-08 11:46:11 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:RECEIVEfc 2016-07-08 11:46:11 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN 2016-07-08 11:46:11 DEBUG otopi.context context.dumpEnvironment:770 ENV OVEHOSTED_STORAGE/domainType=str:'fc' 2016-07-08 11:46:11 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END 2016-07-08 11:46:11 DEBUG otopi.context context._executeMethod:128 Stage customization METHOD otopi.plugins.gr_he_setup.storage.blockd.Plugin._customization 2016-07-08 11:46:11 DEBUG otopi.plugins.gr_he_setup.storage.blockd blockd._fc_get_lun_list:404 {'status': {'message': 'Done', 'code': 0}, 'items': [{u'status': u'free', u'vendorID': u'3PARdata', u'capacity': u'1099511627776', u'fwrev': u'3122', u'vgUUID': u'', u'pvsize': u'', u'pathlist': [], u'logicalblocksize': u'512', u'pathstatus': [{u'capacity': u'1099511627776', u'physdev': u'sdb', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdc', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdd', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sde', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdf', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdg', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdh', u'type': u'FCP', u'state': u'active', u'lun': u'1'}, {u'capacity': u'1099511627776', u'physdev': u'sdi', u'type': u'FCP', u'state': u'active', u'lun': u'1'}], u'devtype': u'FCP', u'physicalblocksize': u'512', u'pvUUID': u'', u'serial': u'S3PARdataVV_1619775', u'GUID': u'360002ac01d0060964d3f', u'productID': u'VV'}]} 2016-07-08 11:46:11 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/storage/blockd.py", line 612, in _customization lunGUID = self._customize_lun(self.domainType, target) File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/blockd.py", line 212, in _customize_lun available_luns = self._fc_get_lun_list() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/storage/blockd.py", line 407, in _fc_get_lun_list for device in devices['devList']: KeyError: 'devList' ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment customization': 'devList' FC volume is hosted on an HP 3PAR storage array. It is available, under multipathd, to the OS: [root@xxx-yyy-xxx ~]# multipath -l 360002ac01d0060964d3f dm-2 3PARdata,VV size=1.0T features='1 queue_if_no_path' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=0 status=active |- 2:0:11:1 sdi 8:128 active undef running |- 1:0:9:1 sdd 8:48 active undef running |- 2:0:7:1 sdg 8:96 active undef running |- 1:0:1:1 sdc 8:32 active undef running |- 2:0:6:1 sdf 8:80 active undef running |- 1:0:0:1 sdb 8:16 active undef running |- 2:0:8:1 sdh 8:112 active undef running `- 1:0:10:1 sde 8:64 active undef running [root@xxx-yyy-xxx ~]# Must I submit other relevant logs ? Which one ? Thanks in advance. Roberto Questo messaggio e' indirizzato esclusivamente al destinatario indicato e potrebbe contenere informazioni confidenziali, riservate o proprietarie. Qualora la presente venisse ricevuta per errore, si prega di segnalarlo immediatamente al mittente, cancellando l'originale e ogni sua copia e distruggendo eventuali copie cartacee. Ogni altro uso e' strettamente pro
Re: [ovirt-users] ovirt 4.0 hosted engine deploy
Thanks, I have solved this problem. It seems that IPv6 has not been disabled actually. From: qinglong.d...@horebdata.cn Date: 2016-07-05 14:57 To: Roy Golan CC: users Subject: Re: Re: [ovirt-users] ovirt 4.0 hosted engine deploy Yes, IPv6 was enabled before. Now I think it has been disabled. output of "vdsClient -s 0 getVdsCaps": [root@node ~]# vdsClient -s 0 getVdsCaps HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName': 'iqn.1994-05.com.redhat:2bcb704cbce4'}]} ISCSIInitiatorName = 'iqn.1994-05.com.redhat:2bcb704cbce4' additionalFeatures = [] autoNumaBalancing = 0 bondings = {'bond0': {'active_slave': '', 'addr': '', 'cfg': {'BONDING_OPTS': 'mode=0', 'BOOTPROTO': 'none'}, 'dhcpv4': False, 'dhcpv6': False, 'gateway': '', 'hwaddr': 'd2:96:d0:98:31:62', 'ipv4addrs': [], 'ipv6addrs': [], 'ipv6autoconf': True, 'ipv6gateway': '::', 'mtu': '1500', 'netmask': '', 'opts': {'mode': '0'}, 'slaves': [], 'switch': 'legacy'}} bridges = {} clusterLevels = ['3.5', '3.6', '4.0'] cpuCores = '4' cpuFlags = 'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,dca,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,ida,arat,epb,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,fsgsbase,smep,erms,xsaveopt,model_Nehalem,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_IvyBridge,model_Westmere,model_n270,model_SandyBridge' cpuModel = 'Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz' cpuSockets = '1' cpuSpeed = '2324.496' cpuThreads = '8' dnss = ['140.207.198.6'] emulatedMachines = ['pc-i440fx-rhel7.1.0', 'rhel6.3.0', 'pc-q35-rhel7.2.0', 'pc-i440fx-rhel7.0.0', 'rhel6.1.0', 'rhel6.6.0', 'rhel6.2.0', 'pc', 'pc-q35-rhel7.0.0', 'pc-q35-rhel7.1.0', 'q35', 'pc-i440fx-rhel7.2.0', 'rhel6.4.0', 'rhel6.0.0', 'rhel6.5.0'] guestOverhead = '65' hooks = {'before_device_create': {'50_vmfex': {'md5': 'e05994261acaea7dcf4b88ea0e81f1f5'}}, 'before_device_migrate_destination': {'50_vmfex': {'md5': 'e05994261acaea7dcf4b88ea0e81f1f5'}}, 'before_nic_hotplug': {'50_vmfex': {'md5': 'e05994261acaea7dcf4b88ea0e81f1f5'}}, 'before_vm_start': {'50_hostedengine': {'md5': '2a6d96c26a3599812be6cf1a13d9f485'}}} hostdevPassthrough = 'false' kdumpStatus = 0 kernelArgs = 'BOOT_IMAGE=/vmlinuz-3.10.0-327.22.2.el7.x86_64 root=UUID=de9c1960-b3a0-435c-9e77-05b08ebda832 ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8' kvmEnabled = 'true' lastClient = '::1' lastClientIface = 'lo' liveMerge = 'true' liveSnapshot = 'true' memSize = '31907' netConfigDirty = 'False' networks = {} nics = {'enp6s0f0': {'addr': '192.168.128.60', 'cfg': {'BOOTPROTO': 'none', 'DEFROUT
Re: [ovirt-users] ovirt 4.0 hosted engine deploy
0:1e:67:a5:1b:f0', 'ipv4addrs': [], 'ipv6addrs': [], 'ipv6autoconf': True, 'ipv6gateway': '::', 'mtu': '1500', 'netmask': '', 'speed': 0}, 'enp6s0f3': {'addr': '', 'cfg': {'BOOTPROTO': 'dhcp', 'DEFROUTE': 'yes', 'DEVICE': 'enp6s0f3', 'IPV4_FAILURE_FATAL': 'no', 'IPV6INIT': 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_DEFROUTE': 'yes', 'IPV6_FAILURE_FATAL': 'no', 'IPV6_PEERDNS': 'yes', 'IPV6_PEERROUTES': 'yes', 'NAME': 'enp6s0f3', 'ONBOOT': 'no', 'PEERDNS': 'yes', 'PEERROUTES': 'yes', 'TYPE': 'Ethernet', 'UUID': 'b43115e5-9169-48b4-bd6e-2c384ed8bc2a'}, 'dhcpv4': False, 'dhcpv6': False, 'gateway': '', 'hwaddr': '00:1e:67:a5:1b:f1', 'ipv4addrs': [], 'ipv6addrs': [], 'ipv6autoconf': True, 'ipv6gateway': '::', 'mtu': '1500', 'netmask': '', 'speed': 0}} numaNodeDistance = {'0': [10]} numaNodes = {'0': {'cpus': [0, 1, 2, 3, 4, 5, 6, 7], 'totalMemory': '32689'}} onlineCpus = '0,1,2,3,4,5,6,7' operatingSystem = {'name': 'RHEL', 'release': '2.1511.el7.centos.2.10', 'version': '7'} packages2 = {'glusterfs-cli': {'buildtime': 1467127942, 'release': '2.el7', 'version': '3.7.12'}, 'kernel': {'buildtime': 1466672711.0, 'release': '327.22.2.el7.x86_64', 'version': '3.10.0'}, 'librbd1': {'buildtime': 1448036424, 'release': '3.el7', 'version': '0.80.7'}, 'libvirt': {'buildtime': 1466692118, 'release': '13.el7_2.5', 'version': '1.2.17'}, 'mom': {'buildtime': 1464686497, 'release': '1.el7.centos', 'version': '0.5.4'}, 'qemu-img': {'buildtime': 1461573104, 'release': '31.el7_2.10.1', 'version': '2.3.0'}, 'qemu-kvm': {'buildtime': 1461573104, 'release': '31.el7_2.10.1', 'version': '2.3.0'}, 'spice-server': {'buildtime': 1465308266, 'release': '15.el7_2.1', 'version': '0.12.4'}, 'vdsm': {'buildtime': 1466710303, 'release': '0.el7.centos', 'version': '4.18.4.1'}} reservedMem = '321' rngSources = ['random'] selinux = {'mode': '1'} software_revision = '0' software_version = '4.18' supportedENGINEs = ['3.5', '3.6', '4.0'] supportsIPv6 = True uuid = '617DC761-B9B4-E311-AF6C-001E67A51BEE' version_name = 'Snow Man' vlans = {} vmTypes = ['kvm'] From: Roy Golan Date: 2016-07-05 14:30 To: qinglong.d...@horebdata.cn CC: users Subject: Re: Re: [ovirt-users] ovirt 4.0 hosted engine deploy On Tue, Jul 5, 2016 at 5:37 AM, qinglong.d...@horebdata.cn wrote: Reactor thread::INFO::2016-07-04 17:52:04,607::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept) Accepting connection from ::1:45016 I see you are getting connections from IPv6 and I think it should be disabled. Make sure you follow the vdsm install guidelines. Also can you share the output of ```bash vdsClient -s 0 getVdsCaps ``` ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt 4.0 hosted engine deploy
On Tue, Jul 5, 2016 at 5:37 AM, qinglong.d...@horebdata.cn < qinglong.d...@horebdata.cn> wrote: > > Reactor thread::INFO::2016-07-04 > 17:52:04,607::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept) > Accepting connection from ::1:45016 > I see you are getting connections from IPv6 and I think it should be disabled. Make sure you follow the vdsm install guidelines. Also can you share the output of ```bash vdsClient -s 0 getVdsCaps ``` ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt 4.0 hosted engine deploy
Yes, I am running 7.2. Here are the vdsm logs when I excuted "hosted-engine --deploy" Reactor thread::INFO::2016-07-04 17:51:49,584::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept) Accepting connection from ::1:45014 Reactor thread::DEBUG::2016-07-04 17:51:49,589::protocoldetector::85::ProtocolDetector.Detector::(__init__) Using required_size=11 Reactor thread::INFO::2016-07-04 17:51:49,589::protocoldetector::121::ProtocolDetector.Detector::(handle_read) Detected protocol xml from ::1:45014 Reactor thread::DEBUG::2016-07-04 17:51:49,589::bindingxmlrpc::1275::XmlDetector::(handle_socket) xml over http detected from ('::1', 45014) BindingXMLRPC::INFO::2016-07-04 17:51:49,589::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting request handler for ::1:45014 Thread-32::INFO::2016-07-04 17:51:49,590::xmlrpc::83::vds.XMLRPCServer::(_process_requests) Request handler for ::1:45014 started Thread-32::INFO::2016-07-04 17:51:49,591::xmlrpc::91::vds.XMLRPCServer::(_process_requests) Request handler for ::1:45014 stopped Reactor thread::INFO::2016-07-04 17:52:04,607::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept) Accepting connection from ::1:45016 Reactor thread::DEBUG::2016-07-04 17:52:04,611::protocoldetector::85::ProtocolDetector.Detector::(__init__) Using required_size=11 Reactor thread::INFO::2016-07-04 17:52:04,611::protocoldetector::121::ProtocolDetector.Detector::(handle_read) Detected protocol xml from ::1:45016 Reactor thread::DEBUG::2016-07-04 17:52:04,611::bindingxmlrpc::1275::XmlDetector::(handle_socket) xml over http detected from ('::1', 45016) BindingXMLRPC::INFO::2016-07-04 17:52:04,612::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting request handler for ::1:45016 Thread-33::INFO::2016-07-04 17:52:04,612::xmlrpc::83::vds.XMLRPCServer::(_process_requests) Request handler for ::1:45016 started Thread-33::INFO::2016-07-04 17:52:04,613::xmlrpc::91::vds.XMLRPCServer::(_process_requests) Request handler for ::1:45016 stopped Reactor thread::INFO::2016-07-04 17:52:19,616::protocoldetector::72::ProtocolDetector.AcceptorImpl::(handle_accept) Accepting connection from ::1:45018 Reactor thread::DEBUG::2016-07-04 17:52:19,620::protocoldetector::85::ProtocolDetector.Detector::(__init__) Using required_size=11 Reactor thread::INFO::2016-07-04 17:52:19,621::protocoldetector::121::ProtocolDetector.Detector::(handle_read) Detected protocol xml from ::1:45018 Reactor thread::DEBUG::2016-07-04 17:52:19,621::bindingxmlrpc::1275::XmlDetector::(handle_socket) xml over http detected from ('::1', 45018) BindingXMLRPC::INFO::2016-07-04 17:52:19,621::xmlrpc::73::vds.XMLRPCServer::(handle_request) Starting request handler for ::1:45018 Thread-34::INFO::2016-07-04 17:52:19,621::xmlrpc::83::vds.XMLRPCServer::(_process_requests) Request handler for ::1:45018 started Thread-34::INFO::2016-07-04 17:52:19,622::xmlrpc::91::vds.XMLRPCServer::(_process_requests) Request handler for ::1:45018 stopped .. It seems that a few messages come out every 15 seconds. Is vdsmd running at a healthy status? From: Roy Golan Date: 2016-07-04 17:36 To: qinglong.d...@horebdata.cn CC: users Subject: Re: [ovirt-users] ovirt 4.0 hosted engine deploy On Mon, Jul 4, 2016 at 12:23 PM, qinglong.d...@horebdata.cn wrote: Hi, all I got an error when I excuted "hosted-engine --deploy" on centos 7.0 We don't support 7.0 you need Centos 7.2 If you are running 7.2 look at /var/log/vdsm/vdsm.log to see why it isn't functional [root@node ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup During customization use CTRL-D to abort. Continuing will configure this host for serving as hypervisor and create a VM where you have to install the engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: [ INFO ] Hardware supports virtualization Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Waiting for VDSM to reply .. [ INFO ] Waiting for VDSM to reply [ ERROR ] Failed to execute stage 'Environment setup': Couldnt connect to VDSM within 240 seconds [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704171138.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 Log file is located at /var/log/ovirt-hosted-engine-se
Re: [ovirt-users] ovirt 4.0 hosted engine deploy
On Mon, Jul 4, 2016 at 12:23 PM, qinglong.d...@horebdata.cn < qinglong.d...@horebdata.cn> wrote: > Hi, all > I got an error when I excuted "hosted-engine --deploy" on centos > 7.0 > We don't support 7.0 you need Centos 7.2 If you are running 7.2 look at /var/log/vdsm/vdsm.log to see why it isn't functional > > > [root@node ~]# hosted-engine --deploy > [ INFO ] Stage: Initializing > [ INFO ] Generating a temporary VNC password. > [ INFO ] Stage: Environment setup > During customization use CTRL-D to abort. > > Continuing will configure this host for serving as hypervisor and > create a VM where you have to install the engine afterwards. > Are you sure you want to continue? (Yes, No)[Yes]: > [ INFO ] Hardware supports virtualization > Configuration files: [] > > Log file: > /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log > Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos) > [ INFO ] Stage: Environment packages setup > [ INFO ] Stage: Programs detection > [ INFO ] Stage: Environment setup > [ INFO ] Waiting for VDSM to reply > .. > [ INFO ] Waiting for VDSM to reply > > [ ERROR ] Failed to execute stage 'Environment setup': Couldnt connect to > VDSM within 240 seconds > [ INFO ] Stage: Clean up > > [ INFO ] Generating answer file > '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704171138.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 > > Log file is located at > /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log > > Anyone can help? Thanks! > -- > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] ovirt 4.0 hosted engine deploy
Hi, all I got an error when I excuted "hosted-engine --deploy" on centos 7.0. [root@node ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup During customization use CTRL-D to abort. Continuing will configure this host for serving as hypervisor and create a VM where you have to install the engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: [ INFO ] Hardware supports virtualization Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log Version: otopi-1.5.0 (otopi-1.5.0-1.el7.centos) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Waiting for VDSM to reply .. [ INFO ] Waiting for VDSM to reply [ ERROR ] Failed to execute stage 'Environment setup': Couldnt connect to VDSM within 240 seconds [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704171138.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 Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704170730-e6bm6x.log Anyone can help? Thanks! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
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