[ovirt-users] OVirt hosted engine setup dnf config

2020-08-18 Thread Raphael Höser
Hi all,

I'm currently installing OVirt 4.4 on CentOS 8 in an hosted engine setup and it 
fails during ovirt-hosted-engine-setup.

Because of our corporate proxy, some changes to the dnf.conf is needed (namely 
proxy_auth_method=basic) and the config is working fine when running dnf 
commands the normal way.
Proxy configuration is provided via http_proxy, https_proxy and ftp_proxy env 
vars.

The setup fails during a DNF call with status code 407 (proxy auth required).
Is there another way to provide that config or any other way to resolve this? 
My googling didn't help me yet.

On the same machine I had a running OVirt 4.3 on CentOS 7 running as a test and 
now wanted to upgrade (after a complete wipe).

Thanks for your help,
Raphael

content of /etc/dnf/dnf.conf:
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=False
proxy_auth_method=basic
timeout=120
minrate=90

Log of ovirt-hosted-engine-setup:
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  During customization use CTRL-D to abort.
  Continuing will configure this host for serving as hypervisor and 
will create a local VM with a running engine.
  The locally running engine will be used to configure a new storage 
domain and create a VM there.
  At the end the disk of the local VM will be moved to the shared 
storage.
  Are you sure you want to continue? (Yes, No)[Yes]:
  Configuration files:
  Log file: 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200818091958-tozsht.log
  Version: otopi-1.9.2 (otopi-1.9.2-1.el8)
[ INFO  ] DNF Downloading 1 files, 0.00KB
[ INFO  ] DNF Downloaded CentOS-8 - AppStream
[ INFO  ] DNF Errors during downloading metadata for repository 'AppStream':
   - Status code: 407 for 
http://mirrorlist.centos.org/?release=8=x86_64=AppStream=$infra 
(IP: 10.201.210.68)
   - Status code: 407 for 
http://mirrorlist.centos.org/?release=8=x86_64=AppStream=$infra 
(IP: 10.201.210.67)
[ ERROR ] DNF Failed to download metadata for repo 'AppStream': Cannot prepare 
internal mirrorlist: Status code: 407 for 
http://mirrorlist.centos.org/?release=8=x86_64=AppStream=$infra 
(IP: 10.201.210.67)
[ ERROR ] Failed to execute stage 'Environment setup': Failed to download 
metadata for repo 'AppStream': Cannot prepare internal mirrorlist: Status code: 
407 for 
http://mirrorlist.centos.org/?release=8=x86_64=AppStream=$infra 
(IP: 10.201.210.67)
[ INFO  ] Stage: Clean up
[Some more cleanup]
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/F2ZZVWCZ5WTSTTRSHGASCYWHXMQ42LJV/


[ovirt-users] Ovirt Hosted Engine Setup

2020-07-19 Thread Vijay Sachdeva via Users
Hi All,

 

I am trying to deploy hosted engine setup, the setup got stuck at below for 
hours:

 

 

Is this is a known bug?

 

Thanks

Vijay Sachdeva

 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P262DKO5PXV7LJIWMM4TMZH6IHKPLFFX/


[ovirt-users] oVirt hosted-engine-setup issues with getting host facts

2018-05-24 Thread Mariusz Kozakowski
Hello,

We've been trying to setup oVirt environment for few days but we have issue 
with hosted-engine-setup (ansible script).
We managed to fix few small things and have them merged upstream but 
unfortunately right now the installation process fails on getting host facts.
It looks like it cannot proceed because it fails when connecting to 
ovirt-engine API of the bootstrap VM.

The oVirt API / webpanel is working, I tested it via a browser and I can login 
without issues using the admin password chosen earlier in the process.

2018-05-18 15:26:47,800+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils 
ansible_utils._process_output:100 TASK [Wait for the host to be up]
2018-05-18 15:39:14,025+0200 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
{u'_ansible_parsed': True, u'_ansible_no_log': False, u'changed': False, 
u'attempts': 120, u'invocation': {u'module_args': {
u'pattern': u'name=host01.redacted', u'fetch_nested': False, 
u'nested_attributes': []}}, u'ansible_facts': {u'ovirt_hosts': []}}
2018-05-18 15:39:14,127+0200 ERROR 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:98 
fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": []}, 
"attempts": 120, "changed": false}


May 18 13:34:34 host01 python: ansible-ovirt_hosts_facts Invoked with 
pattern=name=host01.redacted fetch_nested=False nested_attributes=[] 
auth={'timeout': 0, 'url': 'https://ovirt-dev.redacted/ovirt-engine/api', 
'insecure': True, 'kerberos': False, 'compress': True, 'headers': None, 
'token': 'R--token-redacted', 'ca_file': None}


Do you have idea what/where is issue and how to fix it?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-19 Thread Manuel Luis Aznar
Hello there,

Simone it seems that with these three command before running "hosted-engine
--deploy"

   vdsm-tool configure --force
   systemcl restart libvirtd
   systemcl restart vdsmd

It is working and there is no fail.

Thanks for all in advance,
Manuel Luis Aznar

2017-05-15 17:55 GMT+01:00 Manuel Luis Aznar :

> Hello there,
>
> Attached to this message you have the /etc/libvirt/qemu.conf file.
>
> I will retry the installation and before launching it, I will run those
> three comands.
>
> Thanks for all in advance
> If you find something or need something ask without any problem
>
> 2017-05-15 17:54 GMT+01:00 Manuel Luis Aznar 
> :
>
>> Hello there,
>>
>> Attached to this message you have the /etc/libvirt/qemu.conf file.
>>
>> I will retry the installation and before launching it, I will run those
>> three comands.
>>
>> Thanks for all in advance
>> If you find something or need something ask without any problem
>> Manuel
>>
>> 2017-05-12 17:21 GMT+01:00 Simone Tiraboschi :
>>
>>>
>>>
>>> On Fri, May 12, 2017 at 1:31 PM, Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com> wrote:
>>>
 Hello there,

 Sorry for the late response, but I haven been busy doing job things...

 I was looking at the email of Yaniv and here are the results from my
 broken installation:

  Permission on /dev/kvm and /dev/random:

 [root@host1 audit]# ls -Z /dev/kvm
  crw-rw-rw-. root kvm system_u:object_r:kvm_device_t:s0
 /dev/kvm
 [root@host1 audit]# ls -Z /dev/random
  crw-rw-rw-. root root system_u:object_r:random_device_t:s0
 /dev/random

  Finally about SELinux settings:

 [root@host1 audit]# ls -la /var/log/audit/audit.log
 -rw---. 1 root root 575333 may 12 12:18
 /var/log/audit/audit.log

 [root@host1 audit]# ls -Z /var/log/audit/audit.log
 -rw---. root root system_u:object_r:auditd_log_t:s0
 /var/log/audit/audit.log

 I have attached to the mail the full log audit file
 (/var/log/audit/audit.log)

 Again I am sorry about the delay.

 Any answer would be very appreciated,

>>>
>>> OK, it fails here:
>>>
>>> type=VIRT_CONTROL msg=audit(1493635665.036:776): pid=21993 uid=0
>>> auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023
>>> msg='virt=kvm op=start reason=booted vm="HostedEngine"
>>> uuid=92faf919-b7b1-42dc-a70c-15c6eb32ba2f vm-pid=-1
>>> exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=failed'
>>>
>>> Can you please share your /etc/libvirt/qemu.conf ?
>>>
>>> Maybe you can also try running:
>>>vdsm-tool configure --force
>>>systemcl restart libvirtd
>>>systemcl restart vdsmd
>>> and try again
>>>
>>>
>>>
 Manuel

 2017-05-07 7:46 GMT+01:00 Yaniv Kaul :

>
>
> On Thu, May 4, 2017 at 8:45 PM, Manuel Luis Aznar <
> manuel.luis.az...@gmail.com> wrote:
>
>> Hello there,
>>
>> Sorry for the delay to answer the mail, but, I have been busy doing
>> things...
>>
>> The permission on /dev/random are the following:
>>
>> [root@host1 manuel]# ls -la /dev/random
>> crw-rw-rw-. 1 root root 1, 8 may  4 18:06 /dev/random
>>
>> Suppose that these permission should look something like:
>>
>> [root@host1 manuel]# ls -la /dev/random
>> crw-rw-rw-. 1 vdsm kvm 1, 8 may  4 18:06 /dev/random
>>
>> Finally I do not know what you meant with permission on SELinux audit
>> logs?¿? Sorry for my lack of understanding, so, please let me know much
>> more precisely and I will look for it
>>
>
> You can get the selinux settings of a file with ls -Z . For example:
> [ykaul@ykaul ovirt-system-tests]$ ls -Z /dev/kvm
> system_u:object_r:kvm_device_t:s0 /dev/kv
>
> Also, you can search for selinux issues either in /var/log/audit or
> using ausearch. For example:
> sudo ausearch -m AVC -i
>
> Y.
>
>>
>>
>> Thanks for all in advance
>> I will be waiting for you
>> Manuel Luis Aznar
>>
>> 2017-05-03 15:09 GMT+01:00 Simone Tiraboschi :
>>
>>>
>>>
>>> On Wed, May 3, 2017 at 11:30 AM, Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com> wrote:
>>>
 Hello Simone and all others,

 I have attached to the mail the requested files. If you have any
 other inquiry just say it, The failed installation drive would be keep 
 safe
 until solving this problem.

 Thanks for all in advance
 Manuel

