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%
3 years, 11 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
3 years, 11 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
3 years, 11 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.
3 years, 11 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...
3 years, 11 months
Re: USB Passtrough device problem
by Strahil
You can attach the usb to an oVirt node and check the module in use there.
Then you can try patthrough the device and check the module in use on the VM (if it's linux) or install the driver (if Windows).
Best Regards,
Strahil NikolovOn Jun 28, 2019 21:11, Juan Pablo Lorier <jplorier(a)gmail.com> wrote:
>
> thanks anyway. I'm trying to figure out how to deal with this.
>
> Regards
>
> El 26/6/19 a las 16:45, Strahil escribió:
>
> Slow motion... This sounds like bad driver or an unoptimized one.
>
> Sadly I have no more ideas how to overcome this.
>
> Best Rregards,
> Strahil Nikolov
>
> On Jun 25, 2019 20:07, jplorier(a)gmail.com wrote:
>>
>> Hi Strahil
>>
>> Sorry for the late reply but google sent ovirt mails to spam. I have tried and thought I get audio, it sounds like its played at an incorrect bitrate (I recorded audio ant soundls like slow motion audio).
>> Is there any other way to present the usb device than throught console usb emulation?
>> Regards
>>
3 years, 11 months
Re: hosted engine not getting up
by Crazy Ayansh
Hi Simon, It seems to be a memory issue but why it's not showing correct
memory there i mean in hosted engine i have given below memory :
[image: image.png]
whereas it is showing on virsh -r *** command is bit lesser why ?
[image: image.png]
why both are different ?
On Mon, Jul 1, 2019 at 12:31 PM Crazy Ayansh <shashank123rastogi(a)gmail.com>
wrote:
> Hi Simon, It seems to be a memory issue but why it's not showing correct
> memory there i mean in hosted engine i have given below memory :
> [image: image.png]
>
> whereas it is showing on virsh -r *** command is bit lesser why ?
> [image: image.png]
>
> why both are different ?
>
> Thanks
>
>
>
> On Fri, Jun 28, 2019 at 7:11 PM Simone Tiraboschi <stirabos(a)redhat.com>
> wrote:
>
>> Can you please check how much memory it got in the output of virsh -r
>> dumpxml HostedEngine ?
>>
>>
>> On Fri, Jun 28, 2019 at 3:27 PM Crazy Ayansh <
>> shashank123rastogi(a)gmail.com> wrote:
>>
>>> Hi Team,
>>>
>>> Today i rebooted my hosted engine and found it was not getting up. After
>>> connecting through remote viewer i found the error "error:cannot allocate
>>> kernel buffer" and i am not able to start hosted engine.any suggestions ?
>>>
>>> _______________________________________________
>>> 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/MTDRNK2DZVW...
>>>
>>
>>
>> --
>>
>> Simone Tiraboschi
>>
>> He / Him / His
>>
>> Principal Software Engineer
>>
>> Red Hat <https://www.redhat.com/>
>>
>> stirabos(a)redhat.com
>> @redhatjobs <https://twitter.com/redhatjobs> redhatjobs
>> <https://www.facebook.com/redhatjobs> @redhatjobs
>> <https://instagram.com/redhatjobs>
>> <https://red.ht/sig>
>> <https://redhat.com/summit>
>>
>
3 years, 11 months
Re: Mix CPU
by Strahil
No.
Keep the hosts with different Brand CPU in separate clusters.
For example, I have 2 gluster Bricks with AMD (default cluster) and an Intel-based arbiter (Intel cluster).
Best Regards,
Strahil NikolovOn Jul 1, 2019 14:39, suporte(a)logicworks.pt wrote:
>
> Hello,
>
> Can we mix an Intel cpu with an AMD cpu in the same cluster?
>
> Thanks
>
> --
> ________________________________
> Jose Ferradeira
> http://www.logicworks.pt
3 years, 11 months