[ovirt-users] Re: Error when deploy Ovirt4.4 Hosted Engine

2023-02-14 Thread Андрей Ваник
Hello, I see:
ip -j rule | jq ''
[
  {
"priority": 0,
"src": "all",
"table": "local"
  },
  {
"priority": 100,
"src": "10.55.8.0",
"srclen": 24,
"table": "500"
  },
  {
"priority": 101,
"src": "192.168.222.1",
"srclen": 24,
"table": "main"
  },
  {
"priority": 101,
"src": "192.168.1.1",
"srclen": 24,
"table": "main"
  },
  {
"priority": 32766,
"src": "all",
"table": "main"
  },
  {
"priority": 32767,
"src": "all",
"table": "default"
  }
]

пн, 13 февр. 2023 г. в 10:43, Yedidyah Bar David :

> On Sun, Feb 12, 2023 at 10:39 PM  wrote:
> >
> > Hello, I get error, need help.
> >
> > [ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The conditional check
> 'not ipv6_deployment|bool and route_rules_ipv4.stdout | from_json |
> selectattr('priority', 'equalto', 100) | selectattr('dst', 'equalto',
> virbr_cidr_ipv4 | ipaddr('address') ) | list | length == 0' failed. The
> error was: error while evaluating conditional (not ipv6_deployment|bool and
> route_rules_ipv4.stdout | from_json | selectattr('priority', 'equalto',
> 100) | selectattr('dst', 'equalto', virbr_cidr_ipv4 | ipaddr('address') ) |
> list | length == 0): 'dict object' has no attribute 'dst'\n\nThe error
> appears to be in
> '/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/bootstrap_local_vm/01_prepare_routing_rules.yml':
> line 81, column 5, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\nchanged_when:
> true\n  - name: Add IPv4 inbound route rules\n^ here\n"}
>
> A wild guess: The code adds a rule to the routing policy table, with
> priority 100 and dst equal to your IP address, but tries to do this
> only if it's not already done. But in reality it was probably never
> tested on a machine already having a rule with priority 100 and no
> 'dst'. Perhaps that's your case? What's the output of:
>
> $ ip -j rule | jq ''
>
> If it includes a rule with priority 100 and no 'dst', and if you can
> remove it, or add a 'dst', perhaps try that.
>
> Perhaps create an issue on the ovirt-ansible-collection project with
> all relevant details.
>
> 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/WITRRWAJRG42267VHDOZSE5JGY6SUFM2/


[ovirt-users] Re: Error when deploy Ovirt4.4 Hosted Engine

2023-02-14 Thread staybox
ip -j rule | jq ''
[
  {
"priority": 0,
"src": "all",
"table": "local"
  },
  {
"priority": 100,
"src": "10.55.8.0",
"srclen": 24,
"table": "500"
  },
  {
"priority": 101,
"src": "192.168.222.1",
"srclen": 24,
"table": "main"
  },
  {
"priority": 101,
"src": "192.168.1.1",
"srclen": 24,
"table": "main"
  },
  {
"priority": 32766,
"src": "all",
"table": "main"
  },
  {
"priority": 32767,
"src": "all",
"table": "default"
  }
]
___
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/RTVN27C3SXSRDOSSICOGUIC3MARKSLUB/


[ovirt-users] Re: oVirt Engine Web Console

2023-02-14 Thread Clint Boggio
You do have to use an FQDN to access it. The web management will not respond to 
IP address requests. When you set up the engine, what FQDN did you use ? In the 
hosts file of the machine you are using to access the engine, create an entry 
for that website:

Example:

10.10.254.10 your.fqdm.tld

or better example

10.10.254.10ovirtmgmt.yourdomain.com
___
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/S5PR7ZZIJSJXT2OMN5GB4ZYVYVYXZV3Y/


[ovirt-users] Re: New oVirt HCI 4.5.4 Cluster Problems

2023-02-14 Thread Clint Boggio
Thank you Sandro.

I solved the problem by manually configuring Gluster storage on my three nodes 
and the running the engine-deploy utility to stand up the management engine.

I really appreciate you replying to my question. I know you're really busy.
___
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/2JYKZWMYYJAJDOPRDECN3XIIQW3CKZSL/


[ovirt-users] Re: oVirt 4.4 hosted engine deploy fails - repository issues

2023-02-14 Thread Yedidyah Bar David
On Tue, Feb 14, 2023 at 1:36 PM  wrote:
>
> Hi,
> thank you for your answer, your hints are helpful
>
> > Hi!
> >
> > On Tue, Feb 14, 2023 at 12:40 PM  >
> > It's not completely clear, what you are trying to do. I suppose you
> > refer to hosted-engine deployment with --restore-from-file.
> >
> I do an upgrade vorm 4.3 to 4.4 according to the official oVirt upgrade guide.
> the deploy command is as follow:
> hosted-engine --deploy --restore-from-file=/root/backup_ovirtman13.bck

OK. That's a hosted-engine upgrade. A standalone engine is somewhat different.

>
> >
> >  IIUC this code runs inside the engine VM, not the host, so your
> > customizations on the host do not apply there. The appliance image
> > used for creating the engine VM includes in itself a suitable
> > ovirt-release package, which also includes the above failing repo.
> > Does the engine VM (via the host it's running on) have direct access
> > to the Internet? Or do you force all comm to go through your satellite
> > proxy?
> >
> The hosts do not have direct access to the internet. The new engine have per 
> default no access to MAN either.
> The 4.3 appliance did not need accass for installation, why would one change 
> that...

Many software packages upgrade themselves during installation, I think
that's more-or-less the norm these days - no?

A concrete reason: If your current engine is newer than the one included in the
appliance, engine-backup inside the appliance will refuse to restore
your backup.
Upgrading to the latest before running engine-backup mitigates this issue.

>
>
> > Anyway, some ways you can try to overcome the situation:
> > - Run it offline (--ansible-extra-vars=he_offline_deployment=true)
> > - Provide a custom enginevm_before_engine_setup hook to patch the
> > configuration. See e.g. how this is done in ovirt-system-tests [1].
> > - Pass (similarly to above) he_pause_before_engine_setup=true . Should
> > work since 4.4.7, https://bugzilla.redhat.com/show_bug.cgi?id=1959273
> > .
>
> What is "offline deployment" doing different, are the necessary packets 
> transferred internally?

In this context, it means it's "offline" - does not require Internet access.
In practice it means that whatever that's included in the appliance is
going to be
used for setup/deployment, without updating. You are welcome to search
ovirt-engine-appliance source code for he_offline_deployment, to see the actual
details - they are not that many.

>
>
> > - See also [2]
> >
> > [1] https://github.com/oVirt/ovirt-system-tests Search the code for
> > 'proxy', 'socks', etc.
> > [2]
> > https://github.com/didib/ovirt-ansible-collection/tree/master/roles/hoste...
> >
> >
> > Good luck and best regards,
>
> Can the management bridge switched to another interface after installation? 
> That opens up some easier ways to enable access to repositories.

The point where your deployment failed is before using the management
bridge configured by the engine - it's a more-or-less the default
'default' libvirt network.

> I know, that in 4.3 is is not possible to do that.
>
> ...i miss the option to install the engine during deploy with OS .iso file ;)

At the time I also felt bad about this. Now, I can easily say it was worth it.
The number of issues/problems that people ran into after we introduced the
appliance and removed the option to do this manually greatly diminished, IMO.

>
> at least that pause parameter will give me the chance to fix the repositories

Good luck,
-- 
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/FDKZSZWWKL7PDKI7TUIOSMOWLKOHTZT7/


[ovirt-users] Re: oVirt 4.4 hosted engine deploy fails - repository issues

2023-02-14 Thread lars . stolpe
Hi,
thank you for your answer, your hints are helpful

> Hi!
> 
> On Tue, Feb 14, 2023 at 12:40 PM  
> It's not completely clear, what you are trying to do. I suppose you
> refer to hosted-engine deployment with --restore-from-file.
>
I do an upgrade vorm 4.3 to 4.4 according to the official oVirt upgrade guide.
the deploy command is as follow:
hosted-engine --deploy --restore-from-file=/root/backup_ovirtman13.bck
 
> 
>  IIUC this code runs inside the engine VM, not the host, so your
> customizations on the host do not apply there. The appliance image
> used for creating the engine VM includes in itself a suitable
> ovirt-release package, which also includes the above failing repo.
> Does the engine VM (via the host it's running on) have direct access
> to the Internet? Or do you force all comm to go through your satellite
> proxy?
> 
The hosts do not have direct access to the internet. The new engine have per 
default no access to MAN either.
The 4.3 appliance did not need accass for installation, why would one change 
that...


> Anyway, some ways you can try to overcome the situation:
> - Run it offline (--ansible-extra-vars=he_offline_deployment=true)
> - Provide a custom enginevm_before_engine_setup hook to patch the
> configuration. See e.g. how this is done in ovirt-system-tests [1].
> - Pass (similarly to above) he_pause_before_engine_setup=true . Should
> work since 4.4.7, https://bugzilla.redhat.com/show_bug.cgi?id=1959273
> .

What is "offline deployment" doing different, are the necessary packets 
transferred internally?


> - See also [2]
> 
> [1] https://github.com/oVirt/ovirt-system-tests Search the code for
> 'proxy', 'socks', etc.
> [2]
> https://github.com/didib/ovirt-ansible-collection/tree/master/roles/hoste...
> 
> 
> Good luck and best regards,

Can the management bridge switched to another interface after installation? 
That opens up some easier ways to enable access to repositories. I know, that 
in 4.3 is is not possible to do that.

...i miss the option to install the engine during deploy with OS .iso file ;)

at least that pause parameter will give me the chance to fix the repositories

best 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/UEJYZYWUZG6FMPDENNTKJU3EMFWVGCEP/


[ovirt-users] Re: oVirt 4.4 hosted engine deploy fails - repository issues

2023-02-14 Thread Yedidyah Bar David
Hi!

On Tue, Feb 14, 2023 at 12:40 PM  wrote:
>
> Hi,
> I want to upgrade oVirt 4.3 to oVirt 4.4. Thus i have to reinstall one node 
> to EL8 an deploy the engine with restore.

It's not completely clear, what you are trying to do. I suppose you
refer to hosted-engine deployment with --restore-from-file.

>
> i get this error message at deploy:
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Install oVirt Engine package]
> [ ERROR ] fatal: [localhost -> 192.168.2.143]: FAILED! => {"changed": false, 
> "msg": "Failed to download metadata for repo 'ovirt-4.4-centos-ceph-pacific': 
> Cannot prepare internal mirrorlist: Curl error (56): Failure when receiving 
> data from the peer for 
> http://mirrorlist.centos.org/?release=8-stream=x86_64=storage-ceph-pacific
>  [Recv failure: Connection reset by peer]", "rc": 1, "results": []}
>
> Since i do use our satellite server, this URL is not included in the 
> repositories i provided. A repository named 'ovirt-4.4-centos-ceph-pacific' 
> is deinitely provided and available.
> How do i get the deploy to use the correct repositories?

 IIUC this code runs inside the engine VM, not the host, so your
customizations on the host do not apply there. The appliance image
used for creating the engine VM includes in itself a suitable
ovirt-release package, which also includes the above failing repo.
Does the engine VM (via the host it's running on) have direct access
to the Internet? Or do you force all comm to go through your satellite
proxy?

Anyway, some ways you can try to overcome the situation:
- Run it offline (--ansible-extra-vars=he_offline_deployment=true)
- Provide a custom enginevm_before_engine_setup hook to patch the
configuration. See e.g. how this is done in ovirt-system-tests [1].
- Pass (similarly to above) he_pause_before_engine_setup=true . Should
work since 4.4.7, https://bugzilla.redhat.com/show_bug.cgi?id=1959273
.
- See also [2]

[1] https://github.com/oVirt/ovirt-system-tests Search the code for
'proxy', 'socks', etc.
[2] 
https://github.com/didib/ovirt-ansible-collection/tree/master/roles/hosted_engine_setup#make-changes-in-the-engine-vm-during-the-deployment

>
> I hope someone can help me out,

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/NUL42RNRZZ3KCAMTFWCCF3IHVAKLYTCH/


[ovirt-users] oVirt 4.4 hosted engine deploy fails - repository issues

2023-02-14 Thread lars . stolpe
Hi,
I want to upgrade oVirt 4.3 to oVirt 4.4. Thus i have to reinstall one node to 
EL8 an deploy the engine with restore.

i get this error message at deploy:
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Install oVirt Engine package]
[ ERROR ] fatal: [localhost -> 192.168.2.143]: FAILED! => {"changed": false, 
"msg": "Failed to download metadata for repo 'ovirt-4.4-centos-ceph-pacific': 
Cannot prepare internal mirrorlist: Curl error (56): Failure when receiving 
data from the peer for 
http://mirrorlist.centos.org/?release=8-stream=x86_64=storage-ceph-pacific
 [Recv failure: Connection reset by peer]", "rc": 1, "results": []}

Since i do use our satellite server, this URL is not included in the 
repositories i provided. A repository named 'ovirt-4.4-centos-ceph-pacific' is 
deinitely provided and available.
How do i get the deploy to use the correct repositories?

I hope someone can help me out, 
best 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/IRSOOM6HTWWN2M66XKR7VI7WZIFQGPPM/