>>>
>>> The issue is here:
>>> May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package:
>>> 10.el7_3.5 (CentOS BuildSystem ,
>>> 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-12 Thread Simone Tiraboschi
On Fri, May 12, 2017 at 1:31 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there,
>
> Sorry for the late response, but I haven been busy doing job things...
>
> I was looking at the email of Yaniv and here are the results from my
> broken installation:
>
>  Permission on /dev/kvm and /dev/random:
>
> [root@host1 audit]# ls -Z /dev/kvm
>  crw-rw-rw-. root kvm system_u:object_r:kvm_device_t:s0
> /dev/kvm
> [root@host1 audit]# ls -Z /dev/random
>  crw-rw-rw-. root root system_u:object_r:random_device_t:s0
> /dev/random
>
>  Finally about SELinux settings:
>
> [root@host1 audit]# ls -la /var/log/audit/audit.log
> -rw---. 1 root root 575333 may 12 12:18
> /var/log/audit/audit.log
>
> [root@host1 audit]# ls -Z /var/log/audit/audit.log
> -rw---. root root system_u:object_r:auditd_log_t:s0
> /var/log/audit/audit.log
>
> I have attached to the mail the full log audit file
> (/var/log/audit/audit.log)
>
> Again I am sorry about the delay.
>
> Any answer would be very appreciated,
>

OK, it fails here:

type=VIRT_CONTROL msg=audit(1493635665.036:776): pid=21993 uid=0
auid=4294967295 ses=4294967295
subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start
reason=booted vm="HostedEngine" uuid=92faf919-b7b1-42dc-a70c-15c6eb32ba2f
vm-pid=-1 exe="/usr/sbin/libvirtd" hostname=? addr=? terminal=? res=failed'

Can you please share your /etc/libvirt/qemu.conf ?

Maybe you can also try running:
   vdsm-tool configure --force
   systemcl restart libvirtd
   systemcl restart vdsmd
and try again


> Manuel
>
> 2017-05-07 7:46 GMT+01:00 Yaniv Kaul :
>
>>
>>
>> On Thu, May 4, 2017 at 8:45 PM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello there,
>>>
>>> Sorry for the delay to answer the mail, but, I have been busy doing
>>> things...
>>>
>>> The permission on /dev/random are the following:
>>>
>>> [root@host1 manuel]# ls -la /dev/random
>>> crw-rw-rw-. 1 root root 1, 8 may  4 18:06 /dev/random
>>>
>>> Suppose that these permission should look something like:
>>>
>>> [root@host1 manuel]# ls -la /dev/random
>>> crw-rw-rw-. 1 vdsm kvm 1, 8 may  4 18:06 /dev/random
>>>
>>> Finally I do not know what you meant with permission on SELinux audit
>>> logs?¿? Sorry for my lack of understanding, so, please let me know much
>>> more precisely and I will look for it
>>>
>>
>> You can get the selinux settings of a file with ls -Z . For example:
>> [ykaul@ykaul ovirt-system-tests]$ ls -Z /dev/kvm
>> system_u:object_r:kvm_device_t:s0 /dev/kv
>>
>> Also, you can search for selinux issues either in /var/log/audit or using
>> ausearch. For example:
>> sudo ausearch -m AVC -i
>>
>> Y.
>>
>>>
>>>
>>> Thanks for all in advance
>>> I will be waiting for you
>>> Manuel Luis Aznar
>>>
>>> 2017-05-03 15:09 GMT+01:00 Simone Tiraboschi :
>>>


 On Wed, May 3, 2017 at 11:30 AM, Manuel Luis Aznar <
 manuel.luis.az...@gmail.com> wrote:

> Hello Simone and all others,
>
> I have attached to the mail the requested files. If you have any other
> inquiry just say it, The failed installation drive would be keep safe 
> until
> solving this problem.
>
> Thanks for all in advance
> Manuel
>

 The issue is here:
 May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package:
 10.el7_3.5 (CentOS BuildSystem ,
 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
 May  1 11:47:45 host1 journal: hostname: host1.bajada.es
 May  1 11:47:45 host1 journal: Falló al conectar con el socket de
 monitor: No existe el proceso
 May  1 11:47:45 host1 journal: internal error: process exited while
 connecting to monitor: /dev/random -device 
 virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
 -msg timestamp=on#012Could not access KVM kernel module: Permission
 denied#012failed to initialize KVM: Permission denied
 May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package:
 10.el7_3.5 (CentOS BuildSystem ,
 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
 May  1 11:47:45 host1 journal: hostname: host1.bajada.es
 May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
 entrada/salida
 May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
 entrada/salida

 could you please also check the permission on /dev/random and SELinux
 audit logs?



>
> 2017-05-02 10:55 GMT+01:00 Simone Tiraboschi :
>
>> Sure, but first we need to understand what it's happening: in our CI
>> process everything is fine so I think it's something specific to your 
>> env.
>> Could you please share your:
>> /var/log/libvirt/qemu/HostedEngine.log
>> /var/log/messages
>>
>> thanks,
>> Simone
>>
>>
>> On 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-07 Thread Yaniv Kaul
On Thu, May 4, 2017 at 8:45 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there,
>
> Sorry for the delay to answer the mail, but, I have been busy doing
> things...
>
> The permission on /dev/random are the following:
>
> [root@host1 manuel]# ls -la /dev/random
> crw-rw-rw-. 1 root root 1, 8 may  4 18:06 /dev/random
>
> Suppose that these permission should look something like:
>
> [root@host1 manuel]# ls -la /dev/random
> crw-rw-rw-. 1 vdsm kvm 1, 8 may  4 18:06 /dev/random
>
> Finally I do not know what you meant with permission on SELinux audit
> logs?¿? Sorry for my lack of understanding, so, please let me know much
> more precisely and I will look for it
>

You can get the selinux settings of a file with ls -Z . For example:
[ykaul@ykaul ovirt-system-tests]$ ls -Z /dev/kvm
system_u:object_r:kvm_device_t:s0 /dev/kv

Also, you can search for selinux issues either in /var/log/audit or using
ausearch. For example:
sudo ausearch -m AVC -i

Y.

>
>
> Thanks for all in advance
> I will be waiting for you
> Manuel Luis Aznar
>
> 2017-05-03 15:09 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Wed, May 3, 2017 at 11:30 AM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello Simone and all others,
>>>
>>> I have attached to the mail the requested files. If you have any other
>>> inquiry just say it, The failed installation drive would be keep safe until
>>> solving this problem.
>>>
>>> Thanks for all in advance
>>> Manuel
>>>
>>
>> The issue is here:
>> May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package:
>> 10.el7_3.5 (CentOS BuildSystem ,
>> 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
>> May  1 11:47:45 host1 journal: hostname: host1.bajada.es
>> May  1 11:47:45 host1 journal: Falló al conectar con el socket de
>> monitor: No existe el proceso
>> May  1 11:47:45 host1 journal: internal error: process exited while
>> connecting to monitor: /dev/random -device 
>> virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
>> -msg timestamp=on#012Could not access KVM kernel module: Permission
>> denied#012failed to initialize KVM: Permission denied
>> May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package:
>> 10.el7_3.5 (CentOS BuildSystem ,
>> 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
>> May  1 11:47:45 host1 journal: hostname: host1.bajada.es
>> May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
>> entrada/salida
>> May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
>> entrada/salida
>>
>> could you please also check the permission on /dev/random and SELinux
>> audit logs?
>>
>>
>>
>>>
>>> 2017-05-02 10:55 GMT+01:00 Simone Tiraboschi :
>>>
 Sure, but first we need to understand what it's happening: in our CI
 process everything is fine so I think it's something specific to your env.
 Could you please share your:
 /var/log/libvirt/qemu/HostedEngine.log
 /var/log/messages

 thanks,
 Simone


 On Tue, May 2, 2017 at 11:38 AM, Manuel Luis Aznar <
 manuel.luis.az...@gmail.com> wrote:

> Ok thankyou.
>
> Suppose that this problem probably would be solve in a future release.
>
> Thanks,
> Manuel
>
> 2017-05-02 10:35 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Tue, May 2, 2017 at 11:30 AM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello there again,
>>>
>>> Yes as I say, I have done several clean installations and the VM
>>> engine sometimes starts without any problem. So Simone any 
>>> recommendation
>>> to make the engine VM starts properly?¿
>>>
>>> While is installing the HA agent and HA broker are down, would I get
>>> good result by starting the services myself?¿
>>>
>>> Any help from Simone or somebody would be appreciated
>>> Thanks for all in advance
>>> Manuel Luis Aznar
>>>
>>
>> I suggest to check libvirt logs.
>>
>>
>>>
>>> 2017-05-02 7:54 GMT+01:00 Simone Tiraboschi :
>>>


 On Mon, May 1, 2017 at 3:14 PM, Manuel Luis Aznar <
 manuel.luis.az...@gmail.com> wrote:

> Hello there,
>
> I have been looking in the internet using google why my
> installation of ovirt-hosted-engine is failing.
>
> I have found this link:
>
>  https://www.mail-archive.com/users@ovirt.org/msg40864.html
> (Hosted engine install failed; vdsm upset about broker)
>
> It seems to be the same error...
>
> So to knarra and Jamie Lawrence my question is:
>
> Did you manage to discover the problem?? In my instalation I
> am using nfs and not gluster...
>
> I have read the error and is the same error
> 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-04 Thread Manuel Luis Aznar
Hello there,

Sorry for the delay to answer the mail, but, I have been busy doing
things...

The permission on /dev/random are the following:

[root@host1 manuel]# ls -la /dev/random
crw-rw-rw-. 1 root root 1, 8 may  4 18:06 /dev/random

Suppose that these permission should look something like:

[root@host1 manuel]# ls -la /dev/random
crw-rw-rw-. 1 vdsm kvm 1, 8 may  4 18:06 /dev/random

Finally I do not know what you meant with permission on SELinux audit
logs?¿? Sorry for my lack of understanding, so, please let me know much
more precisely and I will look for it


Thanks for all in advance
I will be waiting for you
Manuel Luis Aznar

2017-05-03 15:09 GMT+01:00 Simone Tiraboschi :

>
>
> On Wed, May 3, 2017 at 11:30 AM, Manuel Luis Aznar <
> manuel.luis.az...@gmail.com> wrote:
>
>> Hello Simone and all others,
>>
>> I have attached to the mail the requested files. If you have any other
>> inquiry just say it, The failed installation drive would be keep safe until
>> solving this problem.
>>
>> Thanks for all in advance
>> Manuel
>>
>
> The issue is here:
> May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package: 10.el7_3.5
> (CentOS BuildSystem , 2017-03-03-02:09:45,
> c1bm.rdu2.centos.org)
> May  1 11:47:45 host1 journal: hostname: host1.bajada.es
> May  1 11:47:45 host1 journal: Falló al conectar con el socket de monitor:
> No existe el proceso
> May  1 11:47:45 host1 journal: internal error: process exited while
> connecting to monitor: /dev/random -device 
> virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
> -msg timestamp=on#012Could not access KVM kernel module: Permission
> denied#012failed to initialize KVM: Permission denied
> May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package: 10.el7_3.5
> (CentOS BuildSystem , 2017-03-03-02:09:45,
> c1bm.rdu2.centos.org)
> May  1 11:47:45 host1 journal: hostname: host1.bajada.es
> May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
> entrada/salida
> May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
> entrada/salida
>
> could you please also check the permission on /dev/random and SELinux
> audit logs?
>
>
>
>>
>> 2017-05-02 10:55 GMT+01:00 Simone Tiraboschi :
>>
>>> Sure, but first we need to understand what it's happening: in our CI
>>> process everything is fine so I think it's something specific to your env.
>>> Could you please share your:
>>> /var/log/libvirt/qemu/HostedEngine.log
>>> /var/log/messages
>>>
>>> thanks,
>>> Simone
>>>
>>>
>>> On Tue, May 2, 2017 at 11:38 AM, Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com> wrote:
>>>
 Ok thankyou.

 Suppose that this problem probably would be solve in a future release.

 Thanks,
 Manuel

 2017-05-02 10:35 GMT+01:00 Simone Tiraboschi :

>
>
> On Tue, May 2, 2017 at 11:30 AM, Manuel Luis Aznar <
> manuel.luis.az...@gmail.com> wrote:
>
>> Hello there again,
>>
>> Yes as I say, I have done several clean installations and the VM
>> engine sometimes starts without any problem. So Simone any recommendation
>> to make the engine VM starts properly?¿
>>
>> While is installing the HA agent and HA broker are down, would I get
>> good result by starting the services myself?¿
>>
>> Any help from Simone or somebody would be appreciated
>> Thanks for all in advance
>> Manuel Luis Aznar
>>
>
> I suggest to check libvirt logs.
>
>
>>
>> 2017-05-02 7:54 GMT+01:00 Simone Tiraboschi :
>>
>>>
>>>
>>> On Mon, May 1, 2017 at 3:14 PM, Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com> wrote:
>>>
 Hello there,

 I have been looking in the internet using google why my
 installation of ovirt-hosted-engine is failing.

 I have found this link:

  https://www.mail-archive.com/users@ovirt.org/msg40864.html
 (Hosted engine install failed; vdsm upset about broker)

 It seems to be the same error...

 So to knarra and Jamie Lawrence my question is:

 Did you manage to discover the problem?? In my instalation I am
 using nfs and not gluster...

 I have read the error and is the same error "BrokerConnectionError:
 ...". The ovirt-ha-agent and ovirt-ha-broker did not start when the
 installation is creating the engine VM...

>>>
>>> This is just a false positive: the HA agent and the HA broker are
>>> still down so vdsm is complaining but at that point it's absolutely 
>>> fine by
>>> itself since the engine VM still doesn't exists.
>>> We already have an open bug to reduce the impact of that message.
>>>
>>> The real issue is that for some reason the engine VM could not start
>>> on 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-03 Thread Simone Tiraboschi
On Wed, May 3, 2017 at 11:30 AM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello Simone and all others,
>
> I have attached to the mail the requested files. If you have any other
> inquiry just say it, The failed installation drive would be keep safe until
> solving this problem.
>
> Thanks for all in advance
> Manuel
>

The issue is here:
May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package: 10.el7_3.5
(CentOS BuildSystem , 2017-03-03-02:09:45,
c1bm.rdu2.centos.org)
May  1 11:47:45 host1 journal: hostname: host1.bajada.es
May  1 11:47:45 host1 journal: Falló al conectar con el socket de monitor:
No existe el proceso
May  1 11:47:45 host1 journal: internal error: process exited while
connecting to monitor: /dev/random -device
virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 -msg
timestamp=on#012Could not access KVM kernel module: Permission
denied#012failed to initialize KVM: Permission denied
May  1 11:47:45 host1 journal: libvirt version: 2.0.0, package: 10.el7_3.5
(CentOS BuildSystem , 2017-03-03-02:09:45,
c1bm.rdu2.centos.org)
May  1 11:47:45 host1 journal: hostname: host1.bajada.es
May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
entrada/salida
May  1 11:47:45 host1 journal: Fin de archivo al leer datos: Error de
entrada/salida

could you please also check the permission on /dev/random and SELinux audit
logs?



>
> 2017-05-02 10:55 GMT+01:00 Simone Tiraboschi :
>
>> Sure, but first we need to understand what it's happening: in our CI
>> process everything is fine so I think it's something specific to your env.
>> Could you please share your:
>> /var/log/libvirt/qemu/HostedEngine.log
>> /var/log/messages
>>
>> thanks,
>> Simone
>>
>>
>> On Tue, May 2, 2017 at 11:38 AM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Ok thankyou.
>>>
>>> Suppose that this problem probably would be solve in a future release.
>>>
>>> Thanks,
>>> Manuel
>>>
>>> 2017-05-02 10:35 GMT+01:00 Simone Tiraboschi :
>>>


 On Tue, May 2, 2017 at 11:30 AM, Manuel Luis Aznar <
 manuel.luis.az...@gmail.com> wrote:

> Hello there again,
>
> Yes as I say, I have done several clean installations and the VM
> engine sometimes starts without any problem. So Simone any recommendation
> to make the engine VM starts properly?¿
>
> While is installing the HA agent and HA broker are down, would I get
> good result by starting the services myself?¿
>
> Any help from Simone or somebody would be appreciated
> Thanks for all in advance
> Manuel Luis Aznar
>

 I suggest to check libvirt logs.


>
> 2017-05-02 7:54 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Mon, May 1, 2017 at 3:14 PM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello there,
>>>
>>> I have been looking in the internet using google why my installation
>>> of ovirt-hosted-engine is failing.
>>>
>>> I have found this link:
>>>
>>>  https://www.mail-archive.com/users@ovirt.org/msg40864.html
>>> (Hosted engine install failed; vdsm upset about broker)
>>>
>>> It seems to be the same error...
>>>
>>> So to knarra and Jamie Lawrence my question is:
>>>
>>> Did you manage to discover the problem?? In my instalation I am
>>> using nfs and not gluster...
>>>
>>> I have read the error and is the same error "BrokerConnectionError:
>>> ...". The ovirt-ha-agent and ovirt-ha-broker did not start when the
>>> installation is creating the engine VM...
>>>
>>
>> This is just a false positive: the HA agent and the HA broker are
>> still down so vdsm is complaining but at that point it's absolutely fine 
>> by
>> itself since the engine VM still doesn't exists.
>> We already have an open bug to reduce the impact of that message.
>>
>> The real issue is that for some reason the engine VM could not start
>> on your system.
>>
>>
>>>
>>> As I have said before any help would be very appreciated...no matter
>>> whom will give it
>>> Thanks for all in advance
>>> Manuel Luis Aznar
>>>
>>>
>>>
>>> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com>:
>>>
 Hello Simone and all the comunity,

 I have been doing the instalation of ovirt hosted engine again and
 it fails, libvirtd and vdsmd services are failing. They are failing 
 with
 the following errors:


 libvirt daemon

   libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service;
 enabled; vendor preset: enabled)
   Drop-In: /etc/systemd/system/libvirtd.service.d
  

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-02 Thread Simone Tiraboschi
On Tue, May 2, 2017 at 11:30 AM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there again,
>
> Yes as I say, I have done several clean installations and the VM engine
> sometimes starts without any problem. So Simone any recommendation to make
> the engine VM starts properly?¿
>
> While is installing the HA agent and HA broker are down, would I get good
> result by starting the services myself?¿
>
> Any help from Simone or somebody would be appreciated
> Thanks for all in advance
> Manuel Luis Aznar
>

I suggest to check libvirt logs.


>
> 2017-05-02 7:54 GMT+01:00 Simone Tiraboschi :
>
>>
>>
>> On Mon, May 1, 2017 at 3:14 PM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello there,
>>>
>>> I have been looking in the internet using google why my installation of
>>> ovirt-hosted-engine is failing.
>>>
>>> I have found this link:
>>>
>>>  https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
>>> engine install failed; vdsm upset about broker)
>>>
>>> It seems to be the same error...
>>>
>>> So to knarra and Jamie Lawrence my question is:
>>>
>>> Did you manage to discover the problem?? In my instalation I am
>>> using nfs and not gluster...
>>>
>>> I have read the error and is the same error "BrokerConnectionError:
>>> ...". The ovirt-ha-agent and ovirt-ha-broker did not start when the
>>> installation is creating the engine VM...
>>>
>>
>> This is just a false positive: the HA agent and the HA broker are still
>> down so vdsm is complaining but at that point it's absolutely fine by
>> itself since the engine VM still doesn't exists.
>> We already have an open bug to reduce the impact of that message.
>>
>> The real issue is that for some reason the engine VM could not start on
>> your system.
>>
>>
>>>
>>> As I have said before any help would be very appreciated...no matter
>>> whom will give it
>>> Thanks for all in advance
>>> Manuel Luis Aznar
>>>
>>>
>>>
>>> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com>:
>>>
 Hello Simone and all the comunity,

 I have been doing the instalation of ovirt hosted engine again and it
 fails, libvirtd and vdsmd services are failing. They are failing with the
 following errors:


 libvirt daemon

   libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
 vendor preset: enabled)
   Drop-In: /etc/systemd/system/libvirtd.service.d
ââunlimited-core.conf
Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min
 ago
  Docs: man:libvirtd(8)
http://libvirt.org
  Main PID: 21993 (libvirtd)
CGroup: /system.slice/libvirtd.service
ââ21993 /usr/sbin/libvirtd --listen

 may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
 daemon...
 may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
 daemon.
 may 01 11:47:45 host1.bajada.es libvirtd[21993]: libvirt version:
 2.0.0, package: 10.el7_3.5 (CentOS BuildSystem ,
 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
 may 01 11:47:45 host1.bajada.es libvirtd[21993]: hostname:
 host1.bajada.es
 may 01 11:47:45 host1.bajada.es libvirtd[21993]: Falló al conectar
 con el socket de monitor: No existe el proceso
 may 01 11:47:45 host1.bajada.es libvirtd[21993]: internal error:
 process exited while connecting to monitor: /dev/random -device
 virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 -msg timestamp=on
  Could not access KVM
 kernel module: Permission denied
  failed to initialize
 KVM: Permission denied

 vdsm daemon

   vdsmd.service - Virtual Desktop Server Manager
Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled;
 vendor preset: enabled)
Active: active (running) since lun 2017-05-01 11:43:51 WEST; 15min
 ago
  Main PID: 22119 (vdsm)
CGroup: /system.slice/vdsmd.service
ââ22119 /usr/bin/python2 /usr/share/vdsm/vdsm
ââ22612 /usr/libexec/ioprocess --read-pipe-fd 68
 --write-pipe-fd 67 --max-threads 10 --max-queued-requests 10
ââ22630 /usr/libexec/ioprocess --read-pipe-fd 76
 --write-pipe-fd 75 --max-threads 10 --max-queued-requests 10
ââ22887 /usr/libexec/ioprocess --read-pipe-fd 44
 --write-pipe-fd 43 --max-threads 10 --max-queued-requests 10
ââ22893 /usr/libexec/ioprocess --read-pipe-fd 52
 --write-pipe-fd 50 --max-threads 10 --max-queued-requests 10

 may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm
 ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to
 connect to broker, the number of errors has exceeded the limit (1)
 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-02 Thread Manuel Luis Aznar
Hello there again,

Yes as I say, I have done several clean installations and the VM engine
sometimes starts without any problem. So Simone any recommendation to make
the engine VM starts properly?¿

While is installing the HA agent and HA broker are down, would I get good
result by starting the services myself?¿

Any help from Simone or somebody would be appreciated
Thanks for all in advance
Manuel Luis Aznar

2017-05-02 7:54 GMT+01:00 Simone Tiraboschi :

>
>
> On Mon, May 1, 2017 at 3:14 PM, Manuel Luis Aznar <
> manuel.luis.az...@gmail.com> wrote:
>
>> Hello there,
>>
>> I have been looking in the internet using google why my installation of
>> ovirt-hosted-engine is failing.
>>
>> I have found this link:
>>
>>  https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
>> engine install failed; vdsm upset about broker)
>>
>> It seems to be the same error...
>>
>> So to knarra and Jamie Lawrence my question is:
>>
>> Did you manage to discover the problem?? In my instalation I am using
>> nfs and not gluster...
>>
>> I have read the error and is the same error "BrokerConnectionError: ...".
>> The ovirt-ha-agent and ovirt-ha-broker did not start when the installation
>> is creating the engine VM...
>>
>
> This is just a false positive: the HA agent and the HA broker are still
> down so vdsm is complaining but at that point it's absolutely fine by
> itself since the engine VM still doesn't exists.
> We already have an open bug to reduce the impact of that message.
>
> The real issue is that for some reason the engine VM could not start on
> your system.
>
>
>>
>> As I have said before any help would be very appreciated...no matter whom
>> will give it
>> Thanks for all in advance
>> Manuel Luis Aznar
>>
>>
>>
>> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar > >:
>>
>>> Hello Simone and all the comunity,
>>>
>>> I have been doing the instalation of ovirt hosted engine again and it
>>> fails, libvirtd and vdsmd services are failing. They are failing with the
>>> following errors:
>>>
>>>
>>> libvirt daemon
>>>
>>>   libvirtd.service - Virtualization daemon
>>>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>>> vendor preset: enabled)
>>>   Drop-In: /etc/systemd/system/libvirtd.service.d
>>>ââunlimited-core.conf
>>>Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min ago
>>>  Docs: man:libvirtd(8)
>>>http://libvirt.org
>>>  Main PID: 21993 (libvirtd)
>>>CGroup: /system.slice/libvirtd.service
>>>ââ21993 /usr/sbin/libvirtd --listen
>>>
>>> may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
>>> daemon...
>>> may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
>>> daemon.
>>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: libvirt version:
>>> 2.0.0, package: 10.el7_3.5 (CentOS BuildSystem ,
>>> 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
>>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: hostname:
>>> host1.bajada.es
>>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: Falló al conectar con
>>> el socket de monitor: No existe el proceso
>>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: internal error:
>>> process exited while connecting to monitor: /dev/random -device
>>> virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 -msg timestamp=on
>>>  Could not access KVM
>>> kernel module: Permission denied
>>>  failed to initialize
>>> KVM: Permission denied
>>>
>>> vdsm daemon
>>>
>>>   vdsmd.service - Virtual Desktop Server Manager
>>>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled;
>>> vendor preset: enabled)
>>>Active: active (running) since lun 2017-05-01 11:43:51 WEST; 15min ago
>>>  Main PID: 22119 (vdsm)
>>>CGroup: /system.slice/vdsmd.service
>>>ââ22119 /usr/bin/python2 /usr/share/vdsm/vdsm
>>>ââ22612 /usr/libexec/ioprocess --read-pipe-fd 68
>>> --write-pipe-fd 67 --max-threads 10 --max-queued-requests 10
>>>ââ22630 /usr/libexec/ioprocess --read-pipe-fd 76
>>> --write-pipe-fd 75 --max-threads 10 --max-queued-requests 10
>>>ââ22887 /usr/libexec/ioprocess --read-pipe-fd 44
>>> --write-pipe-fd 43 --max-threads 10 --max-queued-requests 10
>>>ââ22893 /usr/libexec/ioprocess --read-pipe-fd 52
>>> --write-pipe-fd 50 --max-threads 10 --max-queued-requests 10
>>>
>>> may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm
>>> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to
>>> connect to broker, the number of errors has exceeded the limit (1)
>>> may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm root ERROR failed to
>>> retrieve Hosted Engine HA info
>>>  Traceback (most recent call
>>> last):
>>>File
>>> 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-02 Thread Simone Tiraboschi
On Mon, May 1, 2017 at 3:14 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there,
>
> I have been looking in the internet using google why my installation of
> ovirt-hosted-engine is failing.
>
> I have found this link:
>
>  https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
> engine install failed; vdsm upset about broker)
>
> It seems to be the same error...
>
> So to knarra and Jamie Lawrence my question is:
>
> Did you manage to discover the problem?? In my instalation I am using
> nfs and not gluster...
>
> I have read the error and is the same error "BrokerConnectionError: ...".
> The ovirt-ha-agent and ovirt-ha-broker did not start when the installation
> is creating the engine VM...
>

This is just a false positive: the HA agent and the HA broker are still
down so vdsm is complaining but at that point it's absolutely fine by
itself since the engine VM still doesn't exists.
We already have an open bug to reduce the impact of that message.

The real issue is that for some reason the engine VM could not start on
your system.


>
> As I have said before any help would be very appreciated...no matter whom
> will give it
> Thanks for all in advance
> Manuel Luis Aznar
>
>
>
> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar 
> :
>
>> Hello Simone and all the comunity,
>>
>> I have been doing the instalation of ovirt hosted engine again and it
>> fails, libvirtd and vdsmd services are failing. They are failing with the
>> following errors:
>>
>>
>> libvirt daemon
>>
>>   libvirtd.service - Virtualization daemon
>>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> vendor preset: enabled)
>>   Drop-In: /etc/systemd/system/libvirtd.service.d
>>ââunlimited-core.conf
>>Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min ago
>>  Docs: man:libvirtd(8)
>>http://libvirt.org
>>  Main PID: 21993 (libvirtd)
>>CGroup: /system.slice/libvirtd.service
>>ââ21993 /usr/sbin/libvirtd --listen
>>
>> may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
>> daemon...
>> may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
>> daemon.
>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: libvirt version: 2.0.0,
>> package: 10.el7_3.5 (CentOS BuildSystem ,
>> 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: hostname:
>> host1.bajada.es
>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: Falló al conectar con
>> el socket de monitor: No existe el proceso
>> may 01 11:47:45 host1.bajada.es libvirtd[21993]: internal error: process
>> exited while connecting to monitor: /dev/random -device
>> virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 -msg timestamp=on
>>  Could not access KVM
>> kernel module: Permission denied
>>  failed to initialize
>> KVM: Permission denied
>>
>> vdsm daemon
>>
>>   vdsmd.service - Virtual Desktop Server Manager
>>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled;
>> vendor preset: enabled)
>>Active: active (running) since lun 2017-05-01 11:43:51 WEST; 15min ago
>>  Main PID: 22119 (vdsm)
>>CGroup: /system.slice/vdsmd.service
>>ââ22119 /usr/bin/python2 /usr/share/vdsm/vdsm
>>ââ22612 /usr/libexec/ioprocess --read-pipe-fd 68
>> --write-pipe-fd 67 --max-threads 10 --max-queued-requests 10
>>ââ22630 /usr/libexec/ioprocess --read-pipe-fd 76
>> --write-pipe-fd 75 --max-threads 10 --max-queued-requests 10
>>ââ22887 /usr/libexec/ioprocess --read-pipe-fd 44
>> --write-pipe-fd 43 --max-threads 10 --max-queued-requests 10
>>ââ22893 /usr/libexec/ioprocess --read-pipe-fd 52
>> --write-pipe-fd 50 --max-threads 10 --max-queued-requests 10
>>
>> may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm
>> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to connect
>> to broker, the number of errors has exceeded the limit (1)
>> may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm root ERROR failed to
>> retrieve Hosted Engine HA info
>>  Traceback (most recent call
>> last):
>>File
>> "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231, in
>> _getHaInfo
>>  stats =
>> instance.get_all_stats()
>>File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 102, in get_all_stats
>>  with
>> broker.connection(self._retries, self._wait):
>>File
>> "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
>>  return 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-01 Thread Sahina Bose
On Mon, May 1, 2017 at 9:39 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there Sahina Bose
>
> First of all thanks for your answer...
>
> Yeah it seems there is a problem creating the Hosted Engine VM (I mean the
> VM that will have the ovirt-engine). I have done the installation before
> and sometimes fails and others not...
>
> To the question: Which version on qemu-kvm are you using?
>
> [root@host1 manuel]# yum list | grep qemu-kvm
> qemu-kvm-common-ev.x86_64  10:2.6.0-28.el7_3.9.1
> @ovirt-4.1-snapshot
> qemu-kvm-ev.x86_64 10:2.6.0-28.el7_3.9.1
> @ovirt-4.1-snapshot
> qemu-kvm-ev-debuginfo.x86_64   10:2.6.0-28.el7_3.9.1
> @ovirt-4.1-snapshot
> qemu-kvm-tools-ev.x86_64   10:2.6.0-28.el7_3.9.1
> @ovirt-4.1-snapshot
> qemu-kvm.x86_6410:1.5.3-126.el7_3.6
>  updates
> qemu-kvm-common.x86_64 10:1.5.3-126.el7_3.6
>  updates
> qemu-kvm-tools.x86_64  10:1.5.3-126.el7_3.6
>  updates
>
> It seems I am using version 2.6.0. Do you know which version is fine?¿?
>


qemu version looks to be fine, but adding virt team if they know the cause
of error.

"Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied"


>
> Thanks for all in advance
> I will be waiting for an answer
> Manuel Luis Aznar
>
>
> 2017-05-01 16:07 GMT+01:00 Sahina Bose :
>
>> There's an error creating the HE VM. Which version on qemu-kvm are you
>> using?
>>
>> 2017-05-01 11:47:45,038+0100 ERROR (vm/92faf919) [virt.vm]
>> (vmId='92faf919-b7b1-42dc-a70c-15c6eb32ba2f') The vm start process
>> failed (vm:632)
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/virt/vm.py", line 563, in _startUnderlyingVm
>> self._run()
>>   File "/usr/share/vdsm/virt/vm.py", line 2021, in _run
>> self._connection.createXML(domxml, flags),
>>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
>> line 123, in wrapper
>> ret = f(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
>> wrapper
>> return func(inst, *args, **kwargs)
>>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
>> createXML
>> if ret is None:raise libvirtError('virDomainCreateXML() failed',
>> conn=self)
>> libvirtError: internal error: process exited while connecting to monitor:
>> /dev/random -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
>> -msg timestamp=on
>> Could not access KVM kernel module: Permission denied
>> failed to initialize KVM: Permission denied
>>
>>
>> On Mon, May 1, 2017 at 6:44 PM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello there,
>>>
>>> I have been looking in the internet using google why my installation of
>>> ovirt-hosted-engine is failing.
>>>
>>> I have found this link:
>>>
>>>  https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
>>> engine install failed; vdsm upset about broker)
>>>
>>> It seems to be the same error...
>>>
>>> So to knarra and Jamie Lawrence my question is:
>>>
>>> Did you manage to discover the problem?? In my instalation I am using
>>> nfs and not gluster...
>>>
>>> I have read the error and is the same error "BrokerConnectionError: ...".
>>> The ovirt-ha-agent and ovirt-ha-broker did not start when the
>>> installation
>>> is creating the engine VM...
>>>
>>> As I have said before any help would be very appreciated...no matter whom
>>> will give it
>>> Thanks for all in advance
>>> Manuel Luis Aznar
>>>
>>>
>>>
>>> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com>:
>>>
>>> > Hello Simone and all the comunity,
>>> >
>>> > I have been doing the instalation of ovirt hosted engine again and it
>>> > fails, libvirtd and vdsmd services are failing. They are failing with
>>> the
>>> > following errors:
>>> >
>>> >
>>> > libvirt daemon
>>> >
>>> >   libvirtd.service - Virtualization daemon
>>> >Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>>> > vendor preset: enabled)
>>> >   Drop-In: /etc/systemd/system/libvirtd.service.d
>>> >ââunlimited-core.conf
>>> >Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min
>>> ago
>>> >  Docs: man:libvirtd(8)
>>> >http://libvirt.org
>>> >  Main PID: 21993 (libvirtd)
>>> >CGroup: /system.slice/libvirtd.service
>>> >ââ21993 /usr/sbin/libvirtd --listen
>>> >
>>> > may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
>>> > daemon...
>>> > may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
>>> daemon
>>>
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-01 Thread Manuel Luis Aznar
Hello there Sahina Bose

First of all thanks for your answer...

Yeah it seems there is a problem creating the Hosted Engine VM (I mean the
VM that will have the ovirt-engine). I have done the installation before
and sometimes fails and others not...

To the question: Which version on qemu-kvm are you using?

[root@host1 manuel]# yum list | grep qemu-kvm
qemu-kvm-common-ev.x86_64  10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm-ev.x86_64 10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm-ev-debuginfo.x86_64   10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm-tools-ev.x86_64   10:2.6.0-28.el7_3.9.1
@ovirt-4.1-snapshot
qemu-kvm.x86_6410:1.5.3-126.el7_3.6
 updates
qemu-kvm-common.x86_64 10:1.5.3-126.el7_3.6
 updates
qemu-kvm-tools.x86_64  10:1.5.3-126.el7_3.6
 updates

It seems I am using version 2.6.0. Do you know which version is fine?¿?

Thanks for all in advance
I will be waiting for an answer
Manuel Luis Aznar


2017-05-01 16:07 GMT+01:00 Sahina Bose :

> There's an error creating the HE VM. Which version on qemu-kvm are you
> using?
>
> 2017-05-01 11:47:45,038+0100 ERROR (vm/92faf919) [virt.vm]
> (vmId='92faf919-b7b1-42dc-a70c-15c6eb32ba2f') The vm start process failed
> (vm:632)
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/vm.py", line 563, in _startUnderlyingVm
> self._run()
>   File "/usr/share/vdsm/virt/vm.py", line 2021, in _run
> self._connection.createXML(domxml, flags),
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
> 123, in wrapper
> ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
> wrapper
> return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
> createXML
> if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirtError: internal error: process exited while connecting to monitor:
> /dev/random -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
> -msg timestamp=on
> Could not access KVM kernel module: Permission denied
> failed to initialize KVM: Permission denied
>
>
> On Mon, May 1, 2017 at 6:44 PM, Manuel Luis Aznar <
> manuel.luis.az...@gmail.com> wrote:
>
>> Hello there,
>>
>> I have been looking in the internet using google why my installation of
>> ovirt-hosted-engine is failing.
>>
>> I have found this link:
>>
>>  https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
>> engine install failed; vdsm upset about broker)
>>
>> It seems to be the same error...
>>
>> So to knarra and Jamie Lawrence my question is:
>>
>> Did you manage to discover the problem?? In my instalation I am using
>> nfs and not gluster...
>>
>> I have read the error and is the same error "BrokerConnectionError: ...".
>> The ovirt-ha-agent and ovirt-ha-broker did not start when the installation
>> is creating the engine VM...
>>
>> As I have said before any help would be very appreciated...no matter whom
>> will give it
>> Thanks for all in advance
>> Manuel Luis Aznar
>>
>>
>>
>> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar > >:
>>
>> > Hello Simone and all the comunity,
>> >
>> > I have been doing the instalation of ovirt hosted engine again and it
>> > fails, libvirtd and vdsmd services are failing. They are failing with
>> the
>> > following errors:
>> >
>> >
>> > libvirt daemon
>> >
>> >   libvirtd.service - Virtualization daemon
>> >Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> > vendor preset: enabled)
>> >   Drop-In: /etc/systemd/system/libvirtd.service.d
>> >ââunlimited-core.conf
>> >Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min
>> ago
>> >  Docs: man:libvirtd(8)
>> >http://libvirt.org
>> >  Main PID: 21993 (libvirtd)
>> >CGroup: /system.slice/libvirtd.service
>> >ââ21993 /usr/sbin/libvirtd --listen
>> >
>> > may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
>> > daemon...
>> > may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
>> daemon
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-01 Thread Sahina Bose
There's an error creating the HE VM. Which version on qemu-kvm are you
using?

2017-05-01 11:47:45,038+0100 ERROR (vm/92faf919) [virt.vm]
(vmId='92faf919-b7b1-42dc-a70c-15c6eb32ba2f') The vm start process failed
(vm:632)
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 563, in _startUnderlyingVm
self._run()
  File "/usr/share/vdsm/virt/vm.py", line 2021, in _run
self._connection.createXML(domxml, flags),
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
123, in wrapper
ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
wrapper
return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirtError: internal error: process exited while connecting to monitor:
/dev/random -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7
-msg timestamp=on
Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied


On Mon, May 1, 2017 at 6:44 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there,
>
> I have been looking in the internet using google why my installation of
> ovirt-hosted-engine is failing.
>
> I have found this link:
>
>  https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
> engine install failed; vdsm upset about broker)
>
> It seems to be the same error...
>
> So to knarra and Jamie Lawrence my question is:
>
> Did you manage to discover the problem?? In my instalation I am using
> nfs and not gluster...
>
> I have read the error and is the same error "BrokerConnectionError: ...".
> The ovirt-ha-agent and ovirt-ha-broker did not start when the installation
> is creating the engine VM...
>
> As I have said before any help would be very appreciated...no matter whom
> will give it
> Thanks for all in advance
> Manuel Luis Aznar
>
>
>
> 2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar  >:
>
> > Hello Simone and all the comunity,
> >
> > I have been doing the instalation of ovirt hosted engine again and it
> > fails, libvirtd and vdsmd services are failing. They are failing with the
> > following errors:
> >
> >
> > libvirt daemon
> >
> >   libvirtd.service - Virtualization daemon
> >Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> > vendor preset: enabled)
> >   Drop-In: /etc/systemd/system/libvirtd.service.d
> >ââunlimited-core.conf
> >Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min ago
> >  Docs: man:libvirtd(8)
> >http://libvirt.org
> >  Main PID: 21993 (libvirtd)
> >CGroup: /system.slice/libvirtd.service
> >ââ21993 /usr/sbin/libvirtd --listen
> >
> > may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
> > daemon...
> > may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization
> daemon
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-05-01 Thread Manuel Luis Aznar
Hello there,

I have been looking in the internet using google why my installation of
ovirt-hosted-engine is failing.

I have found this link:

 https://www.mail-archive.com/users@ovirt.org/msg40864.html (Hosted
engine install failed; vdsm upset about broker)

It seems to be the same error...

So to knarra and Jamie Lawrence my question is:

Did you manage to discover the problem?? In my instalation I am using
nfs and not gluster...

I have read the error and is the same error "BrokerConnectionError: ...".
The ovirt-ha-agent and ovirt-ha-broker did not start when the installation
is creating the engine VM...

As I have said before any help would be very appreciated...no matter whom
will give it
Thanks for all in advance
Manuel Luis Aznar



2017-05-01 12:21 GMT+01:00 Manuel Luis Aznar :

> Hello Simone and all the comunity,
>
> I have been doing the instalation of ovirt hosted engine again and it
> fails, libvirtd and vdsmd services are failing. They are failing with the
> following errors:
>
>
> libvirt daemon
>
>   libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>ââunlimited-core.conf
>Active: active (running) since lun 2017-05-01 11:43:49 WEST; 14min ago
>  Docs: man:libvirtd(8)
>http://libvirt.org
>  Main PID: 21993 (libvirtd)
>CGroup: /system.slice/libvirtd.service
>ââ21993 /usr/sbin/libvirtd --listen
>
> may 01 11:43:49 host1.bajada.es systemd[1]: Starting Virtualization
> daemon...
> may 01 11:43:49 host1.bajada.es systemd[1]: Started Virtualization daemon.
> may 01 11:47:45 host1.bajada.es libvirtd[21993]: libvirt version: 2.0.0,
> package: 10.el7_3.5 (CentOS BuildSystem ,
> 2017-03-03-02:09:45, c1bm.rdu2.centos.org)
> may 01 11:47:45 host1.bajada.es libvirtd[21993]: hostname: host1.bajada.es
> may 01 11:47:45 host1.bajada.es libvirtd[21993]: Falló al conectar con
> el socket de monitor: No existe el proceso
> may 01 11:47:45 host1.bajada.es libvirtd[21993]: internal error: process
> exited while connecting to monitor: /dev/random -device
> virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 -msg timestamp=on
>  Could not access KVM
> kernel module: Permission denied
>  failed to initialize KVM:
> Permission denied
>
> vdsm daemon
>
>   vdsmd.service - Virtual Desktop Server Manager
>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
> preset: enabled)
>Active: active (running) since lun 2017-05-01 11:43:51 WEST; 15min ago
>  Main PID: 22119 (vdsm)
>CGroup: /system.slice/vdsmd.service
>ââ22119 /usr/bin/python2 /usr/share/vdsm/vdsm
>ââ22612 /usr/libexec/ioprocess --read-pipe-fd 68
> --write-pipe-fd 67 --max-threads 10 --max-queued-requests 10
>ââ22630 /usr/libexec/ioprocess --read-pipe-fd 76
> --write-pipe-fd 75 --max-threads 10 --max-queued-requests 10
>ââ22887 /usr/libexec/ioprocess --read-pipe-fd 44
> --write-pipe-fd 43 --max-threads 10 --max-queued-requests 10
>ââ22893 /usr/libexec/ioprocess --read-pipe-fd 52
> --write-pipe-fd 50 --max-threads 10 --max-queued-requests 10
>
> may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm
> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to connect
> to broker, the number of errors has exceeded the limit (1)
> may 01 11:58:37 host1.bajada.es vdsm[22119]: vdsm root ERROR failed to
> retrieve Hosted Engine HA info
>  Traceback (most recent call
> last):
>File
> "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231, in
> _getHaInfo
>  stats =
> instance.get_all_stats()
>File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 102, in get_all_stats
>  with
> broker.connection(self._retries, self._wait):
>File 
> "/usr/lib64/python2.7/contextlib.py",
> line 17, in __enter__
>  return self.gen.next()
>File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 99, in connection
>  self.connect(retries,
> wait)
>File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 78, in connect
>  raise
> BrokerConnectionError(error_msg)
>  BrokerConnectionError: 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-15 Thread Manuel Luis Aznar
Hello there again,

Yes that is correct. I interrupted the setup with Ctrl+C. That was because
while I was answering, at the same time, I was looking at this file, and I
saw this:

FAILED: conflicting vdsm and libvirt-qemu tls configuration.
vdsm.conf with ssl=True requires the following changes:
libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
qemu.conf: spice_tls=1.

So I decided to interrupt the installation, because of the error, edit the
files (vdsm.conf and qemu.conf) and then I executed the installation again
and it was successful. It seams that the change of the values in that
files, in my case, produced a successful instalation.

Sorry if my english is hard to understand, now you understand what I did.

Any question, remark just go ahead

Thanks,
Manuel



2017-03-15 11:22 GMT+00:00 Simone Tiraboschi :

>
>
> On Wed, Mar 15, 2017 at 12:17 PM, Manuel Luis Aznar <
> manuel.luis.az...@gmail.com> wrote:
>
>> Hello Simone,
>>
>> The quoted lines on your last message are on lines 1238-1245 on the
>> attached log ovirt-hosted-engine-setup file.
>>
>> That file is the first hosted-engine setup. But this log file is not the
>> result of a host-engine-setup file. I start with the installation and while
>> I was answering the question I was looking to this log file for errors and
>> when I found this errors I stopped and done this:
>>
>> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
>> vdsm.conf with ssl=True requires the following changes:
>> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
>> qemu.conf: spice_tls=1.
>>
>> Previously to this installation I have done several installations without
>> revising this log file and always getting failed installations.
>>
>> Please its important to note that:
>>
>>  The currently setup which we are talking about was using repo 
>> "ovirt-release41-pre.rpm".
>> After correcting that two files I do the installation and in the end it was
>> completed successfully.
>>
>> When I have some time I will try to install again using the realease repo
>> "ovirt-release41.rpm"
>>
>> If you have any explanation, question or remark, please go ahead...
>>
>
> From the attached logs it seams that you voluntary interrupted the setup
> from keyboard here:
> 2017-03-07 11:23:17 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:204 DIALOG:SEND iptables was detected on
> your computer, do you wish setup to configure it? (Yes, No)[Yes]:
> 2017-03-07 12:06:15 DEBUG otopi.context context._executeMethod:142 method
> exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
> _executeMethod
> method['method']()
>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
> plugins/gr-he-setup/network/firewall_manager.py", line 157, in
> _customization
> default=_('Yes'),
>   File "/usr/share/otopi/plugins/otopi/dialog/human.py", line 177, in
> queryString
> value = self._readline(hidden=hidden)
>   File "/usr/lib/python2.7/site-packages/otopi/dialog.py", line 246, in
> _readline
> value = self.__input.readline()
>   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 53, in
> _signal
> raise RuntimeError("SIG%s" % signum)
> RuntimeError: SIG2
>
>
>
>>
>> I will report back.
>> Thanks for all in advance
>> Manuel
>>
>> 2017-03-13 17:29 GMT+00:00 Simone Tiraboschi :
>>
>>>
>>>
>>> On Mon, Mar 13, 2017 at 4:08 PM, Manuel Luis Aznar <
>>> manuel.luis.az...@gmail.com> wrote:
>>>
 Hello to all there again,

 I was having some troubles while installing ovirt Hosted Engine, I took
 some look at the hosted engine setup logs while I was running the
 hosted-engine --deploy and I found the following in the ovirt hosted engine
 setup logs:

 lvm requires configuration
 libvirt is not configured for vdsm yet
 FAILED: conflicting vdsm and libvirt-qemu tls configuration.
 vdsm.conf with ssl=True requires the following changes:
 libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
 qemu.conf: spice_tls=1.


