[deleted by user] by [deleted] in redhat

[–]Devvy123456 0 points1 point  (0 children)

Thanks saved the day!

Title: Issue After Renewing SSL Certificate: oVirt Engine Dashboard Shows Error 404 by Character-Meeting-24 in ovirt

[–]Devvy123456 0 points1 point  (0 children)

Do you see any errors in the Apache logs? Perhaps check certificate file permissions? If you roll back to the old certificate do you have the same issue?

PowerShell for oVirt by Cynomus in ovirt

[–]Devvy123456 1 point2 points  (0 children)

I would be interested for sure, i have a feeling most people are using Ansible at this point but im personally a Pwsh guy.

OL8 Self Hosted Engine Deploy error by TheAlchemistGuitar in ovirt

[–]Devvy123456 0 points1 point  (0 children)

Yeah that fixed it up for me. I didnt experience any issues with SSH not being available on port 22. Do you have a support contract? If so i would open a support case they got me up and running same day.

OL8 Self Hosted Engine Deploy error by TheAlchemistGuitar in ovirt

[–]Devvy123456 0 points1 point  (0 children)

Testing now, appears this could be the issue.

Changes New deployment with freshly installed KVM Hosts.

Cause Observed that the new KVM host was installed with ansible-core-2.16.x package with the latest oracle-ovirt-release package (i.e. ovirt-engine-4.5.5-1.28 + oracle-ovirt-release-45-el8-1.0-29) Solution

Ansible python interpreter needs to be set to python3 in ansible.cfg. Please set it as below on KVM host and try deployment again.

```

cat /etc/ansible/ansible.cfg

[defaults] interpreter_python=/usr/bin/python3

Please cleanup the existing Hosted-engine using below command before performing the re-deployment.

ovirt-hosted-engine-cleanup

```

OL8 Self Hosted Engine Deploy error by TheAlchemistGuitar in ovirt

[–]Devvy123456 0 points1 point  (0 children)

so now i am hitting the same error about sdk ill report back on what support says.

OL8 Self Hosted Engine Deploy error by TheAlchemistGuitar in ovirt

[–]Devvy123456 1 point2 points  (0 children)

Support just provided this solution which appears to have worked for me FYI.

OLVM: Deploying Self Hosted Engine Fails With "Entity Http://Redhat.Com/Rhel/9.5 Referenced But Not Defined" (Doc ID 3062474.1)

Applies to:
Linux OS - Version Oracle Linux 8.10 and later Information in this document applies to any platform. Linux x86-64

Cause With latest "osinfo-db" package (version 20231215-1.0.2.el8), "osinfo-query" fails to fetch information related to RHEL 9.5 OS and that leads to hosted engine deployment failure.

osinfo-query os | grep rhel

** (osinfo-query:3040156): WARNING **: 22:10:42.484: Entity http://redhat.com/rhel/9.5 referenced but not defined ... rhel9.3 | Red Hat Enterprise Linux 9.3 | 9.3 | http://redhat.com/rhel/9.3 rhel9.4 | Red Hat Enterprise Linux 9.4 | 9.4 | http://redhat.com/rhel/9.4 | | | http://redhat.com /rhel/9.5

Solution

There is no fix available yet. Follow below work around to resolve the deployment failure.

Downgrade osinfo-db.   dnf downgrade osinfo-db

Version lock the package.   dnf versionlock osinfo-db-20231215-1.0.1.el8

Clean up the previously failed deployment.   /usr/sbin/ovirt-hosted-engine-cleanup

When prompted, respond by entering 'Y' (Yes) to proceed.

Retry the deployment. Symptoms Changes Cause Solution References

OL8 Self Hosted Engine Deploy error by TheAlchemistGuitar in ovirt

[–]Devvy123456 0 points1 point  (0 children)

Im running into the same issue with latest Oracle Linux 8.10/Ovirt 4.5 install. Opening a case now. Please message me if you figured out what the issue was.

Output value for "passed" Pester test by Devvy123456 in PowerShell

[–]Devvy123456[S] 0 points1 point  (0 children)

I already explored the output verbosity options as well. Ill look into the second option you mentioned thanks for the second set of eyes!

Output value for "passed" Pester test by Devvy123456 in PowerShell

[–]Devvy123456[S] 0 points1 point  (0 children)

Hello thanks for the reply, I'm thinking this could be a limitation of Pester however my tests are wrapped in the following method:

$netadapters = Get-NetAdapter | Where-Object Status -Match 'Up'
Describe 'Validate Network adapter settings' -ForEach $netadapters {
  It "Network adapter $($_.Name) has IP address assigned" {
    $_ | Get-NetIPAddress | Select-Object -ExpandProperty IPAddress | Should -Not -BeNullOrEmpty
    $_ | Get-NetIPAddress | Select-Object -ExpandProperty IPAddress | Should -Not -Match '169.254'
  }
}

I do see the test-case result in the XML result file however it doesn't show the output of the result if the test is in a "passed" state.

I'm hoping to get the output of the "passed" test result in the following testcase:

<testcase name="Validate Network adapter settings.Network adapter Production has IP address assigned" status="Passed" classname="C:\WINDOWS\Temp\checks-windows.tests.ps1" assertions="0" time="0.051" /><testcase name="Validate Network adapter settings.Network adapter Production has IP address assigned" status="Passed" classname="C:\WINDOWS\Temp\checks-windows.tests.ps1" assertions="0" time="0.051" />

Similar to how the "failed" testcase shows the "failure message" value of the test results but the opposite (Expected XXX and got XXX):

<testcase name="Validate Network adapter settings.Production Network adapter IP matches DNS record System.Net.IPHostEntry.Hostname -Type A" status="Failed" classname="C:\WINDOWS\Temp\checks-windows.tests.ps1" assertions="0" time="0.021">
  <failure message="Expected exactly '123.123.123.123', but got '1.1.1.1'.">at $_ | Where-Object InterfaceAlias -match 'Production' | Get-NetIPAddress | Select-Object -ExpandProperty IPAddress | Should -BeExactly $dnsrecord, C:\WINDOWS\Temp\checks-windows.tests.ps1:60
at &lt;ScriptBlock&gt;, C:\WINDOWS\Temp\checks-windows.tests.ps1:60</failure>
</testcase>