[ovirt-users] Host deploy fails in 4.5.6

2024-04-23 Thread Lars Stolpe
Hello,
I do have the same issue as some others and tryed to follow the instruction to 
downgrade ansible-core.
Active versions: 
oVirt: 4.5.6-1
ansible-core: 2.16.3-2
It is not possible to downgrade to 2.12 due to dependency:

Error:
 Problem: problem with installed package ovirt-engine-4.5.6-1.el8.noarch
  - package ovirt-engine-4.5.6-1.el8.noarch from @System requires ansible-core 
>= 2.13.0, but none of the providers can be installed


the error message in deploy log:
"stdout" : "fatal: [blxbwf855]: FAILED! => {\"changed\": true, \"cmd\": 
[\"vdsm-tool\", \"ovn-config\", \"192.168.1.229\", \"blxbwf855\"], \"delta\": 
\"0:00:02.749603\", \"end\": \"2024-04-23 11:26:13.304995\", \"msg\": 
\"non-zero return code\", \"rc\": 1, \"start\": \"2024-04-23 11:26:10.555392\", 
\"stderr\": \"Traceback (most recent call last):\\n  File 
\\\"/usr/lib/python3.6/site-packages/vdsm/tool/ovn_config.py\\\", line 117, in 
get_network\\nreturn networks[net_name]\\nKeyError: 'blxbwf855'\\n\\nDuring 
handling of the above exception, another exception occurred:\\n\\nTraceback 
(most recent call last):\\n  File \\\"/usr/bin/vdsm-tool\\\", line 195, in 
main\\nreturn tool_command[cmd][\\\"command\\\"](*args)\\n  File 
\\\"/usr/lib/python3.6/site-packages/vdsm/tool/ovn_config.py\\\", line 63, in 
ovn_config\\nip_address = get_ip_addr(get_network(network_caps(), 
net_name))\\n  File 
\\\"/usr/lib/python3.6/site-packages/vdsm/tool/ovn_config.py\\\", line 119, in 
get_network\\n
 raise 
NetworkNotFoundError(net_name)\\nvdsm.tool.ovn_config.NetworkNotFoundError: 
blxbwf855\", \"stderr_lines\": [\"Traceback (most recent call last):\", \"  
File \\\"/usr/lib/python3.6/site-packages/vdsm/tool/ovn_config.py\\\", line 
117, in get_network\", \"return networks[net_name]\", \"KeyError: 
'blxbwf855'\", \"\", \"During handling of the above exception, another 
exception occurred:\", \"\", \"Traceback (most recent call last):\", \"  File 
\\\"/usr/bin/vdsm-tool\\\", line 195, in main\", \"return 
tool_command[cmd][\\\"command\\\"](*args)\", \"  File 
\\\"/usr/lib/python3.6/site-packages/vdsm/tool/ovn_config.py\\\", line 63, in 
ovn_config\", \"ip_address = get_ip_addr(get_network(network_caps(), 
net_name))\", \"  File 
\\\"/usr/lib/python3.6/site-packages/vdsm/tool/ovn_config.py\\\", line 119, in 
get_network\", \"raise NetworkNotFoundError(net_name)\", 
\"vdsm.tool.ovn_config.NetworkNotFoundError: blxbwf855\"], \"stdout\": \"\", 
\"stdout_lines\": []}",

I hope someone can help.
___
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/QKNEZ2HBVSNN5EELJ66UOEYBY47RT3IA/


[ovirt-users] Re: oVirt 4.5.4-1: engine-setup does not renew certificates

2023-09-15 Thread Lars Stolpe
Hi,
these instructions i found some time before in a documentation. I don't know 
the exact place.
what's the point in configuring the engine setup to use 
SSO_ALTERNATE_ENGINE_FQDNS if it is for using external certificates only?

I do use engine-setup generated certificates. I want to add the short name of 
the engine.
How do i get engine-setup to use alternative names for engine-setup generated 
certificates?

Best regards,

Lars
___
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/4RIXSC7G4J722ERJMPO4T2EYH2HLWEXA/


[ovirt-users] oVirt 4.5.4-1: engine-setup does not renew certificates

2023-09-14 Thread Lars Stolpe
Hi,
I wanted to add short names to the webgui apache certificate. I followed these 
instructions:
„Engine can be accessed using alternate host names (or IP addresses) that can 
configured by adding a new configuration file (for example 
/etc/ovirt-engine/engine.conf.d/99-custom-sso-setup.conf) with following 
content: SSO_ALTERNATE_ENGINE_FQDNS="alias1.example.com alias2.example.com" The 
list of alternate names has to be listed separated by spaces. It's possible to 
add also IP addresses of engine host, but using IP addresses instead of DNS 
names is not considered to be a good practise. Run engine-setup to generate new 
certificates.“

Certificates where not renewed. How do i get engine-setup to renew the apache 
certificate?

oVirt: 4.5.4-1

Regards, Lars
___
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/5BW24KEOMEMGWTJJN4QGNJQVXYLNL3RX/


[ovirt-users] Re: oVirt 4.5.4-1 OVA export generates incomplete XML tag in vm.ovf

2023-09-07 Thread lars . stolpe
Further investigations revealed actually two independent causes.
1. German umlauts (ä/ö/ü) in the description field lead reproducible to missing 
letters at the end of the exported vm.ovf file (sometimes one last character, 
sometimes the last two)

A short test (only one) revealed, that the suggested changes to pack_ova.py 
fixed that problem.

2. If there are more than 26 .ova files in a directory, the import dialog throw 
the same error message, as if there was no file existent at all.
___
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/UZY7XYAOWL6ZIOPWK5SU5NOAQ4QSIAOA/


[ovirt-users] Re: Install Ovirt

2023-09-04 Thread lars . stolpe
What is the problem? Can you specify what happens, or what goes wrong?

regards, Lars
___
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/G6O4DY2VLCM3ZOSV6KENKKDWDFSNXGWX/


[ovirt-users] oVirt 4.5.4-1 OVA export generates incomplete XML tag in vm.ovf

2023-09-04 Thread lars . stolpe
Hi, 

we can't import some OVA VMs into oVirt, that was previously exported in oVirt.
Further investigations and testing showed, that in some vm.ovf files the last 
closing tag is missing (  ). 

Intense testing showed the following occurrence:
on test DC (4.4.10.7-1):
- about half of the VMs have that problem (about 9 VMs)
- VMs where the export is working properly are ok, no matter how often i do 
export
- VMs who's vm.ovf is wrong stay that way, no matter how often i do export

on production DC (4.4.10.7-1):
- all VMs have that problem (49 VMs)
- an imported "good" VM formerly exported on test DC, now have a wrong vm.ovf 
too after re-exporting on production DC
- vm.ovf of all VMs stay incorrect, no matter how often i do export

on develop DC (4.5.4-1):
- the only VM have that problem (1 VM)
- vm.ovf of VMs stay incorrect, no matter how often i do export

Environment:
all DC have independent hardware and are built exactly the same way with the 
same components
oVirt is with hosted-engine

test and production:
oVirt: 4.4.10.7-1
engine OS: Cent OS Stream 8
host OS: RHEL 8.7 

develop:
oVirt: 4.5.4-1
engine OS: Cent OS Stream 8 (latest updates till September 1st)
host OS: RHEL 8.8 (latest updates till September 1st)
 
Is that a known problem?
Is there a way to fix this?

regards, Lars
___
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/GDCFY7J72CR3DF44PV3UXEUOMC377JG2/


[ovirt-users] Re: virt-viewer - working alternative

2023-03-13 Thread lars . stolpe
i have my installation package from https://virt-manager.org 
The latest Windows MSI is 2021.

The source you linked is more recent, but it seems to be source code only. I'm 
not able to compile windows programs so i'm still stuck with that old version.
___
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/DUMCOCRA2H45LVUZNKGO6PNHNWTFKICV/


[ovirt-users] virt-viewer - working alternative

2023-03-10 Thread lars . stolpe
Hi all,

i tryed to use virt-viewer 11 (Windows) with oVirt 4.4 . I also tryed 
virt-viewer 10, 9, 8, and 7.
The older versions can't handle ISO residing in data domains, the latest 
version is crashing if try the media button.
Almost all links on the website are dead, no user guide, no prerequisites 
list...

Since virt-viewer is not working properly and seems to be abandoned, i'm 
looking for a working alternative.
Is there a working way to get a console of the virtual machines running in 
oVirt 4.4?
___
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/66ONXHVJNDD75TSL56W3IF6QBAKCGUSP/


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

2023-03-08 Thread lars . stolpe
instead of downgrading microcode i did eventually enabled the needed CPU flag:
#> grubby --update-kernel=ALL --args="tsx=on"
#> grub2-mkconfig -o /etc/grub2.cfg
#> reboot

Reverse changes after change the default CPU type of the cluster:
set host in maintenance
#> grubby --update-kernel=ALL --remove-args="tsx=on"
#> grub2-mkconfig -o /etc/grub2.cfg
#> reboot
___
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/4OJIR7XJU3PKJSSIWOZ2AHRHKJZE23FZ/


[ovirt-users] Re: After install Ovirt Engine 4.5.4-1.el8 and click button Administration Portal I get Internal Server Error

2023-03-01 Thread lars . stolpe
downgrade to 42.2.3-3
# dnf downgrade postgresql-jdbc 

# dnf list postgresql-jdbc
Installed Packages
postgresql-jdbc.noarch   42.2.3-3.el8_2 
@appstream
___
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/PYPB3VXUKL275VCTD653M5NPZMAP4ZSN/


[ovirt-users] Re: Problem with update 4.4.3

2023-03-01 Thread lars . stolpe
As far as i remember, some repository changes are made at the EOL of CentOS 8. 
Do you use valid repository sources? Update ovirt-release44 Package, if not 
already done, and check all listed repositories.

The example log in your link says, that one package is excluded by config. 
Check your repo files, if the package you need to update is not excluded.
___
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/7GZ7IUWNUVAN56TYXCVHKABFIOLOF6TJ/


[ovirt-users] Re: Error Deploying the self-hosted engine using the command line

2023-02-17 Thread lars . stolpe
The deploy needs a temporary segment during deploy. This will be used via 
virbr0 an can not be in use by another interface. If your local network ist 
using this segment as well, you need to find a second one, or you have to 
divide you segment.
___
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/QVTSDJWGQORWNM5T6HHC4LBDW7EO5R7Q/


[ovirt-users] Re: Problem after upgrading oVirt

2023-02-17 Thread lars . stolpe
Hi,
have you done your upgrade with the expired certificates active?
Are your certs still SHA1?
In this case you may need to renew your certificates. If your certificates are 
still expired you have to do it anyways.
___
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/3ERMQ74PYFYCVIEMP2YDQ3GY6YROZKCM/


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

2023-02-17 Thread lars . stolpe
The deploy finished successfull now.

Task: upgrade oVirt 4.3 to oVirt 4.4 
boundary conditions: access to repositories via repository server only (RH 
Satellite), encapsulated management network (no connection outside this segment)

short steps i have done starting with an already installed host:

1. # dnf downgrade microcode_ctl 
until 
# vdsm-client Host getCapabilities | grep -i flags
shows a matching CPU type (the same as in oVirt cluster configuration)
2. install and start squid on deploy host, no configuration necessary since 
192.168.0.0/16 is already allowed
3. # hosted-engine --deploy --restore-from-file=/root/backup_ovirtman.bck 
--ansible-extra-vars=he_offline_deployment=true 
--ansible-extra-vars=he_pause_before_engine_setup=true
gateway: 
check method: ping
Pause after adding the host? (Yes, No)[No]: yes
   (don't miss that "yes")
4. in the local VM:
modify repositories as needed to match repo server, 
add exclude=postgresql-jdbc to CentOS-Stream-AppStream.repo
add exclude=ovirt-release44 to ovirt-4.4.repo 
add proxy entry to /etc/dnf/dnf.conf (proxy=http://:3128/)
add hostnames to /etc/hosts as needed
5. # dnf upgrade --nobest
6. check if all repos are still working, make corrections if needed
check postgresql-jdbc
# dnf list postgresql-jdbc
must not be 42.2.14* , should be 42.2.3-3.el8_2
7. delete Lock-file
8. at the next stop, start firefox on host and log in to the engine
set up host network as required, go on only, if all hosts and all storage 
domains are up
after saving the network configuration the host routing may be broken, chek 
on host:
# cat /proc/sys/net/ipv4/ip_forward
if 0 do:
# echo 1 > /proc/sys/net/ipv4/ip_forward
all hosts und domains should be up again
9. delete Lock-file
10. chose hosted_storage and complete the deploy

thanks to Didi for the hints and the patience
___
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/ESSIYITWEQBDVQHN34C3W5CDTWHIUXAI/


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

2023-02-17 Thread lars . stolpe
Next issue: CPU and microcode...

In oVirt 4.3 Broadwell and Skylake are suported. In EL8 microcode updates are 
disabling the processor compatibility. This host can not be activated, because 
CPU requirements are not met.

I hope i can downgrade the microcode package far enough to re-enable CPU 
support.
___
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/XBNPZ5L3PIY6YQRKCM3M3QHCENRWY3MH/


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

2023-02-16 Thread lars . stolpe
https://lists.ovirt.org/archives/list/de...@ovirt.org/message/SBCWNXLFLJBKTA3TFJARE7QCYZQ6QMMH/

that internal server error is because of updating to the latest updates 
available xD 
___
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/FDGD5QIN63NN3Z6QZO6AEC6GA2H2BMA2/


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

2023-02-16 Thread lars . stolpe
> On Thu, Feb 16, 2023 at 12:19 PM  
> 8.5? Where?
> 
> RHV officially supports only RHEL 8.6, AFAIR.
> 
> oVirt is tested regularly on Stream, so should most likely work on
> 8.7, or 8.8 when available.
> 
> 
> Not sure what you mean. vdsm is on the host, not on the engine vm.
the engine can not determine the hosts capability, some research revealed a 
solved bug

Now i get "500 - Internal Server Error" during "Check if Engine health page is 
up"

I'm getting grey hair
___
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/3YJFBR7SKG7CYDV4AW4SLBVNVRMYB2XN/


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

2023-02-16 Thread lars . stolpe
> On Wed, Feb 15, 2023 at 2:16 PM  
> When was it usual to destroy it? I think it remains up since at least
> 4.3, perhaps much longer.
> 
As i was moving (reinstall with restore) hosted storage to a new SAN (V 4.3), 
the local VM was shut down before i could take action several times.
> 
> Did you try to check where/when/what does this? Perhaps on the host on
> /var/log/ovirt-hosted-engine-setup, not on the engine VM itself
> 
> 
> engine-setup also has an option '--offline'. Running HE deploy with
> offline should also use this.
> 
> 
> Good!
> 
> 
> Definitely not easily. If you just want to try this as a learning
> game, you can try. If you want to automate this, or plan for
> production, I'd use a different approach.
> 
> 
> There is no way to skip engine-setup and let you run it manually. You
> can provide before/after hooks.
> 
> 
> In principle yes, and this might be a good approach - replace all
> repos with yours (e.g. in a before hook), make sure yours do not
> include a release package that will overwrite your repos.
> 
> 
> Agreed, in principle.
> 
> 
> Good luck and best regards,
Almost...
The deploy went good, til this host was added. There is a bug that prevents 
vdsm to read the local configuration.
I used RHEL 8.5 and did not update, because the latest update 7.9 made oVirt 
4.2 inoperable. So i decided to use the version mentioned in the documentation.

Update vdsm and back to square 1 

I'm confident it will work afterwards.

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


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

2023-02-15 Thread lars . stolpe
well, that's interesting...
The deploy abortion did not destroy the local runing VM as usual. So i disabled 
CentOS-Stream-PowerTools.repo again (was re-enabled by deploy), and provided my 
modified oVirt repositories.

I ran engine-setup on the running local VM, setup checked for updates, nothing 
to be done, and then running fine through the complete setup. Now i have a 
local VM engine running fine, the hosts are recognized as "up" , VMs and 
storage domains are fine as well.

Is there a way to make the deploy jump to that stage and resume?

Or: can i do the engine-setup(with restore or without) myself after providing 
my modified repositories? If the deploy finds nothing to be updated, all should 
run afterwards?

Since this is the test for upgrading the production i should not depend on "i 
hope the local VM is still running after deploy abort"

All i could find in engine-setup log is, that the repository could not be 
reached.

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


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

2023-02-15 Thread lars . stolpe
The backed up system is the latest 4.3 and the install sources of 4.4 are also 
the latest available.

i used "offline" and "pause" , set up squid on the deploy host, modified the 
repository files in the fresh temporary engine VM to point to our satellite. It 
worked fine to the point the deploy denies that "offline" parameter and updated 
the repository package, overwriting my changesand aborted due to a non 
reachable repository

Maybe i could put the repository package on the ignore list.

Providing an own OVA may be a solution. Install a VM, run engine setup to 
install all neded packages, export as OVA and provide it to the deploy process 
and let it refill the engine with my backup file. Is it as simple as that?

I need to upgrade to 4.5 soon anyways, a direct upgrade from 4.3 to 4.5 is not 
possible i assume?

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


[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] 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/


[ovirt-users] Re: I need the deploy script to wait for fixing network configuration manually in oVirt 4.3.10

2023-01-30 Thread lars . stolpe
Thanks to both of you for your replies,

the bond is named "bond2". That parameter is helpful, i did find that parameter 
in the 4.5 dokumetation, but was different and not recognized from 4.3. (is 
there a list of possible switches?)

I did solve my problem by working around the problem.

A bare metal engine had a similar problem with the configured Networks. I 
learned that at deploy the default route HAVE to be configured on the 
management bridge otherwise that network is not recognized as valid. Since the 
management network is isolated for security reasons, using the wrong 
configuration intentionaly for deploy, makes the repositories unreachable. 
However, i had a shaky moment as the deploy was declared as failed because the 
appliance rpm could not be deleted (remember the change of the default 
gateway), but luckily the deploy did not delete the running engine again.
Then i could change the target network for the default route via 
cluster-->networks  (not networks -> networks).
I corrected the routing configuration and the hosted engine installation works 
fine now.
___
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/WHWI4LFFSMVJ2PZC2RRN3IPWCWQVCYS2/


[ovirt-users] I need the deploy script to wait for fixing network configuration manually in oVirt 4.3.10

2023-01-25 Thread lars . stolpe
Hi,
i'm planing to upgrade our production environment from oVirt 4.3 to 4.4.
So i do need a fresh oVirt 4.3 installation to test the procedure before doing 
it in production.

The command line deploy script can't handle network interfaces correctly. If i 
use either a single NIC oder a bond (active/passive) i get the error message 
"The selected network interface is not valid".
If i predefine the management bridge to a running state, the deploy process 
goes on, but fails to activate the added host and removes the already running 
engine vm.
The deploy process fails to synchronize the existing working network 
configuration with the engine configuration.
I can already log in to the engine GUI and see, that the bridge "ovirtmgmt" 
needs to be assigned to the bonding IF, but i'm not fast enough to do so, 
because the deployment process ist already shutting down and erasing the vm.

I do see the following ways to succeed:
1. make the depoyment process accept the given interfaces (maybe ignore errors)
2. make the deploy process wait for me to take necessary actions before 
checking the engine

Do anyone know, how to achieve this?

All i need is a running engine on hosted_storage... any other issues i can fix 
later.

Another idea is to use one of the destined hosts as a bare metal engine, add 
hosts, backup the engine and use that backup for a hosted engine restore 
deploy, since the deploy script asks to wait after local vm is ready, but only 
if i do a recovery deploy.

Any suggestions?
___
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/VUPT727NY2Q6MW34QSBNY36DVDLIVRVV/


[ovirt-users] OVirt 4.4.4 repository dependencies

2021-01-07 Thread lars . stolpe
Hi,
in OVirt 4.3 and earlier i had to activate many repositorys beside OVirt4.3 
repo because of dependencies. 
centos-sclo-rh-release   
ovirt-4.3  
ovirt-4.3-centos-gluster5  
ovirt-4.3-centos-opstools
ovirt-4.3-centos-ovirt43   
ovirt-4.3-centos-qemu-ev  
ovirt-4.3-epel  
ovirt-4.3-virtio-win-latest

in OVirt 4.4.4 documentation it is mentioned to enable only this 3 repos
sudo subscription-manager repos --enable="rhel-8-for-x86_64-baseos-rpms"
sudo subscription-manager repos --enable="rhel-8-for-x86_64-appstream-rpms"
sudo subscription-manager repos --enable="ansible-2-for-rhel-8-x86_64-rpms"

ovirt-release44.rpm  installs ovirt-4.4 repo

I don't want to run into any trouble when i start upgrading, so are that really 
all repos i need for OVirt 4.4.4?
___
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/QV3XFDI4T5O6U53EOOVHCGGDXVY5PDML/


[ovirt-users] Re: ovirt_vm ansible module -- how to wait for ova export to finish

2020-01-26 Thread lars . stolpe
When exporting a single VM lasted longer than 30 minutes, you may ran into this 
bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1684266
___
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/XD6IRPGXDRI446ARJNIA5VNIY3PD6HAB/


[ovirt-users] Re: API OVA export - getting job id/job status

2020-01-24 Thread lars . stolpe
Hi Joseph,

that "Image Level" backup as OVA file is a monthly backup as a basic for us, to 
have a complete virtual machine.
There are also weekly full and daily incremental backups on filesystem level 
using a backup agent and remote backup.

Our biggest V-disk is 300GB which is exported in 29 minutes (lucky one, since 
the 30 min timeout ist still a problem)

Having bigger disks I would separate system and data disks so you maybe can 
export your VM including only the system disk, and backup the data disk as 
filesystem incremental.

have a nice weekend,
Lars
___
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/XAYOKZ64XTFS4O5HI6IZDXD4FMI5YBVA/


[ovirt-users] Re: API OVA export - getting job id/job status

2020-01-24 Thread lars . stolpe
Hi Jan,

i've seen this post too, but i've absolutely no idea of dealing with ansible, 
so i can't say much in this topic.
The hope was, that i made a mistake in my script :)

Lars
___
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/EOPA5GFDIAAHS5BAVGSUT3QUFOCE6CTC/


[ovirt-users] Re: ovirt upgrade

2020-01-23 Thread lars . stolpe
Hi,
that looks like a special RdeHat Package. If you do not have installed RHV but 
oVirt you need to refer the manualy upgrade documentation, especialy chapter 9 
( upgrade 4.2 to 4.3).
Spare all RedHat related parts (if you not have RHV) an it will work fine.
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/upgrade_guide/Upgrading_the_Manager_to_4-3_4-0_local_db

Don't forget to upgrade the hosts as well
___
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/CRNSS6Q2ACPBMK64KCSRYBP7HGD4VAFL/


[ovirt-users] API OVA export - getting job id/job status

2020-01-23 Thread lars . stolpe
hi,

I tryed this with API 4.2 and 4.3.
purpose of the following script is, to export a given list of vm as OVA one 
after another.
To reach that i need to monitor the job status and pause the script till the 
actual export is done.
The script works fine, but not the restriction of the returned jobs to the one 
spcificaly job i need to monitor.
Therefor the script pauses on *any* running job.
the working script:

#!/usr/bin/python

import logging
import time

import ovirtsdk4 as sdk
import ovirtsdk4.types as types

connection = sdk.Connection(
url='https://ovirtman12/ovirt-engine/api',
username='admin@internal',
password='***',
ca_file='/etc/pki/ovirt-engine/ca-ovirtman12.pem',
)


hosts_service = connection.system_service().hosts_service()
hosts = hosts_service.list()[0]

vms_service = connection.system_service().vms_service()
vms = vms_service.list(search='name=blxlic954')

for vm in vms:
# print("%s (%s)" % (vm.name, vm.id))
vm_service = vms_service.vm_service(vm.id)
start_time = (time.strftime('%Y%m%d_%H%M%S', 
time.localtime(int(time.time()
vm_service.export_to_path_on_host(
host=types.Host(id=hosts.id),
directory='/nfs_c3/export',
filename=('%s_backup_%s.ova' % (vm.name, start_time)),
wait=True,
)
#time.sleep(5)
jobs_service = connection.system_service().jobs_service()
jobs = jobs_service.list(search='')
for job in jobs:
print(job.id, job.description)
#job = jobs_service.job_service(job.id).get()
while job.status == types.JobStatus.STARTED:
time.sleep(10)
job = jobs_service.job_service(job.id).get()
print('job-status: %s' % (job.status))

connection.close()

The line  
jobs = jobs_service.list(search='')
works fine as long as the search pattern is empty.

if i try to restrict the results returned like this:
jobs = jobs_service.list(search='description=*blxlic954*')
i get an error:

 bad sql grammar [select * from (select * from job where ( job id in (select 
distinct job.job id from  job   where  (  ) ))  order by start time asc) as t1 
offset (1 -1) limit 2147483647]; nested exception is 
org.postgresql.util.psqlexception: error: syntax error at or near ")"

looks like the 'where' clause is not filled correctly.

Am i wrong with my syntax or ist that a bug?
Is there another way to get the correct job id/status?
___
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/ZVFUE32ORCMN7EBRR7PXKRWAJJV4MAIB/


[ovirt-users] Re: no hosted engine deploy while adding new host (oVirt 4.3.5)

2019-09-18 Thread lars . stolpe
That worked. Thanks a lot.
___
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/S5YJBOR466OBHSM3M5HZW2K2C7TXGNAN/


[ovirt-users] no hosted engine deploy while adding new host (oVirt 4.3.5)

2019-09-18 Thread lars . stolpe
I tryed to add a new host to my oVirt environment. I remember a checkbox 
whether the engine HA wil depoyed or not in oVirt 4.1.
Now the environmentist oVirt 4.3.5. In the add host dialog windows I cant find 
that option anymore. In edit window after host installation ther ist also no 
hosted engine tab. 

hosted-engine --deploy don't ask, if it is an additional host (like it used to 
in 4.1), so it will install a new engine instead of depoying the existing 
engine.

Is there a new way of depoying the engine HA to additional hosts?
___
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/E46AZHV4THUTBCKE6J5V3WK6CVWDWSUY/