>>> hosted-engine setup is already running vdsm-tool configure --force so it
>>> should configure libvirt and qemu for you, not sure why it failed.
>>> Could you please attach the logs from the failed hosted-engine-setup run?
>>>
>>>
 When I saw this I stopped the setup and edited this two files
 (vdsm.conf and qemu.conf) set the stated configurations and run the deploy
 again. All was fine and I dont have any trouble the installation finished
 successfully. This was using ovirt-release41-pre.rpm repo.

 I will be trying the same installation with ovirt-release41.rpm (when I
 have time) and I will report what happened.

 Thanks for all
 Manuel Luis Aznar



 2017-03-06 1:31 GMT+00:00 Manuel Luis Aznar <
 manuel.luis.az...@gmail.com>:

> Hey there,
>
> I have been loking 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-15 Thread Simone Tiraboschi
On Wed, Mar 15, 2017 at 12:17 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello Simone,
>
> The quoted lines on your last message are on lines 1238-1245 on the
> attached log ovirt-hosted-engine-setup file.
>
> That file is the first hosted-engine setup. But this log file is not the
> result of a host-engine-setup file. I start with the installation and while
> I was answering the question I was looking to this log file for errors and
> when I found this errors I stopped and done this:
>
> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
> vdsm.conf with ssl=True requires the following changes:
> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
> qemu.conf: spice_tls=1.
>
> Previously to this installation I have done several installations without
> revising this log file and always getting failed installations.
>
> Please its important to note that:
>
>  The currently setup which we are talking about was using repo 
> "ovirt-release41-pre.rpm".
> After correcting that two files I do the installation and in the end it was
> completed successfully.
>
> When I have some time I will try to install again using the realease repo "
> ovirt-release41.rpm"
>
> If you have any explanation, question or remark, please go ahead...
>

>From the attached logs it seams that you voluntary interrupted the setup
from keyboard here:
2017-03-07 11:23:17 DEBUG otopi.plugins.otopi.dialog.human
dialog.__logString:204 DIALOG:SEND iptables was detected on
your computer, do you wish setup to configure it? (Yes, No)[Yes]:
2017-03-07 12:06:15 DEBUG otopi.context context._executeMethod:142 method
exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
  File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/network/firewall_manager.py",
line 157, in _customization
default=_('Yes'),
  File "/usr/share/otopi/plugins/otopi/dialog/human.py", line 177, in
queryString
value = self._readline(hidden=hidden)
  File "/usr/lib/python2.7/site-packages/otopi/dialog.py", line 246, in
_readline
value = self.__input.readline()
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 53, in _signal
raise RuntimeError("SIG%s" % signum)
RuntimeError: SIG2



>
> I will report back.
> Thanks for all in advance
> Manuel
>
> 2017-03-13 17:29 GMT+00:00 Simone Tiraboschi :
>
>>
>>
>> On Mon, Mar 13, 2017 at 4:08 PM, Manuel Luis Aznar <
>> manuel.luis.az...@gmail.com> wrote:
>>
>>> Hello to all there again,
>>>
>>> I was having some troubles while installing ovirt Hosted Engine, I took
>>> some look at the hosted engine setup logs while I was running the
>>> hosted-engine --deploy and I found the following in the ovirt hosted engine
>>> setup logs:
>>>
>>> lvm requires configuration
>>> libvirt is not configured for vdsm yet
>>> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
>>> vdsm.conf with ssl=True requires the following changes:
>>> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
>>> qemu.conf: spice_tls=1.
>>>
>>>
>> hosted-engine setup is already running vdsm-tool configure --force so it
>> should configure libvirt and qemu for you, not sure why it failed.
>> Could you please attach the logs from the failed hosted-engine-setup run?
>>
>>
>>> When I saw this I stopped the setup and edited this two files (vdsm.conf
>>> and qemu.conf) set the stated configurations and run the deploy again. All
>>> was fine and I dont have any trouble the installation finished
>>> successfully. This was using ovirt-release41-pre.rpm repo.
>>>
>>> I will be trying the same installation with ovirt-release41.rpm (when I
>>> have time) and I will report what happened.
>>>
>>> Thanks for all
>>> Manuel Luis Aznar
>>>
>>>
>>>
>>> 2017-03-06 1:31 GMT+00:00 Manuel Luis Aznar >> >:
>>>
 Hey there,

 I have been loking around, of course as of now the following I am going
 to say I suppose is not anything new to you:

 This is the status of libvirtd:

 â libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
 vendor preset: enabled)
   Drop-In: /etc/systemd/system/libvirtd.service.d
ââunlimited-core.conf
Active: active (running) since lun 2017-03-06 01:25:05 WET; 1min 37s
 ago
  Docs: man:libvirtd(8)
http://libvirt.org
  Main PID: 24350 (libvirtd)
CGroup: /system.slice/libvirtd.service
ââ24350 /usr/sbin/libvirtd --listen

 mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
 daemon...
 mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization
 daemon.


 After looking at the state I fire up the VM engine with the command
 "hosted-engine --vm-start" and I got the following:

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-13 Thread Simone Tiraboschi
On Mon, Mar 13, 2017 at 4:08 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello to all there again,
>
> I was having some troubles while installing ovirt Hosted Engine, I took
> some look at the hosted engine setup logs while I was running the
> hosted-engine --deploy and I found the following in the ovirt hosted engine
> setup logs:
>
> lvm requires configuration
> libvirt is not configured for vdsm yet
> FAILED: conflicting vdsm and libvirt-qemu tls configuration.
> vdsm.conf with ssl=True requires the following changes:
> libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
> qemu.conf: spice_tls=1.
>
>
hosted-engine setup is already running vdsm-tool configure --force so it
should configure libvirt and qemu for you, not sure why it failed.
Could you please attach the logs from the failed hosted-engine-setup run?


> When I saw this I stopped the setup and edited this two files (vdsm.conf
> and qemu.conf) set the stated configurations and run the deploy again. All
> was fine and I dont have any trouble the installation finished
> successfully. This was using ovirt-release41-pre.rpm repo.
>
> I will be trying the same installation with ovirt-release41.rpm (when I
> have time) and I will report what happened.
>
> Thanks for all
> Manuel Luis Aznar
>
>
>
> 2017-03-06 1:31 GMT+00:00 Manuel Luis Aznar :
>
>> Hey there,
>>
>> I have been loking around, of course as of now the following I am going
>> to say I suppose is not anything new to you:
>>
>> This is the status of libvirtd:
>>
>> â libvirtd.service - Virtualization daemon
>>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> vendor preset: enabled)
>>   Drop-In: /etc/systemd/system/libvirtd.service.d
>>ââunlimited-core.conf
>>Active: active (running) since lun 2017-03-06 01:25:05 WET; 1min 37s
>> ago
>>  Docs: man:libvirtd(8)
>>http://libvirt.org
>>  Main PID: 24350 (libvirtd)
>>CGroup: /system.slice/libvirtd.service
>>ââ24350 /usr/sbin/libvirtd --listen
>>
>> mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
>> daemon...
>> mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization
>> daemon.
>>
>>
>> After looking at the state I fire up the VM engine with the command
>> "hosted-engine --vm-start" and I got the following:
>>
>>
>> VM exists and is down, destroying it
>> Machine destroyed
>>
>> ed786811-0321-431e-be4b-2d03764c1b02
>> Status = WaitForLaunch
>> nicModel = rtl8139,pv
>> statusTime = 4374100040 <(437)%20410-0040>
>> emulatedMachine = pc
>> pid = 0
>> vmName = HostedEngine
>> devices = [{'index': '2', 'iface': 'ide', 'specParams': {},
>> 'readonly': 'true', 'deviceId': '506df4eb-e783-4451-a8a6-993fa4dbb381',
>> 'address': {'bus': '1', 'controller': '0', 'type': 'drive', 'target': '0',
>> 'unit': '0'}, 'device': 'cdrom', 'shared': 'false', 'path': '', 'type':
>> 'disk'}, {'index': '0', 'iface': 'virtio', 'format': 'raw', 'bootOrder':
>> '1', 'poolID': '----', 'volumeID':
>> '2bc39472-1a4b-4c7d-8ef9-1212182ad802', 'imageID':
>> '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'specParams': {}, 'readonly':
>> 'false', 'domainID': 'f44afe8d-56f9-4e1e-beee-4daa548dbad8', 'optional':
>> 'false', 'deviceId': '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'address':
>> {'slot': '0x06', 'bus': '0x00', 'domain': '0x', 'type': 'pci',
>> 'function': '0x0'}, 'device': 'disk', 'shared': 'exclusive',
>> 'propagateErrors': 'off', 'type': 'disk'}, {'device': 'scsi', 'model':
>> 'virtio-scsi', 'type': 'controller'}, {'nicModel': 'pv', 'macAddr':
>> '00:16:3e:65:a6:4e', 'linkActive': 'true', 'network': 'ovirtmgmt',
>> 'specParams': {}, 'deviceId': '84b82c6c-bcca-4983-82d5-8d1e3ab3811a',
>> 'address': {'slot': '0x03', 'bus': '0x00', 'domain': '0x', 'type':
>> 'pci', 'function': '0x0'}, 'device': 'bridge', 'type': 'interface'},
>> {'device': 'console', 'specParams': {}, 'type': 'console', 'deviceId':
>> '6236af73-8dab-4d14-b950-fb4ad01d4420', 'alias': 'console0'}, {'device':
>> 'vga', 'alias': 'video0', 'type': 'video'}, {'device': 'virtio',
>> 'specParams': {'source': 'random'}, 'model': 'virtio', 'type': 'rng'}]
>> guestDiskMapping = {}
>> vmType = kvm
>> clientIp =
>> displaySecurePort = -1
>> memSize = 4096
>> displayPort = -1
>> cpuType = Broadwell
>> spiceSecureChannels = smain,sdisplay,sinputs,scursor
>> ,splayback,srecord,ssmartcard,susbredir
>> smp = 2
>> displayIp = 0
>> display = vnc
>> maxVCpus = 6
>>
>>
>> After that if I look again at the status of libvirtd I obtain:
>>
>>
>> â libvirtd.service - Virtualization daemon
>>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
>> vendor preset: enabled)
>>   Drop-In: /etc/systemd/system/libvirtd.service.d
>>ââunlimited-core.conf
>>Active: active 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-13 Thread Manuel Luis Aznar
Hello to all there again,

I was having some troubles while installing ovirt Hosted Engine, I took
some look at the hosted engine setup logs while I was running the
hosted-engine --deploy and I found the following in the ovirt hosted engine
setup logs:

lvm requires configuration
libvirt is not configured for vdsm yet
FAILED: conflicting vdsm and libvirt-qemu tls configuration.
vdsm.conf with ssl=True requires the following changes:
libvirtd.conf: listen_tcp=0, auth_tcp="sasl", listen_tls=1
qemu.conf: spice_tls=1.

When I saw this I stopped the setup and edited this two files (vdsm.conf
and qemu.conf) set the stated configurations and run the deploy again. All
was fine and I dont have any trouble the installation finished
successfully. This was using ovirt-release41-pre.rpm repo.

I will be trying the same installation with ovirt-release41.rpm (when I
have time) and I will report what happened.

Thanks for all
Manuel Luis Aznar



2017-03-06 1:31 GMT+00:00 Manuel Luis Aznar :

