Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Do you mean @override getMytestsResource() in BackendVmResource ? I have done that, otherwise GET would not pass. From: Ondra Machacek Date: 2018-04-12 15:43 To: gss...@pku.edu.cn; users Subject: Re: [ovirt-users] Some questions about Ovirt REST API On 04/11/2018 08:19 AM, gss...@pku.edu.cn

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Sure. I override get() and add() in my BackendVmMytestsResource.java GET works and POST not. From: Ondra Machacek Date: 2018-04-12 16:25 To: gss...@pku.edu.cn; users Subject: Re: [ovirt-users] Some questions about Ovirt REST API Ah sorry, POST isn't working and GET works, I misread it. Can you

Re: [ovirt-users] How to build ovirt-engine-appliance-xxx.rpm

2018-04-12 Thread Yedidyah Bar David
On Thu, Apr 12, 2018 at 4:12 AM, wrote: > Hi > How to build ovirt-engine-appliance-xxx.rpm, I do not find docs and source > now I hava build ovirt-engine-appliance.ova by ovirt-appliance. Check the automation/ directory inside the ovirt-appliance git repo. This is how it's

[ovirt-users] admin account constantly gets locked

2018-04-12 Thread Käfer Marcel
Hello, a few days ago I installed an ovirt-engine 4.2.2.6 following the steps of the documentation. After the installation I logged in to the admin page, configured a datadomain and changed the admin password. After a few hours I tried to login again, using the new password and got "Unable to

Re: [ovirt-users] Engine reports

