Advertisement
Guest User

oVirt HE setup #1

a guest
Dec 18th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.33 KB | None | 0 0
  1.  
  2. [root@ovirt-node-01 ~]# hosted-engine --deploy
  3. [ INFO ] Stage: Initializing
  4. [ INFO ] Generating a temporary VNC password.
  5. [ INFO ] Stage: Environment setup
  6. Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.
  7. Are you sure you want to continue? (Yes, No)[Yes]:
  8. Configuration files: []
  9. Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151218120940-wt3ygk.log
  10. Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
  11. [ INFO ] Hardware supports virtualization
  12. [ INFO ] Stage: Environment packages setup
  13. [ INFO ] Stage: Programs detection
  14. [ INFO ] Stage: Environment setup
  15. [ INFO ] Stage: Environment customization
  16.  
  17. --== STORAGE CONFIGURATION ==--
  18.  
  19. During customization use CTRL-D to abort.
  20. Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs
  21. [ INFO ] Please note that Replica 3 support is required for the shared storage.
  22. Please specify the full shared storage connection path to use (example: host:/path): localhost:/engine
  23. [WARNING] Due to several bugs in mount.glusterfs the validation of GlusterFS share cannot be reliable.
  24. [ INFO ] GlusterFS replica 3 Volume detected
  25. [ INFO ] Installing on first host
  26. Please provide storage domain name. [hosted_storage]:
  27. and currently will not be shown in engine's admin UI.
  28. Please enter local datacenter name [hosted_datacenter]:
  29. [WARNING] Due to several bugs in mount.glusterfs the validation of GlusterFS share cannot be reliable.
  30. [ INFO ] GlusterFS replica 3 Volume detected
  31.  
  32. --== SYSTEM CONFIGURATION ==--
  33.  
  34.  
  35. --== NETWORK CONFIGURATION ==--
  36.  
  37. Please indicate a nic to set ovirtmgmt bridge on: (enp12s0f0, enp12s0f1, enp4s0f0, enp4s0f1) [enp12s0f0]:
  38. iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]:
  39. Please indicate a pingable gateway IP address [249.26.200.254]:
  40.  
  41. --== VM CONFIGURATION ==--
  42.  
  43. Booting from cdrom on RHEL7 is ISO image based only, as cdrom passthrough is disabled (BZ760885)
  44. Please specify the device to boot the VM from (choose disk for the oVirt engine appliance)
  45. (cdrom, disk, pxe) [disk]:
  46. [ INFO ] Detecting available oVirt engine appliances
  47. The following appliance have been found on your system:
  48. [1] - The oVirt Engine Appliance image (OVA) - 3.6-20151216.1.el7.centos
  49. [2] - Directly select an OVA file
  50. Please select an appliance (1, 2) [1]:
  51. [ INFO ] Verifying its sha1sum
  52. [ INFO ] Checking OVF archive content (could take a few minutes depending on archive size)
  53. [ INFO ] Checking OVF XML content (could take a few minutes depending on archive size)
  54. [WARNING] OVF does not contain a valid image description, using default.
  55. Would you like to use cloud-init to customize the appliance on the first boot (Yes, No)[Yes]?
  56. Would you like to generate on-fly a cloud-init no-cloud ISO image
  57. or do you have an existing one (Generate, Existing)[Generate]?
  58. Please provide the FQDN you would like to use for the engine appliance.
  59. Note: This will be the FQDN of the engine VM you are now going to launch,
  60. it should not point to the base host or to any other existing machine.
  61. Engine VM FQDN: (leave it empty to skip): ovirt-engine-01.nec-labs.com
  62. Automatically execute engine-setup on the engine appliance on first boot (Yes, No)[Yes]?
  63. Automatically restart the engine VM as a monitored service after engine-setup (Yes, No)[Yes]?
  64. Please provide the domain name you would like to use for the engine appliance.
  65. Engine VM domain: [nec-labs.com]
  66. Enter root password that will be used for the engine appliance (leave it empty to skip):
  67. Confirm appliance root password:
  68. How should the engine VM network should be configured (DHCP, Static)[DHCP]? Static
  69. Please enter the IP address to be used for the engine VM [249.26.200.1]: 249.26.200.95
  70. [ INFO ] The engine VM will be configured to use 249.26.200.95/24
  71. Please provide a comma-separated list (max 3) of IP addresses of domain name servers for the engine VM
  72. Engine VM DNS (leave it empty to skip) [249.26.108.11,249.26.109.99]:
  73. Add lines for the appliance itself and for this host to /etc/hosts on the engine VM?
  74. Note: ensuring that this host could resolve the engine VM hostname is still up to you
  75. (Yes, No)[No]
  76. The following CPU types are supported by this host:
  77. - model_Penryn: Intel Penryn Family
  78. - model_Conroe: Intel Conroe Family
  79. Please specify the CPU type to be used by the VM [model_Penryn]:
  80. Please specify the number of virtual CPUs for the VM [Defaults to appliance OVF value: 4]:
  81. [WARNING] Minimum requirements for disk size not met
  82. You may specify a unicast MAC address for the VM or accept a randomly generated default [01:16:3e:4b:51:b1]:
  83. Please specify the memory size of the VM in MB [Defaults to maximum available: 22778]: 8192
  84. Please specify the console type you would like to use to connect to the VM (vnc, spice) [vnc]:
  85.  
  86. --== HOSTED ENGINE CONFIGURATION ==--
  87.  
  88. Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_1]: ovirt-engine-01
  89. Enter 'admin@internal' user password that will be used for accessing the Administrator Portal:
  90. Confirm 'admin@internal' user password:
  91. Please provide the name of the SMTP server through which we will send notifications [localhost]: nj-mail.nec-labs.com
  92. Please provide the TCP port number of the SMTP server [25]:
  93. Please provide the email address from which notifications will be sent [root@localhost]: ovirt-admin@nec-labs.com
  94. Please provide a comma-separated list of email addresses which will get notifications [root@localhost]: wdennis@nec-labs.com
  95. [ INFO ] Stage: Setup validation
  96. [WARNING] Host name ovirt-node-01 has no domain suffix
  97. [WARNING] Failed to resolve ovirt-node-01 using DNS, it can be resolved only locally
  98.  
  99. --== CONFIGURATION PREVIEW ==--
  100.  
  101. Bridge interface : enp12s0f0
  102. Engine FQDN : ovirt-engine-01.nec-labs.com
  103. Bridge name : ovirtmgmt
  104. SSH daemon port : 22
  105. Firewall manager : iptables
  106. Gateway address : 249.26.200.254
  107. Host name for web application : ovirt-engine-01
  108. Host ID : 1
  109. Image size GB : 10
  110. GlusterFS Share Name : hosted_engine_glusterfs
  111. GlusterFS Brick Provisioning : False
  112. Storage connection : localhost:/engine
  113. Console type : vnc
  114. Memory size MB : 8192
  115. MAC address : 01:16:3e:4b:51:b1
  116. Boot type : disk
  117. Number of CPUs : 4
  118. OVF archive (for disk boot) : /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-3.6-20151216.1.el7.centos.ova
  119. Restart engine VM after engine-setup: True
  120. CPU Type : model_Penryn
  121.  
  122. Please confirm installation settings (Yes, No)[Yes]:
  123. [ INFO ] Stage: Transaction setup
  124. [ INFO ] Stage: Misc configuration
  125. [ INFO ] Stage: Package installation
  126. [ INFO ] Stage: Misc configuration
  127. [ INFO ] Configuring libvirt
  128. [ INFO ] Configuring VDSM
  129. [ INFO ] Starting vdsmd
  130. [ INFO ] Waiting for VDSM hardware info
  131. [ INFO ] Waiting for VDSM hardware info
  132. [ INFO ] Configuring the management bridge
  133. [ INFO ] Creating Storage Domain
  134. [ INFO ] Creating Storage Pool
  135. [ INFO ] Connecting Storage Pool
  136. [ INFO ] Verifying sanlock lockspace initialization
  137. [ INFO ] Creating Image for 'hosted-engine.lockspace' ...
  138. [ INFO ] Image for 'hosted-engine.lockspace' created successfully
  139. [ INFO ] Creating Image for 'hosted-engine.metadata' ...
  140. [ INFO ] Image for 'hosted-engine.metadata' created successfully
  141. [ INFO ] Creating VM Image
  142. [ INFO ] Extracting disk image from OVF archive (could take a few minutes depending on archive size)
  143. [ INFO ] Validating pre-allocated volume size
  144. [ INFO ] Uploading volume to data domain (could take a few minutes depending on archive size)
  145. [ INFO ] Image successfully imported from OVF
  146. [ INFO ] Destroying Storage Pool
  147. [ INFO ] Start monitoring domain
  148. [ INFO ] Configuring VM
  149. [ INFO ] Updating hosted-engine configuration
  150. [ INFO ] Stage: Transaction commit
  151. [ INFO ] Stage: Closing up
  152. [ INFO ] Creating VM
  153. You can now connect to the VM with the following command:
  154. /bin/remote-viewer vnc://localhost:5900
  155. Use temporary password "xXxXxXxX" to connect to vnc console.
  156. Please note that in order to use remote-viewer you need to be able to run graphical applications.
  157. This means that if you are using ssh you have to supply the -Y flag (enables trusted X11 forwarding).
  158. Otherwise you can run the command from a terminal in your preferred desktop environment.
  159. If you cannot run graphical applications you can connect to the graphic console from another host or connect to the serial console using the following command:
  160. socat UNIX-CONNECT:/var/run/ovirt-vmconsole-console/23e15334-1823-4548-842a-11a4a6a28ec6.sock,user=ovirt-vmconsole STDIO,raw,echo=0,escape=1
  161. Please ensure that your Guest OS is properly configured to support serial console according to your distro documentation.
  162. Follow http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way for more info.
  163. If you need to reboot the VM you will need to start it manually using the command:
  164. hosted-engine --vm-start
  165. You can then set a temporary password using the command:
  166. hosted-engine --add-console-password
  167. [ INFO ] Running engine-setup on the appliance
  168. |- [ INFO ] Stage: Initializing
  169. |- [ INFO ] Stage: Environment setup
  170. |- Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/root/ovirt-engine-answers', '/root/heanswers.conf']
  171. |- Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20151218172733-2ukq1t.log
  172. |- Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
  173. |- [ INFO ] Stage: Environment packages setup
  174. |- [ INFO ] Stage: Programs detection
  175. |- [ INFO ] Stage: Environment setup
  176. |- [ INFO ] Stage: Environment customization
  177. |-
  178. |- --== PRODUCT OPTIONS ==--
  179. |-
  180. |-
  181. |- --== PACKAGES ==--
  182. |-
  183. |-
  184. |- --== ALL IN ONE CONFIGURATION ==--
  185. |-
  186. |-
  187. |- --== NETWORK CONFIGURATION ==--
  188. |-
  189. |- [ INFO ] firewalld will be configured as firewall manager.
  190. |-
  191. |- --== DATABASE CONFIGURATION ==--
  192. |-
  193. |-
  194. |- --== OVIRT ENGINE CONFIGURATION ==--
  195. |-
  196. |-
  197. |- --== STORAGE CONFIGURATION ==--
  198. |-
  199. |-
  200. |- --== PKI CONFIGURATION ==--
  201. |-
  202. |-
  203. |- --== APACHE CONFIGURATION ==--
  204. |-
  205. |-
  206. |- --== SYSTEM CONFIGURATION ==--
  207. |-
  208. |-
  209. |- --== MISC CONFIGURATION ==--
  210. |-
  211. |-
  212. |- --== END OF CONFIGURATION ==--
  213. |-
  214. |- [ INFO ] Stage: Setup validation
  215. |- [WARNING] Less than 16384MB of memory is available
  216. |-
  217. |- --== CONFIGURATION PREVIEW ==--
  218. |-
  219. |- Application mode : virt
  220. |- Default SAN wipe after delete : False
  221. |- Firewall manager : firewalld
  222. |- Update Firewall : True
  223. |- Host FQDN : ovirt-engine-01.nec-labs.com
  224. |- Engine database secured connection : False
  225. |- Engine database host : localhost
  226. |- Engine database user name : engine
  227. |- Engine database name : engine
  228. |- Engine database port : 5432
  229. |- Engine database host name validation : False
  230. |- Engine installation : True
  231. |- PKI organization : nec-labs.com
  232. |- Configure local Engine database : True
  233. |- Set application as default page : True
  234. |- Configure Apache SSL : True
  235. |- Configure VMConsole Proxy : True
  236. |- Engine Host FQDN : ovirt-engine-01.nec-labs.com
  237. |- [ INFO ] Stopping ovirt-fence-kdump-listener service
  238. |- [ INFO ] Stopping websocket-proxy service
  239. |- [ INFO ] Stage: Misc configuration
  240. |- [ INFO ] Stage: Package installation
  241. |- [ INFO ] Stage: Misc configuration
  242. |- [ INFO ] Initializing PostgreSQL
  243. |- [ INFO ] Creating PostgreSQL 'engine' database
  244. |- [ INFO ] Configuring PostgreSQL
  245. |- [ INFO ] Creating/refreshing Engine database schema
  246. |- [ INFO ] Creating/refreshing Engine 'internal' domain database schema
  247. |- [ INFO ] Upgrading CA
  248. |- [ INFO ] Creating CA
  249. |- [ INFO ] Setting up ovirt-vmconsole proxy helper PKI artifacts
  250. |- [ INFO ] Setting up ovirt-vmconsole SSH PKI artifacts
  251. |- [ INFO ] Configuring WebSocket Proxy
  252. |- [ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
  253. |- [ INFO ] Stage: Transaction commit
  254. |- [ INFO ] Stage: Closing up
  255. |-
  256. |- --== SUMMARY ==--
  257. |-
  258. |- [WARNING] Less than 16384MB of memory is available
  259. |- SSH fingerprint: 14:21:6f:d3:a8:11:1b:9f:72:43:b6:6c:f6:81:68:89
  260. |- Internal CA 37:D1:D8:46:EC:19:82:9E:61:B2:A6:3E:D9:20:B3:CA:C9:96:C8:CA
  261. |- Note! If you want to gather statistical information you can install Reports and/or DWH:
  262. |- http://www.ovirt.org/Ovirt_DWH
  263. |- http://www.ovirt.org/Ovirt_Reports
  264. |- Web access is enabled at:
  265. |- http://ovirt-engine-01.nec-labs.com:80/ovirt-engine
  266. |- https://ovirt-engine-01.nec-labs.com:443/ovirt-engine
  267. |- Please use the user 'admin@internal' and password specified in order to login
  268. |-
  269. |- --== END OF SUMMARY ==--
  270. |-
  271. |- [ INFO ] Starting engine service
  272. |- [ INFO ] Restarting httpd
  273. |- [ INFO ] Restarting ovirt-vmconsole proxy service
  274. |- [ INFO ] Stage: Clean up
  275. |- Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20151218172733-2ukq1t.log
  276. |- [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20151218173457-setup.conf'
  277. |- [ INFO ] Stage: Pre-termination
  278. |- [ INFO ] Stage: Termination
  279. |- [ INFO ] Execution of setup completed successfully
  280. |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
  281. [ INFO ] Engine-setup successfully completed
  282. [ INFO ] Engine is still unreachable
  283. [ INFO ] Engine is still not reachable, waiting...
  284. [ INFO ] Engine replied: DB Up!Welcome to Health Status!
  285. [ INFO ] Acquiring internal CA cert from the engine
  286. [ INFO ] The following CA certificate is going to be used, please immediately interrupt if not correct:
  287. [ INFO ] Issuer: C=US, O=nec-labs.com, CN=ovirt-engine-01.nec-labs.com.20325, Subject: C=US, O=nec-labs.com, CN=ovirt-engine-01.nec-labs.com.20325, Fingerprint (SHA-1): 37D1D846EC19829E61B2A63ED920B3CAC996C8CA
  288. [ INFO ] Connecting to the Engine
  289. [ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...
  290. [ INFO ] Still waiting for VDSM host to become operational...
  291. [ INFO ] The VDSM Host is now operational
  292. [ INFO ] Saving hosted-engine configuration on the shared storage domain
  293. [ INFO ] Shutting down the engine VM
  294. [ INFO ] Enabling and starting HA services
  295. [ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'ovirt-ha-agent'
  296. [ INFO ] Stage: Clean up
  297. [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'
  298. [ INFO ] Stage: Pre-termination
  299. [ INFO ] Stage: Termination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement