Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@ovirt-node-01 ~]# hosted-engine --deploy
- [ INFO ] Stage: Initializing
- [ INFO ] Generating a temporary VNC password.
- [ INFO ] Stage: Environment setup
- Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.
- Are you sure you want to continue? (Yes, No)[Yes]:
- Configuration files: []
- Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151218120940-wt3ygk.log
- Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
- [ INFO ] Hardware supports virtualization
- [ INFO ] Stage: Environment packages setup
- [ INFO ] Stage: Programs detection
- [ INFO ] Stage: Environment setup
- [ INFO ] Stage: Environment customization
- --== STORAGE CONFIGURATION ==--
- During customization use CTRL-D to abort.
- Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs
- [ INFO ] Please note that Replica 3 support is required for the shared storage.
- Please specify the full shared storage connection path to use (example: host:/path): localhost:/engine
- [WARNING] Due to several bugs in mount.glusterfs the validation of GlusterFS share cannot be reliable.
- [ INFO ] GlusterFS replica 3 Volume detected
- [ INFO ] Installing on first host
- Please provide storage domain name. [hosted_storage]:
- and currently will not be shown in engine's admin UI.
- Please enter local datacenter name [hosted_datacenter]:
- [WARNING] Due to several bugs in mount.glusterfs the validation of GlusterFS share cannot be reliable.
- [ INFO ] GlusterFS replica 3 Volume detected
- --== SYSTEM CONFIGURATION ==--
- --== NETWORK CONFIGURATION ==--
- Please indicate a nic to set ovirtmgmt bridge on: (enp12s0f0, enp12s0f1, enp4s0f0, enp4s0f1) [enp12s0f0]:
- iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]:
- Please indicate a pingable gateway IP address [249.26.200.254]:
- --== VM CONFIGURATION ==--
- Booting from cdrom on RHEL7 is ISO image based only, as cdrom passthrough is disabled (BZ760885)
- Please specify the device to boot the VM from (choose disk for the oVirt engine appliance)
- (cdrom, disk, pxe) [disk]:
- [ INFO ] Detecting available oVirt engine appliances
- The following appliance have been found on your system:
- [1] - The oVirt Engine Appliance image (OVA) - 3.6-20151216.1.el7.centos
- [2] - Directly select an OVA file
- Please select an appliance (1, 2) [1]:
- [ INFO ] Verifying its sha1sum
- [ INFO ] Checking OVF archive content (could take a few minutes depending on archive size)
- [ INFO ] Checking OVF XML content (could take a few minutes depending on archive size)
- [WARNING] OVF does not contain a valid image description, using default.
- Would you like to use cloud-init to customize the appliance on the first boot (Yes, No)[Yes]?
- Would you like to generate on-fly a cloud-init no-cloud ISO image
- or do you have an existing one (Generate, Existing)[Generate]?
- Please provide the FQDN you would like to use for the engine appliance.
- Note: This will be the FQDN of the engine VM you are now going to launch,
- it should not point to the base host or to any other existing machine.
- Engine VM FQDN: (leave it empty to skip): ovirt-engine-01.nec-labs.com
- Automatically execute engine-setup on the engine appliance on first boot (Yes, No)[Yes]?
- Automatically restart the engine VM as a monitored service after engine-setup (Yes, No)[Yes]?
- Please provide the domain name you would like to use for the engine appliance.
- Engine VM domain: [nec-labs.com]
- Enter root password that will be used for the engine appliance (leave it empty to skip):
- Confirm appliance root password:
- How should the engine VM network should be configured (DHCP, Static)[DHCP]? Static
- Please enter the IP address to be used for the engine VM [249.26.200.1]: 249.26.200.95
- [ INFO ] The engine VM will be configured to use 249.26.200.95/24
- Please provide a comma-separated list (max 3) of IP addresses of domain name servers for the engine VM
- Engine VM DNS (leave it empty to skip) [249.26.108.11,249.26.109.99]:
- Add lines for the appliance itself and for this host to /etc/hosts on the engine VM?
- Note: ensuring that this host could resolve the engine VM hostname is still up to you
- (Yes, No)[No]
- The following CPU types are supported by this host:
- - model_Penryn: Intel Penryn Family
- - model_Conroe: Intel Conroe Family
- Please specify the CPU type to be used by the VM [model_Penryn]:
- Please specify the number of virtual CPUs for the VM [Defaults to appliance OVF value: 4]:
- [WARNING] Minimum requirements for disk size not met
- You may specify a unicast MAC address for the VM or accept a randomly generated default [01:16:3e:4b:51:b1]:
- Please specify the memory size of the VM in MB [Defaults to maximum available: 22778]: 8192
- Please specify the console type you would like to use to connect to the VM (vnc, spice) [vnc]:
- --== HOSTED ENGINE CONFIGURATION ==--
- Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_1]: ovirt-engine-01
- Enter 'admin@internal' user password that will be used for accessing the Administrator Portal:
- Confirm 'admin@internal' user password:
- Please provide the name of the SMTP server through which we will send notifications [localhost]: nj-mail.nec-labs.com
- Please provide the TCP port number of the SMTP server [25]:
- Please provide the email address from which notifications will be sent [root@localhost]: ovirt-admin@nec-labs.com
- Please provide a comma-separated list of email addresses which will get notifications [root@localhost]: wdennis@nec-labs.com
- [ INFO ] Stage: Setup validation
- [WARNING] Host name ovirt-node-01 has no domain suffix
- [WARNING] Failed to resolve ovirt-node-01 using DNS, it can be resolved only locally
- --== CONFIGURATION PREVIEW ==--
- Bridge interface : enp12s0f0
- Engine FQDN : ovirt-engine-01.nec-labs.com
- Bridge name : ovirtmgmt
- SSH daemon port : 22
- Firewall manager : iptables
- Gateway address : 249.26.200.254
- Host name for web application : ovirt-engine-01
- Host ID : 1
- Image size GB : 10
- GlusterFS Share Name : hosted_engine_glusterfs
- GlusterFS Brick Provisioning : False
- Storage connection : localhost:/engine
- Console type : vnc
- Memory size MB : 8192
- MAC address : 01:16:3e:4b:51:b1
- Boot type : disk
- Number of CPUs : 4
- OVF archive (for disk boot) : /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-3.6-20151216.1.el7.centos.ova
- Restart engine VM after engine-setup: True
- CPU Type : model_Penryn
- Please confirm installation settings (Yes, No)[Yes]:
- [ 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 ] Waiting for VDSM hardware info
- [ INFO ] Waiting for VDSM hardware info
- [ INFO ] Configuring the management bridge
- [ INFO ] Creating Storage Domain
- [ INFO ] Creating Storage Pool
- [ INFO ] Connecting Storage Pool
- [ INFO ] Verifying sanlock lockspace initialization
- [ INFO ] Creating Image for 'hosted-engine.lockspace' ...
- [ INFO ] Image for 'hosted-engine.lockspace' created successfully
- [ INFO ] Creating Image for 'hosted-engine.metadata' ...
- [ INFO ] Image for 'hosted-engine.metadata' created successfully
- [ INFO ] Creating VM Image
- [ INFO ] Extracting disk image from OVF archive (could take a few minutes depending on archive size)
- [ INFO ] Validating pre-allocated volume size
- [ INFO ] Uploading volume to data domain (could take a few minutes depending on archive size)
- [ INFO ] Image successfully imported from OVF
- [ INFO ] Destroying Storage Pool
- [ INFO ] Start monitoring domain
- [ INFO ] Configuring VM
- [ INFO ] Updating hosted-engine configuration
- [ INFO ] Stage: Transaction commit
- [ INFO ] Stage: Closing up
- [ INFO ] Creating VM
- You can now connect to the VM with the following command:
- /bin/remote-viewer vnc://localhost:5900
- Use temporary password "xXxXxXxX" to connect to vnc console.
- Please note that in order to use remote-viewer you need to be able to run graphical applications.
- This means that if you are using ssh you have to supply the -Y flag (enables trusted X11 forwarding).
- Otherwise you can run the command from a terminal in your preferred desktop environment.
- 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:
- socat UNIX-CONNECT:/var/run/ovirt-vmconsole-console/23e15334-1823-4548-842a-11a4a6a28ec6.sock,user=ovirt-vmconsole STDIO,raw,echo=0,escape=1
- Please ensure that your Guest OS is properly configured to support serial console according to your distro documentation.
- Follow http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way for more info.
- If you need to reboot the VM you will need to start it manually using the command:
- hosted-engine --vm-start
- You can then set a temporary password using the command:
- hosted-engine --add-console-password
- [ INFO ] Running engine-setup on the appliance
- |- [ INFO ] Stage: Initializing
- |- [ INFO ] Stage: Environment setup
- |- 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']
- |- Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20151218172733-2ukq1t.log
- |- Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
- |- [ INFO ] Stage: Environment packages setup
- |- [ INFO ] Stage: Programs detection
- |- [ INFO ] Stage: Environment setup
- |- [ INFO ] Stage: Environment customization
- |-
- |- --== PRODUCT OPTIONS ==--
- |-
- |-
- |- --== PACKAGES ==--
- |-
- |-
- |- --== ALL IN ONE CONFIGURATION ==--
- |-
- |-
- |- --== NETWORK CONFIGURATION ==--
- |-
- |- [ INFO ] firewalld will be configured as firewall manager.
- |-
- |- --== DATABASE CONFIGURATION ==--
- |-
- |-
- |- --== OVIRT ENGINE CONFIGURATION ==--
- |-
- |-
- |- --== STORAGE CONFIGURATION ==--
- |-
- |-
- |- --== PKI CONFIGURATION ==--
- |-
- |-
- |- --== APACHE CONFIGURATION ==--
- |-
- |-
- |- --== SYSTEM CONFIGURATION ==--
- |-
- |-
- |- --== MISC CONFIGURATION ==--
- |-
- |-
- |- --== END OF CONFIGURATION ==--
- |-
- |- [ INFO ] Stage: Setup validation
- |- [WARNING] Less than 16384MB of memory is available
- |-
- |- --== CONFIGURATION PREVIEW ==--
- |-
- |- Application mode : virt
- |- Default SAN wipe after delete : False
- |- Firewall manager : firewalld
- |- Update Firewall : True
- |- Host FQDN : ovirt-engine-01.nec-labs.com
- |- Engine database secured connection : False
- |- Engine database host : localhost
- |- Engine database user name : engine
- |- Engine database name : engine
- |- Engine database port : 5432
- |- Engine database host name validation : False
- |- Engine installation : True
- |- PKI organization : nec-labs.com
- |- Configure local Engine database : True
- |- Set application as default page : True
- |- Configure Apache SSL : True
- |- Configure VMConsole Proxy : True
- |- Engine Host FQDN : ovirt-engine-01.nec-labs.com
- |- [ INFO ] Stopping ovirt-fence-kdump-listener service
- |- [ INFO ] Stopping websocket-proxy service
- |- [ INFO ] Stage: Misc configuration
- |- [ INFO ] Stage: Package installation
- |- [ INFO ] Stage: Misc configuration
- |- [ INFO ] Initializing PostgreSQL
- |- [ INFO ] Creating PostgreSQL 'engine' database
- |- [ INFO ] Configuring PostgreSQL
- |- [ INFO ] Creating/refreshing Engine database schema
- |- [ INFO ] Creating/refreshing Engine 'internal' domain database schema
- |- [ INFO ] Upgrading CA
- |- [ INFO ] Creating CA
- |- [ INFO ] Setting up ovirt-vmconsole proxy helper PKI artifacts
- |- [ INFO ] Setting up ovirt-vmconsole SSH PKI artifacts
- |- [ INFO ] Configuring WebSocket Proxy
- |- [ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
- |- [ INFO ] Stage: Transaction commit
- |- [ INFO ] Stage: Closing up
- |-
- |- --== SUMMARY ==--
- |-
- |- [WARNING] Less than 16384MB of memory is available
- |- SSH fingerprint: 14:21:6f:d3:a8:11:1b:9f:72:43:b6:6c:f6:81:68:89
- |- Internal CA 37:D1:D8:46:EC:19:82:9E:61:B2:A6:3E:D9:20:B3:CA:C9:96:C8:CA
- |- Note! If you want to gather statistical information you can install Reports and/or DWH:
- |- http://www.ovirt.org/Ovirt_DWH
- |- http://www.ovirt.org/Ovirt_Reports
- |- Web access is enabled at:
- |- http://ovirt-engine-01.nec-labs.com:80/ovirt-engine
- |- https://ovirt-engine-01.nec-labs.com:443/ovirt-engine
- |- Please use the user 'admin@internal' and password specified in order to login
- |-
- |- --== END OF SUMMARY ==--
- |-
- |- [ INFO ] Starting engine service
- |- [ INFO ] Restarting httpd
- |- [ INFO ] Restarting ovirt-vmconsole proxy service
- |- [ INFO ] Stage: Clean up
- |- Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20151218172733-2ukq1t.log
- |- [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20151218173457-setup.conf'
- |- [ INFO ] Stage: Pre-termination
- |- [ INFO ] Stage: Termination
- |- [ INFO ] Execution of setup completed successfully
- |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
- [ INFO ] Engine-setup successfully completed
- [ INFO ] Engine is still unreachable
- [ INFO ] Engine is still not reachable, waiting...
- [ INFO ] Engine replied: DB Up!Welcome to Health Status!
- [ INFO ] Acquiring internal CA cert from the engine
- [ INFO ] The following CA certificate is going to be used, please immediately interrupt if not correct:
- [ 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
- [ INFO ] Connecting to the Engine
- [ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...
- [ INFO ] Still waiting for VDSM host to become operational...
- [ INFO ] The VDSM Host is now operational
- [ INFO ] Saving hosted-engine configuration on the shared storage domain
- [ INFO ] Shutting down the engine VM
- [ INFO ] Enabling and starting HA services
- [ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'ovirt-ha-agent'
- [ INFO ] Stage: Clean up
- [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'
- [ INFO ] Stage: Pre-termination
- [ INFO ] Stage: Termination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement