[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-19 Thread Yedidyah Bar David
On Wed, Aug 19, 2020 at 12:01 PM Raphael Höser  wrote:
>
> Thanks Didi,
>
> > On Wed, Aug 19, 2020 at 10:33 AM Raphael Höser  > wrote:
> >
> > It does - and also the full log below. It means it fails on the host,
> > not inside the engine vm.
> I meant, that the output wasn't changed by this.
>
> > It probably fails because our internal "minidnf" does not support all
> > the stuff you try to do to dnf.
> This seems to be the case.
>
> > You can try:
> >
> > hosted-engine --deploy
> > --otopi-environment=PACKAGER/dnfpackagerEnabled=bool:False
> This Works!
>
> Thanks a lot for your support!

You are welcome, thanks for the report! :-)

>
> For anyone stumbling upon this at a later point:
> This workaround might work for you, if you made changes to /etc/dnf/dnf.conf 
> for dnf to work on your CentOS8 instance.
> In our case the problem was the proxy authentication method dnf uses.

Actually, AFAICT, we never really need dnfpackager anymore, as all the
very little logic around installing/removing the appliance is now done
in ovirt-ansible-hosted-engine-setup. So it's safe to always use (and
thus skip the lengthy dnf cache update etc.). Feel free to open a bug
to get this removed and use an "offline packager" (like --offline in
engine-setup).

Best regards,
-- 
Didi
___
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/FVIF2JE7YFBKNRIMDIJWPZXPNI2CEJNW/


[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-19 Thread Raphael Höser
Thanks Didi,

> On Wed, Aug 19, 2020 at 10:33 AM Raphael Höser  wrote:
> 
> It does - and also the full log below. It means it fails on the host,
> not inside the engine vm.
I meant, that the output wasn't changed by this.

> It probably fails because our internal "minidnf" does not support all
> the stuff you try to do to dnf.
This seems to be the case.

> You can try:
> 
> hosted-engine --deploy
> --otopi-environment=PACKAGER/dnfpackagerEnabled=bool:False
This Works!

Thanks a lot for your support!

For anyone stumbling upon this at a later point:
This workaround might work for you, if you made changes to /etc/dnf/dnf.conf 
for dnf to work on your CentOS8 instance.
In our case the problem was the proxy authentication method dnf uses.

---
Raphael
___
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/CQ7XXSBNM44SXLVDGYPTH7HV4DWAUYD6/


[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-19 Thread Yedidyah Bar David
On Wed, Aug 19, 2020 at 10:33 AM Raphael Höser  wrote:
>
> Hi Didi,
>
> thanks for your input, sadly this doesn't change anything of the described 
> behavior.
> (Also just to mention: It takes way less then a second to get to the cleanup 
> - in case this provides some hints)

It does - and also the full log below. It means it fails on the host,
not inside the engine vm.

It probably fails because our internal "minidnf" does not support all
the stuff you try to do to dnf.

engine-setup has an option '--offline', but sadly hosted-engine
--deploy does not have it.

You can try:

hosted-engine --deploy
--otopi-environment=PACKAGER/dnfpackagerEnabled=bool:False

Or perhaps:

hosted-engine --deploy
--otopi-environment="PACKAGER/dnfpackagerEnabled=bool:False
PACKAGER/yumpackagerEnabled=bool:False"

I think this should be enough, didn't try.

>
> Stdout:
> [root@ovirt03 ~]# hosted-engine --deploy 
> --otopi-environment=OVEHOSTED_CORE/pauseonRestore=bool:True
> [ 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-20200819092656-jh53ut.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.68)
> [ 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.68)
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
> steps]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch logs from the engine VM]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Set destination directory path]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Create destination directory]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Find the local appliance image]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Set local_vm_disk_path]
> [ INFO  ] skipping: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Give the vm time to flush dirty 
> buffers]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Copy engine logs]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Remove local vm dir]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Remove temporary entry in 
> /etc/hosts for the local VM]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Clean local storage pools]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Destroy local storage-pool {{ 
> he_local_vm_dir | basename }}]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Undefine local storage-pool {{ 
> he_local_vm_dir | basename }}]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Destroy local storage-pool {{ 
> local_vm_disk_path.split('/')[5] }}]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Undefine local storage-pool {{ 
> local_vm_disk_path.split('/')[5] }}]
> [ INFO  ] Generating answer file 
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20200819092723.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed
>   Log file is located at 
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200819092656-jh53ut.log
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email 

[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-19 Thread Raphael Höser
Hi Didi,

thanks for your input, sadly this doesn't change anything of the described 
behavior.
(Also just to mention: It takes way less then a second to get to the cleanup - 
in case this provides some hints)

Stdout:
[root@ovirt03 ~]# hosted-engine --deploy 
--otopi-environment=OVEHOSTED_CORE/pauseonRestore=bool:True
[ 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-20200819092656-jh53ut.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.68)
[ 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.68)
[ INFO  ] Stage: Clean up
[ INFO  ] Cleaning temporary resources
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch logs from the engine VM]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Set destination directory path]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Create destination directory]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Find the local appliance image]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Give the vm time to flush dirty 
buffers]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Copy engine logs]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Remove local vm dir]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Remove temporary entry in 
/etc/hosts for the local VM]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Clean local storage pools]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Destroy local storage-pool {{ 
he_local_vm_dir | basename }}]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Undefine local storage-pool {{ 
he_local_vm_dir | basename }}]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Destroy local storage-pool {{ 
local_vm_disk_path.split('/')[5] }}]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Undefine local storage-pool {{ 
local_vm_disk_path.split('/')[5] }}]
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20200819092723.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed
  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200819092656-jh53ut.log
___
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/Q4ESHPIUURINFMXWID3QEXGRYN6DHKUD/


[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-19 Thread Yedidyah Bar David
On Tue, Aug 18, 2020 at 9:02 PM Raphael Höser  wrote:
>
> I don't use ansible for the deployment of the hosted engine right now, but 
> like I said the ovirt-hosted-engine-setup:command.

You can try:

hosted-engine --deploy
--otopi-environment=OVEHOSTED_CORE/pauseonRestore=bool:True

This is setting the ansible var he_pause_host:

https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/

> Can you tell me where I can find the required ansible plays, then I'll try.

Good luck and best regards,
-- 
Didi
___
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/A2KZ2YPPSSYN3YII7S73M7ELE4UZAUUC/


[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-18 Thread Strahil Nikolov via Users
Usually the cockpit deployment is generating an ansible play which you can edit 
before running it.

Best Regards,
Strahil Nikolov

На 18 август 2020 г. 20:57:36 GMT+03:00, "Raphael Höser"  
написа:
>I don't use ansible for the deployment of the hosted engine right now,
>but like I said the ovirt-hosted-engine-setup:command.
>Can you tell me where I can find the required ansible plays, then I'll
>try.
>___
>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/UNGBX7GSHBZAYPRRWPF63JBC42DTRMSI/
___
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/LDJ2AWUBP5XPM44EOFSQP6A5Q3Z5EBCZ/


[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-18 Thread Raphael Höser
I don't use ansible for the deployment of the hosted engine right now, but like 
I said the ovirt-hosted-engine-setup:command.
Can you tell me where I can find the required ansible plays, then I'll try.
___
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/UNGBX7GSHBZAYPRRWPF63JBC42DTRMSI/


[ovirt-users] Re: OVirt hosted engine setup dnf config

2020-08-18 Thread Strahil Nikolov via Users
I guess  you can experiment a little bit.
Have you tried to 'inject' a task before the failing one to add the options  
you need via 'blockinfile' or 'lineinfile'.

I think the simplest way is to add a 'pause' task , that will give you enough 
time to:
- Find the IP of the local engine vm
- ssh to that engine
- add the necessary lines for dnf

Best Regards,

Strahil Nikolov


На 18 август 2020 г. 10:28:46 GMT+03:00, "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/
___
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/TPLEACTR3AKODTKFBRVDOQXGKIJ3W5LK/


[ovirt-users] Re: Ovirt Hosted Engine Setup

2020-07-21 Thread Gianluca Cecchi
On Tue, Jul 21, 2020 at 6:56 AM Vijay Sachdeva via Users 
wrote:

> Hi Ritesh,
>
>
>
> Currently I can’t use 4.4, I am using 4.3.8 for the deployment and now
> using from CLI it got stuck here:
>
>
>
>
>
> I want to understand, what actually it is trying to do in the backend. Is
> it like trying to create the bridge and getting the network UP? As it is
> again stuck for past 1 hour
>
>
>
> Thanks
>
> Vijay Sachdeva
>
>
>
>
If you are in the phase where you have a local hosted engine VM before
final stage,you should find in /etc/hosts of the host at the first line the
temporary ip assigned to it.
So you can ssh into the engine VM with that ip and go into
/var/log/ovirt-engine/host-deploy/ directory to check logs

btw: why 4.3.8 and not 4.3.10?

Gianluca
___
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/HYRB4X3Q72XI2VWVMSHJPQDI67LVMK6E/


[ovirt-users] Re: Ovirt Hosted Engine Setup

2020-07-20 Thread Vijay Sachdeva via Users
Hi Ritesh,

 

Currently I can’t use 4.4, I am using 4.3.8 for the deployment and now using 
from CLI it got stuck here:

 

 

I want to understand, what actually it is trying to do in the backend. Is it 
like trying to create the bridge and getting the network UP? As it is again 
stuck for past 1 hour

 

Thanks

Vijay Sachdeva

 

 

From: Vijay Sachdeva 
Date: Tuesday, 21 July 2020 at 9:52 AM
To: Ritesh Chikatwar 
Cc: Patrick Lomakin , users 
Subject: Re: [ovirt-users] Re: Ovirt Hosted Engine Setup

 

Hi Ritesh,

 

You mean 4.4 version?

 

Thanks

 

On Tue, Jul 21, 2020, 09:29 Ritesh Chikatwar  wrote:

Hello Vijay...

 

 

Please try with the latest appliance this issue has been fixed.

 

On Mon, Jul 20, 2020 at 1:42 PM Vijay Sachdeva via Users  
wrote:

Hi Patrick,

Tried installing using cockpit, got stuck at the same. Don't know what's wrong 
here and I am stuck from 2 days.

Any help..!!

Thanks
Vijay Sachdeva


On 20/07/20, 1:04 PM, "Patrick Lomakin"  wrote:

I have also seen this. Long time later the hosted-engine setup threw an 
error, but after install from cockpit panel an error disappeared. Try this too) 
Regards!
___
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/S4BRO44ETSZPMF42RGWOENXZDJWHPYBN/


___
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/QJZW267G65PWL4PLTR2DC746ZTNQVGWB/

___
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/O7KUMMQ6V2TVUFL6IAGU4WBRFNR5Z7ER/


[ovirt-users] Re: Ovirt Hosted Engine Setup

2020-07-20 Thread Vijay Sachdeva via Users
Hi Ritesh,

You mean 4.4 version?

Thanks

On Tue, Jul 21, 2020, 09:29 Ritesh Chikatwar  wrote:

> Hello Vijay...
>
>
> Please try with the latest appliance this issue has been fixed.
>
> On Mon, Jul 20, 2020 at 1:42 PM Vijay Sachdeva via Users 
> wrote:
>
>> Hi Patrick,
>>
>> Tried installing using cockpit, got stuck at the same. Don't know what's
>> wrong here and I am stuck from 2 days.
>>
>> Any help..!!
>>
>> Thanks
>> Vijay Sachdeva
>>
>>
>> On 20/07/20, 1:04 PM, "Patrick Lomakin" 
>> wrote:
>>
>> I have also seen this. Long time later the hosted-engine setup threw
>> an error, but after install from cockpit panel an error disappeared. Try
>> this too) Regards!
>> ___
>> 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/S4BRO44ETSZPMF42RGWOENXZDJWHPYBN/
>>
>>
>> ___
>> 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/QJZW267G65PWL4PLTR2DC746ZTNQVGWB/
>>
>
___
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/DSMAT2KFZXVAOD4DNBDC4ICCXZADWNWL/


[ovirt-users] Re: Ovirt Hosted Engine Setup

2020-07-20 Thread Ritesh Chikatwar
Hello Vijay...


Please try with the latest appliance this issue has been fixed.

On Mon, Jul 20, 2020 at 1:42 PM Vijay Sachdeva via Users 
wrote:

> Hi Patrick,
>
> Tried installing using cockpit, got stuck at the same. Don't know what's
> wrong here and I am stuck from 2 days.
>
> Any help..!!
>
> Thanks
> Vijay Sachdeva
>
>
> On 20/07/20, 1:04 PM, "Patrick Lomakin" 
> wrote:
>
> I have also seen this. Long time later the hosted-engine setup threw
> an error, but after install from cockpit panel an error disappeared. Try
> this too) Regards!
> ___
> 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/S4BRO44ETSZPMF42RGWOENXZDJWHPYBN/
>
>
> ___
> 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/QJZW267G65PWL4PLTR2DC746ZTNQVGWB/
>
___
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/CHUJNRT4E7B6QDN35A4ASHJC2C42DVCO/


[ovirt-users] Re: Ovirt Hosted Engine Setup

2020-07-20 Thread Patrick Lomakin
I have also seen this. Long time later the hosted-engine setup threw an error, 
but after install from cockpit panel an error disappeared. Try this too) 
Regards!
___
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/S4BRO44ETSZPMF42RGWOENXZDJWHPYBN/


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

2018-06-07 Thread Mariusz Kozakowski
On Tue, 2018-06-05 at 23:26 +0200, Simone Tiraboschi wrote:
I tried to deploy hosted-engine over vlan over a bond and everything worked as 
expected but I also found a case where it fails: SetupNetworks is going to fail 
if bond0.123 is correctly configured with an IPv4 address while the untagged 
bond0 lacks IPv4 configuration.
Simply configuring a static IPv4 address from an unused subnet  on the untagged 
bond is a valid workaround.
I just opened https://bugzilla.redhat.com/show_bug.cgi?id=1586280


Ok, I removed all bridges, so IPs are configured on bond0.id, added dummy IP 
for bond0, flushed iptables. And it works. So thank you for your help!


One last question - does the bond0 IP is still needed or it's just issue during 
install and now we can delete it?


Cheers

--

Best regards/Pozdrawiam/MfG

Mariusz Kozakowski

Site Reliability Engineer

Dansk Supermarked Group
Baltic Business Park
ul. 1 Maja 38-39
71-627 Szczecin
dansksupermarked.com
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QNJNDRBTNXBPMF57PYRAKJKPUMGAEGCO/


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

2018-06-07 Thread Mariusz Kozakowski
Ok, removed the manual created ovirtmgmt network. Now it's complaining about 
missing ovirtmgmt network when installing host:

2018-06-05 13:21:32,091+02 INFO  
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) 
[2ed0af08] Connecting to host01.recacted/1.2.3.42
2018-06-05 13:21:32,250+02 INFO  
[org.ovirt.engine.core.bll.host.HostConnectivityChecker] 
(EE-ManagedThreadFactory-engine-Thread-1) [3924] Engine managed to 
communicate with VDSM agent on host 'host01.recacted' with address 
'host01.recacted' ('9956cebf-59ab-426b-ace6-25342705445e')
2018-06-05 13:22:09,007+02 INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-78) [2b3212b5] Lock Acquired to 
object 
'EngineLock:{exclusiveLocks='[5eb1152b-e9fb-4e2a-abea-f2d9823b724a=PROVIDER]', 
sharedLocks=''}'
2018-06-05 13:22:09,024+02 INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-78) [2b3212b5] Running command: 
SyncNetworkProviderCommand internal: true.
2018-06-05 13:22:09,254+02 INFO  
[org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-64) [] User 
admin@internal successfully logged in with scopes: 
ovirt-app-api ovirt-ext=token-info:authz-search 
ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate 
ovirt-ext=token:password-access
2018-06-05 13:22:09,526+02 INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-78) [2b3212b5] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[5eb1152b-e9fb-4e2a-abea-f2d9823b724a=PROVIDER]', 
sharedLocks=''}'
2018-06-05 13:24:32,603+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1) [3924] EVENT_ID: 
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM host01.recacted command 
CollectVdsNetworkDataAfterInstallationVDS failed: Message timeout which can be 
caused by communication issues
2018-06-05 13:24:32,603+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
 (EE-ManagedThreadFactory-engine-Thread-1) [3924] Command 
'org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand'
 return value 
'org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturn@7b51b9cb'
2018-06-05 13:24:32,603+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
 (EE-ManagedThreadFactory-engine-Thread-1) [3924] HostName = host01.recacted
2018-06-05 13:24:32,616+02 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
 (EE-ManagedThreadFactory-engine-Thread-1) [3924] Command 
'CollectVdsNetworkDataAfterInstallationVDSCommand(HostName = host01.recacted, 
CollectHostNetworkDataVdsCommandParameters:{hostId='9956cebf-59ab-426b-ace6-25342705445e',
 vds='Host[host01.recacted,9956cebf-59ab-426b-ace6-25342705445e]'})' execution 
failed: VDSGenericException: VDSNetworkException: Message timeout which can be 
caused by communication issues
2018-06-05 13:24:32,616+02 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] 
(EE-ManagedThreadFactory-engine-Thread-3) [3924] Host 'host01.recacted' is 
not responding.
2018-06-05 13:24:32,622+02 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-3) [3924] EVENT_ID: 
VDS_HOST_NOT_RESPONDING(9,027), Host host01.recacted is not responding. Host 
cannot be fenced automatically because power management for the host is 
disabled.
2018-06-05 13:24:32,616+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [3924] Exception: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be caused 
by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)