> Hey there,
>
> I have been loking around, of course as of now the following I am going to
> say I suppose is not anything new to you:
>
> This is the status of libvirtd:
>
> â libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>ââunlimited-core.conf
>Active: active (running) since lun 2017-03-06 01:25:05 WET; 1min 37s ago
>  Docs: man:libvirtd(8)
>http://libvirt.org
>  Main PID: 24350 (libvirtd)
>CGroup: /system.slice/libvirtd.service
>ââ24350 /usr/sbin/libvirtd --listen
>
> mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
> daemon...
> mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization daemon.
>
>
> After looking at the state I fire up the VM engine with the command
> "hosted-engine --vm-start" and I got the following:
>
>
> VM exists and is down, destroying it
> Machine destroyed
>
> ed786811-0321-431e-be4b-2d03764c1b02
> Status = WaitForLaunch
> nicModel = rtl8139,pv
> statusTime = 4374100040 <(437)%20410-0040>
> emulatedMachine = pc
> pid = 0
> vmName = HostedEngine
> devices = [{'index': '2', 'iface': 'ide', 'specParams': {},
> 'readonly': 'true', 'deviceId': '506df4eb-e783-4451-a8a6-993fa4dbb381',
> 'address': {'bus': '1', 'controller': '0', 'type': 'drive', 'target': '0',
> 'unit': '0'}, 'device': 'cdrom', 'shared': 'false', 'path': '', 'type':
> 'disk'}, {'index': '0', 'iface': 'virtio', 'format': 'raw', 'bootOrder':
> '1', 'poolID': '----', 'volumeID':
> '2bc39472-1a4b-4c7d-8ef9-1212182ad802', 'imageID':
> '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'specParams': {}, 'readonly':
> 'false', 'domainID': 'f44afe8d-56f9-4e1e-beee-4daa548dbad8', 'optional':
> 'false', 'deviceId': '08288fcf-6b12-4bd1-84d3-259992e7aa6d', 'address':
> {'slot': '0x06', 'bus': '0x00', 'domain': '0x', 'type': 'pci',
> 'function': '0x0'}, 'device': 'disk', 'shared': 'exclusive',
> 'propagateErrors': 'off', 'type': 'disk'}, {'device': 'scsi', 'model':
> 'virtio-scsi', 'type': 'controller'}, {'nicModel': 'pv', 'macAddr':
> '00:16:3e:65:a6:4e', 'linkActive': 'true', 'network': 'ovirtmgmt',
> 'specParams': {}, 'deviceId': '84b82c6c-bcca-4983-82d5-8d1e3ab3811a',
> 'address': {'slot': '0x03', 'bus': '0x00', 'domain': '0x', 'type':
> 'pci', 'function': '0x0'}, 'device': 'bridge', 'type': 'interface'},
> {'device': 'console', 'specParams': {}, 'type': 'console', 'deviceId':
> '6236af73-8dab-4d14-b950-fb4ad01d4420', 'alias': 'console0'}, {'device':
> 'vga', 'alias': 'video0', 'type': 'video'}, {'device': 'virtio',
> 'specParams': {'source': 'random'}, 'model': 'virtio', 'type': 'rng'}]
> guestDiskMapping = {}
> vmType = kvm
> clientIp =
> displaySecurePort = -1
> memSize = 4096
> displayPort = -1
> cpuType = Broadwell
> spiceSecureChannels = smain,sdisplay,sinputs,
> scursor,splayback,srecord,ssmartcard,susbredir
> smp = 2
> displayIp = 0
> display = vnc
> maxVCpus = 6
>
>
> After that if I look again at the status of libvirtd I obtain:
>
>
> â libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>ââunlimited-core.conf
>Active: active (running) since lun 2017-03-06 01:25:05 WET; 5min ago
>  Docs: man:libvirtd(8)
>http://libvirt.org
>  Main PID: 24350 (libvirtd)
>CGroup: /system.slice/libvirtd.service
>ââ24350 /usr/sbin/libvirtd --listen
>
> mar 06 01:25:05 host1.bajada.es systemd[1]: Starting Virtualization
> daemon...
> mar 06 01:25:05 host1.bajada.es systemd[1]: Started Virtualization daemon.
> mar 06 01:29:39 host1.bajada.es libvirtd[24350]: 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-05 Thread Artyom Lukianov
I found this one under the vdsm log:
libvirtError: internal error: process exited while connecting to monitor:
Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
Thread-70::INFO::2017-03-05
16:00:04,325::vm::1330::virt.vm::(setDownStatus)
vmId=`ed786811-0321-431e-be4b-2d03764c1b02`::Changed state to Down:
internal error: process exited while connecting to monitor: Could not
access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied (code=1)
Thread-70::INFO::2017-03-05 16:00:04,325::guestagent::430::virt.vm::(stop)
vmId=`ed786811-0321-431e-be4b-2d03764c1b02`::Stopping connection
Thread-70::DEBUG::2017-03-05
16:00:04,325::vmchannels::238::vds::(unregister) Delete fileno 52 from
listener.
Thread-70::DEBUG::2017-03-05
16:00:04,325::vmchannels::66::vds::(_unregister_fd) Failed to unregister FD
from epoll (ENOENT): 52
Thread-70::DEBUG::2017-03-05
16:00:04,326::__init__::209::jsonrpc.Notification::(emit) Sending event
{"params": {"ed786811-0321-431e-be4b-2d03764c1b02": {"status": "Down",
"exitReason": 1, "exitMessage": "internal error: process exited while
connecting to monitor: Could not access KVM kernel module: Permission
denied\nfailed to initialize KVM: Permission denied", "exitCode": 1},
"notify_time": 4339924730}, "jsonrpc": "2.0", "method":
"|virt|VM_status|ed786811-0321-431e-be4b-2d03764c1b02"}

Can you check if you have KVM modules loaded? Also, check group owner for "
/dev/kvm".
Best Regards


On Sat, Mar 4, 2017 at 4:24 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there again,
>
> The error on the first email was using the repo ovirt-release41.rpm (
> http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm), so as I
> were getting the same error again and again I am currently trying with
> ovirt-release41-snapshot.rpm (http://resources.ovirt.org/
> pub/yum-repo/ovirt-release41-snapshot.rpm) and the result is nearly the
> same.
>
> After creating the VM on the installation I got the same error with the
> command "systemctl status vdsmd":
>
> mar 04 14:10:19 host1.bajada.es vdsm[20443]: vdsm root ERROR failed to
> retrieve Hosted Engine HA info
>
> Traceback (most recent call last):
>File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line
> 231, in _getHaInfo
>   stats = instance.get_all_stats()
>File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 102, in get_all_stats
>   with broker.connection(self._retries, self._wait):
>File "/usr/lib64/python2.7/contextlib.py", line 17, in
> __enter__
>   return self.gen.next()
>File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 99, in connection
>   self.connect(retries, wait)
>File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 78, in connect
>   raise BrokerConnectionError(error_msg)
>  BrokerConnectionError: Failed to connect to broker, the number of
> errors has exceeded the limit (1)
>
> mar 04 14:10:34 host1.bajada.es vdsm[20443]: vdsm
> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to connect
> to broker, the number of errors has exceeded the limit (1)
>
> I have noticed that the ovirt-ha-agent and ovirt-ha-broker services was
> not running. I guess if this have something to do with the error in vsmd
> service log.
>
> But in this case the ovirt-hosted-engine-installation prints the vnc
> connection and I can connect to the engine VM.
>
> Thanks for all in advance
> Any help would be appreciated
> Manuel Luis Aznar
>
> 2017-03-03 21:48 GMT+00:00 Manuel Luis Aznar 
> :
>
>> Hello there,
>>
>> I am having some trouble when deploying an oVirt 4.1 hosted engine
>> installation.
>>
>> When I m just to end the installation and the hosted engine setup script
>> is about to start the Vm engine (appliance) it fails saying "The VM is not
>> powring up".
>>
>> If I double check the service vdsmd i get this error all the time:
>>
>> vdsm root ERROR failed to retrieve Hosted Engine HA info
>>  Traceback (most recent call last):
>>  File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231,
>> in _getHaInfo
>>  stats = instance.get_all_stats()
>>  File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 102, in get_all_stats
>>  with broker.connection(self._retries, self._wait):
>>  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
>>  return self.gen.next()
>>  File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 99, in connection
>>  self.connect(retries, wait)
>>  File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 78, in connect
>>  raise 

Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-04 Thread Artyom Lukianov
Please provide the ovirt-hosted-engine-setup log.

Best Regards

On Sat, Mar 4, 2017 at 4:24 PM, Manuel Luis Aznar <
manuel.luis.az...@gmail.com> wrote:

> Hello there again,
>
> The error on the first email was using the repo ovirt-release41.rpm (
> http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm), so as I
> were getting the same error again and again I am currently trying with
> ovirt-release41-snapshot.rpm (http://resources.ovirt.org/
> pub/yum-repo/ovirt-release41-snapshot.rpm) and the result is nearly the
> same.
>
> After creating the VM on the installation I got the same error with the
> command "systemctl status vdsmd":
>
> mar 04 14:10:19 host1.bajada.es vdsm[20443]: vdsm root ERROR failed to
> retrieve Hosted Engine HA info
>
> Traceback (most recent call last):
>File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line
> 231, in _getHaInfo
>   stats = instance.get_all_stats()
>File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 102, in get_all_stats
>   with broker.connection(self._retries, self._wait):
>File "/usr/lib64/python2.7/contextlib.py", line 17, in
> __enter__
>   return self.gen.next()
>File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 99, in connection
>   self.connect(retries, wait)
>File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 78, in connect
>   raise BrokerConnectionError(error_msg)
>  BrokerConnectionError: Failed to connect to broker, the number of
> errors has exceeded the limit (1)
>
> mar 04 14:10:34 host1.bajada.es vdsm[20443]: vdsm
> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to connect
> to broker, the number of errors has exceeded the limit (1)
>
> I have noticed that the ovirt-ha-agent and ovirt-ha-broker services was
> not running. I guess if this have something to do with the error in vsmd
> service log.
>
> But in this case the ovirt-hosted-engine-installation prints the vnc
> connection and I can connect to the engine VM.
>
> Thanks for all in advance
> Any help would be appreciated
> Manuel Luis Aznar
>
> 2017-03-03 21:48 GMT+00:00 Manuel Luis Aznar 
> :
>
>> Hello there,
>>
>> I am having some trouble when deploying an oVirt 4.1 hosted engine
>> installation.
>>
>> When I m just to end the installation and the hosted engine setup script
>> is about to start the Vm engine (appliance) it fails saying "The VM is not
>> powring up".
>>
>> If I double check the service vdsmd i get this error all the time:
>>
>> vdsm root ERROR failed to retrieve Hosted Engine HA info
>>  Traceback (most recent call last):
>>  File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231,
>> in _getHaInfo
>>  stats = instance.get_all_stats()
>>  File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
>> line 102, in get_all_stats
>>  with broker.connection(self._retries, self._wait):
>>  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
>>  return self.gen.next()
>>  File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 99, in connection
>>  self.connect(retries, wait)
>>  File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 78, in connect
>>  raise BrokerConnectionError(error_msg)
>> BrokerConnectionError: Failed to connect to broker, the number of errors
>> has exceeded the limit (1)
>>
>> Did anyone have experimented the same problem?¿? Any hint on How to
>> solved it?¿? I have tried several times with clean installations and always
>> getting the same...
>>
>> The host where I am trying to do the installation have CentOS 7...
>>
>>
>> Thanks for all in advance
>> Will be waiting for any hint to see what I am doing wrong...
>> Manuel Luis Aznar
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Hosted Engine Setup fails

2017-03-04 Thread Manuel Luis Aznar
Hello there again,

The error on the first email was using the repo ovirt-release41.rpm (
http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm), so as I were
getting the same error again and again I am currently trying with
ovirt-release41-snapshot.rpm (
http://resources.ovirt.org/pub/yum-repo/ovirt-release41-snapshot.rpm) and
the result is nearly the same.

After creating the VM on the installation I got the same error with the
command "systemctl status vdsmd":

mar 04 14:10:19 host1.bajada.es vdsm[20443]: vdsm root ERROR failed to
retrieve Hosted Engine HA info

Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line
231, in _getHaInfo
  stats = instance.get_all_stats()
   File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 102, in get_all_stats
  with broker.connection(self._retries, self._wait):
   File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
  return self.gen.next()
   File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 99, in connection
  self.connect(retries, wait)
   File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 78, in connect
  raise BrokerConnectionError(error_msg)
 BrokerConnectionError: Failed to connect to broker, the number of
errors has exceeded the limit (1)

mar 04 14:10:34 host1.bajada.es vdsm[20443]: vdsm
ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to connect to
broker, the number of errors has exceeded the limit (1)

I have noticed that the ovirt-ha-agent and ovirt-ha-broker services was not
running. I guess if this have something to do with the error in vsmd
service log.

But in this case the ovirt-hosted-engine-installation prints the vnc
connection and I can connect to the engine VM.

Thanks for all in advance
Any help would be appreciated
Manuel Luis Aznar

2017-03-03 21:48 GMT+00:00 Manuel Luis Aznar :

> Hello there,
>
> I am having some trouble when deploying an oVirt 4.1 hosted engine
> installation.
>
> When I m just to end the installation and the hosted engine setup script
> is about to start the Vm engine (appliance) it fails saying "The VM is not
> powring up".
>
> If I double check the service vdsmd i get this error all the time:
>
> vdsm root ERROR failed to retrieve Hosted Engine HA info
>  Traceback (most recent call last):
>  File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231,
> in _getHaInfo
>  stats = instance.get_all_stats()
>  File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
> line 102, in get_all_stats
>  with broker.connection(self._retries, self._wait):
>  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
>  return self.gen.next()
>  File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 99, in connection
>  self.connect(retries, wait)
>  File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 78, in connect
>  raise BrokerConnectionError(error_msg)
> BrokerConnectionError: Failed to connect to broker, the number of errors
> has exceeded the limit (1)
>
> Did anyone have experimented the same problem?¿? Any hint on How to solved
> it?¿? I have tried several times with clean installations and always
> getting the same...
>
> The host where I am trying to do the installation have CentOS 7...
>
>
> Thanks for all in advance
> Will be waiting for any hint to see what I am doing wrong...
> Manuel Luis Aznar
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt Hosted Engine Setup fails

2017-03-03 Thread Manuel Luis Aznar
Hello there,

I am having some trouble when deploying an oVirt 4.1 hosted engine
installation.

When I m just to end the installation and the hosted engine setup script is
about to start the Vm engine (appliance) it fails saying "The VM is not
powring up".

If I double check the service vdsmd i get this error all the time:

vdsm root ERROR failed to retrieve Hosted Engine HA info
 Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231, in
_getHaInfo
 stats = instance.get_all_stats()
 File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 102, in get_all_stats
 with broker.connection(self._retries, self._wait):
 File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
 return self.gen.next()
 File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 99, in connection
 self.connect(retries, wait)
 File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 78, in connect
 raise BrokerConnectionError(error_msg)
BrokerConnectionError: Failed to connect to broker, the number of errors
has exceeded the limit (1)

Did anyone have experimented the same problem?¿? Any hint on How to solved
it?¿? I have tried several times with clean installations and always
getting the same...

The host where I am trying to do the installation have CentOS 7...


Thanks for all in advance
Will be waiting for any hint to see what I am doing wrong...
Manuel Luis Aznar
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-19 Thread Ralf Schenk
Hello,

don't waste time on it. I reinstalled ovirt-hosted-engine-ha.noarch an
then after some time engine magically started. I'm now adding hosts to
the engine and will deploy two other instances of the engine on two
other hosts to get it highly available. So far my gluster seems usable
inside the engine and the hosts.

If its interesing for you:  I also setup up HA nfs-ganesha on the hosts
to provide NFS Shares to multiple VM's (will be php-fpm Backends to
Nginx) in an efficient way. I also tested and benchmarked (only
sysbench) using one host as MDS for pNFS with gluster FSAL. So I'm able
to mount my gluster via "mount ... type nfs4 -o minorversion=1" an am
rewarded with pnfs=LAYOUT_NFSV4_1_FILES in "/proc/self/mountstats". I
can see good network distribution and connections to multiple servers of
the cluster when benchmarking an NFS mount.

What I don't understand: Engine and also setup seem to have a problem
with my type 6 bond. That type proved to be best in glusterfs and nfs
performance and distribution over my 2 network-interfaces. Additionally
I'm loosing my IPMI on shared LAN if I use a type 4 802.3ad Bond.

Thats what i have:

eth0___bond0_br0 (192.168.252.x) for VMs/Hosts
eth1__/   \__bond0.10_ovirtmgmt (172.16.252.x, VLAN 10) for
Gluster, NFS, Migration, Management

Is this ok ?

Thanks a lot for your effort. I hope that I can give back something to
the community by actively using the mailing-list.

Bye

Am 18.05.2016 um 16:36 schrieb Simone Tiraboschi:
> Really really strange,
> adding Martin here.
>
>
>
> On Wed, May 18, 2016 at 4:32 PM, Ralf Schenk  > wrote:
>
> Hello,
>
> When I restart (systemctl restart ovirt-ha-broker ovirt-ha-agent)
> broker seems to fail: (from journalctl -xe)
>
> -- Unit ovirt-ha-agent.service has begun starting up.
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: Traceback
> (most recent call last):
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
> "/usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker", line 25, in
> 
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
> broker.Broker().run()
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
> 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/broker.py",
> line 56, in run
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
> self._initialize_logging(options.daemon)
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
> 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/broker.py",
> line 131, in _initialize_logging
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
> level=logging.DEBUG)
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
> "/usr/lib64/python2.7/logging/__init__.py", line 1529, in basicConfig
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: hdlr =
> FileHandler(filename, mode)
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
> "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
> StreamHandler.__init__(self, self._open())
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
> "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: stream =
> open(self.baseFilename, self.mode)
> May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: IOError:
> [Errno 6] No such device or address: '/dev/stdout'
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: Traceback (most
> recent call last):
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
> "/usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent", line 25, in
> 
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: agent.Agent().run()
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> line 77, in run
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]:
> self._initialize_logging(options.daemon)
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> line 159, in _initialize_logging
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]:
> level=logging.DEBUG)
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
> "/usr/lib64/python2.7/logging/__init__.py", line 1529, in basicConfig
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: hdlr =
> FileHandler(filename, mode)
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
> "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]:
> StreamHandler.__init__(self, self._open())
> May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
> 

Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Simone Tiraboschi
On Wed, May 18, 2016 at 3:55 PM, Ralf Schenk  wrote:

