[ovirt-users] oVirt Engine redundant ?

Nico gluster at distran.org
Tue Oct 13 07:58:49 UTC 2015


 

Here the log error during VM creaation: 

2015-10-13 09:37:06 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:937
execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stderr:


2015-10-13 09:37:06 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm mixins._create_vm:162
Command '/bin/vdsClient' failed to execute
2015-10-13 09:37:07 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.executeRaw:824
execute: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'],
executable='None',
cwd='None', env=None
2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.executeRaw:874
execute-result: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'], rc=16
2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:932
execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stdout:
Unexpected exception 

2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:937
execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stderr:


2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm mixins._create_vm:162
Command '/bin/vdsClient' failed to execute
2015-10-13 09:37:09 DEBUG otopi.context context._executeMethod:152
method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/vm/runvm.py",
line 146, in _boot_from_install_media
self._create_vm()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/mixins.py",
line 167, in _create_vm
'Cannot set temporary password for console connection.\n'
RuntimeError: Cannot set temporary password for console connection.
The VM may not have been created: please check VDSM logs
2015-10-13 09:37:09 ERROR otopi.context context._executeMethod:161
Failed to execute stage 'Closing up': Cannot set temporary password for
console connection.
The VM may not have been created: please check VDSM logs 

Any clue is welcome. 

Le 2015-10-13 09:39, Nico a écrit : 

> Le 2015-10-13 09:27, Simone Tiraboschi a écrit : 
> 
> I don't understand what is it expecting for the PATH ? i've no idea what INSTALLATION MEDIA is about. 
> 
> Could you please give me a clue ? 
> 
> You choose to create your new engine VM booting from a CDRom image so you have to specify the path of that ISO image (a supported RHEL, Centos or Fedora release) on your system.

 Ok i was expecting the installation to install itself the VM but now i
understand that i have to choose the OS of the VM. 

Finally, i put a Centos7 like my current nodes. 

it failed now about the passwd of the VM: 

[WARNING] Host name devnix-virt-master02 has no domain suffix
[WARNING] Failed to resolve devnix-virt-master02 using DNS, it can be
resolved only locally 

--== CONFIGURATION PREVIEW ==-- 

Engine FQDN : engine.distran.org
Bridge name : ovirtmgmt
SSH daemon port : 22
Gateway address : 176.31.117.254
Host name for web application : hosted_engine_1
Host ID : 1
Image alias : hosted_engine
Image size GB : 25
Storage connection : ovirt01:/share_nfs
Console type : vnc
Memory size MB : 4096
MAC address : 00:16:3e:5e:2a:85
Boot type : cdrom
Number of CPUs : 2
ISO image (for cdrom boot) :
/mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/images/11111111-1111-1111-1111-111111111111/CentOS-7-x86_64-DVD-1503-01.iso
CPU Type : model_Nehalem 

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 ] Creating Storage Domain
[ INFO ] Creating Storage Pool
[ INFO ] Connecting Storage Pool
[ INFO ] Verifying sanlock lockspace initialization
[ INFO ] Creating VM Image
[ INFO ] Disconnecting Storage Pool
[ INFO ] Start monitoring domain
[ INFO ] Configuring VM
[ INFO ] Updating hosted-engine configuration
[ INFO ] Stage: Transaction commit
[ INFO ] Stage: Closing up 

The following network ports should be opened:
tcp:5900
tcp:5901
udp:5900
udp:5901
An example of the required configuration for iptables can be found at:
/etc/ovirt-hosted-engine/iptables.example
In order to configure firewalld, copy the files from
/etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services
and execute the following commands:
firewall-cmd -service hosted-console
[ INFO ] Creating VM
[ ERROR ] Failed to execute stage 'Closing up': Cannot set temporary
password for console connection. The VM may not have been created:
please check VDSM logs
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013093712.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination 

what can i do ? 

thanks 

regards 

Nico 

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [1] 

 

Links:
------
[1] http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151013/be2313af/attachment-0001.html>


More information about the Users mailing list