Re: [ovirt-users] oVirt 4 + Foreman
Hi, Sorry for this late reply, i've been busy with some other projects in the last weeks. I did some log analysing and could find the following in the foreman log when trying to add foreman as an external provider for oVirt: 2016-09-08 15:20:03 [app] [I] Started GET "/api/v2" for 10.0.10.10 at 2016-09-08 15:20:03 +0200 2016-09-08 15:20:03 [app] [I] Processing by Api::V2::HomeController#index as JSON 2016-09-08 15:20:03 [app] [I] Parameters: {"apiv"=>"v2", "home"=>{}} 2016-09-08 15:20:03 [app] [I] Authorized user ovirt(oVirt org) 2016-09-08 15:20:03 [app] [I] Rendered api/v2/home/index.json.rabl (81.8ms) 2016-09-08 15:20:03 [app] [I] Completed 200 OK in 104ms (Views: 82.3ms | ActiveRecord: 4.6ms) 2016-09-08 15:20:03 [app] [I] Started GET "/api/v2/discovered_hosts" for 10.0.10.10 at 2016-09-08 15:20:03 +0200 2016-09-08 15:20:03 [app] [F] | ActionController::RoutingError (No route matches [GET] "/api/v2/discovered_hosts"): | actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' | actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | railties (4.2.5.1) lib/rails/rack/logger.rb:38:in `call_app' It looks like ovirt is calling an api method which doesn't exist : /api/v2/discovered_hosts an extract from ovirt-engine.log 2016-09-08 15:20:00,862 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler3) [] FINISH, GlusterVolumesListVDSCommand, return: {d6f938d1-8886-40f3-8210-e5be397f951c=org.ovirt.engine.core.c ommon.businessentities.gluster.GlusterVolumeEntity@a32edae4, 7ef3b155-47d7-4405-aa70-82a9b8be4033=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@d94d8f95, af169181-d72e-4325-9947-d7dd09e512f0=org.ovirt.engine.c ore.common.businessentities.gluster.GlusterVolumeEntity@2a649db3, 6d3c8561-4e52-4221-9473-88fd48ef4909=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@a35e1b82}, log id: 5ffa2bf1 2016-09-08 15:20:03,173 INFO [org.ovirt.engine.core.bll.provider.ImportProviderCertificateCommand] (default task-24) [146f761a] Running command: ImportProviderCertificateCommand internal: false. Entities affected : ID: aaa0--00 00--123456789aaa Type: SystemAction group CREATE_STORAGE_POOL with role type ADMIN 2016-09-08 15:20:03,178 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-24) [146f761a] Correlation ID: 146f761a, Call Stack: null, Custom Event ID: -1, Message: Certificate for provider spfy-dep was imported. (User: admin@internal-authz) 2016-09-08 15:20:03,295 INFO [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-23) [6f5d9746] Running command: TestProviderConnectivityCommand internal: false. Entities affected : ID: aaa0----123456789aaa Type: SystemAction group CREATE_STORAGE_POOL with role type ADMIN 2016-09-08 15:20:03,955 ERROR [org.ovirt.engine.core.bll.host.provider.foreman.ForemanHostProviderProxy] (default task-23) [6f5d9746] Exception is https://spfy-dep.host.sapify.ch:443/api/v2/discovered_hosts 2016-09-08 15:20:03,955 ERROR [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-23) [6f5d9746] Command 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand' failed: EngineException: https://spfy-dep.host.sapify.ch:443/api/v2/discovered_hosts (Failed with error PROVIDER_FAILURE and code 5050) 2016-09-08 15:20:04,279 INFO [org.ovirt.engine.core.vdsbroker.monitoring.VmsStatisticsFetcher] (DefaultQuartzScheduler4) [] Fetched 3 VMs from VDS 'd36d9aff-a953-466b-bdf7-70ba4f63e180' Thanks for any hint/help. rgds, Arsène On 08/22/2016 08:22 AM, Oved Ourfali wrote: Can you please attach the complete logs of ovirt and foreman? On Wed, Aug 17, 2016 at 10:25 AM, Martin Perina> wrote: Adding Yaniv ... On Wed, Aug 17, 2016 at 9:16 AM, Arsène Gschwind > wrote: Hi, Thanks a lot this did work on the Foreman side using https:///ovirt-engine/api/v3 . But on the oVirt Side, to define Foreman as an external provider, it still doesn't work, is there also a special URL to enter? I didn't find anything in the docs. Thanks for any hint. Regards, Arsène On 08/16/2016 05:01 PM, Juan Hernández wrote: On 08/16/2016 11:58 AM, Arsène Gschwind wrote: Hi, has anybody been able to configure Foreman with oVirt 4 ? When trying to add Foreman as an external provider and test the login it always return : Failed to communicate with the external provider, see log for additional details. On the Foreman
[ovirt-users] BSD Guests + oVirt
Hi Guys, Is there any optimizations for using FreeBSD 10.3 with ovirt? The guest OS works fine, however, the engine frequently lists the wrong status for the VM, like rebooting, booting etc. ovirt-guest-tools doesn't support freebsd from what I can find. Thanks! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hung task finalizing live migration
Thanks for the pointer Mikhail, however I don't get any tasks listed with that command: vdsClient -s 0 getAllTasksStatuses /usr/share/vdsm/vdsClient.py:33: DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli from vdsm import utils, vdscli, constants {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}} On 8 September 2016 at 09:51, Краснобаев Михаилwrote: > Hi, > > There is a way to cancel a running task - look here > http://lists.ovirt.org/pipermail/users/2014-November/028946.html > I was able to stop snapshot deletion this way. > > Best, Mikhail. > > 08.09.2016, 08:14, "Maton, Brett" : > > Any suggestions ? > > THe task has been hung for 5 days now, I can't start the machine or > destroy it. > > > On 7 September 2016 at 06:49, Maton, Brett > wrote: > > Sorry just hit reply > > I'm seeing these errors in the logs which look related to the problem: > > > 2016-09-07 06:46:35,123 ERROR > [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] > (DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method > 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with > exception 'null', the callback is marked for end method retries > 2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.CommandsFactory] > (DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command > 'LiveMigrateDisk': null > 2016-09-07 06:46:45,185 ERROR > [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] > (DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method > 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with > exception 'null', the callback is marked for end method retries > > On 5 September 2016 at 06:46, Nir Soffer wrote: > > Hi Maton, > > Please reply to the list, not to me directly. > > Ala, can you look at this? is this a known issue? > > Thanks, > Nir > > On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett > wrote: > > Log files as requested > > > > https://ufile.io/4fc35 vdsm log > > https://ufile.io/e9836 engine 03-Sep > > https://ufile.io/15f37 engine 04-Sep > > > > vdsm log stops on the 01-Sep... > > > > Couple of entries from the event log: > > > > Sep 3, 2016 7:31:07 PMSnapshot 'Auto-generated for Live Storage > > Migration' deletion for VM 'lv01' has been completed. > > Sep 3, 2016 6:46:46 PMSnapshot 'Auto-generated for Live Storage > > Migration' deletion for VM 'lv01' was initiated by SYSTEM > > > > And the related tasks > > > > Removing Snapshot Auto-generated for Live Storage Migration of VM lv01 > > Sep 3, 2016 6:46:44 PMN/A29f45ca9 > > ValidatingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 6:46:44 PM > > ExecutingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 7:31:06 PM > > > > FinalizingSep 3, 2016 7:31:06 PMN/A > > > > > > > > On 4 September 2016 at 14:27, Nir Soffer wrote: > >> > >> On Sun, Sep 4, 2016 at 12:40 PM, Maton, Brett > > >> wrote: > >>> > >>> How do I fix / kill a hung vdsm task? > >>> > >>> It seems to have completed the task but is stuck finalising. > >>> > >>> Removing Snapshot Auto-generated for Live Storage Migration > >>> Validating > >>> Executing > >>> (hour glass) Finalizing > >>> > >>> Task has been 'stuck' finalising for over 13 hours > >> > >> > >> Can you share engine and vdsm logs since the time the merge was started? > >> > >> Nir > > > > > > , > > ___ > 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