
I'm installing self hosted engine and there is an error that I can't understand can somebody help me? The logs are here: https://termbin.com/vht61

I can see that its the network, but I don't get why it is not being created what is the problem with it? Right now I have virbr0 which is the default on libvirt should I rename it manually?

Hi, On Wed, Jul 20, 2022 at 9:18 PM less foobar via Users <users@ovirt.org> wrote:
I'm installing self hosted engine and there is an error that I can't understand can somebody help me? The logs are here: https://termbin.com/vht61
I think the relevant error from this log is: Creating initial Keycloak admin user\n[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/usr/share/ovirt-engine/services/ovirt-engine/keycloakz26apcu3/keycloak-add-user.json Can you please check/share all of the logs under /var/log/ovirt-hosted-engine-setup, and if you can access the engine VM, also /var/log/ there? Perhaps upload to some file sharing service and add a link. In particular: I see from the above log that the appliance you use, ovirt-engine-appliance-4.5-20220511122240, while being the latest we published (in [1]), is somewhat old. This shouldn't be a problem, because during setup we also: 2022-07-20 18:56:26,297+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:115 TASK [ovirt.ovirt.engine_setup : Update all packages] 2022-07-20 19:10:06,521+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:115 changed: [localhost -> 192.168.222.20] Which, as you can see, took quite some time, so hopefully worked as expected - but I can't see in this log which versions of ovirt-engine and ovirt-engine-keyclock you eventually had, before engine-setup was ran. Adding Artur, our keycloak integration developer. Artur, any idea what might have caused this error? [1] https://resources.ovirt.org/repos/ovirt/github-ci/ovirt-appliance-4.5/el8/ On Wed, Jul 20, 2022 at 9:25 PM less foobar via Users <users@ovirt.org> wrote:
I can see that its the network,
Where do you see this?
but I don't get why it is not being created what is the problem with it? Right now I have virbr0 which is the default on libvirt should I rename it manually?
Generally speaking, on a clean installation you should not need to do anything around the network yourself. Best regards, -- Didi

I'll send the logs a bit later after I boot the server. And about the network if you search for the error word you are getting a ton of errors for not finding the "default" network in libvirt, this is why I've assumed its the network

On Thu, Jul 21, 2022 at 10:10 AM less foobar via Users <users@ovirt.org> wrote:
I'll send the logs a bit later after I boot the server.
OK. And about the network if you search for the error word you are getting a
ton of errors for not finding the "default" network in libvirt, this is why I've assumed its the network
These errors are indeed weird, and might in theory cause future problems - although other than during hosted-engine deployment, oVirt does not use the 'default' libvirt network, so might be worth investigating a bit but should not be fatal - but as you can see from the log, they were ignored, and I do not think this was the root cause for the failure. Best regards, -- Didi

I can't replicate it. Ovirt installed properly this time. The only difference was that instead of setting gluster first I've started the hosted-engine --deploy and then the gluster

Regarding Keycloak related errors. This seems like a result of something else going wrong rather than the keycloak issue itself. Preparation of keycloak-add-user.json happens quite early in the setup process. Anyway, please ping me if that happens again. thanks, Artur On Thu, Jul 21, 2022 at 6:10 PM less foobar via Users <users@ovirt.org> wrote:
I can't replicate it. Ovirt installed properly this time. The only difference was that instead of setting gluster first I've started the hosted-engine --deploy and then the gluster _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/CDGPSSGLGLUP6J...
-- Artur Socha Senior Software Engineer, RHV Red Hat
participants (3)
-
Artur Socha
-
less foobar
-
Yedidyah Bar David