oVirt node 4.3.4 stable can't deploy hosted engine to iscsi target all available LUNs used
by Mitja Pirih
Hi,
I am new to oVirt, coming from XenServer platform, so please be patient with me.
After a successful install of latest stable oVirt node (ovirt-node-ng-installer-4.3.4-2019061016.el7.iso) I am having troubles deploying hosted engine to an iscsi target over Cockpit. I have a couple of iscsi targets available on two different storage platforms (Synology DS418, Lenovo DE2000H). After retrieving iscsi Target list all LUNs get automatically "connected" by "Target list scan" and shown as used on LUNs list. I can reproduce this every single time. On storage system I can also see, that all LUNs get connected by the initial scan. As a result I an unable to continue the deployment as there are no LUNs available.
Is this a normal behavior? What would you suggest me to do?
Thanks.
5 years, 4 months
Adding a custom fence agent on 4.3.4
by Matteo
Hi,
I'm trying to add a custom fence agent for my test deployment on hetzner.
Have written a small fence_hetzner_robot script which works ok from cli and installed on every ovirt node.
Then added with engine_config in this way:
# engine-config -s CustomVdsFenceType="hetzner_robot"
But does not show up in fence agents list under host pm configuration.
I'm missing something?
thanks!
Matteo
PS:
Also tried to set up an empty param mapping, just to test
# engine-config -s CustomVdsFenceOptionMapping="hetzner_robot:"
but still nothing.
5 years, 4 months
SPICE and VNC native
by kim.kargaard@noroff.no
Hi,
We are running ovirt 4.3. The engine is on a bare metal machine and the hosts are running on Centos 7. When installing the engine, I set it to be the webproxy. When I create a new vm, I select both SPICE+VNC. When clicking on the console I only have the option for SPICE native, not for the HTML option. For VNC I have both options and the HTML option can be selected and works. But, this is also the only option that works. VNC Native as well as SPICE Native do not work. I have tried using both remote viewer on Mac and a VNC client on a Windows machine and neither will actually open the VM. I would really also like the SPICE HTML option to exist, but it does not. The enable SPICE proxy in the Console selection is greyed out.
When I open in remoteviewer (Mac) I get Unable to connect to the graphic server.
Any suggestions?
Kim
5 years, 4 months
it seems vgpu state be mistack freed when operating(start and stop) vm at the same time
by weizhengya16@gmail.com
We using ovirt in production environment with each virtual machine with a vGpu。but serveral days later, I find several phisical server has been crash and automatic reboot。And I also found some vGpu exist with no virtual machine using. So it makes virtual machine start fail because of lacking resource.I must enter the vgpu directory and using "echo "1" >remove" to free this vGpu。With ceaselessly stop and start, the probability of its occurrence is approximately 0.1%-1%
5 years, 4 months
Failed on HE-Storage migration
by Christoph Köhler
Hello,
we tried to migrate the hosted engine to a new storage but we ran into
an error - in any attempt the same.
What we did is:
° Version 4.3.4.3-1.el7
° in the engine vm: systemctl stop ovirt-engine
° took backup with scope=all
° hosted-engine --set-maintenance --mode=global
° hosted-engine --vm-shutdown
° on a new host (not in the inventory of engineDB): hosted-engine
---deploy --restore-from-file=backup-file
It ran fine until:
//
ERROR ] fatal: [localhost -> newhost]: FAILED! => {"changed": true,
"cmd": ["engine-setup", "--accept-defaults",
"--config-append=/root/ovirt-engine-answers", "--offline"], "delta":
"0:00:00.801074", "end": "2019-06-27 12:13:49.157140", "msg": "non-zero
return code", "rc": 1, "start": "2019-06-27 12:13:48.356066", "stderr":
"", "stderr_lines": [], "stdout": "[ INFO ] Stage: Initializing\n[ INFO
] Stage: Environment setup\n Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf',
'/root/ovirt-engine-answers']\n Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log\n
Version: otopi-1.8.2 (otopi-1.8.2-1.el7)\n[ ERROR ] Failed to
execute stage 'Environment setup': Cannot connect to ovirt cinderlib
database using existing credentials: ovirt_cinderlib@localhost:5432\n[
INFO ] Stage: Clean up\n Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log\n[
INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20190627121349-setup.conf'\n[ INFO
] Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ]
Execution of setup failed", "stdout_lines": ["[ INFO ] Stage:
Initializing", "[ INFO ] Stage: Environment setup", "
Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf',
'/root/ovirt-engine-answers']", " Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log",
" Version: otopi-1.8.2 (otopi-1.8.2-1.el7)", "[ ERROR ] Failed
to execute stage 'Environment setup': Cannot connect to ovirt cinderlib
database using existing credentials: ovirt_cinderlib@localhost:5432", "[
INFO ] Stage: Clean up", " Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190627121348-48b6rw.log",
"[ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20190627121349-setup.conf'", "[
INFO ] Stage: Pre-termination", "[ INFO ] Stage: Termination", "[
ERROR ] Execution of setup failed"]}
//
The user and password hashes are okay and the same on old_engine and
restore_file.
Any ideas?
regards,
Chris
5 years, 4 months
Re: [ovirt-devel] USB on host support?
by Nir Soffer
On Sat, Jun 29, 2019 at 11:57 PM Hetz Ben Hamo <hetz(a)hetz.biz> wrote:
> One of the requirements is USB host support (which will be on the nodes,
> not on the desktops). I haven't found any way to connect USB to a VM other
> then through SPICE, but this method won't help as these dongles won't be on
> desktops.
>
> Is this in the road map of oVirt?
>
Did you try Compute > Virtual machines > vm-name > Host devices?
Nir
5 years, 4 months
How to clear this error? Can't get in to the administration or vm portals
by mrobbins@radiax.com
relevant logs taken from Engine server /var/log/ovirt-engine/server.log:
2019-06-28 11:43:26,971-07 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-73) [37ac641] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='ebe1a8b0-235b-4af0-96a8-e04269cd7a8e'}), log id: 4a014d00
2019-06-28 11:43:26,995-07 ERROR [org.ovirt.engine.core.bll.HaAutoStartVmsRunner] (EE-ManagedThreadFactory-engineScheduled-Thread-73) [37ac641] Exception in startFailedAutoStartVms: JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token
2019-06-28 11:43:28,041-07 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-91) [7a301f69] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='ebe1a8b0-235b-4af0-96a8-e04269cd7a8e'}), log id: 444c67e7
2019-06-28 11:43:28,065-07 ERROR [org.ovirt.engine.core.bll.HaAutoStartVmsRunner] (EE-ManagedThreadFactory-engineScheduled-Thread-91) [7a301f69] Exception in startFailedAutoStartVms: JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token
2019-06-28 11:43:29,122-07 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-31) [4a698430] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='ebe1a8b0-235b-4af0-96a8-e04269cd7a8e'}), log id: 7626e5f1
2019-06-28 11:43:29,146-07 ERROR [org.ovirt.engine.core.bll.HaAutoStartVmsRunner] (EE-ManagedThreadFactory-engineScheduled-Thread-31) [4a698430] Exception in startFailedAutoStartVms: JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token
2019-06-28 11:43:30,198-07 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-90) [fb1b396] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='ebe1a8b0-235b-4af0-96a8-e04269cd7a8e'}), log id: 615cc6a5
2019-06-28 11:43:30,226-07 ERROR [org.ovirt.engine.core.bll.HaAutoStartVmsRunner] (EE-ManagedThreadFactory-engineScheduled-Thread-90) [fb1b396] Exception in startFailedAutoStartVms: JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token
2019-06-28 11:43:31,284-07 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-5) [4e0f2d55] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='ebe1a8b0-235b-4af0-96a8-e04269cd7a8e'}), log id: 22ac8448
2019-06-28 11:43:31,312-07 ERROR [org.ovirt.engine.core.bll.HaAutoStartVmsRunner] (EE-ManagedThreadFactory-engineScheduled-Thread-5) [4e0f2d55] Exception in startFailedAutoStartVms: JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: java.io.StringReader@33492c7c; line: 633, column: 6] (through reference chain: org.ovirt.engine.core.common.action.VmManagementParametersBase["watchdog"]->org.ovirt.engine.core.common.businessentities.VmWatchdog["specParams"])
Error when attempting to login to administration or vm portal:
org.apache.commons.lang.SerializationException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: java.io.StringReader@11ef98d5; line: 633, column: 6] (through reference chain: org.ovirt.engine.core.common.action.VmManagementParametersBase["watchdog"]->org.ovirt.engine.core.common.businessentities.VmWatchdog["specParams"])
I've restarted the engine host. I've restarted the engine service. I've checked for zombie tasks with the db utils - none found.
Engine is hosted in a HA environment with 2 iron boxes, I have rebooted the hosts that engine is running on. I have migrated hostedengine to both hosts to see if there's an issue perhaps with one of the hosts. No resolution of issue.
Been searching for various aspects of the logs to try & get an answer (for quite a few days this issue started some time ago and is in our test environment), all seem to lead to dead ends.
hosted-engine --vm-status
--== Host 1 (id: 1) status ==--
conf_on_shared_storage : True
Status up-to-date : True
Hostname : hostname
Host ID : 1
Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : a3c24020
local_conf_timestamp : 425
Host timestamp : 425
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=425 (Fri Jun 28 14:06:44 2019)
host-id=1
score=3400
vm_conf_refresh_time=425 (Fri Jun 28 14:06:45 2019)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False
--== Host 2 (id: 2) status ==--
conf_on_shared_storage : True
Status up-to-date : True
Hostname : hostname
Host ID : 2
Engine status : {"health": "good", "vm": "up", "detail": "Up"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : e9a6ca22
local_conf_timestamp : 952
Host timestamp : 952
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=952 (Fri Jun 28 14:06:50 2019)
host-id=2
score=3400
vm_conf_refresh_time=952 (Fri Jun 28 14:06:50 2019)
conf_on_shared_storage=True
maintenance=False
state=EngineUp
stopped=False
Last thing I did before this error showed up was created about 10 servers from a template. There were various lease errors for the servers but they came up and seemed functional. Clearly the issue is here: "Exception in startFailedAutoStartVms" in the "START_ARRAY token" but I can't find anything as of yet that says if you see this - do x,y,z.
Learning oVirt so my apologies if this is a 101 question.
5 years, 4 months
Re: SPICE and VNC native
by Strahil
The graphics server is the actual host.
Can you directly access SPICE/VNC port from your workstation?
Best Regards,
Strahil NikolovOn Jul 1, 2019 13:31, kim.kargaard(a)noroff.no wrote:
>
> Hi,
>
> We are running ovirt 4.3. The engine is on a bare metal machine and the hosts are running on Centos 7. When installing the engine, I set it to be the webproxy. When I create a new vm, I select both SPICE+VNC. When clicking on the console I only have the option for SPICE native, not for the HTML option. For VNC I have both options and the HTML option can be selected and works. But, this is also the only option that works. VNC Native as well as SPICE Native do not work. I have tried using both remote viewer on Mac and a VNC client on a Windows machine and neither will actually open the VM. I would really also like the SPICE HTML option to exist, but it does not. The enable SPICE proxy in the Console selection is greyed out.
>
> When I open in remoteviewer (Mac) I get Unable to connect to the graphic server.
>
> Any suggestions?
>
> Kim
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/PDH2UJKZC2X...
5 years, 4 months