> Hello,
>
> thanks a lot. Yesterday I stood at the edge off a cliff. Now I'm one step
> beyond...
>
> Setup finished sucsessfully, engine-vm was shutdown - and no HA Config, No
> running engine VM afterwards. :-(
>

Do you have /etc/ovirt-hosted-engine/hosted-engine.conf ?
that should be enough to mount the shared storage and start the VM
extracting the VM configuration from there.

Do you have any error from ovirt-ha-agent or from ovirt-ha-broker?


> Restart of ovirt-ha-agent/ovirt-ha-broker doesn't work. Reboot of Host
> neither. No (mounted) /var/run/ovirt-hosted-engine-ha/vm.conf.
>
> I can do "hosted-engine --connect-storage" which mounts my replica 3
> gluster under /rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:
> _engine.
>
> I found the tar file with configs in my volume and I am able to extract
> all the files (fhanswers.conf, hosted-engine.conf, broker.conf, vm.conf)
> from the conf volume which is a tar file
> (/rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:_engine/de9c1cb5-a11c-4f0d-b436-7e37378702c3/images/2d2145f5-9406-40c3-b85a-c17be924dd16/b64c8bac-f978-441e-b71c-2fa1d0fc078f)
> .
>
> Is it possible to persist that and get ha up and running ? I think it was
> not persisted in vdsm, am I right ?
>
> I found your post
> http://lists.ovirt.org/pipermail/users/2015-December/036305.html that
> looked like a similar Problem.
>

Here we had a bug but now the code is OK.

> (tar -cO * | dd
> of=/rhev/data-center/mnt/blockSD/$sdUUID/images/$conf_image_UUID/$conf_volume_UUID
> oflag=direct) ?
>
> Bye
>
>
> Am 18.05.2016 um 11:38 schrieb Simone Tiraboschi:
>
> The issue is here:
> 2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
> You are quoting it twice and so it will try to use the string with the
> inner quote which is not a valid name.
>
> Does it come from your custom '/root/engine_answers.conf'? if so please
> fix it there and try again.
>
>
> On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk  wrote:
>
>> Hello,
>>
>> of course. See attached File.
>>
>> Bye
>>
>> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>>
>> It looks, correct.
>>
>> Can you please share the whole log file?
>>
>> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk < 
>> r...@databay.de> wrote:
>>
>>> Hello,
>>>
>>> from the last setup Log:
>>>
>>> 2016-05-11 18:19:31 DEBUG otopi.context context.dumpEnvironment:510 ENV
>>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>>
>>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>>
>>>
>>>
>>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk < 
>>> r...@databay.de> wrote:
>>>
 Dear list,

 i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
 in the last phase of hosted-engine --deploy see Text output (for two days
 now :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen
 in the screenshot are resolvable. It shouldn't be related to your problem
 regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
 is already succsessfull, engine-vm running, but the setup fails in
 registering the host (microcloud21...) in the engine.


 [...]

   |- [ 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-20160517222119-ndcyxn.log
   |- [ INFO  ] Generating answer file
 '/var/lib/ovirt-engine/setup/answers/20160517223055-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=rxmgmt.databay.de,
 CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
 rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792,
 Fingerprint (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
 [ INFO  ] Connecting to the Engine
 [ ERROR ] Cannot automatically add the host to cluster Default: Host
 name must be formed of alphanumeric characters, numbers or "-_."


   Please check Engine VM configuration.

   Make a selection from the options below:
   (1) Continue 

Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Ralf Schenk
Hello,

thanks a lot. Yesterday I stood at the edge off a cliff. Now I'm one
step beyond...

Setup finished sucsessfully, engine-vm was shutdown - and no HA Config,
No running engine VM afterwards. :-(

Restart of ovirt-ha-agent/ovirt-ha-broker doesn't work. Reboot of Host
neither. No (mounted) /var/run/ovirt-hosted-engine-ha/vm.conf.

I can do "hosted-engine --connect-storage" which mounts my replica 3
gluster under
/rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:_engine.

I found the tar file with configs in my volume and I am able to extract
all the files (fhanswers.conf, hosted-engine.conf, broker.conf, vm.conf)
from the conf volume which is a tar file
(/rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:_engine/de9c1cb5-a11c-4f0d-b436-7e37378702c3/images/2d2145f5-9406-40c3-b85a-c17be924dd16/b64c8bac-f978-441e-b71c-2fa1d0fc078f)
.

Is it possible to persist that and get ha up and running ? I think it
was not persisted in vdsm, am I right ?

I found your post
http://lists.ovirt.org/pipermail/users/2015-December/036305.html that
looked like a similar Problem.

(tar -cO * | dd
of=/rhev/data-center/mnt/blockSD/$sdUUID/images/$conf_image_UUID/$conf_volume_UUID
oflag=direct) ?

Bye


Am 18.05.2016 um 11:38 schrieb Simone Tiraboschi:
> The issue is here:
> 2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510
> ENV OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
> You are quoting it twice and so it will try to use the string with the
> inner quote which is not a valid name.
>
> Does it come from your custom '/root/engine_answers.conf'? if so
> please fix it there and try again.
>
>
> On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk  > wrote:
>
> Hello,
>
> of course. See attached File.
>
> Bye
>
>
> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>> It looks, correct.
>>
>> Can you please share the whole log file?
>>
>> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk > > wrote:
>>
>> Hello,
>>
>> from the last setup Log:
>>
>> 2016-05-11 18:19:31 DEBUG otopi.context
>> context.dumpEnvironment:510 ENV
>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>
>>
>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>>
>>>
>>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk >> > wrote:
>>>
>>> Dear list,
>>>
>>> i'm working for days on a hosted-engine setup on
>>> glusterfs and 'm stuck in the last phase of
>>> hosted-engine --deploy see Text output (for two days now
>>> :-( ). I've only ovirtmgmt Bridge up and running and all
>>> DNS-Names seen in the screenshot are resolvable. It
>>> shouldn't be related to your problem regarding multiple
>>> nic's in the engine-vm. As seen the hosted-engine setup
>>> is already succsessfull, engine-vm running, but the
>>> setup fails in registering the host (microcloud21...) in
>>> the engine.
>>>
>>>
>>> [...]
>>>
>>>   |- [ 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-20160517222119-ndcyxn.log
>>>   |- [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20160517223055-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=rxmgmt.databay.de
>>> ,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US,
>>> O=rxmgmt.databay.de ,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
>>> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
>>> [ INFO  ] Connecting to the Engine
>>> [ ERROR ] Cannot automatically add the host to 

Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Simone Tiraboschi
The issue is here:
2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
You are quoting it twice and so it will try to use the string with the
inner quote which is not a valid name.

Does it come from your custom '/root/engine_answers.conf'? if so please fix
it there and try again.


On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk  wrote:

> Hello,
>
> of course. See attached File.
>
> Bye
>
> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>
> It looks, correct.
>
> Can you please share the whole log file?
>
> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk  wrote:
>
>> Hello,
>>
>> from the last setup Log:
>>
>> 2016-05-11 18:19:31 DEBUG otopi.context context.dumpEnvironment:510 ENV
>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>
>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>
>>
>>
>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk < 
>> r...@databay.de> wrote:
>>
>>> Dear list,
>>>
>>> i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
>>> in the last phase of hosted-engine --deploy see Text output (for two days
>>> now :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen
>>> in the screenshot are resolvable. It shouldn't be related to your problem
>>> regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
>>> is already succsessfull, engine-vm running, but the setup fails in
>>> registering the host (microcloud21...) in the engine.
>>>
>>>
>>> [...]
>>>
>>>   |- [ 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-20160517222119-ndcyxn.log
>>>   |- [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20160517223055-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=rxmgmt.databay.de,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
>>> rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
>>> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
>>> [ INFO  ] Connecting to the Engine
>>> [ ERROR ] Cannot automatically add the host to cluster Default: Host
>>> name must be formed of alphanumeric characters, numbers or "-_."
>>>
>>>
>>>   Please check Engine VM configuration.
>>>
>>>   Make a selection from the options below:
>>>   (1) Continue setup - Engine VM configuration has been fixed
>>>   (2) Abort setup
>>>
>>>   (1, 2)[1]: 1
>>>
>>>   Checking for oVirt-Engine status at
>>> engine-mcIII.rxmgmt.databay.de...
>>> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
>>> [ ERROR ] Cannot automatically add the host to cluster Default: Host
>>> name must be formed of alphanumeric characters, numbers or "-_."
>>>
>>>
>>>   Please check Engine VM configuration.
>>>
>>>   Make a selection from the options below:
>>>   (1) Continue setup - Engine VM configuration has been fixed
>>>   (2) Abort setup
>>>
>>>   (1, 2)[1]:
>>>
>>> Additionally I can see the error in the eninge-vm in
>>> /var/log/ovirt-engine/engine.log:
>>>
>>> 2016-05-17 14:08:15,296 WARN
>>> [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
>>> [9277b0a] CanDoAction of action 'AddVds' failed for user admin@internal.
>>> Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
>>> microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
>>> 2016-05-17 14:08:15,360 ERROR
>>> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
>>> task-13) [] Operation Failed: [Host name must be formed of alphanumeric
>>> characters, numbers or "-_."]
>>>
>>
>> 'microcloud21.rxmgmt.databay.de' is the host address, in oVirt the host
>> has also a name.
>> Can you please look for OVEHOSTED_ENGINE/appHostName in your
>> hosted-engine-setup logs?
>>
>>>
>>>
>>> The hostname that should be registered is the correct fqdn for the
>>> virtualization host that runs the engine-vm, points to the ip of the
>>> ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
>>> I checked /etc/hostname of the host for non-printable characters and as
>>> you can see that 

Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Simone Tiraboschi
On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk  wrote:

> Dear list,
>
> i'm working for days on a hosted-engine setup on glusterfs and 'm stuck in
> the last phase of hosted-engine --deploy see Text output (for two days now
> :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen in
> the screenshot are resolvable. It shouldn't be related to your problem
> regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
> is already succsessfull, engine-vm running, but the setup fails in
> registering the host (microcloud21...) in the engine.
>
>
> [...]
>
>   |- [ 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-20160517222119-ndcyxn.log
>   |- [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20160517223055-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=rxmgmt.databay.de,
> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
> rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
> [ INFO  ] Connecting to the Engine
> [ ERROR ] Cannot automatically add the host to cluster Default: Host name
> must be formed of alphanumeric characters, numbers or "-_."
>
>
>   Please check Engine VM configuration.
>
>   Make a selection from the options below:
>   (1) Continue setup - Engine VM configuration has been fixed
>   (2) Abort setup
>
>   (1, 2)[1]: 1
>
>   Checking for oVirt-Engine status at
> engine-mcIII.rxmgmt.databay.de...
> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
> [ ERROR ] Cannot automatically add the host to cluster Default: Host name
> must be formed of alphanumeric characters, numbers or "-_."
>
>
>   Please check Engine VM configuration.
>
>   Make a selection from the options below:
>   (1) Continue setup - Engine VM configuration has been fixed
>   (2) Abort setup
>
>   (1, 2)[1]:
>
> Additionally I can see the error in the eninge-vm in
> /var/log/ovirt-engine/engine.log:
>
> 2016-05-17 14:08:15,296 WARN
> [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
> [9277b0a] CanDoAction of action 'AddVds' failed for user admin@internal.
> Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
> microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
> 2016-05-17 14:08:15,360 ERROR
> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
> task-13) [] Operation Failed: [Host name must be formed of alphanumeric
> characters, numbers or "-_."]
>

'microcloud21.rxmgmt.databay.de' is the host address, in oVirt the host has
also a name.
Can you please look for OVEHOSTED_ENGINE/appHostName in your
hosted-engine-setup logs?

>
>
> The hostname that should be registered is the correct fqdn for the
> virtualization host that runs the engine-vm, points to the ip of the
> ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
> I checked /etc/hostname of the host for non-printable characters and as
> you can see that is a valid hostname.
>
> All is running on Centos 7 Versions:
> ovirt-engine-appliance.noarch 3.6-20160420.1.el7.centos  @ovirt-3.6
> ovirt-engine-sdk-python.noarch3.6.5.0-1.el7.centos   @ovirt-3.6
> ovirt-host-deploy.noarch  1.4.1-1.el7.centos @ovirt-3.6
> ovirt-hosted-engine-ha.noarch 1.3.5.3-1.1.el7
> @centos-ovirt36
> ovirt-hosted-engine-setup.noarch  1.3.5.0-1.1.el7
> @centos-ovirt36
> ovirt-setup-lib.noarch1.0.1-1.el7.centos @ovirt-3.6
> ovirt-vmconsole.noarch1.0.0-1.el7.centos @ovirt-3.6
> ovirt-vmconsole-host.noarch   1.0.0-1.el7.centos @ovirt-3.6
>
> Since I already repeated the setup for many times now, I need your help.
> --
>
>
> *Ralf Schenk*
> fon +49 (0) 24 05 / 40 83 70
> fax +49 (0) 24 05 / 40 83 759
> mail *r...@databay.de* 
>
> *Databay AG*
> Jens-Otto-Krag-Straße 11
> D-52146 Würselen
> *www.databay.de* 
>
> Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
> Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, 

[ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Ralf Schenk
Dear list,

i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
in the last phase of hosted-engine --deploy see Text output (for two
days now :-( ). I've only ovirtmgmt Bridge up and running and all
DNS-Names seen in the screenshot are resolvable. It shouldn't be related
to your problem regarding multiple nic's in the engine-vm. As seen the
hosted-engine setup is already succsessfull, engine-vm running, but the
setup fails in registering the host (microcloud21...) in the engine.


[...]

  |- [ 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-20160517222119-ndcyxn.log
  |- [ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20160517223055-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=rxmgmt.databay.de,
CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US,
O=rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792,
Fingerprint (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
[ INFO  ] Connecting to the Engine
[ ERROR ] Cannot automatically add the host to cluster Default: Host
name must be formed of alphanumeric characters, numbers or "-_."


  Please check Engine VM configuration.

  Make a selection from the options below:
  (1) Continue setup - Engine VM configuration has been fixed
  (2) Abort setup

  (1, 2)[1]: 1

  Checking for oVirt-Engine status at
engine-mcIII.rxmgmt.databay.de...
[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ ERROR ] Cannot automatically add the host to cluster Default: Host
name must be formed of alphanumeric characters, numbers or "-_."


  Please check Engine VM configuration.

  Make a selection from the options below:
  (1) Continue setup - Engine VM configuration has been fixed
  (2) Abort setup

  (1, 2)[1]:

Additionally I can see the error in the eninge-vm in
/var/log/ovirt-engine/engine.log:

2016-05-17 14:08:15,296 WARN 
[org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
[9277b0a] CanDoAction of action 'AddVds' failed for user admin@internal.
Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
2016-05-17 14:08:15,360 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
task-13) [] Operation Failed: [Host name must be formed of alphanumeric
characters, numbers or "-_."]

The hostname that should be registered is the correct fqdn for the
virtualization host that runs the engine-vm, points to the ip of the
ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
I checked /etc/hostname of the host for non-printable characters and as
you can see that is a valid hostname.

All is running on Centos 7 Versions:
ovirt-engine-appliance.noarch 3.6-20160420.1.el7.centos  @ovirt-3.6
ovirt-engine-sdk-python.noarch3.6.5.0-1.el7.centos   @ovirt-3.6
ovirt-host-deploy.noarch  1.4.1-1.el7.centos @ovirt-3.6
ovirt-hosted-engine-ha.noarch 1.3.5.3-1.1.el7   
@centos-ovirt36
ovirt-hosted-engine-setup.noarch  1.3.5.0-1.1.el7   
@centos-ovirt36
ovirt-setup-lib.noarch1.0.1-1.el7.centos @ovirt-3.6
ovirt-vmconsole.noarch1.0.0-1.el7.centos @ovirt-3.6
ovirt-vmconsole-host.noarch   1.0.0-1.el7.centos @ovirt-3.6

Since I already repeated the setup for many times now, I need your help.
-- 


*Ralf Schenk*
fon +49 (0) 24 05 / 40 83 70
fax +49 (0) 24 05 / 40 83 759
mail *r...@databay.de* 

*Databay AG*
Jens-Otto-Krag-Straße 11
D-52146 Würselen
*www.databay.de* 

Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm.
Philipp Hermanns
Aufsichtsratsvorsitzender: Klaus Scholzen (RA)


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-hosted-engine-setup and single machine install

2015-11-24 Thread Roman Mohr
Hi Johan,

On Mon, Nov 23, 2015 at 9:39 PM, Johan Vermeulen 
wrote:

> Hello All,
>
> after configuring a first setup, based on the quick start guide, I'm now
> looking
> at the hosted-engine setup.
> My question is: after I do the hosted-engine-setup, how do I setup vm's on
> the same
> machine that hosts the now-virtualized engine?
>

You can add this host like any other host. You will then also see the
hosted engine VM as a special VM in the VMs tab of the web admin portal.
Just make sure that your VM can reach the physical host.


> Greetings, J.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
Best Regards,
Roman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-hosted-engine-setup and single machine install

2015-11-24 Thread Simone Tiraboschi
On Tue, Nov 24, 2015 at 9:05 AM, Roman Mohr  wrote:

> Hi Johan,
>
> On Mon, Nov 23, 2015 at 9:39 PM, Johan Vermeulen 
> wrote:
>
>> Hello All,
>>
>> after configuring a first setup, based on the quick start guide, I'm now
>> looking
>> at the hosted-engine setup.
>> My question is: after I do the hosted-engine-setup, how do I setup vm's
>> on the same
>> machine that hosts the now-virtualized engine?
>>
>
> You can add this host like any other host. You will then also see the
> hosted engine VM as a special VM in the VMs tab of the web admin portal.
> Just make sure that your VM can reach the physical host.
>

Just an addition: your first host will be automatically added to your
engine so you don't have to do anything special on that.
hosted-engine on the other side, is using a dedicated storage domain for
the engine VM and you cannot use it for other VMs so you still need to add
a second storage domain for regular VMs.

Take care that loopback mounting NFS could lead to deadlocks:
 https://lwn.net/Articles/595652/
On a single host with the storage on the same host iSCSI seams more
reliable.


>
>> Greetings, J.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> Best Regards,
> Roman
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-hosted-engine-setup and single machine install

2015-11-24 Thread Gianluca Cecchi
On Tue, Nov 24, 2015 at 9:39 AM, Simone Tiraboschi wrote:

>
>
>>
> Just an addition: your first host will be automatically added to your
> engine so you don't have to do anything special on that.
> hosted-engine on the other side, is using a dedicated storage domain for
> the engine VM and you cannot use it for other VMs so you still need to add
> a second storage domain for regular VMs.
>
> Take care that loopback mounting NFS could lead to deadlocks:
>  https://lwn.net/Articles/595652/
> On a single host with the storage on the same host iSCSI seams more
> reliable.
>
>
Take in mind also that in 3.6.0 there is a bug so that you don't actually
see your engine vm inside admin portal and also you cannot import it. To be
fixed in 3.6.1. See:
https://bugzilla.redhat.com/show_bug.cgi?id=1269768

Also, if you plan to have a single host and you use NFS for storage domains
on your single host, you have to manually change
/usr/lib/systemd/system/ovirt-ha-broker.service

so that in the [Unit] section it looks like:

[Unit]
Description=oVirt Hosted Engine High Availability Communications Broker
After=nfs-server.service

otherwise ovirt-ha-broker will fail to start and you have to manually start
it after boot and nfs service has come up.

HIH,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-hosted-engine-setup and single machine install

2015-11-24 Thread Johan Vermeulen
Hello Roman and Simone,

thanks for pointing me in the right direction.
I just messed up the first attempt by selection the wrong interface during
the install.
But I think I get the overall picture.

Greetings, J.

2015-11-24 9:39 GMT+01:00 Simone Tiraboschi :

>
>
> On Tue, Nov 24, 2015 at 9:05 AM, Roman Mohr  wrote:
>
>> Hi Johan,
>>
>> On Mon, Nov 23, 2015 at 9:39 PM, Johan Vermeulen 
>> wrote:
>>
>>> Hello All,
>>>
>>> after configuring a first setup, based on the quick start guide, I'm now
>>> looking
>>> at the hosted-engine setup.
>>> My question is: after I do the hosted-engine-setup, how do I setup vm's
>>> on the same
>>> machine that hosts the now-virtualized engine?
>>>
>>
>> You can add this host like any other host. You will then also see the
>> hosted engine VM as a special VM in the VMs tab of the web admin portal.
>> Just make sure that your VM can reach the physical host.
>>
>
> Just an addition: your first host will be automatically added to your
> engine so you don't have to do anything special on that.
> hosted-engine on the other side, is using a dedicated storage domain for
> the engine VM and you cannot use it for other VMs so you still need to add
> a second storage domain for regular VMs.
>
> Take care that loopback mounting NFS could lead to deadlocks:
>  https://lwn.net/Articles/595652/
> On a single host with the storage on the same host iSCSI seams more
> reliable.
>
>
>>
>>> Greetings, J.
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>> Best Regards,
>> Roman
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-hosted-engine-setup and single machine install

2015-11-23 Thread Johan Vermeulen
Hello All,

after configuring a first setup, based on the quick start guide, I'm now
looking
at the hosted-engine setup.
My question is: after I do the hosted-engine-setup, how do I setup vm's on
the same
machine that hosts the now-virtualized engine?

Greetings, J.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-hosted-engine-setup with answer file

2014-10-10 Thread Finstrle, Ludek
htmlbodyHi,

  I'm trying to use:
1) Generate answer file:
   ovirt-hosted-engine-setup --generate-answer=/root/ohe-answers.conf
   (cancel when it asks for confirmation of installation settings)
2) template the ohe-answers.conf
3) make silent/unattended installation with:
   ovirt-hosted-engine-setup --config-append=/root/ohe-answers.conf


I see few points/problems/challenges:
1) Is it possible to suppress question:
[ INFO  ] Stage: Initializing
  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]:

2) I have already answer none:None for firewall. Is it possible to
suppress question (it's annoying also during upgrades):
  iptables was detected on your computer, do you wish setup to
configure it? (Yes, No)[Yes]: No

3) How can I put the name of hosted engine to the ohe-answers.conf file?
This is not recorded during --generate-answer:
  Enter the name which will be used to identify this host inside
the Administrator Portal [hosted_engine_1]: 

4) Is it possible to suppress also the config confirmation question?
  --== CONFIGURATION PREVIEW ==--
...
  Please confirm installation settings (Yes, No)[Yes]: No

5) Is it possible to instruct ovirt-hosted-engine-setup to stop after
preparation of environment for installing the host_engine and also
second step continue in installation after host_engine installation is
done? You know it's hard for scripts to follow the interactive way.

Any pointer to relevant documentation how to install ovirt hosted engine
as much non-interactive as possible is also welcome.

Thank you for any hint

Luf


NOTICE: This email and any attachments may contain confidential and proprietary 
information of NetSuite Inc. and is for the sole use of the intended recipient 
for the stated purpose. Any improper use or distribution is prohibited. If you 
are not the intended recipient, please notify the sender; do not review, copy 
or distribute; and promptly delete or destroy all transmitted information. 
Please note that all communications and information transmitted through this 
email system may be monitored by NetSuite or its agents and that all incoming 
email is automatically scanned by a third party spam and filtering service

/body/html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-hosted-engine-setup with answer file

2014-10-10 Thread Sandro Bonazzola
Il 10/10/2014 16:10, Finstrle, Ludek ha scritto:
 
 Hi,
 
 I'm trying to use:
 1) Generate answer file:
 ovirt-hosted-engine-setup --generate-answer=/root/ohe-answers.conf
 (cancel when it asks for confirmation of installation settings)
 2) template the ohe-answers.conf
 3) make silent/unattended installation with:
 ovirt-hosted-engine-setup --config-append=/root/ohe-answers.conf
 
 
 I see few points/problems/challenges:

Hi, a RFE has been filled for this use case:
Bug 1101297 - [RFE] Allow fully automatic deployment process for hosted-engine


 1) Is it possible to suppress question:
 [ INFO ] Stage: Initializing
 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]:

This has been reported as:
Bug 1101285 - First interaction with hosted-engine --deploy process happening 
before, that answer file loading

 
 2) I have already answer none:None for firewall. Is it possible to
 suppress question (it's annoying also during upgrades):
 iptables was detected on your computer, do you wish setup to
 configure it? (Yes, No)[Yes]: No

try with str:disable or anything different than none:None, str:iptables, 
str:firewalld

 
 3) How can I put the name of hosted engine to the ohe-answers.conf file?
 This is not recorded during --generate-answer:
 Enter the name which will be used to identify this host inside
 the Administrator Portal [hosted_engine_1]:

it's not recorded for avoiding issues on additional hosts.
you can specify it:
OVEHOSTED_ENGINE/appHostName=str:hosted_engine_1


 
 4) Is it possible to suppress also the config confirmation question?
 --== CONFIGURATION PREVIEW ==--
 ...
 Please confirm installation settings (Yes, No)[Yes]: No

OVEHOSTED_CORE/confirmSettings=bool:True

 
 5) Is it possible to instruct ovirt-hosted-engine-setup to stop after
 preparation of environment for installing the host_engine and also
 second step continue in installation after host_engine installation is
 done? You know it's hard for scripts to follow the interactive way.
 
 Any pointer to relevant documentation how to install ovirt hosted engine
 as much non-interactive as possible is also welcome.

See above Bug 1101297 - [RFE] Allow fully automatic deployment process for 
hosted-engine


 
 Thank you for any hint
 
 Luf
 
 
 NOTICE: This email and any attachments may contain confidential and 
 proprietary information of NetSuite Inc. and is for the sole use of the 
 intended
 recipient for the stated purpose. Any improper use or distribution is 
 prohibited. If you are not the intended recipient, please notify the sender; 
 do
 not review, copy or distribute; and promptly delete or destroy all 
 transmitted information. Please note that all communications and information
 transmitted through this email system may be monitored and retained by 
 NetSuite or its agents and that all incoming email is automatically scanned by
 a third party spam and filtering service which may result in deletion of a 
 legitimate e-mail before it is read by the intended recipient.
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users