[ovirt-users] hosted engine migration
Hi all, I have an ovirt4.3.10.4 environment of 2 hosts. Normal vms in this environment could be migrated, but the hosted engine vm could not be migrated. Anyone can help? Thanks a lot! hosts status: normal vm migration: hosted engine vm migration:___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/ZXHE2AJX42HNHOMYHTDCUUIU3VQTQTLF/
[ovirt-users] migration failed
Hi all, I have an ovirt4.2 environment of 3 hosts. Now all vms in this environment could not be migrated. But all the vms could be started on all 3 hosts. Anyone can help? Thanks a lot! engine logs: 2019-01-02 09:41:26,868+08 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] (default task-9) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] Lock Acquired to object 'EngineLock:{exclusiveLocks='[eff7f697-8a07-46e5-a631-a1011a0eb836=VM]', sharedLocks=''}' 2019-01-02 09:41:26,978+08 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] (EE-ManagedThreadFactory-engine-Thread-168938) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] Running command: MigrateVmCommand internal: false. Entities affected : ID: eff7f697-8a07-46e5-a631-a1011a0eb836 Type: VMAction group MIGRATE_VM with role type USER 2019-01-02 09:41:27,019+08 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (EE-ManagedThreadFactory-engine-Thread-168938) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] START, MigrateVDSCommand( MigrateVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', vmId='eff7f697-8a07-46e5-a631-a1011a0eb836', srcHost='horeb66', dstVdsId='5bb18f6e-9c7e-4afd-92de-f6482bf752e5', dstHost='horeb65:54321', migrationMethod='ONLINE', tunnelMigration='false', migrationDowntime='0', autoConverge='true', migrateCompressed='false', consoleAddress='null', maxBandwidth='500', enableGuestEvents='true', maxIncomingMigrations='2', maxOutgoingMigrations='2', convergenceSchedule='[init=[{name=setDowntime, params=[100]}], stalling=[{limit=1, action={name=setDowntime, params=[150]}}, {limit=2, action={name=setDowntime, params=[200]}}, {limit=3, action={name=setDowntime, params=[300]}}, {limit=4, action={name=setDowntime, params=[400]}}, {limit=6, action={name=setDowntime, params=[500]}}, {limit=-1, action={name=abort, params=[]}}]]', dstQemu='192.168.128.78'}), log id: 1bd72db2 2019-01-02 09:41:27,019+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-168938) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] START, MigrateBrokerVDSCommand(HostName = horeb66, MigrateVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', vmId='eff7f697-8a07-46e5-a631-a1011a0eb836', srcHost='horeb66', dstVdsId='5bb18f6e-9c7e-4afd-92de-f6482bf752e5', dstHost='horeb65:54321', migrationMethod='ONLINE', tunnelMigration='false', migrationDowntime='0', autoConverge='true', migrateCompressed='false', consoleAddress='null', maxBandwidth='500', enableGuestEvents='true', maxIncomingMigrations='2', maxOutgoingMigrations='2', convergenceSchedule='[init=[{name=setDowntime, params=[100]}], stalling=[{limit=1, action={name=setDowntime, params=[150]}}, {limit=2, action={name=setDowntime, params=[200]}}, {limit=3, action={name=setDowntime, params=[300]}}, {limit=4, action={name=setDowntime, params=[400]}}, {limit=6, action={name=setDowntime, params=[500]}}, {limit=-1, action={name=abort, params=[]}}]]', dstQemu='192.168.128.78'}), log id: 380b8d38 2019-01-02 09:41:27,025+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-168938) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] FINISH, MigrateBrokerVDSCommand, log id: 380b8d38 2019-01-02 09:41:27,029+08 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (EE-ManagedThreadFactory-engine-Thread-168938) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 1bd72db2 2019-01-02 09:41:27,036+08 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-168938) [3eed5f0e-aaf5-4dce-bf30-2c49e09ab30d] EVENT_ID: VM_MIGRATION_START(62), Migration started (VM: win7, Source: horeb66, Destination: horeb65, User: admin@internal-authz). 2019-01-02 09:41:41,557+08 INFO [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (EE-ManagedThreadFactory-engineScheduled-Thread-30) [] VM 'eff7f697-8a07-46e5-a631-a1011a0eb836'(win7) moved from 'MigratingFrom' --> 'Up' 2019-01-02 09:41:41,557+08 INFO [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Adding VM 'eff7f697-8a07-46e5-a631-a1011a0eb836'(win7) to re-run list 2019-01-02 09:41:41,567+08 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] (EE-ManagedThreadFactory-engineScheduled-Thread-30) [] Rerun VM 'eff7f697-8a07-46e5-a631-a1011a0eb836'. Called from VDS 'horeb66' 2019-01-02 09:41:41,570+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-168945) [] START, MigrateStatusVDSCommand(HostName = horeb66, MigrateStatusVDSCommandParameters:{hostId='0aff0075-4b41-4f37-98de-7433a17cd47e', vmId='eff7f697-8a07-46e5-a631-a1011a0eb836'}), log id: 4ed2923c 2019-01-02 09:41:41,573+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (EE-ManagedThreadFactory-engi
[ovirt-users] vGPU
Hi all, I am testing vGPU in ovirt4.2. I have a nvidia p100 GPU installed in the host and I have installed the correct dirver. I followed this page(https://www.ovirt.org/documentation/install-guide/appe-Preparing_a_Host_for_vGPU_Installation/) but I failed. In the "Host Devices tab" I got an device called "GP100GL [Tesla P100 PCIe 16GB]". I could not find any device of "mdev type". Anyone can help me? Thanks a lot!___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/NIWMUM5QFZMTAXZJ7LZ5HX3ZB3B3UPFW/
[ovirt-users] vdsm hook
Hi all, I want to write a hook in which name or id of the vm can be acquired and the hook should be executed before the vm shutdown. I could acquire name or id of the vm in a before_vm_start hook using "hooking.read_domxml()". However, it did not work in a before_vm_destroy hook. So what should I do? Can Anyone give me some advice? Thanks a lot!___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/OL3HQTHG6C4DZ7R7DZAIX5Z3QCLW6IBW/
[ovirt-users] UI plugin of billing
Hi all, I want to develop an UI plugin for ovirt which aimes at translating metrics to prices like CloudKitty of openstack. Has anyone done it? Can anyone give me some advice? Thanks!___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/NQ4NFILNJYLHYJETIDKOL3FKGPM2VZH4/
[ovirt-users] upload disk using python sdk
Hi all, I want to upload an disk using python sdk instead of web. Which class should I use? I could not find a "upload" method in "class Disk" an "class Disks" in "brokers.py" Anyone can help? Thanks!___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/MLKDYEEMBXLWV5S5HULZWXOVHTMHRLFX/
[ovirt-users] delete snapshot error
Hi all, I am using ovirt4.1. I failed deleting a snapshot of a vm. The state of the snapshot stayed locked and I could not start the vm. Anyone can help? Thanks! PS: some logs: VDSM command ReconcileVolumeChainVDS failed: Could not acquire resource. Probably resource factory threw an exception.: () VDSM host command GetVGInfoVDS failed: Volume Group does not exist: (u'vg_uuid: nL3wgg-uctH-1lGd-Vyl1-f1P2-fk95-tH5tlj',)___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org
[ovirt-users] novnc_websocket_proxy_fqdn
Hi all, I am using novnc to connect vms in my ovirt4.1 environment. My engine fqdn has been set to "engine1.test.org" before I excuted "engine-setup". I could connect vms using "engine1.test.org" on client1 which "engine1.test.org" can be resoved. Now I want to connect vms using "engine2.test.org" on client2 which only "engine2.test.org" can be resolved. I have set "SSO_ALTERNATE_ENGINE_FQDNS="engine2.test.org"" in /etc/ovirt-engine/engine.conf.d/99-alternate-engine-fqdns.conf. But I failed. It said that "can't connect to websocket proxy server wss://engine1.test.org:6100". So where can I modify this websocket proxy parameter? Anyone can help? Thanks!___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] active directory and sso
Here are the engine logs: 2018-02-05 14:53:53,681+08 INFO [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-38) [] User t...@test.org successfully logged in with scopes: ovirt-app-admin ovirt-app-api ovirt-app-portal ovirt-ext=auth:sequence-priority=~ ovirt-ext=revoke:revoke-all ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access 2018-02-05 14:53:53,765+08 INFO [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default task-40) [6961a53b] Running command: CreateUserSessionCommand internal: false. 2018-02-05 14:53:53,775+08 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-40) [6961a53b] EVENT_ID: USER_VDC_LOGIN(30), Correlation ID: 6961a53b, Call Stack: null, Custom Event ID: -1, Message: User t...@test.org@test.org logged in. 2018-02-05 14:53:55,305+08 ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-60) [] Can't read file '/usr/share/ovirt-engine/files/spice/SpiceVersion_x64.txt' for request '/ovirt-engine/services/files/spice/SpiceVersion_x64.txt', will send a 404 error response. 2018-02-05 14:53:57,379+08 INFO [org.ovirt.engine.core.bll.VmLogonCommand] (default task-21) [4550dbd4-9c26-48fa-8ded-e50cd47a34e1] Running command: VmLogonCommand internal: false. Entities affected : ID: ae5846f6-4f25-4e7a-af2d-02e99599de47 Type: VMAction group CONNECT_TO_VM with role type USER 2018-02-05 14:53:57,400+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default task-21) [4550dbd4-9c26-48fa-8ded-e50cd47a34e1] START, VmLogonVDSCommand(HostName = host, VmLogonVDSCommandParameters:{runAsync='true', hostId='0049362d-39cc-498d-9c7e-f36c5fba20bf', vmId='ae5846f6-4f25-4e7a-af2d-02e99599de47', domain='test.org', password='***', userName='t...@test.org@test.org'}), log id: 34439164 2018-02-05 14:53:58,404+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] (default task-21) [4550dbd4-9c26-48fa-8ded-e50cd47a34e1] FINISH, VmLogonVDSCommand, log id: 34439164 2018-02-05 14:53:58,467+08 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (default task-23) [48fb921e] Running command: SetVmTicketCommand internal: false. Entities affected : ID: ae5846f6-4f25-4e7a-af2d-02e99599de47 Type: VMAction group CONNECT_TO_VM with role type USER 2018-02-05 14:53:58,469+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (default task-23) [48fb921e] START, SetVmTicketVDSCommand(HostName = host, SetVmTicketVDSCommandParameters:{runAsync='true', hostId='0049362d-39cc-498d-9c7e-f36c5fba20bf', vmId='ae5846f6-4f25-4e7a-af2d-02e99599de47', protocol='SPICE', ticket='60qsiE96d7F5', validTime='120', userName='t...@test.org', userId='737c7b8b-9503-489b-b32a-10bf8615bc1f', disconnectAction='LOCK_SCREEN'}), log id: 3076856 2018-02-05 14:53:59,108+08 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (default task-23) [48fb921e] FINISH, SetVmTicketVDSCommand, log id: 3076856 2018-02-05 14:53:59,116+08 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-23) [48fb921e] EVENT_ID: VM_SET_TICKET(164), Correlation ID: 48fb921e, Call Stack: null, Custom Event ID: -1, Message: User t...@test.org@test.org initiated console session for VM win7 2018-02-05 14:54:16,134+08 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler4) [] EVENT_ID: VM_CONSOLE_CONNECTED(167), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User t...@test.org is connected to VM win7. At 2018-02-02 14:50:49, "Martin Perina" wrote: On Fri, Feb 2, 2018 at 4:46 AM, 董青龙 wrote: Thanks for the reply. I have completely configured all the things in option 1 which you told. But it seems that sso still does not work. My domain forest is "test.org" and my user is "test". When I login the user portal, I get "t...@test.org@test.org" int the top right corner. Should it be "t...@test.org"? This is fine, for AD we are using UPN as username (in your case 't...@test.org') and we concatenate this with authz extension name (in your case '@test.org'). Is it possible that engine send wrong user name to the guest agent? Could you please share engine.log from, after you try to login to VM Portal and open console to the VM to investigate? Thanks Martin At 2018-02-01 15:35:57, "Martin Perina" wrote: On Thu, Feb 1, 2018 at 9:13 AM, 董青龙 wrote: Hi, all I am trying to make SSO working with windows7 vm in an ovirt 4.1 environment. Ovirt-guest-agent has been installed in windows7 vm. I have an active directory se
Re: [ovirt-users] active directory and sso
Thanks for the reply. I have completely configured all the things in option 1 which you told. But it seems that sso still does not work. My domain forest is "test.org" and my user is "test". When I login the user portal, I get "t...@test.org@test.org" int the top right corner. Should it be "t...@test.org"? Is it possible that engine send wrong user name to the guest agent? At 2018-02-01 15:35:57, "Martin Perina" wrote: On Thu, Feb 1, 2018 at 9:13 AM, 董青龙 wrote: Hi, all I am trying to make SSO working with windows7 vm in an ovirt 4.1 environment. Ovirt-guest-agent has been installed in windows7 vm. I have an active directory server of windows2012 and I have configured the engine using "ovirt-engine-extension-aaa-ldap-setup" successfully. The windows7 vm has joined the domain,too. But when I login the userportal using a user created in the AD server, I still have to login the windows7 vm using the same user for the second time. It seems that SSO does not work. Anyone can help me? Thanks! We are not providing full SSO for VMs . At the moment you have 2 options: 1. If you want user to be automatically logged in into a VM, then you need to setup SSO using aaa-ldap extension for AD (please don't forget to answer Yes for question about SSO for VMs in setup tool). Andf of course in a VM you need to have installed and enabled guest agent. Once user logs into VM Portal and clicks on a VM, then he should be automatically logged into it. 2. If you setup kerberos for engine SSO, then you don't need to enter password to loging into VM Portal, but in such case we cannot pass a password into a VM and user are not automatically logged in. Martin ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Martin Perina Associate Manager, Software Engineering Red Hat Czech s.r.o. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] active directory and sso
Hi, all I am trying to make SSO working with windows7 vm in an ovirt 4.1 environment. Ovirt-guest-agent has been installed in windows7 vm. I have an active directory server of windows2012 and I have configured the engine using "ovirt-engine-extension-aaa-ldap-setup" successfully. The windows7 vm has joined the domain,too. But when I login the userportal using a user created in the AD server, I still have to login the windows7 vm using the same user for the second time. It seems that SSO does not work. Anyone can help me? Thanks!___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] web 404 after reinstall ovirt-engine
Hi, all I installed ovirt-engine 4.1.8.2 for the second time and I got "successful" after I excuted "engine-setup". But I got "404" when I tried to access webadmin portal using "https://FQDN/ovirt-engine";. By the way, I could access the web after I installed ovirt-engine for the first time. Then I excuted "engine-cleanup" and "yum remove ovirt-engine" and installed ovirt-engine for the second time. I also tried to remove ovirt-engine-dwh and postgresql but after I reinstalled ovirt-engine I still got "404". Can I fix this problem? Hope some can help, thanks! Here are some logs in "/var/log/ovirt-engine/engine.log": ... 2018-01-19 12:56:06,288+08 ERROR [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] (ServerService Thread Pool -- 61) [] Could not access engine's DWH configuration table: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/ENGINEDataSource ... Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/ENGINEDataSource ... Caused by: javax.resource.ResourceException: IJ031084: Unable to create connection ... Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "engine" ... 2018-01-19 12:56:06,292+08 WARN [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] (ServerService Thread Pool -- 61) [] No valid DWH configurations were found, assuming DWH database isn't setup. 2018-01-19 12:56:06,292+08 INFO [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] (ServerService Thread Pool -- 61) [] Dashboard DB query cache has been disabled.___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] hosted engine and about more than 1000 vms
Hi, all We want to deploy an environment of hosted engine which will manage more than 1000 vms. How many vcpus and memory should we give to hosted engine? And are there any other things should we pay attention to? Hope someone can help. Thanks!___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] engine FQDN
It worked. Thanks! At 2017-11-09 15:00:40, "Fred Rolland" wrote: Hi, You can try this: - create a new file: ovirt-engine/engine.conf.d/99-alternate-engine-fqdns.conf - add a line with the FQDN or IP you want to use(You can have multiple with a space between them): SSO_ALTERNATE_ENGINE_FQDNS="ov.example.com" On Thu, Nov 9, 2017 at 3:26 AM, 董青龙 wrote: Hi,all I have an environment of ovirt 4.1.2.2, and the engine is hosted engine. I used a FQDN which could be only resolved locally when the environment was deployed. A record of the engine FQDN was added in /etc/hosts of all hosts and engine. Now I want to change engine FQDN to another one which can be resolved on internet. What should I do? I found that the engine could not be accessed by IP. Anyone can help? Thanks! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] engine FQDN
Hi,all I have an environment of ovirt 4.1.2.2, and the engine is hosted engine. I used a FQDN which could be only resolved locally when the environment was deployed. A record of the engine FQDN was added in /etc/hosts of all hosts and engine. Now I want to change engine FQDN to another one which can be resolved on internet. What should I do? I found that the engine could not be accessed by IP. Anyone can help? Thanks!___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users