<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div>Hi, all:<span></span></div><div> <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">I tried to deploy an hosted engine, but I got an error:</span></div><div><font color="#ff0000">[root@node ~]# hosted-engine --deploy</font></div><div>......</div><div> --== CONFIGURATION PREVIEW ==--<br><br> Bridge interface : enp6s0f0<br> Engine FQDN : engine.horebdata.cn<br> Bridge name : ovirtmgmt<br> Host address : node.horebdata.cn<br> SSH daemon port : 22<br> Firewall manager : iptables<br> Gateway address : 192.168.1.1<br> Host name for web application : node<br> Storage Domain type : iscsi<br> Host ID : 1<br> LUN ID : 23866376332323932<br> Image size GB : 25<br> iSCSI Portal IP Address : 192.168.128.115<br> iSCSI Target Name : engine<br> iSCSI Portal port : 3260<br> iSCSI Portal user :<br> Console type : vnc<br> Memory size MB : 4096<br> MAC address : 00:16:3e:48:db:9e<br> Boot type : cdrom<br> Number of CPUs : 2<br> ISO image (cdrom boot/cloud-init) : /tmp/1.iso<br> CPU Type : model_SandyBridge<br><br> Please confirm installation settings (Yes, No)[Yes]:<br>[ INFO ] Stage: Transaction setup<br>[ INFO ] Stage: Misc configuration<br>[ INFO ] Stage: Package installation<br>[ INFO ] Stage: Misc configuration<br>[ INFO ] Configuring libvirt<br>[ INFO ] Configuring VDSM<br>[ INFO ] Starting vdsmd<br>[ INFO ] Configuring the management bridge<br>[ INFO ] Creating Volume Group<br>[ ERROR ] Error creating Volume Group: Failed to initialize physical device: ("[u'/dev/mapper/23866376332323932']",)<br> The selected device is already used.<br> To create a vg on this device, you must use Force.<br> WARNING: This will destroy existing data on the device.<br> (Force, Abort)[Abort]? Force<br>[ INFO ] Creating Storage Domain<br>[ INFO ] Creating Storage Pool<br>[ INFO ] Connecting Storage Pool<br>[ INFO ] Verifying sanlock lockspace initialization<br>[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable<br>[ INFO ] Stage: Clean up<br>[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160725101205.conf'<br>[ INFO ] Stage: Pre-termination<br>[ INFO ] Stage: Termination<br>[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy<br> Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160725100535-h2y78c.log<br><font color="#ff0000">[root@node ~]# cat /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160725100535-h2y78c.log | grep ERROR</font><br>2016-07-25 10:07:01 ERROR otopi.plugins.gr_he_setup.storage.blockd blockd._misc:664 Error creating Volume Group: Failed to initialize physical device: ("[u'/dev/mapper/23866376332323932']",)<br>2016-07-25 10:11:59 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Misc configuration': [Errno 101] Network is unreachable<br>2016-07-25 10:12:05 ERROR otopi.plugins.gr_he_setup.core.misc misc._terminate:99 Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy</div><div><font color="#ff0000">[root@node ~]# cat /var/log/vdsm/vdsm.log | grep ERROR</font><br>jsonrpc.Executor/4::ERROR::2016-07-25 10:07:01,491::lvm::737::Storage.LVM::(_initpvs) pvcreate failed with rc=5<br>jsonrpc.Executor/4::ERROR::2016-07-25 10:07:01,492::lvm::738::Storage.LVM::(_initpvs) [], [' WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!', ' /dev/mapper/23866376332323932: read failed after 0 of 4096 at 0: Input/output error', ' /dev/mapper/23866376332323932: read failed after 0 of 4096 at 42949607424: Input/output error', ' /dev/mapper/23866376332323932: read failed after 0 of 4096 at 42949664768: Input/output error', ' WARNING: Error counts reached a limit of 3. Device /dev/mapper/23866376332323932 was disabled', ' Failed to wipe new metadata area at the start of the /dev/mapper/23866376332323932', ' Failed to add metadata area for new physical volume /dev/mapper/23866376332323932', ' Failed to setup physical volume "/dev/mapper/23866376332323932"']<br>jsonrpc.Executor/4::ERROR::2016-07-25 10:07:01,492::task::868::Storage.TaskManager.Task::(_setError) Task=`a1b55dc1-2c23-4e9f-b81a-43b189557028`::Unexpected error<br>jsonrpc.Executor/4::ERROR::2016-07-25 10:07:01,496::dispatcher::77::Storage.Dispatcher::(wrapper) {'status': {'message': 'Failed to initialize physical device: ("[u\'/dev/mapper/23866376332323932\']",)', 'code': 601}}<br>jsonrpc.Executor/2::ERROR::2016-07-25 10:10:47,116::sdc::140::Storage.StorageDomainCache::(_findDomain) looking for unfetched domain caf8a1f7-16db-4a02-9ab9-872987ccef6f<br>jsonrpc.Executor/2::ERROR::2016-07-25 10:10:47,116::sdc::157::Storage.StorageDomainCache::(_findUnfetchedDomain) looking for domain caf8a1f7-16db-4a02-9ab9-872987ccef6f<br>jsonrpc.Executor/2::ERROR::2016-07-25 10:10:47,156::sdc::146::Storage.StorageDomainCache::(_findDomain) domain caf8a1f7-16db-4a02-9ab9-872987ccef6f not found<br>jsonrpc.Executor/5::ERROR::2016-07-25 10:10:49,671::sdc::140::Storage.StorageDomainCache::(_findDomain) looking for unfetched domain ee01d0a7-4e12-4c57-931e-88008980ca98<br>jsonrpc.Executor/5::ERROR::2016-07-25 10:10:49,671::sdc::157::Storage.StorageDomainCache::(_findUnfetchedDomain) looking for domain ee01d0a7-4e12-4c57-931e-88008980ca98<br>jsonrpc.Executor/5::ERROR::2016-07-25 10:10:49,702::sdc::146::Storage.StorageDomainCache::(_findDomain) domain ee01d0a7-4e12-4c57-931e-88008980ca98 not found<br>JsonRpc (StompReactor)::ERROR::2016-07-25 10:12:05,484::betterAsyncore::113::vds.dispatcher::(recv) SSL error during reading data: unexpected eof</div><div><font color="#ff0000">[root@node2 ~]# ifconfig</font><br></div><div>enp6s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br> ether 00:1e:67:a5:1b:ee txqueuelen 1000 (Ethernet)<br> RX packets 36653 bytes 29439245 (28.0 MiB)<br> RX errors 0 dropped 17 overruns 0 frame 0<br> TX packets 79820 bytes 103065531 (98.2 MiB)<br> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br> device memory 0xd1160000-d117ffff <br><br>enp6s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br> inet 192.168.1.62 netmask 255.255.255.0 broadcast 192.168.1.255<br> ether 00:1e:67:a5:1b:ef txqueuelen 1000 (Ethernet)<br> RX packets 7858 bytes 1113116 (1.0 MiB)<br> RX errors 0 dropped 0 overruns 0 frame 0<br> TX packets 468 bytes 21375 (20.8 KiB)<br> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br> device memory 0xd1140000-d115ffff <br><br>lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536<br> inet 127.0.0.1 netmask 255.0.0.0<br> loop txqueuelen 0 (Local Loopback)<br> RX packets 344 bytes 122776 (119.8 KiB)<br> RX errors 0 dropped 0 overruns 0 frame 0<br> TX packets 344 bytes 122776 (119.8 KiB)<br> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br><br>ovirtmgmt: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br> inet 192.168.128.60 netmask 255.255.255.0 broadcast 192.168.128.255<br> ether 00:1e:67:a5:1b:ee txqueuelen 0 (Ethernet)<br> RX packets 16372 bytes 24322248 (23.1 MiB)<br> RX errors 0 dropped 0 overruns 0 frame 0<br> TX packets 8893 bytes 97964857 (93.4 MiB)<br> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br><br>virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500<br> inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255<br> ether 52:54:00:0a:ae:5c txqueuelen 0 (Ethernet)<br> RX packets 0 bytes 0 (0.0 B)<br> RX errors 0 dropped 0 overruns 0 frame 0<br> TX packets 0 bytes 0 (0.0 B)<br> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</div><div><br></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">It seems that there is something wrong with the network or the storage. I got the same error when the iscsi storage was replaced by an nfs storage. I have deployed it on the same host using the same storage successfully </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">a few days ago, but now I can't. </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Anyone can help? Thanks!</span></div>
</body></html>