2018-06-05 13:24:32,628+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [3924] Host installation failed 
for host '9956cebf-59ab-426b-ace6-25342705445e', 'host01.redacted': Failed to 
configure management network on the host
2018-06-05 13:24:32,633+02 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [3924] START, 
SetVdsStatusVDSCommand(HostName = host01.redacted, 
SetVdsStatusVDSCommandParameters:{hostId='9956cebf-59ab-426b-ace6-25342705445e',
 status='NonOperational', nonOperationalReason='NONE', 
stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 2fa6c4ab

2018-06-05 13:26:19,101+02 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 

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

2018-06-07 Thread Mariusz Kozakowski
On Tue, 2018-06-05 at 10:09 +0200, Simone Tiraboschi wrote:
But did you manually created the bridge or did the engine created it for you 
triggered by hosted-engine-setup?

Manually. Before we had br0.. Should we go back with network configuration 
to br0., and no ovritmgmt network created?

Also, what we should use as anwers here?

OVEHOSTED_NETWORK/bridgeIf=str:bond0.
OVEHOSTED_NETWORK/bridgeName=str:ovirtmgmt



--

Best regards/Pozdrawiam/MfG

Mariusz Kozakowski

Site Reliability Engineer

Dansk Supermarked Group
Baltic Business Park
ul. 1 Maja 38-39
71-627 Szczecin
dansksupermarked.com
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UGEGWBWWSKWEYPHSDSXURNBDM44DBE7U/


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

2018-06-07 Thread Mariusz Kozakowski
Hi,

we managed to get a bit forward, but we still face issues.

2018-06-05 09:38:42,556+02 INFO  
[org.ovirt.engine.core.bll.host.HostConnectivityChecker] 
(EE-ManagedThreadFactory-engine-Thread-1) [2617aebd] Engine managed to 
communicate with VDSM agent on host 'host01.redacted' with address 
'host01.redacted' ('8af21ab3-ce7a-49a5-a526-94b65aa3da29')
2018-06-05 09:38:47,488+02 WARN  
[org.ovirt.engine.core.bll.network.NetworkConfigurator] 
(EE-ManagedThreadFactory-engine-Thread-1) [2617aebd] Failed to find a valid 
interface for the management network of host host01.redacted. If the interface 
ovirtmgmt is a bridge, it should be torn-down manually.
2018-06-05 09:38:47,488+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [2617aebd] Exception: 
org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException:
 Interface ovirtmgmt is invalid for management network

Our network configuration, bond0. is bridged into ovirtmgmt:

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
[…]
11: ovirtmgmt:  mtu 1500 qdisc noqueue state 
UP group default qlen 1000
link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
inet 1.2.3.42/24 brd 1.2.3.255 scope global noprefixroute ovirtmgmt
   valid_lft forever preferred_lft forever
inet6 fe80::e8dd:fff:fe33:4bba/64 scope link
   valid_lft forever preferred_lft forever
12: bond0:  mtu 1500 qdisc noqueue 
state UP group default qlen 1000
link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
inet6 fe80::5ef3:fcff:feda:b618/64 scope link
   valid_lft forever preferred_lft forever
13: bond0.3019@bond0: 
 mtu 1500 qdisc noqueue master br0.3019 state 
UP group default qlen 1000
link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
14: bond0.@bond0: 
 mtu 1500 qdisc noqueue master ovirtmgmt state 
UP group default qlen 1000
link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
15: br0.3019:  mtu 1500 qdisc noqueue state UP 
group default qlen 1000
link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
inet 19.2.3.22/16 brd 192.168.255.255 scope global noprefixroute br0.3019
   valid_lft forever preferred_lft forever
inet6 fe80::5ef3:fcff:feda:b618/64 scope link
   valid_lft forever preferred_lft forever
31: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN group 
default qlen 1000
link/ether da:aa:73:7e:d7:93 brd ff:ff:ff:ff:ff:ff
32: virbr0:  mtu 1500 qdisc noqueue state UP 
group default qlen 1000
link/ether 52:54:00:a6:75:67 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
   valid_lft forever preferred_lft forever
33: virbr0-nic:  mtu 1500 qdisc pfifo_fast master virbr0 
state DOWN group default qlen 1000
link/ether 52:54:00:a6:75:67 brd ff:ff:ff:ff:ff:ff
40: vnet0:  mtu 1500 qdisc pfifo_fast master 
virbr0 state UNKNOWN group default qlen 1000
link/ether fe:16:3e:2d:0d:55 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:fe2d:d55/64 scope link
   valid_lft forever preferred_lft forever

On Mon, 2018-05-28 at 12:57 +0200, Simone Tiraboschi wrote:


On Mon, May 28, 2018 at 11:44 AM, Mariusz Kozakowski 
mailto:mariusz.kozakow...@dsg.dk>> wrote:
On Fri, 2018-05-25 at 11:21 +0200, Simone Tiraboschi wrote:



On Fri, May 25, 2018 at 9:20 AM, Mariusz Kozakowski 
mailto:mariusz.kozakow...@dsg.dk>> wrote:
On Thu, 2018-05-24 at 14:11 +0200, Simone Tiraboschi wrote:
To better understand what it's happening you have to check host-deploy logs; 
they are available under /var/log/ovirt-engine/host-deploy/ on your engine VM.

Unfortunately there is no logs under that directory. It's empty.


So it probably failed to reach the host due to a name resolution issue or 
something like that.
Can you please double check it in /var/log/ovirt-engine/engine.log on the 
engine VM ?


Thanks - it helped a bit. At least now we have logs for host-deploy, but still 
no success.

Few parts I found in engine log:

2018-05-28 11:07:39,473+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [1a4cf85e] Exception: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be caused 
by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)


2018-05-28 11:07:39,485+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [1a4cf85e] Host installation failed 
for host '098c3c99-921d-46f0-bdba-86370a2dc895', 'host01.redacted': Failed to 
configure management 

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

2018-06-06 Thread Simone Tiraboschi
On Wed, Jun 6, 2018 at 2:49 PM, Mariusz Kozakowski <
mariusz.kozakow...@sallinggroup.com> wrote:

> On Tue, 2018-06-05 at 23:26 +0200, Simone Tiraboschi wrote:
>
> I tried to deploy hosted-engine over vlan over a bond and everything
> worked as expected but I also found a case where it fails: SetupNetworks is
> going to fail if bond0.123 is correctly configured with an IPv4 address
> while the untagged bond0 lacks IPv4 configuration.
> Simply configuring a static IPv4 address from an unused subnet  on the
> untagged bond is a valid workaround.
> I just opened https://bugzilla.redhat.com/show_bug.cgi?id=1586280
>
>
> Ok, I removed all bridges, so IPs are configured on bond0.id, added dummy IP 
> for bond0, flushed iptables. And it works. So thank you for your help!
>
> Thanks for the report.

>
> One last question - does the bond0 IP is still needed or it's just issue 
> during install and now we can delete it?
>
>
Please keep it since vdsm could potentially try to rollback your network
configuration to its initial status if something is reported to be down for
a relevant amount of time.


> Cheers
>
> --
>
> Best regards/Pozdrawiam/MfG
>
> *Mariusz Kozakowski*
>
> Site Reliability Engineer
>
> Dansk Supermarked Group
> Baltic Business Park
> ul. 1 Maja 38-39
> 71-627 Szczecin
> dansksupermarked.com
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MQH6IWCS5AK7SAEY4L45ROFXRBOWFEQW/


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

2018-06-05 Thread Simone Tiraboschi
On Tue, Jun 5, 2018 at 4:37 PM, Simone Tiraboschi 
wrote:

>
>
> On Tue, Jun 5, 2018 at 2:22 PM, Mariusz Kozakowski  sallinggroup.com> wrote:
>
>> On Tue, 2018-06-05 at 13:43 +0200, Simone Tiraboschi wrote:
>>
>> Can you please share your /var/log/vdsm/vdsm.log and
>> /var/log/vdsm/supervdsm.log ?
>>
>>
>> Yes, please find the attached.
>>
>> On a seccesful setup in the logs you should see something like
> 2018-06-05 10:51:53,451+0200 INFO  (jsonrpc/7) [api.network] START
> setupNetworks(networks={u'ovirtmgmt': {u'ipv6autoconf': True, u'nic':
> u'eth0', u'mtu': 1500, u'switch': u'legacy', u'dhcpv6': False, u'STP':
> u'no', u'bridged': u'true', u'defaultRoute': True, u'bootproto': u'dhcp'}},
> bondings={}, options={u'connectivityCheck': u'true',
> u'connectivityTimeout': 120}) from=:::192.168.122.37,49716,
> flow_id=41ca4fc1 (api:46)
>
> but it's completely missing on your logs.
>
> Can you please attach also the whole engine.log and host-deploy logs?
>

I tried to deploy hosted-engine over vlan over a bond and everything worked
as expected but I also found a case where it fails: SetupNetworks is going
to fail if bond0.123 is correctly configured with an IPv4 address while the
untagged bond0 lacks IPv4 configuration.
Simply configuring a static IPv4 address from an unused subnet  on the
untagged bond is a valid workaround.
I just opened https://bugzilla.redhat.com/show_bug.cgi?id=1586280



>
>
>>
>> --
>>
>> Best regards/Pozdrawiam/MfG
>>
>> *Mariusz Kozakowski*
>>
>> Site Reliability Engineer
>>
>> Dansk Supermarked Group
>> Baltic Business Park
>> ul. 1 Maja 38-39
>> 71-627 Szczecin
>> dansksupermarked.com
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K6HE45CK4S3NQEPMEA7U6LS5I22HJKLT/


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

2018-06-05 Thread Simone Tiraboschi
On Tue, Jun 5, 2018 at 2:22 PM, Mariusz Kozakowski <
mariusz.kozakow...@sallinggroup.com> wrote:

> On Tue, 2018-06-05 at 13:43 +0200, Simone Tiraboschi wrote:
>
> Can you please share your /var/log/vdsm/vdsm.log and
> /var/log/vdsm/supervdsm.log ?
>
>
> Yes, please find the attached.
>
> On a seccesful setup in the logs you should see something like
2018-06-05 10:51:53,451+0200 INFO  (jsonrpc/7) [api.network] START
setupNetworks(networks={u'ovirtmgmt': {u'ipv6autoconf': True, u'nic':
u'eth0', u'mtu': 1500, u'switch': u'legacy', u'dhcpv6': False, u'STP':
u'no', u'bridged': u'true', u'defaultRoute': True, u'bootproto': u'dhcp'}},
bondings={}, options={u'connectivityCheck': u'true',
u'connectivityTimeout': 120}) from=:::192.168.122.37,49716,
flow_id=41ca4fc1 (api:46)

but it's completely missing on your logs.

Can you please attach also the whole engine.log and host-deploy logs?


>
> --
>
> Best regards/Pozdrawiam/MfG
>
> *Mariusz Kozakowski*
>
> Site Reliability Engineer
>
> Dansk Supermarked Group
> Baltic Business Park
> ul. 1 Maja 38-39
> 71-627 Szczecin
> dansksupermarked.com
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/D4B7PVCDWJY42AYOX4NX7QTUXLA2WRFL/


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

2018-06-05 Thread Simone Tiraboschi
On Tue, Jun 5, 2018 at 1:40 PM, Mariusz Kozakowski <
mariusz.kozakow...@sallinggroup.com> wrote:

> Ok, removed the manual created ovirtmgmt network. Now it's complaining
> about missing ovirtmgmt network when installing host:
>
> 2018-06-05 13:21:32,091+02 INFO  
> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
> (SSL Stomp Reactor) [2ed0af08] Connecting to host01.recacted/1.2.3.42
> 2018-06-05 13:21:32,250+02 INFO  
> [org.ovirt.engine.core.bll.host.HostConnectivityChecker]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] Engine managed to
> communicate with VDSM agent on host 'host01.recacted' with address
> 'host01.recacted' ('9956cebf-59ab-426b-ace6-25342705445e')
> 2018-06-05 13:22:09,007+02 INFO  [org.ovirt.engine.core.
> bll.provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-78)
> [2b3212b5] Lock Acquired to object 'EngineLock:{exclusiveLocks='[
> 5eb1152b-e9fb-4e2a-abea-f2d9823b724a=PROVIDER]', sharedLocks=''}'
> 2018-06-05 13:22:09,024+02 INFO  [org.ovirt.engine.core.
> bll.provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-78)
> [2b3212b5] Running command: SyncNetworkProviderCommand internal: true.
> 2018-06-05 13:22:09,254+02 INFO  
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils]
> (default task-64) [] User admin@internal successfully logged in with
> scopes: ovirt-app-api ovirt-ext=token-info:authz-search
> ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate
> ovirt-ext=token:password-access
> 2018-06-05 13:22:09,526+02 INFO  [org.ovirt.engine.core.
> bll.provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-78)
> [2b3212b5] Lock freed to object 'EngineLock:{exclusiveLocks='[
> 5eb1152b-e9fb-4e2a-abea-f2d9823b724a=PROVIDER]', sharedLocks=''}'
> 2018-06-05 13:24:32,603+02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-1)
> [3924] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM
> host01.recacted command CollectVdsNetworkDataAfterInstallationVDS failed:
> Message timeout which can be caused by communication issues
> 2018-06-05 13:24:32,603+02 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] Command
> 'org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand'
> return value 'org.ovirt.engine.core.vdsbroker.vdsbroker.
> VDSInfoReturn@7b51b9cb'
> 2018-06-05 13:24:32,603+02 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] HostName =
> host01.recacted
> 2018-06-05 13:24:32,616+02 ERROR [org.ovirt.engine.core.
> vdsbroker.vdsbroker.CollectVdsNetworkDataAfterInstallationVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] Command '
> CollectVdsNetworkDataAfterInstallationVDSCommand(HostName =
> host01.recacted, CollectHostNetworkDataVdsCommandParameters:{hostId='
> 9956cebf-59ab-426b-ace6-25342705445e', vds='Host[host01.recacted,
> 9956cebf-59ab-426b-ace6-25342705445e]'})' execution failed:
> VDSGenericException: VDSNetworkException: Message timeout which can be
> caused by communication issues
> 2018-06-05 13:24:32,616+02 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager]
> (EE-ManagedThreadFactory-engine-Thread-3) [3924] Host
> 'host01.recacted' is not responding.
> 2018-06-05 13:24:32,622+02 WARN  [org.ovirt.engine.core.
> dal.dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-3)
> [3924] EVENT_ID: VDS_HOST_NOT_RESPONDING(9,027), Host host01.recacted
> is not responding. Host cannot be fenced automatically because power
> management for the host is disabled.
> 2018-06-05 13:24:32,616+02 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] Exception:
> org.ovirt.engine.core.common.errors.EngineException: EngineException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
> VDSGenericException: VDSNetworkException: Message timeout which can be
> caused by communication issues (Failed with error VDS_NETWORK_ERROR and
> code 5022)
>
> 2018-06-05 13:24:32,628+02 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] Host installation
> failed for host '9956cebf-59ab-426b-ace6-25342705445e',
> 'host01.redacted': Failed to configure management network on the host
> 2018-06-05 13:24:32,633+02 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [3924] START,
> SetVdsStatusVDSCommand(HostName = host01.redacted,
> SetVdsStatusVDSCommandParameters:{hostId='9956cebf-59ab-426b-ace6-25342705445e',
> status='NonOperational', 

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

2018-06-05 Thread Simone Tiraboschi
On Tue, Jun 5, 2018 at 10:16 AM, Mariusz Kozakowski <
mariusz.kozakow...@sallinggroup.com> wrote:

> On Tue, 2018-06-05 at 10:09 +0200, Simone Tiraboschi wrote:
>
> But did you manually created the bridge or did the engine created it for
> you triggered by hosted-engine-setup?
>
>
> Manually. Before we had br0.. Should we go back with network
> configuration to br0., and no ovritmgmt network created?
>

Yes, I'm pretty sure that the issue is there, see also
https://bugzilla.redhat.com/show_bug.cgi?id=1317125

It will work for sure if the management bridge has been created in the past
by the engine but we had a lot of failure reports trying to consume
management bridge manually created with wrong options.
Letting the engine creating it with the right configuration is by far the
safest option.



> Also, what we should use as anwers here?
>
> OVEHOSTED_NETWORK/bridgeIf=str:bond0.
> OVEHOSTED_NETWORK/bridgeName=str:ovirtmgmt
>
>
>
Yes, this should be fine.


>
> --
>
> Best regards/Pozdrawiam/MfG
>
> *Mariusz Kozakowski*
>
> Site Reliability Engineer
>
> Dansk Supermarked Group
> Baltic Business Park
> ul. 1 Maja 38-39
> 71-627 Szczecin
> dansksupermarked.com
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JZMCIGDPKXOXFPB4E5QVOZ7K3Y7BP6W5/


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

2018-06-05 Thread Simone Tiraboschi
On Tue, Jun 5, 2018 at 10:05 AM, Mariusz Kozakowski <
mariusz.kozakow...@sallinggroup.com> wrote:

> Hi,
>
> we managed to get a bit forward, but we still face issues.
>
> 2018-06-05 09:38:42,556+02 INFO  
> [org.ovirt.engine.core.bll.host.HostConnectivityChecker]
> (EE-ManagedThreadFactory-engine-Thread-1) [2617aebd] Engine managed to
> communicate with VDSM agent on host 'host01.redacted' with address
> 'host01.redacted' ('8af21ab3-ce7a-49a5-a526-94b65aa3da29')
> 2018-06-05 09:38:47,488+02 WARN  
> [org.ovirt.engine.core.bll.network.NetworkConfigurator]
> (EE-ManagedThreadFactory-engine-Thread-1) [2617aebd] Failed to find a
> valid interface for the management network of host host01.redacted. If the
> interface ovirtmgmt is a bridge, it should be torn-down manually.
> 2018-06-05 09:38:47,488+02 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [2617aebd] Exception:
> org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException:
> Interface ovirtmgmt is invalid for management network
>
> Our network configuration, bond0. is bridged into ovirtmgmt:
>

But did you manually created the bridge or did the engine created it for
you triggered by hosted-engine-setup?


>
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group
> default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> […]
> 11: ovirtmgmt:  mtu 1500 qdisc noqueue
> state UP group default qlen 1000
> link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
> inet 1.2.3.42/24 brd 1.2.3.255 scope global noprefixroute ovirtmgmt
>valid_lft forever preferred_lft forever
> inet6 fe80::e8dd:fff:fe33:4bba/64 scope link
>valid_lft forever preferred_lft forever
> 12: bond0:  mtu 1500 qdisc
> noqueue state UP group default qlen 1000
> link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
> inet6 fe80::5ef3:fcff:feda:b618/64 scope link
>valid_lft forever preferred_lft forever
> 13: bond0.3019@bond0:  mtu 1500 qdisc
> noqueue master br0.3019 state UP group default qlen 1000
> link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
> 14: bond0.@bond0:  mtu 1500 qdisc
> noqueue master ovirtmgmt state UP group default qlen 1000
> link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
> 15: br0.3019:  mtu 1500 qdisc noqueue
> state UP group default qlen 1000
> link/ether 5c:f3:fc:da:b6:18 brd ff:ff:ff:ff:ff:ff
> inet 19.2.3.22/16 brd 192.168.255.255 scope global noprefixroute
> br0.3019
>valid_lft forever preferred_lft forever
> inet6 fe80::5ef3:fcff:feda:b618/64 scope link
>valid_lft forever preferred_lft forever
> 31: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN
> group default qlen 1000
> link/ether da:aa:73:7e:d7:93 brd ff:ff:ff:ff:ff:ff
> 32: virbr0:  mtu 1500 qdisc noqueue
> state UP group default qlen 1000
> link/ether 52:54:00:a6:75:67 brd ff:ff:ff:ff:ff:ff
> inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
>valid_lft forever preferred_lft forever
> 33: virbr0-nic:  mtu 1500 qdisc pfifo_fast master
> virbr0 state DOWN group default qlen 1000
> link/ether 52:54:00:a6:75:67 brd ff:ff:ff:ff:ff:ff
> 40: vnet0:  mtu 1500 qdisc pfifo_fast
> master virbr0 state UNKNOWN group default qlen 1000
> link/ether fe:16:3e:2d:0d:55 brd ff:ff:ff:ff:ff:ff
> inet6 fe80::fc16:3eff:fe2d:d55/64 scope link
>valid_lft forever preferred_lft forever
>
> On Mon, 2018-05-28 at 12:57 +0200, Simone Tiraboschi wrote:
>
>
>
> On Mon, May 28, 2018 at 11:44 AM, Mariusz Kozakowski <
> mariusz.kozakow...@dsg.dk> wrote:
>
> On Fri, 2018-05-25 at 11:21 +0200, Simone Tiraboschi wrote:
>
>
>
>
> On Fri, May 25, 2018 at 9:20 AM, Mariusz Kozakowski <
> mariusz.kozakow...@dsg.dk> wrote:
>
> On Thu, 2018-05-24 at 14:11 +0200, Simone Tiraboschi wrote:
>
> To better understand what it's happening you have to check host-deploy
> logs; they are available under /var/log/ovirt-engine/host-deploy/ on your
> engine VM.
>
>
> Unfortunately there is no logs under that directory. It's empty.
>
>
> So it probably failed to reach the host due to a name resolution issue or
> something like that.
> Can you please double check it in /var/log/ovirt-engine/engine.log on the
> engine VM ?
>
>
>
> Thanks - it helped a bit. At least now we have logs for host-deploy, but
> still no success.
>
> Few parts I found in engine log:
>
> 2018-05-28 11:07:39,473+02 ERROR [org.ovirt.engine.core.bll.hos
> tdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-1)
> [1a4cf85e] Exception: org.ovirt.engine.core.common.errors.EngineException:
> EngineException: org.ovirt.engine.core.vdsbroke
> r.vdsbroker.VDSNetworkException: VDSGenericException:
> VDSNetworkException: Message timeout which can be caused by communication
> 

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

2018-05-30 Thread Mariusz Kozakowski
On Mon, 2018-05-28 at 14:30 +0200, Mariusz Kozakowski wrote:
On Mon, 2018-05-28 at 12:57 +0200, Simone Tiraboschi wrote:
The issue is on network configuration:
you have to check /var/log/vdsm/vdsm.log and /var/log/vdsm/supervdsm.log to 
understand why it failed.

From same time frame, vdsm.log. Can this be related?

2018-05-28 11:07:34,481+0200 INFO  (jsonrpc/1) [api.host] START getAllVmStats() 
from=::1,45816 (api:46)
2018-05-28 11:07:34,482+0200 INFO  (jsonrpc/1) [api.host] FINISH getAllVmStats 
return={'status': {'message': 'Done', 'code': 0}, 'statsList': (suppressed)} 
from=::1,45816 (api:52)
2018-05-28 11:07:34,483+0200 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmStats succeeded in 0.01 seconds (__init__:573)
2018-05-28 11:07:34,489+0200 INFO  (jsonrpc/2) [api.host] START 
getAllVmIoTunePolicies() from=::1,45816 (api:46)
2018-05-28 11:07:34,489+0200 INFO  (jsonrpc/2) [api.host] FINISH 
getAllVmIoTunePolicies return={'status': {'message': 'Done', 'code': 0}, 
'io_tune_policies_dict': {'405f8ec0-03f9-43cb-a7e1-343a4c30453f': {'policy': 
[], 'current_values': []}}} from=::1,45816 (api:52)
2018-05-28 11:07:34,490+0200 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmIoTunePolicies succeeded in 0.00 seconds (__init__:573)
2018-05-28 11:07:35,555+0200 INFO  (vmrecovery) [vdsm.api] START 
getConnectedStoragePoolsList(options=None) from=internal, 
task_id=6f517c47-a9f3-4913-bf9d-661355262c38 (api:46)
2018-05-28 11:07:35,555+0200 INFO  (vmrecovery) [vdsm.api] FINISH 
getConnectedStoragePoolsList return={'poollist': []} from=internal, 
task_id=6f517c47-a9f3-4913-bf9d-661355262c38 (api:52)
2018-05-28 11:07:35,555+0200 INFO  (vmrecovery) [vds] recovery: waiting for 
storage pool to go up (clientIF:707)
2018-05-28 11:07:38,982+0200 WARN  (vdsm.Scheduler) [Executor] Worker blocked: 
 timeout=60, 
duration=180 at 0x2fc3650> task#=1 at 0x3590710>, traceback:
File: "/usr/lib64/python2.7/threading.py", line 785, in __bootstrap
  self.__bootstrap_inner()
File: "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  self.run()
File: "/usr/lib64/python2.7/threading.py", line 765, in run
  self.__target(*self.__args, **self.__kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", line 194, 
in run
  ret = func(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 301, in _run
  self._execute_task()
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, in 
_execute_task
  task()
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in __call__
  self._callable()
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 523, in 
__call__
  self._handler(self._ctx, self._req)
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 566, in 
_serveRequest
  response = self._handle_request(req, ctx)
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in 
_handle_request
  res = method(**params)
File: "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201, in 
_dynamicMethod
  result = fn(*methodArgs)
File: "", line 2, in getCapabilities
File: "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
  ret = func(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1339, in 
getCapabilities
  c = caps.get()
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 201, in get
  liveSnapSupported = _getLiveSnapshotSupport(cpuarch.effective())
File: "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 41, in 
__call__
  value = self.func(*args)
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 92, in 
_getLiveSnapshotSupport
  capabilities = _getCapsXMLStr()
File: "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 41, in 
__call__
  value = self.func(*args)
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 60, in 
_getCapsXMLStr
  return _getFreshCapsXMLStr()
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 55, in 
_getFreshCapsXMLStr
  return libvirtconnection.get().getCapabilities()
File: "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 
130, in wrapper
  ret = f(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in 
wrapper
  return func(inst, *args, **kwargs)
File: "/usr/lib64/python2.7/site-packages/libvirt.py", line 3669, in 
getCapabilities
  ret = libvirtmod.virConnectGetCapabilities(self._o) (executor:363)
2018-05-28 11:07:40,561+0200 INFO  (vmrecovery) [vdsm.api] START 
getConnectedStoragePoolsList(options=None) from=internal, 
task_id=2ef7c0a3-4cf9-436e-ad6b-ee04e2a0cf3a (api:46)
2018-05-28 11:07:40,561+0200 INFO  (vmrecovery) [vdsm.api] FINISH 
getConnectedStoragePoolsList return={'poollist': []} from=internal, 
task_id=2ef7c0a3-4cf9-436e-ad6b-ee04e2a0cf3a (api:52)
2018-05-28 11:07:40,561+0200 INFO  (vmrecovery) [vds] recovery: waiting for 
storage pool to go up 

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

2018-05-30 Thread Mariusz Kozakowski
On Mon, 2018-05-28 at 12:57 +0200, Simone Tiraboschi wrote:
The issue is on network configuration:
you have to check /var/log/vdsm/vdsm.log and /var/log/vdsm/supervdsm.log to 
understand why it failed.

From same time frame, vdsm.log. Can this be related?

2018-05-28 11:07:34,481+0200 INFO  (jsonrpc/1) [api.host] START getAllVmStats() 
from=::1,45816 (api:46)
2018-05-28 11:07:34,482+0200 INFO  (jsonrpc/1) [api.host] FINISH getAllVmStats 
return={'status': {'message': 'Done', 'code': 0}, 'statsList': (suppressed)} 
from=::1,45816 (api:52)
2018-05-28 11:07:34,483+0200 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmStats succeeded in 0.01 seconds (__init__:573)
2018-05-28 11:07:34,489+0200 INFO  (jsonrpc/2) [api.host] START 
getAllVmIoTunePolicies() from=::1,45816 (api:46)
2018-05-28 11:07:34,489+0200 INFO  (jsonrpc/2) [api.host] FINISH 
getAllVmIoTunePolicies return={'status': {'message': 'Done', 'code': 0}, 
'io_tune_policies_dict': {'405f8ec0-03f9-43cb-a7e1-343a4c30453f': {'policy': 
[], 'current_values': []}}} from=::1,45816 (api:52)
2018-05-28 11:07:34,490+0200 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmIoTunePolicies succeeded in 0.00 seconds (__init__:573)
2018-05-28 11:07:35,555+0200 INFO  (vmrecovery) [vdsm.api] START 
getConnectedStoragePoolsList(options=None) from=internal, 
task_id=6f517c47-a9f3-4913-bf9d-661355262c38 (api:46)
2018-05-28 11:07:35,555+0200 INFO  (vmrecovery) [vdsm.api] FINISH 
getConnectedStoragePoolsList return={'poollist': []} from=internal, 
task_id=6f517c47-a9f3-4913-bf9d-661355262c38 (api:52)
2018-05-28 11:07:35,555+0200 INFO  (vmrecovery) [vds] recovery: waiting for 
storage pool to go up (clientIF:707)
2018-05-28 11:07:38,982+0200 WARN  (vdsm.Scheduler) [Executor] Worker blocked: 
 timeout=60, 
duration=180 at 0x2fc3650> task#=1 at 0x3590710>, traceback:
File: "/usr/lib64/python2.7/threading.py", line 785, in __bootstrap
  self.__bootstrap_inner()
File: "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  self.run()
File: "/usr/lib64/python2.7/threading.py", line 765, in run
  self.__target(*self.__args, **self.__kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", line 194, 
in run
  ret = func(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 301, in _run
  self._execute_task()
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, in 
_execute_task
  task()
File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, in __call__
  self._callable()
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 523, in 
__call__
  self._handler(self._ctx, self._req)
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 566, in 
_serveRequest
  response = self._handle_request(req, ctx)
File: "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in 
_handle_request
  res = method(**params)
File: "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201, in 
_dynamicMethod
  result = fn(*methodArgs)
File: "", line 2, in getCapabilities
File: "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
  ret = func(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1339, in 
getCapabilities
  c = caps.get()
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 201, in get
  liveSnapSupported = _getLiveSnapshotSupport(cpuarch.effective())
File: "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 41, in 
__call__
  value = self.func(*args)
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 92, in 
_getLiveSnapshotSupport
  capabilities = _getCapsXMLStr()
File: "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 41, in 
__call__
  value = self.func(*args)
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 60, in 
_getCapsXMLStr
  return _getFreshCapsXMLStr()
File: "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 55, in 
_getFreshCapsXMLStr
  return libvirtconnection.get().getCapabilities()
File: "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 
130, in wrapper
  ret = f(*args, **kwargs)
File: "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in 
wrapper
  return func(inst, *args, **kwargs)
File: "/usr/lib64/python2.7/site-packages/libvirt.py", line 3669, in 
getCapabilities
  ret = libvirtmod.virConnectGetCapabilities(self._o) (executor:363)
2018-05-28 11:07:40,561+0200 INFO  (vmrecovery) [vdsm.api] START 
getConnectedStoragePoolsList(options=None) from=internal, 
task_id=2ef7c0a3-4cf9-436e-ad6b-ee04e2a0cf3a (api:46)
2018-05-28 11:07:40,561+0200 INFO  (vmrecovery) [vdsm.api] FINISH 
getConnectedStoragePoolsList return={'poollist': []} from=internal, 
task_id=2ef7c0a3-4cf9-436e-ad6b-ee04e2a0cf3a (api:52)
2018-05-28 11:07:40,561+0200 INFO  (vmrecovery) [vds] recovery: waiting for 
storage pool to go up (clientIF:707)

supervdsm hase nothing at 11:07:39.

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

2018-05-28 Thread Simone Tiraboschi
On Mon, May 28, 2018 at 11:44 AM, Mariusz Kozakowski <
mariusz.kozakow...@dsg.dk> wrote:

> On Fri, 2018-05-25 at 11:21 +0200, Simone Tiraboschi wrote:
>
>
>
>
> On Fri, May 25, 2018 at 9:20 AM, Mariusz Kozakowski <
> mariusz.kozakow...@dsg.dk> wrote:
>
> On Thu, 2018-05-24 at 14:11 +0200, Simone Tiraboschi wrote:
>
> To better understand what it's happening you have to check host-deploy
> logs; they are available under /var/log/ovirt-engine/host-deploy/ on your
> engine VM.
>
>
> Unfortunately there is no logs under that directory. It's empty.
>
>
> So it probably failed to reach the host due to a name resolution issue or
> something like that.
> Can you please double check it in /var/log/ovirt-engine/engine.log on the
> engine VM ?
>
>
>
> Thanks - it helped a bit. At least now we have logs for host-deploy, but
> still no success.
>
> Few parts I found in engine log:
>
> 2018-05-28 11:07:39,473+02 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [1a4cf85e] Exception:
> org.ovirt.engine.core.common.errors.EngineException: EngineException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
> VDSGenericException: VDSNetworkException: Message timeout which can be
> caused by communication issues (Failed with error VDS_NETWORK_ERROR and
> code 5022)
>
>
> 2018-05-28 11:07:39,485+02 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [1a4cf85e] Host installation
> failed for host '098c3c99-921d-46f0-bdba-86370a2dc895',
> 'host01.redacted': Failed to configure management network on the host
>


The issue is on network configuration:
you have to check /var/log/vdsm/vdsm.log and /var/log/vdsm/supervdsm.log to
understand why it failed.



>
> 2018-05-28 11:20:04,705+02 INFO  
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-37) [5ba0ae45] Running
> command: SetNonOperationalVdsCommand internal: true. Entities affected
> :  ID: 098c3c99-921d-46f0-bdba-86370a2dc895 Type: VDS
> 2018-05-28 11:20:04,711+02 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-37) [5ba0ae45] START,
> SetVdsStatusVDSCommand(HostName = host01.redacted,
> SetVdsStatusVDSCommandParameters:{hostId='098c3c99-921d-46f0-bdba-86370a2dc895',
> status='NonOperational', nonOperationalReason='NETWORK_UNREACHABLE',
> stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 11ebbdeb
> 2018-05-28 11:20:04,715+02 INFO  
> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-37) [5ba0ae45] FINISH,
> SetVdsStatusVDSCommand, log id: 11ebbdeb
> 2018-05-28 11:20:04,769+02 ERROR 
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-37) [5ba0ae45] Host
> 'host01.redacted' is set to Non-Operational, it is missing the following
> networks: 'ovirtmgmt'
> 2018-05-28 11:20:04,786+02 WARN  [org.ovirt.engine.core.
> dal.dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-37)
> [5ba0ae45] EVENT_ID: VDS_SET_NONOPERATIONAL_NETWORK(519), Host
> host01.redacted does not comply with the cluster Default networks, the
> following networks are missing on host: 'ovirtmgmt'
> 2018-05-28 11:20:04,807+02 INFO  [org.ovirt.engine.core.bll.
> HandleVdsCpuFlagsOrClusterChangedCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-37)
> [7937fb47] Running command: HandleVdsCpuFlagsOrClusterChangedCommand
> internal: true. Entities affected :  ID: 098c3c99-921d-46f0-bdba-86370a2dc895
> Type: VDS
> 2018-05-28 11:20:04,814+02 INFO  [org.ovirt.engine.core.
> dal.dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-37)
> [7937fb47] EVENT_ID: VDS_DETECTED(13), Status of host host01.redacted was
> set to NonOperational.
> 2018-05-28 11:20:04,833+02 INFO  
> [org.ovirt.engine.core.bll.HandleVdsVersionCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-37) [4c10675c] Running
> command: HandleVdsVersionCommand internal: true. Entities affected :  ID:
> 098c3c99-921d-46f0-bdba-86370a2dc895 Type: VDS
> 2018-05-28 11:20:04,837+02 INFO  [org.ovirt.engine.core.
> vdsbroker.monitoring.HostMonitoring] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-37)
> [4c10675c] Host 'host01.redacted'(098c3c99-921d-46f0-bdba-86370a2dc895)
> is already in NonOperational status for reason 'NETWORK_UNREACHABLE'.
> SetNonOperationalVds command is skipped.
>
> Full log as attachment.
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 

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

2018-05-27 Thread Mariusz Kozakowski
On Thu, 2018-05-24 at 14:11 +0200, Simone Tiraboschi wrote:
To better understand what it's happening you have to check host-deploy logs; 
they are available under /var/log/ovirt-engine/host-deploy/ on your engine VM.

Unfortunately there is no logs under that directory. It's empty.


--

Best regards/Pozdrawiam/MfG

Mariusz Kozakowski

Site Reliability Engineer

Dansk Supermarked Group
Baltic Business Park
ul. 1 Maja 38-39
71-627 Szczecin
dansksupermarked.com
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


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

2018-05-25 Thread Simone Tiraboschi
On Fri, May 25, 2018 at 9:20 AM, Mariusz Kozakowski <
mariusz.kozakow...@dsg.dk> wrote:

> On Thu, 2018-05-24 at 14:11 +0200, Simone Tiraboschi wrote:
>
> To better understand what it's happening you have to check host-deploy
> logs; they are available under /var/log/ovirt-engine/host-deploy/ on your
> engine VM.
>
>
> Unfortunately there is no logs under that directory. It's empty.
>

So it probably failed to reach the host due to a name resolution issue or
something like that.
Can you please double check it in /var/log/ovirt-engine/engine.log on the
engine VM ?


>
> --
>
> Best regards/Pozdrawiam/MfG
>
> *Mariusz Kozakowski*
>
> Site Reliability Engineer
>
> Dansk Supermarked Group
> Baltic Business Park
> ul. 1 Maja 38-39
> 71-627 Szczecin
> dansksupermarked.com
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


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

2018-05-24 Thread Phillip Bailey
Hi Mariusz,

I'm sorry to hear you're having issues. Could you please provide a link to
a pastebin or something similar for the full log file?

Thanks!

-Phillip Bailey

On Wed, May 23, 2018 at 2:35 AM, Mariusz Kozakowski <
mariusz.kozakow...@dsg.dk> wrote:

> 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
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


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

2018-05-24 Thread Simone Tiraboschi
On Wed, May 23, 2018 at 8:35 AM, Mariusz Kozakowski <
mariusz.kozakow...@dsg.dk> wrote:

> 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?
>

Hi,
it correctly gets host facts from engine APIs, the issue now is simply that
no host appears in the reported facts and this means that engine, for same
reason, failed to configure the host where you are running
hosted-engine-setup.

To better understand what it's happening you have to check host-deploy
logs; they are available under /var/log/ovirt-engine/host-deploy/ on your
engine VM.



>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org