<div dir="ltr">Hello,<div>using this on CentOS 6.5 to configure AIO with ita branch for translation, updated at 1608</div><div><br></div><div><div>[root@ovirtita ~]# rpm -qa|egrep "engine|vdsm|ovirt"</div><div>vdsm-xmlrpc-4.16.0-206.gitdd70c9e.el6.noarch</div>
<div>ovirt-engine-websocket-proxy-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>vdsm-yajsonrpc-4.16.0-206.gitdd70c9e.el6.noarch</div><div>ovirt-engine-jboss-as-7.1.1-1.el6.x86_64</div><div>ovirt-engine-restapi-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div>
<div>vdsm-jsonrpc-4.16.0-206.gitdd70c9e.el6.noarch</div><div>ovirt-release-master-001-0.0.master.noarch</div><div>ovirt-engine-lib-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-engine-extensions-api-impl-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div>
<div>ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-engine-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-host-deploy-1.3.0-0.0.master.20140811115624.git89155f8.el6.noarch</div>
<div>ovirt-image-uploader-3.6.0-0.0.master.20140808125503.git066ed25.el6.noarch</div><div>ovirt-engine-setup-base-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>vdsm-jsonrpc-java-1.0.1-0.0.master.20140812113145.git7d15fda.el6.noarch</div>
<div>ovirt-host-deploy-java-1.3.0-0.0.master.20140811115624.git89155f8.el6.noarch</div><div>ovirt-engine-userportal-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-engine-setup-plugin-ovirt-engine-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div>
<div>ovirt-engine-backend-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-host-deploy-offline-1.3.0-0.0.master.20140811115624.git89155f8.el6.x86_64</div><div>ovirt-iso-uploader-3.6.0-0.0.master.20140812133505.gita6b721e.el6.noarch</div>
<div>vdsm-python-4.16.0-206.gitdd70c9e.el6.noarch</div><div>ovirt-engine-setup-plugin-websocket-proxy-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-engine-cli-3.6.0.0-1.20140718.gite0c7d55.el6.noarch</div>
<div>ovirt-engine-dbscripts-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-engine-tools-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>ovirt-engine-setup-plugin-allinone-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div>
<div>ovirt-engine-sdk-python-3.6.0.0-1.20140811.git56f9da6.el6.noarch</div><div>vdsm-python-zombiereaper-4.16.0-206.gitdd70c9e.el6.noarch</div><div>ovirt-engine-webadmin-portal-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div>
<div>ovirt-engine-extensions-api-impl-javadoc-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div><div>vdsm-cli-4.16.0-206.gitdd70c9e.el6.noarch</div><div>ovirt-engine-setup-3.6.0-0.0.master.20140816103500.gitb920a2d.el6.noarch</div>
<div>vdsm-4.16.0-206.gitdd70c9e.el6.x86_64</div></div><div><br></div><div><br></div><div>SELinux is set to permissive, iptables and ip6tables are stopped and set to off.</div><div>In setup I say not to configure firewall.</div>
<div>It aborts at nfs share stage with</div><div><br></div><div><div>[ INFO ] Restarting nfs services</div><div>[ ERROR ] Failed to execute stage 'Closing up': [Errno 111] Connection refused</div><div>[ INFO ] Stage: Clean up</div>
<div> Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140820084635-z4gm0h.log</div><div>[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140820084948-setup.conf'</div>
<div>[ INFO ] Stage: Pre-termination</div><div>[ INFO ] Stage: Termination</div><div>[ ERROR ] Execution of setup failed</div></div><div><br></div><div>NOTE: I set to "enabled=0" the rows in /etc/yum.repos.d/ovirt-master-snapshot.repo so that I'm not forced to update engine-setup itself or other packages.</div>
<div><br></div><div>Whole output:</div><div><div>[root@ovirtita ~]# engine-setup</div><div>[ INFO ] Stage: Initializing</div><div>[ INFO ] Stage: Environment setup</div><div> Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-aio.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']</div>
<div> Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20140820084635-z4gm0h.log</div><div> Version: otopi-1.3.0_master (otopi-1.3.0-0.0.master.20140728.git336a22e.el6)</div><div>[ INFO ] Hardware supports virtualization</div>
<div>[ INFO ] Stage: Environment packages setup</div><div>[ INFO ] Stage: Programs detection</div><div>[ INFO ] Stage: Environment setup</div><div>[ INFO ] Stage: Environment customization</div><div> </div><div>
--== PRODUCT OPTIONS ==--</div><div> </div><div> Configure Engine on this host (Yes, No) [Yes]: </div><div> Configure WebSocket Proxy on this host (Yes, No) [Yes]: </div><div> </div>
<div> --== PACKAGES ==--</div><div> </div><div>[ INFO ] Checking for product updates...</div><div>[ INFO ] No product updates found</div><div> </div><div> --== ALL IN ONE CONFIGURATION ==--</div>
<div> </div><div> Configure VDSM on this host? (Yes, No) [No]: Yes</div><div> Local storage domain path [/var/lib/images]: </div><div> Local storage domain name [local_storage]: </div><div>
</div><div> --== NETWORK CONFIGURATION ==--</div><div> </div><div> Setup can automatically configure the firewall on this system.</div><div> Note: automatic configuration of the firewall may overwrite current settings.</div>
<div> Do you want Setup to configure the firewall? (Yes, No) [Yes]: No</div><div> Host fully qualified DNS name of this server [ovirtita.localdomain.local]: </div><div>[WARNING] Failed to resolve ovirtita.localdomain.local using DNS, it can be resolved only locally</div>
<div> </div><div> --== DATABASE CONFIGURATION ==--</div><div> </div><div> Where is the Engine database located? (Local, Remote) [Local]: </div><div> Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications.</div>
<div> Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: </div><div> </div><div> --== OVIRT ENGINE CONFIGURATION ==--</div>
<div> </div><div> Engine admin password: </div><div> Confirm engine admin password: </div><div>[WARNING] Password is weak: it is based on a dictionary word</div><div> Use weak password? (Yes, No) [No]: Yes</div>
<div> Application mode (Both, Virt, Gluster) [Both]: </div><div> Default storage type: (NFS, FC, ISCSI, POSIXFS, GLUSTERFS) [NFS]: </div><div> </div><div> --== PKI CONFIGURATION ==--</div>
<div> </div><div> Organization name for certificate [localdomain.local]: </div><div> </div><div> --== APACHE CONFIGURATION ==--</div><div> </div><div> Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.</div>
<div> Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]: </div><div> Setup can configure apache to use SSL using a certificate issued from the internal CA.</div><div>
Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]: </div><div> </div><div> --== SYSTEM CONFIGURATION ==--</div><div> </div><div> Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [Yes]: </div>
<div> Local ISO domain path [/var/lib/exports/iso]: </div><div> Local ISO domain ACL - note that the default will restrict access to ovirtita.localdomain.local only, for security reasons [ovirtita.localdomain.local(rw)]: </div>
<div> Local ISO domain name [ISO_DOMAIN]: </div><div> </div><div> --== MISC CONFIGURATION ==--</div><div> </div><div> </div><div> --== END OF CONFIGURATION ==--</div><div>
</div><div>[ INFO ] Stage: Setup validation</div><div>[WARNING] Less than 16384MB of memory is available</div><div> </div><div> --== CONFIGURATION PREVIEW ==--</div><div> </div><div> Application mode : both</div>
<div> Update Firewall : False</div><div> Host FQDN : ovirtita.localdomain.local</div><div> Datacenter storage type : nfs</div>
<div> Engine database name : engine</div><div> Engine database secured connection : False</div><div> Engine database host : localhost</div><div> Engine database user name : engine</div>
<div> Engine database host name validation : False</div><div> Engine database port : 5432</div><div> Engine installation : True</div><div> NFS setup : True</div>
<div> PKI organization : localdomain.local</div><div> NFS mount point : /var/lib/exports/iso</div><div> NFS export ACL : ovirtita.localdomain.local(rw)</div>
<div> Configure VDSM on this host : True</div><div> Local storage domain directory : /var/lib/images</div><div> Configure local Engine database : True</div><div> Set application as default page : True</div>
<div> Configure Apache SSL : True</div><div> Configure WebSocket Proxy : True</div><div> </div><div> Please confirm installation settings (OK, Cancel) [OK]: </div>
<div>[ INFO ] Stage: Transaction setup</div><div>[ INFO ] Stopping engine service</div><div>[ INFO ] Stopping ovirt-fence-kdump-listener service</div><div>[ INFO ] Stopping websocket-proxy service</div><div>[ INFO ] Stage: Misc configuration</div>
<div>[ INFO ] Stage: Package installation</div><div>[ INFO ] Stage: Misc configuration</div><div>[ INFO ] Initializing PostgreSQL</div><div>[ INFO ] Creating PostgreSQL 'engine' database</div><div>[ INFO ] Configuring PostgreSQL</div>
<div>[ INFO ] Creating/refreshing Engine database schema</div><div>[ INFO ] Creating CA</div><div>[ INFO ] Configuring WebSocket Proxy</div><div>[ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'</div>
<div>[ INFO ] Stage: Transaction commit</div><div>[ INFO ] Stage: Closing up</div><div> </div><div> --== SUMMARY ==--</div><div> </div><div>[WARNING] Less than 16384MB of memory is available</div>
<div> SSH fingerprint: F9:B1:16:C1:85:72:1B:C5:3C:35:9E:45:A0:A2:4C:C3</div><div> Internal CA 78:3E:BB:BD:9D:A3:AE:20:9E:7A:44:BB:01:1F:87:13:E4:7B:FE:7D</div><div> Web access is enabled at:</div>
<div> <a href="http://ovirtita.localdomain.local:80/ovirt-engine">http://ovirtita.localdomain.local:80/ovirt-engine</a></div><div> <a href="https://ovirtita.localdomain.local:443/ovirt-engine">https://ovirtita.localdomain.local:443/ovirt-engine</a></div>
<div> Please use the user "admin" and password specified in order to login</div><div> In order to configure firewalld, copy the files from</div><div> /etc/ovirt-engine/firewalld to /etc/firewalld/services</div>
<div> and execute the following commands:</div><div> firewall-cmd -service ovirt-postgres</div><div> firewall-cmd -service ovirt-https</div><div> firewall-cmd -service ovirt-aio</div>
<div> firewall-cmd -service ovirt-fence-kdump-listener</div><div> firewall-cmd -service ovirt-websocket-proxy</div><div> firewall-cmd -service ovirt-nfs</div><div> firewall-cmd -service ovirt-http</div>
<div> The following network ports should be opened:</div><div> tcp:111</div><div> tcp:2049</div><div> tcp:32803</div><div> tcp:443</div><div> tcp:49152-49216</div>
<div> tcp:5432</div><div> tcp:5900-6923</div><div> tcp:6100</div><div> tcp:662</div><div> tcp:80</div><div> tcp:875</div><div> tcp:892</div>
<div> udp:111</div><div> udp:32769</div><div> udp:662</div><div> udp:7410</div><div> udp:875</div><div> udp:892</div><div> An example of the required configuration for iptables can be found at:</div>
<div> /etc/ovirt-engine/iptables.example</div><div> </div><div> --== END OF SUMMARY ==--</div><div> </div><div>[ INFO ] Starting engine service</div><div>[ INFO ] Restarting httpd</div>
<div>[ INFO ] Restarting nfs services</div><div>[ ERROR ] Failed to execute stage 'Closing up': [Errno 111] Connection refused</div><div>[ INFO ] Stage: Clean up</div><div> Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140820084635-z4gm0h.log</div>
<div>[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140820084948-setup.conf'</div><div>[ INFO ] Stage: Pre-termination</div><div>[ INFO ] Stage: Termination</div><div>[ ERROR ] Execution of setup failed</div>
<div>[root@ovirtita ~]#</div></div><div><br></div><div>Do I miss any basic package? I installed this CentOS 6.5 server specifying "basic server" in anaconda.</div><div><br></div><div>In mesages I have these lines during setup:</div>
<div><div>Aug 20 08:49:13 ovirtita dbus: avc: received policyload notice (seqno=2)</div><div>Aug 20 08:49:13 ovirtita dbus: [system] Reloaded configuration</div><div>Aug 20 08:49:14 ovirtita dbus: avc: received policyload notice (seqno=3)</div>
<div>Aug 20 08:49:14 ovirtita dbus: [system] Reloaded configuration</div><div>Aug 20 08:49:20 ovirtita dbus: avc: received policyload notice (seqno=4)</div><div>Aug 20 08:49:20 ovirtita dbus: [system] Reloaded configuration</div>
<div>Aug 20 08:49:26 ovirtita dbus: avc: received policyload notice (seqno=5)</div><div>Aug 20 08:49:26 ovirtita dbus: [system] Reloaded configuration</div><div>Aug 20 08:49:30 ovirtita kernel: RPC: Registered named UNIX socket transport module.</div>
<div>Aug 20 08:49:30 ovirtita kernel: RPC: Registered udp transport module.</div><div>Aug 20 08:49:30 ovirtita kernel: RPC: Registered tcp transport module.</div><div>Aug 20 08:49:30 ovirtita kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.</div>
<div>Aug 20 08:49:31 ovirtita kernel: Installing knfsd (copyright (C) 1996 <a href="mailto:okir@monad.swb.de">okir@monad.swb.de</a>).</div><div>Aug 20 08:49:31 ovirtita rpc.mountd[12397]: Version 1.2.3 starting</div><div>
Aug 20 08:49:31 ovirtita kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory</div><div>Aug 20 08:49:31 ovirtita kernel: NFSD: starting 90-second grace period</div></div><div><br></div><div>Now</div>
<div><div>[root@ovirtita ~]# exportfs -v</div><div>/var/lib/exports/iso</div><div><span class="" style="white-space:pre">                </span>ovirtita.localdomain.local(rw,wdelay,root_squash,no_subtree_check)</div></div><div><br></div>
<div>And if I run a mount on the share on the server itself it succeeds...</div><div><div>[root@ovirtita ~]# df -h</div><div>Filesystem Size Used Avail Use% Mounted on</div><div>/dev/mapper/vg_ovirtita-lv_root</div>
<div> 29G 3.6G 24G 14% /</div><div>tmpfs 3.9G 0 3.9G 0% /dev/shm</div><div>/dev/sda1 485M 67M 393M 15% /boot</div></div><div><br></div><div><div>[root@ovirtita ~]# mkdir /tmp/p</div>
<div><br></div><div>[root@ovirtita ~]# mount ovirtita.localdomain.local:/var/lib/exports/iso /tmp/p</div><div><br></div><div>[root@ovirtita ~]# df -h /tmp/p</div><div>Filesystem Size Used Avail Use% Mounted on</div>
<div>ovirtita.localdomain.local:/var/lib/exports/iso</div><div> 29G 3.6G 24G 14% /tmp/p</div></div><div><br></div><div>Does it cause any problem the name resolution that is only local with /etc/hosts and not with dns?</div>
<div>What should I put in this case for AIO when input requests:</div><div><br></div><div> Local ISO domain ACL - note that the default will restrict access to ovirtita.localdomain.local only, for security reasons [ovirtita.localdomain.local(rw)]: </div>
<div><br></div><div>??</div><div><br></div><div>In setup log I have:</div><div><br></div><div><div>2014-08-20 08:49:48 DEBUG otopi.ovirt_engine_setup.engine_common.database database.execute:214 Result: [{'version': 'general', 'option_value': '3.0,3.1,3.2,3.3,3.4,3.5'}]</div>
<div>2014-08-20 08:49:48 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.all-in-one.vdsmi vdsmi._closeup:208 engine SupportedClusterLevels [3.0,3.1,3.2,3.3,3.4,3.5], PACKAGE_VERSION [3.6.0_master],</div><div>2014-08-20 08:49:48 DEBUG otopi.context context._executeMethod:152 method exception</div>
<div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod</div><div> method['method']()</div><div> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsmi.py", line 212, in _closeup</div>
<div> result = vdscli.connect().getVdsCapabilities()</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__</div><div> return self.__send(self.__name, args)</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request</div>
<div> verbose=self.__verbose</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1235, in request</div><div> self.send_content(h, request_body)</div><div> File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content</div>
<div> connection.endheaders()</div><div> File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders</div><div> self._send_output()</div><div> File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output</div>
<div> self.send(msg)</div><div> File "/usr/lib64/python2.6/httplib.py", line 739, in send</div><div> self.connect()</div><div> File "/usr/lib64/python2.6/site-packages/vdsm/sslutils.py", line 181, in connect</div>
<div> sock = socket.create_connection((self.host, self.port), self.timeout)</div><div> File "/usr/lib64/python2.6/socket.py", line 567, in create_connection</div><div> raise error, msg</div></div><div><div>
error: [Errno 111] Connection refused</div><div>2014-08-20 08:49:48 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': [Errno 111] Connection refused</div></div><div><br></div><div>
What kind of mount test does engine-setup perform?</div><div><br></div><div>Full engine log here:</div><div><a href="https://drive.google.com/file/d/0BwoPbcrMv8mvWkxEZllSNnFzRTg/edit?usp=sharing">https://drive.google.com/file/d/0BwoPbcrMv8mvWkxEZllSNnFzRTg/edit?usp=sharing</a><br>
</div><div><br></div><div>Thanks,</div><div>Gianluca</div></div>