info about reinstall dead node
by Gianluca Cecchi
Hello,
I have an host dead in a 4.1.9 environment (broken raid controller
compromised both internal disks, don't ask me how it could happen...).
I have replaced controller/disks and reinstalled ng-node on the same hw
with the same parameters and same version (but ovirtmgmt bridge not present
yet, only a bond0 that has to become backed up by the ovirtmgmt bridge when
installed).
In web admin gui it had been set as not responsive when failed.
Now I cannot reinstall it as new.
If I try to put it into maintenance it is correctly rebooted but then it
remains non responsive.
I think I have to "force remove" in some way the previous instance of this
node, but the option is greyed out...
How can I clean the node and then try to install as new again?
Thanks,
Gianluca
6 years, 7 months
First host within Self-Hosted engine stays in non-responsive state
by 03ce007@gmail.com
I am trying to setup self-hosted-engine (4.2) on a single machine running centos 7.4.
I ran hosted-engine deploy script and it ran all the way through but failed on last task (at "Wait for the local bootstrap VM to be down at engine eyes") while creating the local engine VM. However, the --vm-status shows the engine status as up and is in good health, but I cannot interact with host installed on engine VM.
The host within engine VM shows it is in non-responsive state, not clear why and what caused it. I can ssh into the local engine VM and the engine.log has below entries -
2018-05-17 11:03:57,739+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmDevicesMonitoring] (EE-ManagedThreadFactory-engineScheduled-Thread-78) [6768004b] Exception:: org.springframework.dao.DataIntegrityViolationException: CallableStatementCallback; SQL [{call insertvmdevice(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: insert or update on table "vm_device" violates foreign key constraint "fk_vm_device_vm_static"
Detail: Key (vm_id)=(114581bb-7fef-4b08-8e3c-85dd5a9e680b) is not present in table "vm_static".
...
...
...
2018-05-17 11:03:59,957+01 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] (EE-ManagedThreadFactory-engineScheduled-Thread-44) [2bf8b18f] Can not run fence action on host 'ovirt', no suitable proxy host was found.
...
...
...
2018-05-17 11:20:00,093+01 ERROR [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (EE-ManagedThreadFactory-engine-Thread-2) [1a833057] Exception during connection
...
...
...
2018-05-17 11:20:00,386+01 ERROR [org.ovirt.engine.core.vdsbroker.HostDevListByCapsVDSCommand] (EE-ManagedThreadFactory-engine-Thread-2) [1a833057] Command 'HostDevListByCapsVDSCommand(HostName = ovirt, VdsIdAndVdsVDSCommandParametersBase:{hostId='1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99', vds='Host[ovirt,1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99]'})' execution failed: java.net.UnknownHostException: ovirt: Name or service not known
...
...
...
2018-05-17 11:20:03,287+01 ERROR [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Exception during connection
2018-05-17 11:20:03,292+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Unable to RefreshCapabilities: UnknownHostException: ovirt
2018-05-17 11:20:03,294+01 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Command 'org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand' return value 'org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturn@46e3da89'
2018-05-17 11:20:03,294+01 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] HostName = ovirt
2018-05-17 11:20:03,297+01 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-14) [] Command 'GetCapabilitiesAsyncVDSCommand(HostName = ovirt, VdsIdAndVdsVDSCommandParametersBase:{hostId='1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99', vds='Host[ovirt,1a6a47e6-934e-43f7-ad5b-ba8f8ff8df99]'})' execution failed: java.net.UnknownHostException: ovirt
2018-05-17 11:20:03,316+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt command GetCapabilitiesAsyncVDS failed: Connection issue ovirt
2018-05-17 11:20:03,317+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [] Unable to RefreshCapabilities: VDSNetworkException: VDSGenericException: VDSNetworkException: Connection issue ovirt
...
...
...
and then above 5 ERROR messages are keep getting repeated.
Why the connection fails when I can still ssh into the engine? where is the issue here?
6 years, 7 months
update from 4.1.9 to 4.2.3 and OVN doubt
by Gianluca Cecchi
Hello,
at beginning of 2017 I configured OVN in my oVirt 4.1.0 setup, with the
previosulsy described notes, I think the ones here:
http://www.ovirt.org/blog/2016/11/ovirt-provider-ovn/
At that time OVN was not directly integrated in oVirt setup.
Then I applied the updates in minor releases and coming at 4.1.9 level in
late January this year.
Now I plan to update to 4.2.3. I have doubts related to OVN setup.
Will the new 4.2.3 OVN setup conflict with my current 4.1.x setup?
WHat do I have to answer in setup related questions and prompt?
In fact now, after enabling 4.2 repo and updating the setup itself, during
the procedure (that I Canceled right now) I receive these questions:
# engine-setup
. . .
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== PRODUCT OPTIONS ==--
Configure ovirt-provider-ovn (Yes, No) [Yes]:
. . .
--== OVIRT ENGINE CONFIGURATION ==--
Perform full vacuum on the engine database engine@localhost?
This operation may take a while depending on this setup health
and the
configuration of the db vacuum process.
See https://www.postgresql.org/docs/9.0/static/sql-vacuum.html
(Yes, No) [No]: Yes
oVirt OVN provider user[admin@internal]: what_to_put_here
oVirt OVN provider password:
. . .
--== CONFIGURATION PREVIEW ==--
Default SAN wipe after delete : False
Firewall manager : firewalld
Update Firewall : True
. . .
Set up ovirt-provider-ovn : True
. . .
Configure VMConsole Proxy : True
Please confirm installation settings (OK, Cancel) [OK]: Cancel
Thanks for any hint.
Gianluca
6 years, 7 months
Planned restart of production services
by Evgheni Dereveanchin
Hi everyone,
I will be restarting several production systems within the following hour
to apply security updates.
The following services may be unreachable for some period of time:
- www.ovirt.org - project website
- resources.ovirt.org - package repositories
- gerrit.ovirt.org - code review
- jenkins.ovirt.org - CI master
It will not be possible to submit/review patches, clone repositories or run
CI jobs during this period. Package repositories and the website will also
be unreachable for a short period of time.
I will announce you once the maintenance is complete.
--
Regards,
Evgheni Dereveanchin
6 years, 7 months
Re: hosted-engine ovirt-engine server not run
by dhy336@sina.com
Hi SimoneI debug my hosted engine, i find my engine block in class InitBackendServicesOnStartupBean -> serviceLoader.load(HostDeviceManager.class);
I should how to dubug it? thanks----- Original Message -----
From: <dhy336(a)sina.com>
To: "Simone Tiraboschi" <stirabos(a)redhat.com>
Cc: users <users(a)ovirt.org>
Subject: [ovirt-users] Re: hosted-engine ovirt-engine server not run
Date: 2018-05-22 15:07
hi, I try to run my engine, if engine is good run, it has more log info in engine.log than bad run.my bad run engine log miss some info, I should how to dubug this issue?
2018-05-21 17:35:43,446+08 INFO [org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand] (EE-ManagedThreadFactory-engine-Thread-1) [6ced2adb] Running command: RefreshHostDevicesCommand internal: true. Entities affected : ID: 34fa518e-e453-4de2-bd18-4942885c8aa5 Type: VDSAction group MANIPULATE_HOST with role type ADMIN2018-05-21 17:35:43,447+08 INFO [org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) [6ced2adb] Start org.ovirt.engine.core.bll.hostdev.HostDeviceManager@20ad9625 2018-05-21 17:35:43,449+08 INFO [org.ovirt.engine.core.bll.dwh.DwhHeartBeat] (ServerService Thread Pool -- 64) [6ced2adb] Initializing DWH Heart Beat2018-05-21 17:35:43,464+08 INFO [org.ovirt.engine.core.bll.dwh.DwhHeartBeat] (ServerService Thread Pool -- 64) [6ced2adb] DWH Heart Beat initialized2018-05-21 17:35:43,465+08 INFO [org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) [6ced2adb] Start org.ovirt.engine.core.bll.dwh.DwhHeartBeat@75f99d39 2018-05-21 17:35:43,539+08 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ServerService Thread Pool -- 64) [6ced2adb] EVENT_ID: AFFINITY_RULES_ENFORCEMENT_MANAGER_START(10,780), Affinity Rules Enforcement Manager started.2018-05-21 17:35:43,542+08 INFO [org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) [6ced2adb] Start org.ovirt.engine.core.bll.scheduling.AffinityRulesEnforcementManager@703aa6cd 2018-05-21 17:35:43,547+08 INFO [org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) [6ced2adb] Start org.ovirt.engine.core.bll.CertificationValidityChecker@47df0bd8 2018-05-21 17:35:43,554+08 INFO [org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) [6ced2adb] Start org.ovirt.engine.core.bll.hostdeploy.HostUpdatesCheckerService@4dc8896 2018-05-21 17:35:43,556+08 INFO [org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] (ServerService Thread Pool -- 64) [6ced2adb] Start initializing IPTablesDeprecationNotifier2018-05-21 17:35:43,560+08 INFO [org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] (ServerService Thread Pool -- 64) [6ced2adb] Finished initializing IPTablesDeprecationNotifier2018-05-21 17:35:43,560+08 INFO [org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) [6ced2adb] Start org.ovirt.engine.core.bll.IPTablesDeprecationNotifier@46fc7dd7
----- Original Message -----
From: Simone Tiraboschi <stirabos(a)redhat.com>
To: dhy336(a)sina.com
Cc: users <users(a)ovirt.org>
Subject: Re: [ovirt-users] hosted-engine ovirt-engine server not run
Date: 2018-05-21 21:05
On Mon, May 21, 2018 at 12:21 PM, <dhy336(a)sina.com> wrote:
Hi
I deploy hosted-engine with two nodes, when I power off the node that engine is runing, other node can run VM after about 3 minutes.but ovirt-engine server could not normally run. but systemctrl resetart ovirt-engine. ovirt-engine server can run.
this is VM engine logs.
Nothing seams bad from that logs.Can you please try reproducing it?
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
6 years, 7 months
Nginx proxy for Ovirt
by Aziz
Hi All,
I'm trying to setup nginx as a reverse proxy in order to access ovirt
remotely without having to add the fqdn in SSO_ALTERNATE_ENGINE_FQDNS ,
the idea is that nginx will handle the fqdn translation from my external
FQDN (external.fqdn.net ) to ovirt's fqdn (lab.vdi.net).
Is there a way to achieve scenario ?
Thank you in advance ?
Aziz
6 years, 7 months
Serial pass-through on oVirt VMs
by Joshua Blake
Hello,
We have an old Windows XP VM, that requires access to a physical serial
port for our telephone system. We have this working in VMWare, however, I'm
not entirely sure how we would set this up in oVirt? Can someone help
please?
Kind Regards,
Joshua Blake
6 years, 7 months
Re: Serial pass-through on oVirt VMs
by Tomáš Golembiovský
adding back the list
On Tue, 22 May 2018 16:38:31 +0200
Francesco Romani <fromani(a)redhat.com> wrote:
> On 05/22/2018 04:08 PM, Tomáš Golembiovský wrote:
> > Hi,
> >
> > you can try to use VDSM hook to add a dummy serial device to the VM
> > domain XML. Or if you really need a physical device then you can use the
> > hook to add the <hostdev> element to the domain XML. Don't forget to pin
> > the VM to a specific host though.
>
> Yes, pinning is most likely needed. As per libvirt configuration, there
> should be direct libvirt support, maybe predating hostdev:
>
> https://libvirt.org/formatdomain.html#elementsCharHost
>
> Bests,
>
> --
> Francesco Romani
> Senior SW Eng., Virtualization R&D
> Red Hat
> IRC: fromani github: @fromanirh
>
--
Tomáš Golembiovský <tgolembi(a)redhat.com>
6 years, 7 months
Use local ansible to talk to engineVM and other vm
by 03ce007@gmail.com
I have a self-hosted-engine (4.2) running on a centos 7.4 server.
I have downloaded ovirt ansible roles from ansible-galaxy and can run them from the server where the engineVM is running and able to deploy new vms, clusters, dc, etc.
I have seen the use of ovirt4.py file to target and group hosts which you can target for specific plays. However, the box where self-hosted-engine is running is a physical server but I am looking to run ansible from my local machine instead to manage vms running on engineVM. Is there a way to achieve this?
Thank you in advance.
6 years, 7 months