2018-04-12 Thread Peter Hudec
back to this issue. something went wrong ;( The status command got error. I'm not familiar with openshift, so the log processing will took me a while. [PROD] r...@dipostat01.cnc.sk: ~ # oc project logging Already on project "logging" on server "https://metrics.ovirt.cnc.sk:8443;. [PROD]

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread Ondra Machacek
On 04/11/2018 08:19 AM, gss...@pku.edu.cn wrote: Hi, I wants to creating my own service under ../vms/{vmid}/myservice.Here is my methods: 1. create VmMytestService in /https://github.com/oVirt/ovirt-engine-api-model project./ add/@Service VmMytestService mytests() in /VmService .java 2.

Re: [ovirt-users] How to build ovirt-engine-appliance-xxx.rpm

2018-04-12 Thread Barak Korren
On 12 April 2018 at 10:17, Yedidyah Bar David wrote: > On Thu, Apr 12, 2018 at 4:12 AM, wrote: >> Hi >> How to build ovirt-engine-appliance-xxx.rpm, I do not find docs and source >> now I hava build ovirt-engine-appliance.ova by ovirt-appliance. > > Check

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread Ondra Machacek
Ah sorry, POST isn't working and GET works, I misread it. Can you please share the generated file: {project_path}/backend/manager/modules/restapi/interface/definition/target/generated-sources/model/org/ovirt/engine/api/resource/VmMytestResource.java Maybe you can even send patches to review as

Re: [ovirt-users] admin account constantly gets locked

2018-04-12 Thread Eitan Raviv
The sync network command is probably unrelated. Can you attach the full engine and the setup logs? Martin, this looks a bit like [1]. Any idea? Thanks [1] https://bugzilla.redhat.com/show_bug.cgi?id=1410955 On Thu, Apr 12, 2018 at 10:22 AM, Käfer Marcel wrote: >

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Sorry for one more question. I want add an Action like .../vms/{vm:ID}/myaction So, 1. I add api in api-model project and mvn clean install. 2. After mvn clean install my ovirt engine project. I get the generated file : VmResource In that file I get Question: I cant find href 'myaction'

Re: [ovirt-users] admin account constantly gets locked

2018-04-12 Thread Martin Perina
On Thu, Apr 12, 2018 at 12:44 PM, Eitan Raviv wrote: > The recurring denied access for every SyncNetworkProvider might be because > you changed the admin password on the engine but not on the provider. > > Dominik, will updating to the same password on the provider solve the >

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Here is my patches. From: gss...@pku.edu.cn Date: 2018-04-12 16:45 To: omachace; users Subject: Re: Re: [ovirt-users] Some questions about Ovirt REST API Sure. I override get() and add() in my BackendVmMytestsResource.java GET works and POST not. From: Ondra Machacek Date: 2018-04-12 16:25 To:

Re: [ovirt-users] admin account constantly gets locked

2018-04-12 Thread Eitan Raviv
The recurring denied access for every SyncNetworkProvider might be because you changed the admin password on the engine but not on the provider. Dominik, will updating to the same password on the provider solve the denied access? Martin, does the engine lock out the admin user for failed retries?

Re: [ovirt-users] Decrease downtime for HA

2018-04-12 Thread Daniel Menzel
Hi there, does anyone have an idea how to decrease a virtual machine's downtime? Best Daniel On 06.04.2018 13:34, Daniel Menzel wrote: Hi Michal, (sorry for misspelling your name in my first mail). The settings for the VMs are the following (oVirt 4.2): 1. HA checkbox enabled of course

[ovirt-users] vdsm hook noipspoof on interface level

2018-04-12 Thread Peter Hudec
Hi, I would like to restrict of usage IP address on VMs. Thos could be achied by usinf clear-filter instead of vdsm-no-mac-spoofing. I have found noipspoof vdsm hook, https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/noipspoof. This hook but set the filtering on all interfaces, the setting

Re: [ovirt-users] admin account constantly gets locked

2018-04-12 Thread Martin Perina
On Thu, Apr 12, 2018 at 1:04 PM, Martin Perina wrote: > > > On Thu, Apr 12, 2018 at 12:44 PM, Eitan Raviv wrote: > >> The recurring denied access for every SyncNetworkProvider might be >> because you changed the admin password on the engine but not on the

Re: [ovirt-users] admin account constantly gets locked

2018-04-12 Thread Dominik Holler
On Thu, 12 Apr 2018 13:57:45 +0200 Martin Perina wrote: > On Thu, Apr 12, 2018 at 1:04 PM, Martin Perina > wrote: > > > > > > > On Thu, Apr 12, 2018 at 12:44 PM, Eitan Raviv > > wrote: > >> The recurring denied access for every

[ovirt-users] [ANN] oVirt 4.2.3 First Release Candidate is now available

2018-04-12 Thread Lev Veyde
The oVirt Project is pleased to announce the availability of the oVirt 4.2.3 First Release Candidate, as of April 12th, 2018 This update is a release candidate of the third in a series of stabilization updates to the 4.2 series. This is pre-release software. This pre-release should not to be used

Re: [ovirt-users] Frequent vm migration failure

2018-04-12 Thread Michal Skrivanek
> On 12 Apr 2018, at 18:26, Stefano Stagnaro > wrote: > > Hi, > > I recently upgraded an oVirt deployment from 3.6 to 4.0 and then 4.1.9 (my > actual release). Since then, when migrating many hosts simultaneously I > always experience few migrations

[ovirt-users] Frequent vm migration failure

2018-04-12 Thread Stefano Stagnaro
Hi, I recently upgraded an oVirt deployment from 3.6 to 4.0 and then 4.1.9 (my actual release). Since then, when migrating many hosts simultaneously I always experience few migrations failure like 1 on 10 vms. The failure can occur on any host; moreover, after a couple of failure the

[ovirt-users] New Install Issues

2018-04-12 Thread Talk Jesus
Having some strange issues. First: Admin panel loads very slow using subdomain.mydomain.com However, this is a brand new server with 64GB RAM, SSD disks and dual octo core Xeons. Second: I get this. [ INFO ] Stage: Setup validation [WARNING] Cannot validate host name settings, reason:

Re: [ovirt-users] Decrease downtime for HA

2018-04-12 Thread Michal Skrivanek
> On 12 Apr 2018, at 13:13, Daniel Menzel > wrote: > > Hi there, > > does anyone have an idea how to decrease a virtual machine's downtime? > > Best > Daniel > > On 06.04.2018 13:34, Daniel Menzel wrote: >> Hi Michal, >> >> Hi Daniel, adding Martin to

Re: [ovirt-users] how do you backup VM - Citrix Xen Migrate too!

2018-04-12 Thread Zip
Hi Peter, Have a look at my solution here. https://github.com/zipurman/oVIRT_Simple_Backup Is a full backup solution and a migration utility from Xen(Citrix) to oVirt. Cheers Zip From: on behalf of Peter Hudec Organization: CNC, a.s. Reply-To:

Re: [ovirt-users] Engine reports

2018-04-12 Thread Rich Megginson
sudo ls -alrtF -Z /var/lib/elasticsearch oc logs logging-es-data-master-z6zbv4v2-2-deploy oc describe pod logging-es-data-master-z6zbv4v2-2-deploy sudo grep type=AVC /var/log/audit/audit.log | tail On 04/12/2018 02:32 AM, Peter Hudec wrote: back to this issue. something went wrong ;( The

[ovirt-users] ansible failure during host install

2018-04-12 Thread Young, Matthew (Numerical Algorithms Group)
Hello all, I have been working on adding a new host to an oVirt cluster. The installation is failing in the ansible portion, specifically installing the ansible elasticsearch ca cert. I have no experience with ansible. Does anyone know what is causing this issue? Or how to create this ca

Re: [ovirt-users] New Install Issues

2018-04-12 Thread Alexander Wels
On Thursday, April 12, 2018 1:33:20 PM EDT Talk Jesus wrote: > Having some strange issues. > > First: Admin panel loads very slow using subdomain.mydomain.com > > However, this is a brand new server with 64GB RAM, SSD disks and dual octo > core Xeons. > > Second: I get this. > > [ INFO ]

Re: [ovirt-users] New Install Issues

2018-04-12 Thread Yaniv Kaul
On Thu, Apr 12, 2018, 9:21 PM Alexander Wels wrote: > On Thursday, April 12, 2018 1:33:20 PM EDT Talk Jesus wrote: > > Having some strange issues. > > > > First: Admin panel loads very slow using subdomain.mydomain.com > > > > However, this is a brand new server with 64GB RAM,

[ovirt-users] I broke my ovirt real good....

2018-04-12 Thread ~Stack~
Greetings, So I did a over-confident-admin-makes-rookie-mistake. I changed a bunch of things all back-to-back and thus don't actually know what broke. :-D The only two real "big" changes were: * Upgrade from 4.2.1 to 4.2.2 * change my ovirtmgmt network The update I followed the upgrade

Re: [ovirt-users] ansible failure during host install

2018-04-12 Thread Shirly Radco
Hi, What version of ovirt-engine-metrics are you using? Did you already setup the OpenShift based metrics store to connect to? Have you configured /etc/ovirt-engine-metrics/config.yml? -- SHIRLY RADCO BI SENIOR SOFTWARE ENGINEER Red Hat Israel TRIED. TESTED. TRUSTED. On Thu, Apr 12,