Re: 503 Service Unavailable
by Yedidyah Bar David
On Tue, May 12, 2020 at 9:53 AM Anton Louw via Users <users(a)ovirt.org> wrote:
>
>
>
> Hi All,
>
>
>
> So due to some bad decisions etc. I have accidently removed the hosted engine setup by running engine-cleanup. I initially just wanted to remove the websocket proxy, and as advised by an article, this can be done by running engine-cleanup. Obviously this was not the case, and it removed everything.
Not necessarily everything, but even if you ask to remove only
something specific, it does more than that. We recently decided this
is too risky and removed that question:
https://bugzilla.redhat.com/show_bug.cgi?id=1792874
>
>
>
> I at least had a backup that I took, so I restored the backup to the engine, and ran engine-setup. Everything runs fine, but when I try and access the webUI, I get an error: “503 Service Unavailable” “No server is available to handle this request”
>
>
>
> I have checked the ovirt-engine service, and it is running, as well as the httpd service.
>
>
>
> I have also attached the engine log as well as the server log.
1. When attaching complete logs (thanks for that!), please state the
exact time you tried
to do something that failed (access the web ui, in this case). Your
attached logs have
several different ERRORs, which might be due to unrelated things, and
it's hard to tell
where to look first. Once found, going backwards to try to find the
root cause is usually
easier.
2. Please check/share also httpd logs, and also /etc/httpd/conf.d -
you can compare it
with a fresh engine you can setup on some test vm somewhere, it should
be mostly the
same.
3. Also please check/share engine-setup logs, at
/var/log/ovirt-engine/setup. You can search
there for httpd or apache.
4. I have a feeling, just a guess, that you are missing
/etc/httpd/conf.d/z-ovirt-engine-proxy.conf .
Not sure what might have caused that. setup after cleanup should have
created it.
Best regards,
>
>
>
> Does anybody have any idea where I can check, or perhaps I missed something.
>
>
>
> Thank you
>
>
> Anton Louw
> Cloud Engineer: Storage and Virtualization at Vox
> ________________________________
> T: 087 805 0000 | D: 087 805 1572
> M: N/A
> E: anton.louw(a)voxtelecom.co.za
> A: Rutherford Estate, 1 Scott Street, Waverley, Johannesburg
> www.vox.co.za
>
>
>
>
>
>
>
>
> Disclaimer
>
> The contents of this email are confidential to the sender and the intended recipient. Unless the contents are clearly and entirely of a personal nature, they are subject to copyright in favour of the holding company of the Vox group of companies. Any recipient who receives this email in error should immediately report the error to the sender and permanently delete this email from all storage devices.
>
> This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here.
>
>
>
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/FDUEFMIUCOM...
--
Didi
4 years, 10 months
503 Service Unavailable
by Anton Louw
Hi All,
So due to some bad decisions etc. I have accidently removed the hosted engine setup by running engine-cleanup. I initially just wanted to remove the websocket proxy, and as advised by an article, this can be done by running engine-cleanup. Obviously this was not the case, and it removed everything.
I at least had a backup that I took, so I restored the backup to the engine, and ran engine-setup. Everything runs fine, but when I try and access the webUI, I get an error: "503 Service Unavailable" "No server is available to handle this request"
I have checked the ovirt-engine service, and it is running, as well as the httpd service.
I have also attached the engine log as well as the server log.
Does anybody have any idea where I can check, or perhaps I missed something.
Thank you
Anton Louw
Cloud Engineer: Storage and Virtualization
______________________________________
D: 087 805 1572 | M: N/A
A: Rutherford Estate, 1 Scott Street, Waverley, Johannesburg
anton.louw(a)voxtelecom.co.za
www.vox.co.za
4 years, 10 months
oVirt engine / node & snmp
by Andrei Verovski
Hi,
oVirt node seems to run snmp by defeult, “service snmpd status” returns some data.
I’m going to connect all servers to LibreNMS, and it requires custom snmp options.
What options I should keep in oVirt node default nsmp.conf? Or I may just fully overwrite this file with my own?
Please note my oVirt node installed manually on CentOS, I don’t use node DVD image from oVirt project.
with best regards
Thanks in advance.
Andrei
4 years, 10 months
Upgrade scenario to 4.4 for HCI Gluster
by Gianluca Cecchi
Hello,
I saw from some mails in the list that the approach for upgrading from 4.3
to 4.4 will be similar to the 3.6 => 4.0 one.
Reading the RHV 4.0 Self Hosted Engine Guide it seems it was necessary to
have a second host, going through this:
5.4. Upgrading a RHEV-H-Based Self-Hosted Engine Environment
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.0/...
and also
https://www.ovirt.org/develop/release-management/features/sla/hosted-engi...
upgrade process involved:
- set global ha maintenance
- install a new host (and set it as on hosted engine one)
- migrate engine VM to this host and set the host as the SPM
- create a backup with engine-backup, verify its contents and copy to the
host in some directory
- run the upgrade utility on the host to update the engine VM
hosted-engine --upgrade-appliance
this will create a backup floating disk of the engine vm disk for rollback
purposes and override the existing engine disk with a new one where to
deploy the new engine version applying also the restore from the
engine-backup
--> what are requirements for 4.4 engine VM and so free storage to have on
engine storage domain?
The engine-setup will be automatically executed on the new version engine VM
- exit from global maintenance
- update remaining hosts
Is the above procedure the correct one that I can test on a 4.3.9 lab?
The 3.6 -> 4.0 flow implied that a 4.0 host could run a 3.6 engine VM
Because the backup disk operation is done by the current running engine
itself.
So it should be true also for 4.3 -> 4.4 and a 4.4. host should be able to
run a 4.3 engine, correct?
In case of single 4.3.9 ovirt-node-ng host HCI with Gluster, can I apply
the upgrade in a similar way?
Something like:
- create engine-backup and copy over to the host
- put host into global maintenace
- shutdown all VMS, engine included
- enable 4.4. repo
- install new image-base 4.4
is this correct and I can use 4.3 and 4.4 image base versions or do I have
to sort-of-scratch necessarily? because 4.3 host is based on el7 while 4.4
on el8... but perhaps on mage based system I have flexibility..?
what version of gluster will it be applied? Incompatibilities with the
current 4.3.9 one (version 6.8-1.el7)
- reboot host
- exit global maintenance and wait for engine vm to come up correctly
- enter global maintenance again
- run the upgrade utility on the host
Or do I need at least temporarily a new server to use as the 4.4. host, or
what will be the expected path?
Thanks,
Gianluca
4 years, 10 months
ovirt 4.4 on Fedora 30
by kelley bryan
Hello everyone new test of 4.4 on Fedora 30:
Prepare Vm fails with
{"attempts": 10, "changed": false, "cmd": "dnf install -y
python2-dnf", "msg": "Could not import the dnf python module using
/usr/bin/python (2.7.18 (default, Apr 21 2020, 18:49:31) [GCC 9.3.1
20200408 (Red Hat 9.3.1-2)]). Please install `python2-dnf` package or
ensure you have specified the correct ansible_python_interpreter.",
"rc": 1, "results": [], "stderr": "Error: Unable to find a match:
python2-dnf\n", "stderr_lines": ["Error: Unable to find a match:
python2-dnf"], "stdout": "Last metadata expiration check: 2:38:48 ago on
Fri 08 May 2020 12:16:25 PM MST.\nNo match for argument:
python2-dnf\n", "stdout_lines": ["Last metadata expiration check:
2:38:48 ago on Fri 08 May 2020 12:16:25 PM MST.", "No match for
argument: python2-dnf"]}
Is this due to Fedora 30 being based on RH7?
4 years, 11 months
centos 8 stream status
by Nathanaël Blanchet
Hello,
Centos 8 stream should be the preview of centos 8, so why not using
right now it instead of waiting GA 8.2?
--
Nathanaël Blanchet
Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
4 years, 11 months
Creating an Isolated/External Network
by dsullivan56@fordham.edu
Hi all,
Obligatory I'm not sure if this is the right place to post and obligatory I am very new here. I could really use some help. I'd like to build an isolated/external network so that I can build two VMs that need to interact with each other and each other alone while they are being built. I'd like to protect them from interacting with other VMs I have and I'd like to protect my other VMs from interacting with them.
I attempt to create this network by going to Network > Networks > New, and I make sure to click the "create on external provider" checkbox and select "Disabled" under the "Network Port Security" drop-down menu. When I click "ok" I get the error message:
"Error while executing this action: User is not authorized to perform this action".
This isn't an issue, I just went to the super user and had him try the same thing, and he gets this error message:
"Error while executing action AddNetworkOnProvider: Failed to communicate with the external provider, see logs for additional details".
The oVirt log wasn't that helpful, as it just told me the time oVirt failed to create the network. Neither my super user nor I can figure out why this is happening. Would greatly appreciate any advice you can give me. Thanks!
4 years, 11 months
Proxy setup for image repositories
by Gianluca Cecchi
Eg, for the default ovirt-image-repository storage domain, is it possible
to setup a proxy server for access?
Thanks
Gianluca
4 years, 11 months