Re: Reconfigure Websocket Proxy
by Yedidyah Bar David
On Tue, May 26, 2020 at 3:15 PM Anton Louw via Users <users(a)ovirt.org>
wrote:
>
>
> Hi Everybody,
>
>
>
> I tried looking around, but I am stuck. I am trying to reconfigure my
> Websocket proxy in order to use noVNC. This is after the Hosted Engine name
> was changed and also after a new SSL cert was added to the Hosted Engine.
>
>
>
> Most of the articles say that I should run “engine-cleanup”, but after
> learning the hard way, I would rather not do that again 😊 Any other way
> anybody knows of? I want to completely remove it and then reinstall it.
>
Didn't test this, but you can try:
1. Keep a backup of /etc somewhere, just in case.
2. Stop ovirt-websocket-proxy.service
3. Edit /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf , remove
the line with: OVESETUP_CONFIG/websocketProxyConfig
4. Remove:
/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf
/etc/pki/ovirt-engine/requests/websocket-proxy.req
/etc/pki/ovirt-engine/keys/websocket-proxy.key.nopass
/etc/pki/ovirt-engine/keys/websocket-proxy.p12
/etc/pki/ovirt-engine/certs/websocket-proxy.cer
5. Run engine-setup (perhaps with '--offline', if you want to prevent it
from checking for updates)
Good luck and best regards,
>
>
> Thanks
>
> *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
>
> [image: F] <https://www.facebook.com/voxtelecomZA>
> [image: T] <https://www.twitter.com/voxtelecom>
> [image: I] <https://www.instagram.com/voxtelecomza/>
> [image: L] <https://www.linkedin.com/company/voxtelecom>
> [image: Y] <https://www.youtube.com/user/VoxTelecom>
>
> [image: #VoxBrand]
> <https://www.vox.co.za/fibre/fibre-to-the-home/?prod=HOME>
> *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
> <https://www.voxtelecom.co.za/security/mimecast/?prod=Enterprise>.
>
>
> _______________________________________________
> 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/NXNCD2LSLV2...
>
--
Didi
4 years, 6 months
Reconfigure Websocket Proxy
by Anton Louw
Hi Everybody,
I tried looking around, but I am stuck. I am trying to reconfigure my Websocket proxy in order to use noVNC. This is after the Hosted Engine name was changed and also after a new SSL cert was added to the Hosted Engine.
Most of the articles say that I should run “engine-cleanup”, but after learning the hard way, I would rather not do that again 😊 Any other way anybody knows of? I want to completely remove it and then reinstall it.
Thanks
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, 6 months
Terraform - Ovirt - seting or get some parameters
by Michal Obeslo
Hi all, we need a help,
we have problem to set and get IP Address when we created virtual machine
when we use terraform.
step by step: what we created
1) we created virtual machine Debian 9
- installed the software ovirt-guest-agent) [systemctl status ovirt-guest
agent = OK
- we created private and public key to connectivity from another computer
by .ssh ) /Jenkins Slave/
2) we created template from virtual machine Debian 9
- set this parameter in template initial Run > user, set static IP in Ovirt
Managemet
3) downloaded project from GitHub - create virtual machine from template
- terraform main file = OK ?
- terraform init = OK
- terraform apply = OK
: yes
create new virtual machine = OK
start automatically virtual machine = OK
- when I check IP Address > IP address not set
- when I check settings in Ovirt management > network > NOT SET
- virtual machine not has IP addres > not working
- when I change settings in Ovirt management in template Debian from Static
IP dhcp > to DHCP
- when I check settings in Ovirt management > network >
IP in Ovit have DHCP, Virtual machine have dhcp OK
But wee need set static IP to Virtual machine and get this IP from
terraform.
Thank you all.
Best regard Michal
--- This is the file main.tf:
provider "ovirt" {
url = "${var.ovirt_url}"
username = "${var.ovirt_username}"
password = "${var.ovirt_password}"
}
terraform {
backend "local" {
path = "terraform.tfstate"
}
}
# Create VM call temp02
module "temp01-pipeline" {
source = "../modules/vms"
vm_authorized_ssh_key =
"${file(pathexpand("c:/cygwin64/home/Administrator/.ssh/id_rsa.pub"))}"
vm_custom_script = "
${file(pathexpand("c:/Jenkins/workspace/AT_PipelineVM/config/basic/terraform/ovirt/init_script.yml"))}"
cluster_id = "aa583cf2-a07a-11e8-aa92-525400491e5b"
vm_name = "cd-pipeline-1.0.0"
vm_memory = "4096"
vm_cpu_cores = "1"
vm_template_id = "876a260b-26c7-482e-bc19-19b10b9c48bb"
vm_hostname = "temp01.example.com"
vm_user_name = "root"
vm_dns_servers = "8.8.8.8"
vm_dns_search = "example.com"
vm_timezone = "Africa/Nairobi"
vm_nic_device = "env3"
vm_nic_ip_address = "192.168.26.36"
vm_nic_gateway = "192.168.26.2"
vm_nic_netmask = "255.255.255.0"
}
4 years, 6 months
How to change IP range of node and hosted engine without break anything ?
by Stéphane Paillet
Hello,
I installed an ovirt node and its hosted engine in a lab. After several
difficulties to install the engine (I don't know why, I didn't have any
problem in the past), I would like to change IPs of both to put them on
another vlan.
How can I do that without break anything ? My main fear is that the data
domain used by the hosted engine use the IP of the node rather than its
FQDN. I change other data domains paths, but don't find how to change
this one, 'cause I can't modify it, and I can't detach / delete it to
recreate another one. I didn't find how to move the engine on another
data domain using the node's FQDN in its path. For now, I don't use DNS,
I just updated /etc/hosts defs on both servers.
If someone could help me, telling me step by step how to change IPs on
each element in good order, I would be grateful.
Thank you.
Cheers,
Stephane
4 years, 6 months
ovirt node 4.4 and infiniband
by Giulio Casella
Hi all,
I have in production a 4.3.9 setup of ovirt, based on a standalone
engine, not HE.
I have 3 datacenters (an 3 clusters). One of these clusters is composed
of many tenth of HP blades, accessing storage via InfiniBand (used as
normal NICs, via ipoib). They're not the state of the art, but I cannot
renew the entire hardware.
After a setup of ovirt node 4.4 I cannot see ib0 nic.
I managed to see it installing CentOS 8, enabling Mellanox repo
(https://linux.mellanox.com/public/repo/mlnx_ofed/latest/rhel8.1/mellanox_...)
and installing package "mlnx-ofed-basic".
In Ovirt Node it's not possible, that package require dependencies from
CentOS 8 repos, not present in ovirt repo.
Is there any chances to have infiniband NICs working in ovirt?
TIA,
gc
4 years, 6 months
Error encountered when running ovirt-engine-rename
by Aidilf Fitri
Hello All,
I have encountered an error when trying to execute the ovirt engine rename script. Below is the error I have encountered. Any advise?
----------------Start of Error----------------------------------------------------------------------------------------------------------------------------------------------------
***L:ERROR Internal error: No module named 'urlparse'
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 141, in execute
self.context.loadPlugins()
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 803, in loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 112, in _loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 69, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 100, in _loadPlugins
os.path.basename(path),
File "/usr/lib/python3.6/site-packages/otopi/util.py", line 109, in loadModule
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/__init__.py", line 15, in <module>
from . import config
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/config.py", line 14, in <module>
import urlparse
ModuleNotFoundError: No module named 'urlparse'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/__main__.py", line 88, in main
installer.execute()
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 147, in execute
sys.exc_info()[2],
File "/usr/lib/python3.6/site-packages/otopi/util.py", line 84, in raiseExceptionInformation
raise info[1].with_traceback(info[2])
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 141, in execute
self.context.loadPlugins()
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 803, in loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 112, in _loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 69, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 100, in _loadPlugins
os.path.basename(path),
File "/usr/lib/python3.6/site-packages/otopi/util.py", line 109, in loadModule
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/__init__.py", line 15, in <module>
from . import config
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/vmconsole_proxy_helper/config.py", line 14, in <module>
import urlparse
otopi.main.PluginLoadException: No module named 'urlparse'
----------------End of Error----------------------------------------------------------------------------------------------------------------------------------------------------
4 years, 6 months
where is ovirt-iso-uploader in 4.4?
by dan.creed@thecreeds.net
Can't seem to find this, maybe I'm old school but in 4.4 how do I upload ISO's I want to boot as CD's on my virtual machine?
4 years, 6 months
searching in manager
by Jiří Sléžka
Hi,
oVirt 4.3.9.4-1.el7
I am trying to search a vms which has storage domain other than
RHEV-SSDStorage so I entered this search string in Manager in Compute /
Virtual Machines search form.
Storage != "RHEV-SSDStorage"
but it looks like all vms are listed.
When I try...
Storage = "RHEV-SSDStorage"
...it works like expected and only right vms are listed.
Also combinations seems does not work.
Storage = "RHEV-SlowStorage" or Storage = "RHEV-MidStorage"
...returns 0 rows.
Should it work?
Cheers,
Jiri
4 years, 6 months