[ovirt-users] Re: oVirt reports using Grafana

2018-05-22 Thread Shirly Radco
Hi,

I just wanted to update that I will off course retest the documentation and
update it as soon as I can.

Thank you for engaging and pointing out these issues. I want it working for
you as fast and easiest as possible.

Best regards,

--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel


TRIED. TESTED. TRUSTED.



On Fri, May 18, 2018, 09:22 Karli Sjöberg  wrote:

> On Thu, 2018-05-17 at 10:37 -0700, Vincent Royer wrote:
> > These are the same issues I ran into.  I did get it working, look up
> > my post history and you'll find some solutions to the errors
>
> Big thanks, now I understand what the problem was!
>
> But I must say, after reading that thread, I´m actually more interested
> in setting up the metrics store as it seems you get way more data out
> of it without having to access the database directly. The point being,
> the less manual stuff you do to alter the original setup in the engine,
> the less issues you are going to have later on, with upgrades and such.
>
> /K
>
> >
> > On Thu, May 17, 2018, 1:01 AM Sandro Bonazzola, 
> > wrote:
> > > Shirly, can you please update the blog post pointing to an updated
> > > documentation page?
> > >
> > > 2018-05-17 9:35 GMT+02:00 Karli Sjöberg :
> > > > Heya!
> > > >
> > > > I've been whishing for reports in oVirt ever since the old
> > > > 'Jasper
> > > > Reports' was removed. For an Enterprise, having pretty graphs to
> > > > look
> > > > at is a must.
> > > >
> > > > Searching the subject, I've found this[*] and have managed to get
> > > > it
> > > > installed OK but having issues trying to follow the guide setting
> > > > it
> > > > up.
> > > >
> > > > First of all, I think the guide should have at least mentioned
> > > > that
> > > > 'pg_hba.conf' needs to be edited for the read only user to be
> > > > able to
> > > > connect to the database, I scratched my head around that for a
> > > > while
> > > > before I got it.
> > > >
> > > > When I first type in the query example, I got syntax errors:
> > > > 'pq: syntax error at or near "$"'. I continued anyways since I
> > > > figured
> > > > it would be solved at a later point, which turned out to be true,
> > > > since
> > > > the next step is to use the "Templating feature" to add
> > > > variables.
> > > >
> > > > Unfortunately this doesn't go so well, even though I followed the
> > > > instructions very carefully. After hitting save on the first
> > > > variable I
> > > > am rewarded with the error message:
> > > > 'Template variables could not be initialized: pq: column "en_us"
> > > > does
> > > > not exist.'
> > > >
> > > > Are the queries stated in the guide still correct? This is for
> > > > 'user_locale':
> > > > "SELECT DISTINCT language_code from enum_translator"
> > > >
> > > > [*]:https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana
> > > > /
> > > >
> > > > TIA
> > > > /K
> > > > ___
> > > > Users mailing list -- users@ovirt.org
> > > > To unsubscribe send an email to users-le...@ovirt.org
> > >
> > >
> > >
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt reports using Grafana

2018-05-22 Thread Shirly Radco
--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel


TRIED. TESTED. TRUSTED.



On Fri, May 18, 2018, 16:02 Vincent Royer  wrote:

> Yes I agree, because the database contains so many version specific
> pointers, all of them will stop working when you upgrade. So that's no good!
>

Not sure what you mean. The DWH  views are stable and we currently support
3.6 and above views. It means you do not have to update the version of the
view.
Also DWH is pretty stable. So you should not expect many changes.


> If you ever get something decent working with Grafana, I'd be very
> interested.  I'm still not happy with the integration with the engine
> history database, I was never really able to get predictable output from
> it, and spent way too many hours messing around with it.
>

Ill try and add a few more meaningful examples if that will help.

Is the problem is how to join the tables together?


>
> On Thu, May 17, 2018 at 11:21 PM Karli Sjöberg 
> wrote:
>
>> On Thu, 2018-05-17 at 10:37 -0700, Vincent Royer wrote:
>> > These are the same issues I ran into.  I did get it working, look up
>> > my post history and you'll find some solutions to the errors
>>
>> Big thanks, now I understand what the problem was!
>>
>> But I must say, after reading that thread, I´m actually more interested
>> in setting up the metrics store as it seems you get way more data out
>> of it without having to access the database directly. The point being,
>> the less manual stuff you do to alter the original setup in the engine,
>> the less issues you are going to have later on, with upgrades and such.
>>
>> /K
>>
>> >
>> > On Thu, May 17, 2018, 1:01 AM Sandro Bonazzola, 
>> > wrote:
>> > > Shirly, can you please update the blog post pointing to an updated
>> > > documentation page?
>> > >
>> > > 2018-05-17 9:35 GMT+02:00 Karli Sjöberg :
>> > > > Heya!
>> > > >
>> > > > I've been whishing for reports in oVirt ever since the old
>> > > > 'Jasper
>> > > > Reports' was removed. For an Enterprise, having pretty graphs to
>> > > > look
>> > > > at is a must.
>> > > >
>> > > > Searching the subject, I've found this[*] and have managed to get
>> > > > it
>> > > > installed OK but having issues trying to follow the guide setting
>> > > > it
>> > > > up.
>> > > >
>> > > > First of all, I think the guide should have at least mentioned
>> > > > that
>> > > > 'pg_hba.conf' needs to be edited for the read only user to be
>> > > > able to
>> > > > connect to the database, I scratched my head around that for a
>> > > > while
>> > > > before I got it.
>> > > >
>> > > > When I first type in the query example, I got syntax errors:
>> > > > 'pq: syntax error at or near "$"'. I continued anyways since I
>> > > > figured
>> > > > it would be solved at a later point, which turned out to be true,
>> > > > since
>> > > > the next step is to use the "Templating feature" to add
>> > > > variables.
>> > > >
>> > > > Unfortunately this doesn't go so well, even though I followed the
>> > > > instructions very carefully. After hitting save on the first
>> > > > variable I
>> > > > am rewarded with the error message:
>> > > > 'Template variables could not be initialized: pq: column "en_us"
>> > > > does
>> > > > not exist.'
>> > > >
>> > > > Are the queries stated in the guide still correct? This is for
>> > > > 'user_locale':
>> > > > "SELECT DISTINCT language_code from enum_translator"
>> > > >
>> > > > [*]:https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana
>> > > > /
>> > > >
>> > > > TIA
>> > > > /K
>> > > > ___
>> > > > Users mailing list -- users@ovirt.org
>> > > > To unsubscribe send an email to users-le...@ovirt.org
>> > >
>> > >
>> > >
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Gluster quorum

2018-05-22 Thread Demeter Tibor
Dear Sahina, 

Is there any changes with this bug? 

Still I haven't finish my upgrade process that i've started on 9th may:( 

Please help me if you can. 

Thanks 

Tibor 

- 2018. máj.. 18., 9:29, Demeter Tibor  írta: 

> Hi,

> I have to update the engine again?

> Thanks,

> R
> Tibor

> - 2018. máj.. 18., 6:47, Sahina Bose  írta:

>> Thanks for reporting this. [ https://gerrit.ovirt.org/91375 |
>> https://gerrit.ovirt.org/91375 ] fixes this. I've re-opened bug [
>> https://bugzilla.redhat.com/show_bug.cgi?id=1574508 |
>> https://bugzilla.redhat.com/show_bug.cgi?id=1574508 ]

>> On Thu, May 17, 2018 at 10:12 PM, Demeter Tibor < [ 
>> mailto:tdeme...@itsmart.hu |
>> tdeme...@itsmart.hu ] > wrote:

>>> Hi,

>>> 4.2.4-0.0.master.20180515183442.git00e1340.el7.centos

>>> Firstly, I did a yum update "ovirt-*-setup*"
>>> second, I have ran engine-setup to upgrade.

>>> I didn't remove the old repos, just installed the nightly repo.

>>> Thank you again,

>>> Regards,

>>> Tibor

>>> - 2018. máj.. 17., 15:02, Sahina Bose < [ mailto:sab...@redhat.com |
>>> sab...@redhat.com ] > írta:

 It doesn't look like the patch was applied. Still see the same error in
 engine.log
 "Error while refreshing brick statuses for volume 'volume1' of cluster 
 'C6220':
 null"\

 Did you use engine-setup to upgrade? What's the version of ovirt-engine
 currently installed?

 On Thu, May 17, 2018 at 5:10 PM, Demeter Tibor < [ 
 mailto:tdeme...@itsmart.hu |
 tdeme...@itsmart.hu ] > wrote:

> Hi,

> sure,

> Thank you for your time!

> R
> Tibor

> - 2018. máj.. 17., 12:19, Sahina Bose < [ mailto:sab...@redhat.com |
> sab...@redhat.com ] > írta:

>> [+users]

>> Can you provide the engine.log to see why the monitoring is not working 
>> here.
>> thanks!

>> On Wed, May 16, 2018 at 2:08 PM, Demeter Tibor < [ 
>> mailto:tdeme...@itsmart.hu |
>> tdeme...@itsmart.hu ] > wrote:

>>> Hi,

>>> Meanwhile, I did the upgrade engine, but the gluster state is same on 
>>> my first
>>> node.
>>> I've attached some screenshot of my problem.

>>> Thanks

>>> Tibor

>>> - 2018. máj.. 16., 10:16, Demeter Tibor < [ 
>>> mailto:tdeme...@itsmart.hu |
>>> tdeme...@itsmart.hu ] > írta Hi,

 If 4.3.4 will release, i just have to remove the nightly repo and 
 update to
 stable?

 I'm sorry for my terrible English, I try to explain what was my 
 problem with
 update.
 I'm upgraded from 4.1.8.

 I followed up the official hosted-engine update documentation, that 
 was not
 clear me, because it has referenced to a lot of old thing (i think).
 [ https://www.ovirt.org/documentation/upgrade-guide/upgrade-guide/ |
 https://www.ovirt.org/documentation/upgrade-guide/upgrade-guide/ ]
 [
 https://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine
 |
 https://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine
 ]

 Maybe it need to update, because I had a lot of question under upgrade 
 and I was
 not sure in all of necessary steps. For example, If I need to 
 installing the
 new, 4.2 repo on the hosts, then need to remove the old repo from that?
 Why I need to do a" yum update -y" on hosts, meanwhile there is an 
 "Updatehost"
 menu in the GUI? So, maybe it outdated.
 Since upgrade hosted engine, and the first node, I have problems with 
 gluster.
 It seems to working fine if you check it from console "gluster volume 
 status,
 etc" but not on the Gui, because now it yellow, and the brick reds in 
 the first
 node.

 Previously I did a mistake with glusterfs, my gluster config was 
 wrong. I have
 corrected them, but it did not helped to me,gluster bricks are reds on 
 my first
 node yet

 Now I try to upgrade to nightly, but I'm affraid, because it a living,
 productive system, and I don't have downtime. I hope it will help me.

 Thanks for all,

 Regards,
 Tibor Demeter

 - 2018. máj.. 16., 9:58, Sahina Bose < [ mailto:sab...@redhat.com |
 sab...@redhat.com ] > írta:

> On Wed, May 16, 2018 at 1:19 PM, Demeter Tibor < [ 
> mailto:tdeme...@itsmart.hu |
> tdeme...@itsmart.hu ] > wrote:

>> Hi,

>> is it a different, unstable repo? I have a productive cluster, how 
>> is safe that?
>> I don't have any experience with nightly build. How can I use this? 
>> It have to
>> install to the engine VM or all of my hosts?
>> Thanks in advance for help me..

> Only on the engine VM.

> Regarding 

[ovirt-users] Re: 4.2.3 upgrade with a few errors

2018-05-22 Thread Simone Tiraboschi
On Tue, May 22, 2018 at 6:19 AM,  wrote:

> I have attached the logs in case you can find anything
> The upgrade to all 3 nodes generated a few errors.
>
> 1) Had to put node in & out of maintenance a few times before I could get
> the node to activate.
>
>
> 2) Node 1 upgrade failed.
>

Hi,
you attached hosted-engine-setup logs but you are not supposed to run it
again on node upgrades.


> After activating the node, it became unresponsive.
> I had to login via ipmi to reboot the node.
>
> 3) /data-bricks:
> had 1 unsynced error & one 5 min self-heal
> Had to put node in & out of maintenance a few times before I could get the
> node to activate.
>
> Thx
> Femi
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Use local ansible to talk to engineVM and other vm

2018-05-22 Thread Martin Sivak
Hi,

you can use multiple different inventory sources at the same time - so
use your file + ovirt4.py

https://docs.ansible.com/ansible/2.5/user_guide/intro_dynamic_inventory.html#using-inventory-directories-and-multiple-inventory-sources

Best regards

Martin Sivak

On Tue, May 22, 2018 at 9:50 AM, Sumit Bharadia <03ce...@gmail.com> wrote:
> Thanks.
>
> Is there a way to use an existing inventory file?
>
> I asked because the server where the engineVM is running is listed into my
> existing a ansible inventory file on my local machine, but how do I
> specify/run the subsequent tasks which I want to run on vms running on
> engineVM as I don't see the /etc/hosts file updated where engineVM runs. How
> would my local ansible playbook know which vms are available, etc?
>
>
>
> On Tue, 22 May 2018, 8:36 am Ondra Machacek,  wrote:
>>
>> On 05/21/2018 11:51 AM, 03ce...@gmail.com wrote:
>> > I have a self-hosted-engine (4.2) running on a centos 7.4 server.
>> >
>> > I have downloaded ovirt ansible roles from ansible-galaxy and can run
>> > them from the server where the engineVM is running and able to deploy new
>> > vms, clusters, dc, etc.
>> >
>> > I have seen the use of ovirt4.py file to target and group hosts which
>> > you can target for specific plays. However, the box where 
>> > self-hosted-engine
>> > is running is a physical server but I am looking to run ansible from my
>> > local machine instead to manage vms running on engineVM. Is there a way to
>> > achieve this?
>>
>> Sure you can use your own computer to manage the VMs.
>>
>> In your playbook you just need to specify group/host where the tasks of
>> the playbook should run.
>>
>> So if using the ovirt4.py script as your inventory file, you need to
>> just specify specific group where you want to run the tasks in your
>> playbook like this:
>>
>> - hosts: tag_httpd
>>tasks:
>>  ...
>>
>> If you want to Create/Delete VMs using ovirt_* modules, you can do it
>> from your computer as well, but you need to install Python SDK version
>> 4. You can download it from pip using following command: pip install
>> ovirt-engine-sdk-python.
>>
>> >
>> > Thank you in advance.
>> >
>> > ___
>> > Users mailing list -- users@ovirt.org
>> > To unsubscribe send an email to users-le...@ovirt.org
>> >
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: update from 4.1.9 to 4.2.3 and OVN doubt

2018-05-22 Thread Simone Tiraboschi
Hi,
Adding also Marcin here.
I reproduced it as well and I can confirm that the external provider was
called 'OVN' by default at 4.1 time but now engine-setup will create by
default a new provider called 'ovirt-provider-ovn'.
Both the two providers are now configured in the engine to be reached at
https://:9696

The engine can successfully talk with ovirt-provider-ovn while I get errors
like 'Error while listing external networks: EngineException: (Failed with
error Connection reset and code 5050)' when I try to query the old OVN
provider.
Logical networks previously attached to the old OVN provider are still
there in the engine and they are still attached to the old OVN provider.
Unfortunately I'm not able to start/restart VMs with interfaces on a
logical network defined on the OVN provider.
I manually recreated the missing networks on the new 'ovirt-provider-ovn'
provider and I reattached my VMs there and at that point I was finally able
to start again my VMs.


On Mon, May 21, 2018 at 4:55 PM, Gianluca Cecchi 
wrote:

>
>
>>
>>
> Another information regarding my current environment:
> From engine database it results that my OVN provider name is "OVN"
>
> engine=# select id,name from providers;
>   id  |  name
> --+
>  ceab03af-7220-4d42-8f5c-9b557f5d29af | ovirt-image-repository
>  84546a85-2958-4c1d-bbfe-afeb486ebda9 | OVN
> (2 rows)
>
> engine=#
>
> why it seems that in its default config it would name it
> "ovirt-provider-ovn"?
> Does this mean that it will be no conflict in name? But what about the
> current nortbridge and southbridge configs?
>
> Currently my central server is the engine (that is external to the infra)
> and it shows this:
>
> [root@ovmgr1 ~]# ovn-sbctl show
> Chassis "1dce5b7c-a9fc-4ddb-99b4-e2c9e0fa54c5"
> hostname: "ov200.mydomain"
> Encap geneve
> ip: "10.4.192.32"
> options: {csum="true"}
> Chassis "b8872ab5-4606-4a79-b77d-9d956a18d349"
> hostname: "ov301.mydomain"
> Encap geneve
> ip: "10.4.192.34"
> options: {csum="true"}
> Chassis "ddecf0da-4708-4f93-958b-6af365a5eeca"
> hostname: "ov300.mydomain"
> Encap geneve
> ip: "10.4.192.33"
> options: {csum="true"}
> [root@ovmgr1 ~]#
>
> and
>
> [root@ovmgr1 ~]# ovn-nbctl show
> switch 32367d8a-460f-4447-b35a-abe9ea5187e0 (ovn192)
> port affc5570-3e5a-439c-9fdf-d75d6810e3a3
> addresses: ["00:1a:4a:17:01:73 dynamic"]
> port f639d541-2118-4c24-b478-b7a586eb170c
> addresses: ["00:1a:4a:17:01:75 dynamic"]
> switch 6110649a-db2b-4de7-8fbc-601095cfe510 (ovn192)
> switch 64c4c17f-cd67-4e29-939e-2b952495159f (ovn172)
> port 32c348d9-12e9-4bcf-a43f-69338c887cfc
> addresses: ["00:1a:4a:17:01:72 dynamic"]
> port 3c77c2ea-de00-43f9-a5c5-9b3ffea5ec69
> addresses: ["00:1a:4a:17:01:74 dynamic"]
> switch 04501f6b-3977-4ba1-9ead-7096768d796d (ovn172)
> port 0a2a47bc-ea0d-4f1d-8f49-ec903e519983
> addresses: ["00:1a:4a:17:01:65 dynamic"]
> port 8fc7bed4-7663-4903-922b-05e490c6a5a1
> addresses: ["00:1a:4a:17:01:64 dynamic"]
> port f2b64f89-b719-484c-ac02-2a1ac8eaacdb
> addresses: ["00:1a:4a:17:01:59 dynamic"]
> port f7389c88-1ea1-47c2-92fd-6beffb2e2190
> addresses: ["00:1a:4a:17:01:58 dynamic"]
> [root@ovmgr1 ~]#
>
>
> and on my hosts currently I have something like this (eg on ov200):
>
> [root@ov200 ~]# ovs-vsctl show
> ae0a1256-7250-46a2-a1b6-8f0ae6105c20
> Bridge br-int
> fail_mode: secure
> Port br-int
> Interface br-int
> type: internal
> Port "ovn-ddecf0-0"
> Interface "ovn-ddecf0-0"
> type: geneve
> options: {csum="true", key=flow, remote_ip="10.4.192.33"}
> Port "ovn-b8872a-0"
> Interface "ovn-b8872a-0"
> type: geneve
> options: {csum="true", key=flow, remote_ip="10.4.192.34"}
> ovs_version: "2.7.3"
> [root@ov200 ~]#
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Unable to start VM on host with OVS networking

2018-05-22 Thread Simone Tiraboschi
On Tue, May 22, 2018 at 4:14 PM, Jonathan Dieter  wrote:

> On Mon, 2018-05-21 at 02:48 +0200, Sverker Abrahamsson wrote:
> > Hi Jonathan,
> > it seems somewhat similar to what I've been struggeling with. I've
> > worked around it with a hook script until someone can explain from
> > where
> > it should discover that the interface should be created on an ovs
> > bridge. Look at the thread with topic "hosted engine with
> > openvswitch".
> >
> > /Sverker
>
> Thanks, I've looked at it.  I've temporarily bodged my network
> configuration back into the non-synchronized form that is actually
> working.
>
> Looking at the code, it seems that vdsm is getting the XML straight
> from the engine, but the engine doesn't seem to handle the OVS stuff
> right.  I haven't figured out whether it's because vdsm is supposed to
> do some hook-like foo to make it work or whether engine is just missing
>  the right code.
>

Hi,
please check also [ovirt-users] update from 4.1.9 to 4.2.3 and OVN doubt


>
> Jonathan
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: problem to delete snapshot

2018-05-22 Thread Marcelo Leandro
Hello benny,

This case is very similar.

I am try resolve my problem.

can you help me?


my database show this.

select snapshot_id,description from snapshots where vm_id =
'c847130e-230d-47ee-a124-54d46e1dd928';
 snapshot_id  | description
--+-
 9569845f-d961-4e49-8809-1a032ba04b02 | Active VM
 a64526ed-d32a-4a7d-a6b8-fc2410a371a2 | Backup



select * from images where vm_snapshot_id =
'a64526ed-d32a-4a7d-a6b8-fc2410a371a2'::uuid;
  image_guid  | creation_date  |
size  |   it_guid|
parentid   | imagestatus |lastmodified
|
  vm_snapshot_id| volume_type | volume_format |
image_group_id| _create_date  |
_update_date  | active | volume_classification | qcow_compat
--++---+--+--+-++--
+-+---+--+---+---++---+-
 db6f5e35-9c3c-4d60-861a-5c0eea24d848 | 2018-05-21 15:35:10-03 |
1209033293824 | ---- |
---- |   4 | 2018-05-21
18:03:06.869-03 | a64526ed-
d32a-4a7d-a6b8-fc2410a371a2 |   2 | 4 |
686fb5d2-ae2f-45c3-9ea2-b5d1a518230f | 2018-05-21 15:35:09.857381-03 |
2018-05-22 10:41:13.91491-03  | f  | 1 |   2
 a94c614a-7cce-47b5-a23c-af22a888bf26 | 2018-05-21 15:35:09-03 |
107374182400 | ---- |
---- |   4 | 2018-05-21
18:03:06.564-03 | a64526ed-
d32a-4a7d-a6b8-fc2410a371a2 |   2 | 4 |
00872bbe-4cc2-4720-878e-492bb69f3a05 | 2018-05-21 15:35:08.927393-03 |
2018-05-22 10:41:13.206059-03 | f  | 1 |   2
 2578d8f3-1443-4fa6-8297-24c270e99bd9 | 2018-05-21 15:35:09-03 |
1717986918400 | ---- |
---- |   4 | 2018-05-21
18:03:07.098-03 | a64526ed-
d32a-4a7d-a6b8-fc2410a371a2 |   2 | 4 |
02b51f4c-06af-4c39-a67a-51cee2079cd2 | 2018-05-21 15:35:08.583297-03 |
2018-05-22 10:41:14.586563-03 | f  | 1 |   2
 85541eb4-52aa-4f98-84c2-275b228c1e34 | 2018-05-21 15:35:10-03 |
536870912000 | ---- |
---- |   4 | 2018-05-21
18:03:06.196-03 | a64526ed-
d32a-4a7d-a6b8-fc2410a371a2 |   2 | 4 |
3f1c8849-9c69-46be-9773-91c803860791 | 2018-05-21 15:35:09.595853-03 |
2018-05-22 10:41:17.362994-03 | f  | 1 |   2


this disk dont more  must be used for the vm.


root 29930 33.6  2.6 5091548 4296260 ? Sl   Mai21 425:31
/usr/libexec/qemu-kvm -name guest=GOV-CAMARUPIM,debug-threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-51-GOV-CAMARUPIM/master-key.aes
-machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,dump-guest-core=off -cpu
SandyBridge -m size=4194304k,slots=16,maxmem=16777216k -realtime mlock=off
-smp 4,maxcpus=64,sockets=16,cores=4,threads=1 -numa
node,nodeid=0,cpus=0-3,mem=4096 -uuid c847130e-230d-47ee-a124-54d46e1dd928
-smbios type=1,manufacturer=oVirt,product=oVirt
Node,version=7-3.1611.el7.centos,serial=36343137-3634-5242-4334-303834484B44,uuid=c847130e-230d-47ee-a124-54d46e1dd928
-no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-51-GOV-CAMARUPIM/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2018-05-21T18:20:56,driftfix=slew -global
kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -boot strict=on
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -drive
file=/rhev/data-center/mnt/10.16.2.108:_home_nfs/67aa5233-4709-4d48-b7b9-993dbddcc297/images/00872bbe-4cc2-4720-878e-492bb69f3a05/83036766-1f8e-4b20-89e1-d24b453237e7,format=raw,if=none,id=drive-ide0-0-0,serial=00872bbe-4cc2-4720-878e-492bb69f3a05,cache=none,werror=stop,rerror=stop,aio=threads
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
file=/rhev/data-center/mnt/10.16.2.108:_home_nfs/67aa5233-4709-4d48-b7b9-993dbddcc297/images/686fb5d2-ae2f-45c3-9ea2-b5d1a518230f/e9fb18d2-c336-4ce9-aec1-afa8d70b3b0e,format=raw,if=none,id=drive-ide0-0-1,serial=686fb5d2-ae2f-45c3-9ea2-b5d1a518230f,cache=none,werror=stop,rerror=stop,aio=threads
-device ide-hd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -drive

[ovirt-users] Re: Unable to start VM on host with OVS networking

2018-05-22 Thread Jonathan Dieter
On Mon, 2018-05-21 at 02:48 +0200, Sverker Abrahamsson wrote:
> Hi Jonathan,
> it seems somewhat similar to what I've been struggeling with. I've 
> worked around it with a hook script until someone can explain from
> where 
> it should discover that the interface should be created on an ovs 
> bridge. Look at the thread with topic "hosted engine with
> openvswitch".
> 
> /Sverker

Thanks, I've looked at it.  I've temporarily bodged my network
configuration back into the non-synchronized form that is actually
working.

Looking at the code, it seems that vdsm is getting the XML straight
from the engine, but the engine doesn't seem to handle the OVS stuff
right.  I haven't figured out whether it's because vdsm is supposed to
do some hook-like foo to make it work or whether engine is just missing
 the right code.

Jonathan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] ovirt 4.1 gluster 3.8 repo no longer exist.

2018-05-22 Thread Edward Clay

While checking for some patches on one of my ovirt systems I found that
the ovirt-4.1-dependencies.repo no longer has a 3.8 version available.
I see newer versions but not sure if I just need to change the following
to point to it or upgrade to 4.2.

baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.8/

to

baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.10/

or

baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.12/

Does anyone have the correct procedure I should follow?

Edward Clay
Systems Administrator
The Hut Group

Tel:
Email: edward.c...@uk2group.com

For the purposes of this email, the "company" means The Hut Group Limited, a 
company registered in England and Wales (company number 6539496) whose registered office 
is at Fifth Floor, Voyager House, Chicago Avenue, Manchester Airport, M90 3DQ and/or any 
of its respective subsidiaries.

Confidentiality Notice
This e-mail is confidential and intended for the use of the named recipient 
only. If you are not the intended recipient please notify us by telephone 
immediately on +44(0)1606 811888 or return it to us by e-mail. Please then 
delete it from your system and note that any use, dissemination, forwarding, 
printing or copying is strictly prohibited. Any views or opinions are solely 
those of the author and do not necessarily represent those of the company.

Encryptions and Viruses
Please note that this e-mail and any attachments have not been encrypted. They 
may therefore be liable to be compromised. Please also note that it is your 
responsibility to scan this e-mail and any attachments for viruses. We do not, 
to the extent permitted by law, accept any liability (whether in contract, 
negligence or otherwise) for any virus infection and/or external compromise of 
security and/or confidentiality in relation to transmissions sent by e-mail.

Monitoring
Activity and use of the company's systems is monitored to secure its effective 
use and operation and for other lawful business purposes. Communications using 
these systems will also be monitored and may be recorded to secure effective 
use and operation and for other lawful business purposes.

hgvyjuv
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt 4.1 gluster 3.8 repo no longer exist.

2018-05-22 Thread Eyal Edri
There were some previous threads on it, I think CentOS dropped it since 4.1
is EOL.
There is an alternate Gluster 3.8 repo you can use instead:
http://mirror.centos.org/centos/7.4.1708/storage/x86_64/gluster-3.8/

On Tue, May 22, 2018 at 4:33 PM, Edward Clay 
wrote:

> While checking for some patches on one of my ovirt systems I found that
> the ovirt-4.1-dependencies.repo no longer has a 3.8 version available.
> I see newer versions but not sure if I just need to change the following
> to point to it or upgrade to 4.2.
>
> baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.8/
>
> to
>
> baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.10/
>
> or
>
> baseurl=http://mirror.centos.org/centos/7/storage/$basearch/gluster-3.12/
>
> Does anyone have the correct procedure I should follow?
>
> Edward Clay
> Systems Administrator
> The Hut Group
>
> Tel:
> Email: edward.c...@uk2group.com
>
> For the purposes of this email, the "company" means The Hut Group Limited,
> a company registered in England and Wales (company number 6539496) whose
> registered office is at Fifth Floor, Voyager House, Chicago Avenue,
> Manchester Airport, M90 3DQ and/or any of its respective subsidiaries.
>
> Confidentiality Notice
> This e-mail is confidential and intended for the use of the named
> recipient only. If you are not the intended recipient please notify us by
> telephone immediately on +44(0)1606 811888 or return it to us by e-mail.
> Please then delete it from your system and note that any use,
> dissemination, forwarding, printing or copying is strictly prohibited. Any
> views or opinions are solely those of the author and do not necessarily
> represent those of the company.
>
> Encryptions and Viruses
> Please note that this e-mail and any attachments have not been encrypted.
> They may therefore be liable to be compromised. Please also note that it is
> your responsibility to scan this e-mail and any attachments for viruses. We
> do not, to the extent permitted by law, accept any liability (whether in
> contract, negligence or otherwise) for any virus infection and/or external
> compromise of security and/or confidentiality in relation to transmissions
> sent by e-mail.
>
> Monitoring
> Activity and use of the company's systems is monitored to secure its
> effective use and operation and for other lawful business purposes.
> Communications using these systems will also be monitored and may be
> recorded to secure effective use and operation and for other lawful
> business purposes.
>
> hgvyjuv
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>



-- 

Eyal edri


MANAGER

RHV DevOps

EMEA VIRTUALIZATION R


Red Hat EMEA 
 TRIED. TESTED. TRUSTED. 
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Tomáš Golembiovský
Hi,

you can try to use VDSM hook to add a dummy serial device to the VM
domain XML. Or if you really need a physical device then you can use the
hook to add the  element to the domain XML. Don't forget to pin
the VM to a specific host though.

Hope this helps,

Tomas

On Wed, 16 May 2018 10:17:49 +0100
Joshua Blake  wrote:

> Hello,
> 
> We have an old Windows XP VM, that requires access to a physical serial
> port for our telephone system. We have this working in VMWare, however, I'm
> not entirely sure how we would set this up in oVirt? Can someone help
> please?
> 
> Kind Regards,
> Joshua Blake


-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Joshua Blake

Hello Tomas,

Thank you for coming back to me. I don't suppose you have any examples 
or guides you could point me in the direction of please?


Kind Regards,
Joshua Blake


On 22/05/2018 15:08, Tomáš Golembiovský wrote:

Hi,

you can try to use VDSM hook to add a dummy serial device to the VM
domain XML. Or if you really need a physical device then you can use the
hook to add the  element to the domain XML. Don't forget to pin
the VM to a specific host though.

Hope this helps,

 Tomas

On Wed, 16 May 2018 10:17:49 +0100
Joshua Blake  wrote:


Hello,

We have an old Windows XP VM, that requires access to a physical serial
port for our telephone system. We have this working in VMWare, however, I'm
not entirely sure how we would set this up in oVirt? Can someone help
please?

Kind Regards,
Joshua Blake




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: update from 4.1.9 to 4.2.3 and OVN doubt

2018-05-22 Thread Gianluca Cecchi
On Tue, May 22, 2018 at 5:35 PM, Simone Tiraboschi 
wrote:

>
>
> On Tue, May 22, 2018 at 5:27 PM, Simone Tiraboschi 
> wrote:
>
>> Hi,
>> Adding also Marcin here.
>> I reproduced it as well and I can confirm that the external provider was
>> called 'OVN' by default at 4.1 time but now engine-setup will create by
>> default a new provider called 'ovirt-provider-ovn'.
>> Both the two providers are now configured in the engine to be reached at
>> https://:9696
>>
>> The engine can successfully talk with ovirt-provider-ovn while I get
>> errors like 'Error while listing external networks: EngineException:
>> (Failed with error Connection reset and code 5050)' when I try to query
>> the old OVN provider.
>> Logical networks previously attached to the old OVN provider are still
>> there in the engine and they are still attached to the old OVN provider.
>> Unfortunately I'm not able to start/restart VMs with interfaces on a
>> logical network defined on the OVN provider.
>> I manually recreated the missing networks on the new 'ovirt-provider-ovn'
>> provider and I reattached my VMs there and at that point I was finally able
>> to start again my VMs.
>>
>
>
> Another strange behavior.
> I was't able to remove the old OVN provider since a few logical networks
> was still attached to that.
> So I removed all of them from the engine and then I manually removed the
> old OVN provider and only at this point all of my old logical networks
> manually reappeared in the engine as attached to the new 4.2
> 'ovirt-provider-ovn'.
>
>

Thank you very much Simone for your tests!
This is a test environment, but with about 40 VMs of a certain importance
and I would like to preserve it in 4.2
So with your tests you are confirming that the engine-setup for updating
engine completes without problems and impacts on current databases and then
the  update of the hosts doesn't go into exception, correct?
I can manage to have a temporary downtime for the few VMs defined on ovn
(mainly used as intracluster network) and re-setup them on the new provider
in 4.2

Just a curiosity: does this mean that when the engine-setup should
configure the Northbound and Southbound DBs (and not... bridge... as I
wrote before ;-) it simply skips without aborting?
This was one of my major concerns...

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] info about reinstall dead node

2018-05-22 Thread Gianluca Cecchi
Hello,
I have an host dead in a 4.1.9 environment (broken raid controller
compromised both internal disks, don't ask me how it could happen...).
I have replaced controller/disks and reinstalled ng-node on the same hw
with the same parameters and same version (but ovirtmgmt bridge not present
yet, only a bond0 that has to become backed up by the ovirtmgmt bridge when
installed).
In web admin gui it had been set as not responsive when failed.
Now I cannot reinstall it as new.
If I try to put it into maintenance it is correctly rebooted but then it
remains non responsive.
I think I have to "force remove" in some way the previous instance of this
node, but the option is greyed out...
How can I clean the node and then try to install as new again?

Thanks,
Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Tomáš Golembiovský
adding back the list

On Tue, 22 May 2018 16:38:31 +0200
Francesco Romani  wrote:

> On 05/22/2018 04:08 PM, Tomáš Golembiovský wrote:
> > Hi,
> >
> > you can try to use VDSM hook to add a dummy serial device to the VM
> > domain XML. Or if you really need a physical device then you can use the
> > hook to add the  element to the domain XML. Don't forget to pin
> > the VM to a specific host though.
> 
> Yes, pinning is most likely needed. As per libvirt configuration, there
> should be direct libvirt support, maybe predating hostdev:
> 
> https://libvirt.org/formatdomain.html#elementsCharHost
> 
> Bests,
> 
> -- 
> Francesco Romani
> Senior SW Eng., Virtualization R
> Red Hat
> IRC: fromani github: @fromanirh
> 


-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Francesco Romani

On 05/22/2018 04:15 PM, Joshua Blake wrote:
>
> Hello Tomas,
>
> Thank you for coming back to me. I don't suppose you have any examples
> or guides you could point me in the direction of please?
>
> Kind Regards,
> Joshua Blake
>

You may want to start from there (warning: NOT tested on real hw or with
real VMs)

https://gerrit.ovirt.org/91499


bests,

-- 

Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Use local ansible to talk to engineVM and other vm

2018-05-22 Thread Sumit Bharadia
Thank you. I am running a self-hosted engineVM, and having difficulty
connecting the dots so ansible can talk to vms within the self-hosted
engineVM.

Below is my setup-

inventory dir with files

*cat ~/ansible/inventory/prod/hosts*

[ovirt]
ovirt 192.168.1.100

*cat ~/ansible/inventory/prod/ovirt.ini*

[ovirt]
ovirt_url = https://*engine.ovirt/*ovirt-engine/api # this is self
hosted engine. so invoking ./ovirt4.py fails with http error as physical
host is 'ovirt' but self-hosted-engine fqdn is 'engine.ovirt'
ovirt_username = admin@internal
ovirt_password = password
ovirt_ca_file = ca.pem .   # this sits on my local machine

running ovirt4.py standalone fails as mentioned above.

*cat ~/ansible/playbook.yml*

--- name: Talk to self-hosted-engine server
 hosts: ovirt
 tasks:
- name: Hello server
  debug:
 msg: Hello server

--- name: Talk to self-hosted-engine VM
 hosts: status_up
 tasks:
- name: Hello vms
  debug:
 msg: Hello vms


*ansible-playbook -i ~/ansible/inventories/prod playbook.yml  # prod
folder has .ini, .py and static hosts file as above*


PLAY [Talk to self-hosted-engine server]
**

TASK [Gathering Facts]

ok: [ovirt]

TASK [Hello server]
***
ok: [ovirt] => {
"msg": "Hello server"
}
 [WARNING]: Could not match supplied host pattern, ignoring: status_up


PLAY [Talk to self-hosted-engine VM]
**
*skipping: no hosts matched*

PLAY RECAP

ovirt  : ok=2changed=0unreachable=0failed=0



Is there something i am missing?




On 22 May 2018 at 10:25, Martin Sivak  wrote:

> Hi,
>
> you can use multiple different inventory sources at the same time - so
> use your file + ovirt4.py
>
> https://docs.ansible.com/ansible/2.5/user_guide/intro_
> dynamic_inventory.html#using-inventory-directories-and-
> multiple-inventory-sources
>
> Best regards
>
> Martin Sivak
>
> On Tue, May 22, 2018 at 9:50 AM, Sumit Bharadia <03ce...@gmail.com> wrote:
> > Thanks.
> >
> > Is there a way to use an existing inventory file?
> >
> > I asked because the server where the engineVM is running is listed into
> my
> > existing a ansible inventory file on my local machine, but how do I
> > specify/run the subsequent tasks which I want to run on vms running on
> > engineVM as I don't see the /etc/hosts file updated where engineVM runs.
> How
> > would my local ansible playbook know which vms are available, etc?
> >
> >
> >
> > On Tue, 22 May 2018, 8:36 am Ondra Machacek, 
> wrote:
> >>
> >> On 05/21/2018 11:51 AM, 03ce...@gmail.com wrote:
> >> > I have a self-hosted-engine (4.2) running on a centos 7.4 server.
> >> >
> >> > I have downloaded ovirt ansible roles from ansible-galaxy and can run
> >> > them from the server where the engineVM is running and able to deploy
> new
> >> > vms, clusters, dc, etc.
> >> >
> >> > I have seen the use of ovirt4.py file to target and group hosts which
> >> > you can target for specific plays. However, the box where
> self-hosted-engine
> >> > is running is a physical server but I am looking to run ansible from
> my
> >> > local machine instead to manage vms running on engineVM. Is there a
> way to
> >> > achieve this?
> >>
> >> Sure you can use your own computer to manage the VMs.
> >>
> >> In your playbook you just need to specify group/host where the tasks of
> >> the playbook should run.
> >>
> >> So if using the ovirt4.py script as your inventory file, you need to
> >> just specify specific group where you want to run the tasks in your
> >> playbook like this:
> >>
> >> - hosts: tag_httpd
> >>tasks:
> >>  ...
> >>
> >> If you want to Create/Delete VMs using ovirt_* modules, you can do it
> >> from your computer as well, but you need to install Python SDK version
> >> 4. You can download it from pip using following command: pip install
> >> ovirt-engine-sdk-python.
> >>
> >> >
> >> > Thank you in advance.
> >> >
> >> > ___
> >> > Users mailing list -- users@ovirt.org
> >> > To unsubscribe send an email to users-le...@ovirt.org
> >> >
> >
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> >
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Using remote viewer outside lan

2018-05-22 Thread Aziz
Hi all,

I am able to access my VMs from LAN using remote Viewer, however this is
not working from outside LAN, my setup is as follow:

1. Controller in a separate HW machine
2. Host in a server

When checking the console.vv file, I see that it includes the local IP
address of the host + port 5900. Is there a way to force ovirt to generate
a console.vv file with public IP port when the user tries to connect from
Internet and another file with lan IP when the user tries to connect from
LAN.

Any hint on how to set this feature up ?


Best regards
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Using remote viewer outside lan

2018-05-22 Thread Wesley Stewart
I would recommend setting up an openvpn server or something over opening
that up to the outside.

Just my two cents.

On Tue, May 22, 2018, 8:06 PM Aziz  wrote:

> Hi all,
>
> I am able to access my VMs from LAN using remote Viewer, however this is
> not working from outside LAN, my setup is as follow:
>
> 1. Controller in a separate HW machine
> 2. Host in a server
>
> When checking the console.vv file, I see that it includes the local IP
> address of the host + port 5900. Is there a way to force ovirt to generate
> a console.vv file with public IP port when the user tries to connect from
> Internet and another file with lan IP when the user tries to connect from
> LAN.
>
> Any hint on how to set this feature up ?
>
>
> Best regards
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: attempting to upgrade ovirt host which fails.

2018-05-22 Thread Eitan Raviv
The failure should be reflected on the host in /var/log/vdsm/*vdsm.log
What do you see there?

HTH

On Tue, May 22, 2018 at 11:09 PM, Edward Clay  wrote:
> Hello,  Today I began upgrading my ovirt 4.1 to 4.2 by updating the engine
> following the steps in the 4.2 readme.  This went well and the upgrade
> completed.  What I've run into is I have attempted to install the ovirt
> release 4.2 on the host and then ran a yum upgrade on it while in
> maintenance mode.  I rebooted the system and can put the host into active
> mode but in the ovirt compute host screen is showing that updates are
> available.  No mater what I do to tell it to check for updates it still
> shows available updates.  If I install updates they fail.  I see events like
> the following in the graphical interface.
>
> Check for available updates on host host1 was completed successfully with
> message 'found updates for packages ovirt-host'.
>
> Host host1 was switched to Maintenance mode
>
> Host host1 upgrade was started
>
> Failed to upgrade Host host1
>
> How can I resolve this issue?
>
> Edward Clay
> Systems Administrator
> The Hut Group
>
> Tel:
> Email: edward.c...@uk2group.com
>
>
> For the purposes of this email, the "company" means The Hut Group Limited, a
> company registered in England and Wales (company number 6539496) whose
> registered office is at Fifth Floor, Voyager House, Chicago Avenue,
> Manchester Airport, M90 3DQ and/or any of its respective subsidiaries.
>
> Confidentiality Notice
> This e-mail is confidential and intended for the use of the named recipient
> only. If you are not the intended recipient please notify us by telephone
> immediately on +44(0)1606 811888 or return it to us by e-mail. Please then
> delete it from your system and note that any use, dissemination, forwarding,
> printing or copying is strictly prohibited. Any views or opinions are solely
> those of the author and do not necessarily represent those of the company.
>
> Encryptions and Viruses
> Please note that this e-mail and any attachments have not been encrypted.
> They may therefore be liable to be compromised. Please also note that it is
> your responsibility to scan this e-mail and any attachments for viruses. We
> do not, to the extent permitted by law, accept any liability (whether in
> contract, negligence or otherwise) for any virus infection and/or external
> compromise of security and/or confidentiality in relation to transmissions
> sent by e-mail.
>
> Monitoring
> Activity and use of the company's systems is monitored to secure its
> effective use and operation and for other lawful business purposes.
> Communications using these systems will also be monitored and may be
> recorded to secure effective use and operation and for other lawful business
> purposes.
>
> hgvyjuv
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: info about reinstall dead node

2018-05-22 Thread Eitan Raviv
If the engine manages to 'reboot' the host as you say, it seems that
the engine can communicate with the host.

So it might be that you have a bit of a chicken and egg problem: the
host is missing a required network and therefore goes back into
non-responsive.
If you have other (non mgmt) 'required' networks on the host, set the
networks to non-required under Compute | Clusters |  |
Logical Networks | Manager Networks temporarily.

In Compute | Hosts |  | networks | setup networks
can you attach 'ovirtmgmt' to the host in its current condition?

Try to reboot the host.

HTH

On Tue, May 22, 2018 at 7:25 PM, Gianluca Cecchi
 wrote:
> Hello,
> I have an host dead in a 4.1.9 environment (broken raid controller
> compromised both internal disks, don't ask me how it could happen...).
> I have replaced controller/disks and reinstalled ng-node on the same hw with
> the same parameters and same version (but ovirtmgmt bridge not present yet,
> only a bond0 that has to become backed up by the ovirtmgmt bridge when
> installed).
> In web admin gui it had been set as not responsive when failed.
> Now I cannot reinstall it as new.
> If I try to put it into maintenance it is correctly rebooted but then it
> remains non responsive.
> I think I have to "force remove" in some way the previous instance of this
> node, but the option is greyed out...
> How can I clean the node and then try to install as new again?
>
> Thanks,
> Gianluca
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Obtain dynamic inventory onto local machine using ovirt4.py for self-hosted engine

2018-05-22 Thread Ondra Machacek

On 05/22/2018 06:44 PM, 03ce...@gmail.com wrote:

I have successfully deployed self-hosted-engine (4.2) on centos (7.4) server.

the server address is ovirt where the self-hosted engine running on it has fdqn 
as engine.ovirt. I  have ovirt,ini configured on server acan run the ovirt4.py 
from the server to obtain the vms in groups. But I want to control the vms 
using ansible from my macbook and run ansible playbooks locally.

so I have downloaded the ovirt.ini and ovirt4.py from server and tried running 
it, but had no success.

Is there something special needs setting up for 'self-hosted-ovirt-engine' as 
oppose to vanilla ovirt-engine which will allow me to control vms from my 
macbook?


You don't need to do anything special.
What's the error you get?



thanks.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Obtain dynamic inventory onto local machine using ovirt4.py for self-hosted engine

2018-05-22 Thread Eitan Raviv
Wouldn't it be safer and less error prone to ssh over vpn from your
macbook to your server to run the playbooks?

On Tue, May 22, 2018 at 7:44 PM,  <03ce...@gmail.com> wrote:
> I have successfully deployed self-hosted-engine (4.2) on centos (7.4) server.
>
> the server address is ovirt where the self-hosted engine running on it has 
> fdqn as engine.ovirt. I  have ovirt,ini configured on server acan run the 
> ovirt4.py from the server to obtain the vms in groups. But I want to control 
> the vms using ansible from my macbook and run ansible playbooks locally.
>
> so I have downloaded the ovirt.ini and ovirt4.py from server and tried 
> running it, but had no success.
>
> Is there something special needs setting up for 'self-hosted-ovirt-engine' as 
> oppose to vanilla ovirt-engine which will allow me to control vms from my 
> macbook?
>
> thanks.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Planned restart of production services

2018-05-22 Thread Eyal Edri
Thanks for the quick and broad service update!

On Wed, May 23, 2018, 02:54 Evgheni Dereveanchin 
wrote:

> Maintenance completed, services are back up and running.
> If you see any issues please report them to Jira.
>
> Regards,
> Evgheni Dereveanchin
>
>
> On Tue, May 22, 2018 at 11:55 PM, Evgheni Dereveanchin <
> edere...@redhat.com> wrote:
>
>> Hi everyone,
>>
>> I will be restarting several production systems within the following hour
>> to apply security updates.
>> The following services may be unreachable for some period of time:
>> - www.ovirt.org - project website
>> - resources.ovirt.org - package repositories
>> - gerrit.ovirt.org - code review
>> - jenkins.ovirt.org - CI master
>>
>> It will not be possible to submit/review patches, clone repositories or
>> run CI jobs during this period. Package repositories and the website will
>> also be unreachable for a short period of time.
>>
>> I will announce you once the maintenance is complete.
>>
>> --
>> Regards,
>> Evgheni Dereveanchin
>>
>
> ___
> Infra mailing list -- in...@ovirt.org
> To unsubscribe send an email to infra-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: hosted-engine ovirt-engine server not run

2018-05-22 Thread dhy336
Hi SimoneI debug my hosted engine, i find my engine block in class 
InitBackendServicesOnStartupBean -> serviceLoader.load(HostDeviceManager.class);
I should how to dubug it? thanks- Original Message -
From: 
To: "Simone Tiraboschi" 
Cc: users 
Subject: [ovirt-users] Re: hosted-engine ovirt-engine server not run
Date: 2018-05-22 15:07

hi, I try to run my engine, if engine is good run, it has more log info in 
engine.log than bad run.my bad run engine log miss some info,  I should how to 
dubug this issue?
2018-05-21 17:35:43,446+08 INFO  
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [6ced2adb] Running command: 
RefreshHostDevicesCommand internal: true. Entities affected :  ID: 
34fa518e-e453-4de2-bd18-4942885c8aa5 Type: VDSAction group MANIPULATE_HOST with 
role type ADMIN2018-05-21 17:35:43,447+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.hostdev.HostDeviceManager@20ad9625 
2018-05-21 17:35:43,449+08 INFO  [org.ovirt.engine.core.bll.dwh.DwhHeartBeat] 
(ServerService Thread Pool -- 64) [6ced2adb] Initializing DWH Heart 
Beat2018-05-21 17:35:43,464+08 INFO  
[org.ovirt.engine.core.bll.dwh.DwhHeartBeat] (ServerService Thread Pool -- 64) 
[6ced2adb] DWH Heart Beat initialized2018-05-21 17:35:43,465+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.dwh.DwhHeartBeat@75f99d39 2018-05-21 
17:35:43,539+08 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ServerService Thread Pool -- 64) [6ced2adb] EVENT_ID: 
AFFINITY_RULES_ENFORCEMENT_MANAGER_START(10,780), Affinity Rules Enforcement 
Manager started.2018-05-21 17:35:43,542+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start 
org.ovirt.engine.core.bll.scheduling.AffinityRulesEnforcementManager@703aa6cd 
2018-05-21 17:35:43,547+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] 
(ServerService Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.CertificationValidityChecker@47df0bd8 2018-05-21 
17:35:43,554+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] (ServerService 
Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.hostdeploy.HostUpdatesCheckerService@4dc8896 
2018-05-21 17:35:43,556+08 INFO  
[org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] (ServerService Thread 
Pool -- 64) [6ced2adb] Start initializing IPTablesDeprecationNotifier2018-05-21 
17:35:43,560+08 INFO  [org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] 
(ServerService Thread Pool -- 64) [6ced2adb] Finished initializing 
IPTablesDeprecationNotifier2018-05-21 17:35:43,560+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.IPTablesDeprecationNotifier@46fc7dd7 
- Original Message -
From: Simone Tiraboschi 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] hosted-engine ovirt-engine server not run
Date: 2018-05-21 21:05



On Mon, May 21, 2018 at 12:21 PM,   wrote:
Hi
I deploy hosted-engine with two nodes, when I power off the node that engine is 
runing,  other node can run VM after about 3 minutes.but ovirt-engine server 
could not normally run. but systemctrl resetart ovirt-engine.  ovirt-engine 
server can run.
this is VM engine logs.
Nothing seams bad from that logs.Can you please try reproducing it?
 
___

Users mailing list -- users@ovirt.org

To unsubscribe send an email to users-le...@ovirt.org





___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Using remote viewer outside lan

2018-05-22 Thread Alex K
You could try at cluster -> console, to overwrite the default with your
public.

Alex

On Wed, May 23, 2018, 03:06 Aziz  wrote:

> Hi all,
>
> I am able to access my VMs from LAN using remote Viewer, however this is
> not working from outside LAN, my setup is as follow:
>
> 1. Controller in a separate HW machine
> 2. Host in a server
>
> When checking the console.vv file, I see that it includes the local IP
> address of the host + port 5900. Is there a way to force ovirt to generate
> a console.vv file with public IP port when the user tries to connect from
> Internet and another file with lan IP when the user tries to connect from
> LAN.
>
> Any hint on how to set this feature up ?
>
>
> Best regards
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] ovirt and gluster disk config

2018-05-22 Thread william . dossett
Hey,  been a few years since I looked at ovirt.   3 years probably and at the 
time I was looking for compute and storage all in one -and was advised not to 
basically.  So Hyperconvergence  is now a thing and want to try it out.  I was 
looking at the blog - up and running with ovirt 4.1, but it seems that is 
mostly for a lab setup.  I've got some real hardware I am going to try this out 
on as a PoC, 5 Dell R720s with 12 TB raw storage in each.  Just wondered if 
there was a guide to the hardware setup of my storage that I am missing?  
Should I configure the storage as hardware RAID before I start installing the 
Nodes?  I did setup glusterfs cluster 3 years ago as well but memory fails me 
on how I had the RAID controller setup if at all.

Thanks
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Nginx proxy for Ovirt

2018-05-22 Thread Aziz
Hi All,

I'm trying to setup nginx as a reverse proxy in order to access ovirt
remotely without  having to add the fqdn in SSO_ALTERNATE_ENGINE_FQDNS ,
the idea is that nginx will handle the fqdn translation from my external
FQDN (external.fqdn.net ) to ovirt's fqdn (lab.vdi.net).

Is there a way to achieve scenario ?


Thank you in advance ?

Aziz
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Planned restart of production services

2018-05-22 Thread Evgheni Dereveanchin
Maintenance completed, services are back up and running.
If you see any issues please report them to Jira.

Regards,
Evgheni Dereveanchin


On Tue, May 22, 2018 at 11:55 PM, Evgheni Dereveanchin 
wrote:

> Hi everyone,
>
> I will be restarting several production systems within the following hour
> to apply security updates.
> The following services may be unreachable for some period of time:
> - www.ovirt.org - project website
> - resources.ovirt.org - package repositories
> - gerrit.ovirt.org - code review
> - jenkins.ovirt.org - CI master
>
> It will not be possible to submit/review patches, clone repositories or
> run CI jobs during this period. Package repositories and the website will
> also be unreachable for a short period of time.
>
> I will announce you once the maintenance is complete.
>
> --
> Regards,
> Evgheni Dereveanchin
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: error message: how to troubleshoot

2018-05-22 Thread Nir Soffer
On Wed, May 23, 2018 at 12:20 AM femi adegoke 
wrote:

> Migration failed (VM: HostedEngine, Source: ovirt-node1.livemigrate.com,
> Destination: ovirt-node2.livemigrate.com).
>
...

> What are the steps to troubleshooting an error message like this.
> Where do I go?
> What should I be looking for?
>

Good place to start is /var/log/vdsm/vdsm.log on the host where
the vm was running, and on the host the vm was migrating to.

Look for the UUID of the VM, you should be able to follow the migration
process
on both sides.

When you find more info you can add it here.

Nir
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: How to delete leftover of a failed live storage migration disk

2018-05-22 Thread Nir Soffer
On Fri, May 11, 2018 at 2:59 PM Gianluca Cecchi 
wrote:

> Hello,
> I had an error during live storage migration of a disk.
> The destination image was created but the process was not completed,
> because of a bug in the original version of sw.
>

sw?


> Then I updated sw but if I try to run again the move of the same disk to
> the same destination storage domain I get
>
> VDSM command HSMGetAllTasksStatusesVDS failed: Cannot create Logical
> Volume: ('679c0725-75fb-4af7-bff1-7c447c5d789c',
> 'd2a89b5e-7d62-4695-96d8-b762ce52b379')
>

This engine log is not very useful. We need complete vdsm log to understand
what happened.


> On destination storage domain, that is empty, from web admin gui I see
> only the 2 OVF_STORE disks.
> From OS point of view using lvs I see the leftover LV that oVirt complains
> not able to create (I suppose because already existent due to the former
> error)
>
> # lvs
> 679c0725-75fb-4af7-bff1-7c447c5d789c/d2a89b5e-7d62-4695-96d8-b762ce52b379
>   LV   VG
>  Attr   LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
>   d2a89b5e-7d62-4695-96d8-b762ce52b379
> 679c0725-75fb-4af7-bff1-7c447c5d789c -wi--- 55.00g
>

Using lvs -o+tags will give more useful info on this lv, like the image
uuid and state of
the lv.


> I know that I should use the "vdsClient -s 0 deleteVolume " command from
> the SPM host.
>
> the syntax should be
> # vdsClient -s 0 deleteVolume --help
> Error using command: list index out of range
>
> deleteVolume
>,...,  []
> Deletes an volume if its a leaf. Else returns error
>

This is old tool that was deleted long time ago. If you are using 4.1 or
later, you can
use vdsm-client which is better documented and supported.


> I have difficulties to do the exact mapping of the various elements.
> Is it right what below?
>
> sdUUID --> VG name
>
> spUUID I can retrieve using:
>
> # vdsClient -s 0 getStorageDomainInfo 679c0725-75fb-4af7-bff1-7c447c5d789c
> uuid = 679c0725-75fb-4af7-bff1-7c447c5d789c
> type = ISCSI
> vguuid = nkoZA2-nQOu-oeXX-Phpa-moqh-FWuR-AFAh4B
> metadataDevice = 36589cfc006dd999f5618bf759d3f
> state = OK
> version = 4
> role = Master
> vgMetadataDevice = 36589cfc006dd999f5618bf759d3f
> class = Data
> pool = ['5af30d59-004c-02f2-01c9-00b8']
> name = ISCSI_400G
>
> so spUUID is the pool --> 5af30d59-004c-02f2-01c9-00b8 in my case
> ?
>
> for imgUUID I don't know a command to retrieve.
> in my case the target storage domain (ISCSI_400G) in this moment is the
> master one and I can see it under  /rhev/data-center/mnt/blockSD/
> and so I find
>
> # ll
> /rhev/data-center/mnt/blockSD/679c0725-75fb-4af7-bff1-7c447c5d789c/images/
> total 4
> drwxr-xr-x. 2 vdsm kvm 4096 May 10 15:39
> 530b3e7f-4ce4-4051-9cac-1112f5f9e8b5
>
> So it seems to me in my case imgUUID is
> 530b3e7f-4ce4-4051-9cac-1112f5f9e8b5
>
> But even if it is right in my particular case, how can I get in general?
>

The image uuid is in the lv tag. If you use:

lvs -o vg_name,lv_name,tags

You will find it as IU_

volUUID ? Is it the LV name corresponding, so in my case
d2a89b5e-7d62-4695-96d8-b762ce52b379
> ?
>
> The result of the vdsCLient command should be the removal of LV also?
>

Probably, but note that vdsClient (and vdsm-client) are not supported API.

Do you see this disk on engine side? it should be aware of this disk since
it created
the disk during live storage migration.

Also, we should not have leftovers volumes after failed operations. Please
file a bug
for this and attach both engine.log and vdsm.log on the host doing the live
storage
migration.

Nir
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] attempting to upgrade ovirt host which fails.

2018-05-22 Thread Edward Clay

Hello,  Today I began upgrading my ovirt 4.1 to 4.2 by updating the engine 
following the steps in the 4.2 readme.  This went well and the upgrade 
completed.  What I've run into is I have attempted to install the ovirt release 
4.2 on the host and then ran a yum upgrade on it while in maintenance mode.  I 
rebooted the system and can put the host into active mode but in the ovirt 
compute host screen is showing that updates are available.  No mater what I do 
to tell it to check for updates it still shows available updates.  If I install 
updates they fail.  I see events like the following in the graphical interface.

Check for available updates on host host1 was completed successfully with 
message 'found updates for packages ovirt-host'.

Host host1 was switched to Maintenance mode

Host host1 upgrade was started

Failed to upgrade Host host1

How can I resolve this issue?

Edward Clay
Systems Administrator
The Hut Group

Tel:
Email: edward.c...@uk2group.com

For the purposes of this email, the "company" means The Hut Group Limited, a 
company registered in England and Wales (company number 6539496) whose registered office 
is at Fifth Floor, Voyager House, Chicago Avenue, Manchester Airport, M90 3DQ and/or any 
of its respective subsidiaries.

Confidentiality Notice
This e-mail is confidential and intended for the use of the named recipient 
only. If you are not the intended recipient please notify us by telephone 
immediately on +44(0)1606 811888 or return it to us by e-mail. Please then 
delete it from your system and note that any use, dissemination, forwarding, 
printing or copying is strictly prohibited. Any views or opinions are solely 
those of the author and do not necessarily represent those of the company.

Encryptions and Viruses
Please note that this e-mail and any attachments have not been encrypted. They 
may therefore be liable to be compromised. Please also note that it is your 
responsibility to scan this e-mail and any attachments for viruses. We do not, 
to the extent permitted by law, accept any liability (whether in contract, 
negligence or otherwise) for any virus infection and/or external compromise of 
security and/or confidentiality in relation to transmissions sent by e-mail.

Monitoring
Activity and use of the company's systems is monitored to secure its effective 
use and operation and for other lawful business purposes. Communications using 
these systems will also be monitored and may be recorded to secure effective 
use and operation and for other lawful business purposes.

hgvyjuv
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: error message: how to troubleshoot

2018-05-22 Thread femi adegoke
Thank you.
Let me go take a look, shouldn't be to hard to find since I only have the 
hosted engine vm running!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: error message: how to troubleshoot

2018-05-22 Thread femi adegoke
Use Notepad++ to view or is there a better tool?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] error message: how to troubleshoot

2018-05-22 Thread femi adegoke
Migration failed (VM: HostedEngine, Source: ovirt-node1.livemigrate.com, 
Destination: ovirt-node2.livemigrate.com).

Hi All,
Trying to get my feet wet & learn more.
What are the steps to troubleshooting an error message like this.
Where do I go?
What should I be looking for?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Planned restart of production services

2018-05-22 Thread Evgheni Dereveanchin
Hi everyone,

I will be restarting several production systems within the following hour
to apply security updates.
The following services may be unreachable for some period of time:
- www.ovirt.org - project website
- resources.ovirt.org - package repositories
- gerrit.ovirt.org - code review
- jenkins.ovirt.org - CI master

It will not be possible to submit/review patches, clone repositories or run
CI jobs during this period. Package repositories and the website will also
be unreachable for a short period of time.

I will announce you once the maintenance is complete.

-- 
Regards,
Evgheni Dereveanchin
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Unable to start VM on host with OVS networking

2018-05-22 Thread tadavis
The answer is..

OVN replaced OVS as the networking technology.  You cannot switch back to 
legacy, they disabled switching between ovs and legacy in the default (1st) 
datacenter using the gui.  You can however, use Ansible to switch it.

Remove the VDSM ovs setting, it will just mess you up, and it's not supported 
in 4.2

To able to migrate a VM in 4.2, you have use OVN with OVS.

I did this a few months back, on a 4.2.2 hosted-engine setup:

0) To setup a node in a cluster, make sure the cluster is in OVS, not 
legacy.

1) Make sure you have an OVN controller setup somewhere.  Default 
appears to be the ovirt-hosted-engine.
a) you should also have the external network provider for OVN 
configured also; see the web interface.

2) when you install the node, make sure it has openvswitch installed and 
running - ie:
a) 'systemctl status openvswitch' says it's up and running. (be sure 
it's enable also)
b) 'ovs-vsctl show' has vdsm bridges listed, and possibly a br-int
   bridge.

3) if there is no br-int bridge, do 'vdsm-tool ovn-config 
ovn-controller-ip host-ip'

4) when you have configured several nodes in the OVN, you should see 
them listed as geneve devices in 'ovs-vsctl show', ie:

This is a 4 node cluster, so the other 3 nodes are expected:

[ root at d8-r12-c1-n3 ~]# ovs-vsctl show
42df28ba-ffd6-4e61-b7b2-219576da51ab
 Bridge br-int
 fail_mode: secure
 Port "ovn-27461b-0"
 Interface "ovn-27461b-0"
 type: geneve
 options: {csum="true", key=flow, remote_ip="192.168.85.91"}
 Port "vnet1"
 Interface "vnet1"
 Port "ovn-a1c08f-0"
 Interface "ovn-a1c08f-0"
 type: geneve
 options: {csum="true", key=flow, remote_ip="192.168.85.87"}
 Port "patch-br-int-to-f7a19c7d-021a-455d-bf3a-c15e212d8831"
 Interface 
"patch-br-int-to-f7a19c7d-021a-455d-bf3a-c15e212d8831"
 type: patch
 options: 
{peer="patch-f7a19c7d-021a-455d-bf3a-c15e212d8831-to-br-int"}
 Port "vnet0"
 Interface "vnet0"
 Port "patch-br-int-to-7874ba85-8f6f-4e43-9535-5a1b1353a9ec"
 Interface 
"patch-br-int-to-7874ba85-8f6f-4e43-9535-5a1b1353a9ec"
 type: patch
 options: 
{peer="patch-7874ba85-8f6f-4e43-9535-5a1b1353a9ec-to-br-int"}
 Port "ovn-8da92c-0"
 Interface "ovn-8da92c-0"
 type: geneve
 options: {csum="true", key=flow, remote_ip="192.168.85.95"}
 Port br-int
 Interface br-int
 type: internal
 Bridge "vdsmbr_LZmj3uJ1"
 Port "vdsmbr_LZmj3uJ1"
 Interface "vdsmbr_LZmj3uJ1"
 type: internal
 Port "net211"
 tag: 211
 Interface "net211"
 type: internal
 Port "eno2"
 Interface "eno2"
 Bridge "vdsmbr_e7rcnufp"
 Port "vdsmbr_e7rcnufp"
 Interface "vdsmbr_e7rcnufp"
 type: internal
 Port ipmi
 tag: 20
 Interface ipmi
 type: internal
 Port ovirtmgmt
 tag: 50
 Interface ovirtmgmt
 type: internal
 Port "patch-f7a19c7d-021a-455d-bf3a-c15e212d8831-to-br-int"
 Interface 
"patch-f7a19c7d-021a-455d-bf3a-c15e212d8831-to-br-int"
 type: patch
 options: 
{peer="patch-br-int-to-f7a19c7d-021a-455d-bf3a-c15e212d8831"}
 Port "eno1"
 Interface "eno1"
 Port "patch-7874ba85-8f6f-4e43-9535-5a1b1353a9ec-to-br-int"
 Interface 
"patch-7874ba85-8f6f-4e43-9535-5a1b1353a9ec-to-br-int"
 type: patch
 options: 
{peer="patch-br-int-to-7874ba85-8f6f-4e43-9535-5a1b1353a9ec"}
 ovs_version: "2.7.3"

5) Create in the cluster the legacy style bridge networks - ie, 
ovirtmgmt, etc.  Do this just like you where creating them for the 
legacy network.  Define the VLAN #, the MTU, etc.

6) Now, create in the network config, the OVN networks - ie, 
ovn-ovirtmgmt is on an external provider (select OVN), and make sure 
'connect to physical network' is checked, and the correct network from 
step 5 is picked.  Save this off.

This will connect the two networks together in a bridge, and all 
services are visible to both ie dhcp, dns..

7) when you create the VM, select the OVN network interface, not the 
legacy bridge interface (this is why I decided to prefix with 'ovn-').

8) Create the vm, start it, migrate, stop, re-start, etc, it all should 
work now.

Lots of reading.. lots of interesting stuff found..  finally figured 
this out after reading a bunch of bug fixes for the latest RC (released 
today)

The only doc link:

https://ovirt.org/develop/release-management/features/network/provider-physical-network/
___
Users mailing list -- 

[ovirt-users] oVirt: engine backup

2018-05-22 Thread femi adegoke
Reading this: 
https://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
It says the node must be in maintenance mode.

I was having a discussion on IRC & they were using this (see link) to backup, 
it makes no mention of maint mode
https://scottlinux.com/2015/08/20/create-daily-rhevm-backups/
https://access.redhat.com/solutions/797463

Question: must the node be in maint mode before engine is backed up?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Serial pass-through on oVirt VMs

2018-05-22 Thread Tomáš Golembiovský
Take a look at this page [1] for documentation of the hooks system. There
is also an example how to use it to change the XML at the end [2].

Tomas

[1] https://www.ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks/
[2] 
https://www.ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks/#vdsm-hook-examples

On Tue, 22 May 2018 15:15:57 +0100
Joshua Blake  wrote:

> Hello Tomas,
> 
> Thank you for coming back to me. I don't suppose you have any examples 
> or guides you could point me in the direction of please?
> 
> Kind Regards,
> Joshua Blake
> 
> 
> On 22/05/2018 15:08, Tomáš Golembiovský wrote:
> > Hi,
> >
> > you can try to use VDSM hook to add a dummy serial device to the VM
> > domain XML. Or if you really need a physical device then you can use the
> > hook to add the  element to the domain XML. Don't forget to pin
> > the VM to a specific host though.
> >
> > Hope this helps,
> >
> >  Tomas
> >
> > On Wed, 16 May 2018 10:17:49 +0100
> > Joshua Blake  wrote:
> >  
> >> Hello,
> >>
> >> We have an old Windows XP VM, that requires access to a physical serial
> >> port for our telephone system. We have this working in VMWare, however, I'm
> >> not entirely sure how we would set this up in oVirt? Can someone help
> >> please?
> >>
> >> Kind Regards,
> >> Joshua Blake  
> >  
> 


-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Obtain dynamic inventory onto local machine using ovirt4.py for self-hosted engine

2018-05-22 Thread 03ce007
I have successfully deployed self-hosted-engine (4.2) on centos (7.4) server. 

the server address is ovirt where the self-hosted engine running on it has fdqn 
as engine.ovirt. I  have ovirt,ini configured on server acan run the ovirt4.py 
from the server to obtain the vms in groups. But I want to control the vms 
using ansible from my macbook and run ansible playbooks locally. 

so I have downloaded the ovirt.ini and ovirt4.py from server and tried running 
it, but had no success. 

Is there something special needs setting up for 'self-hosted-ovirt-engine' as 
oppose to vanilla ovirt-engine which will allow me to control vms from my 
macbook?

thanks. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Use local ansible to talk to engineVM and other vm

2018-05-22 Thread Ondra Machacek

On 05/21/2018 11:51 AM, 03ce...@gmail.com wrote:

I have a self-hosted-engine (4.2) running on a centos 7.4 server.

I have downloaded ovirt ansible roles from ansible-galaxy and can run them from 
the server where the engineVM is running and able to deploy new vms, clusters, 
dc, etc.

I have seen the use of ovirt4.py file to target and group hosts which you can 
target for specific plays. However, the box where self-hosted-engine is running 
is a physical server but I am looking to run ansible from my local machine 
instead to manage vms running on engineVM. Is there a way to achieve this?


Sure you can use your own computer to manage the VMs.

In your playbook you just need to specify group/host where the tasks of
the playbook should run.

So if using the ovirt4.py script as your inventory file, you need to
just specify specific group where you want to run the tasks in your
playbook like this:

- hosts: tag_httpd
  tasks:
...

If you want to Create/Delete VMs using ovirt_* modules, you can do it
from your computer as well, but you need to install Python SDK version
4. You can download it from pip using following command: pip install
ovirt-engine-sdk-python.



Thank you in advance.
  
___

Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Use local ansible to talk to engineVM and other vm

2018-05-22 Thread Sumit Bharadia
Thanks.

Is there a way to use an existing inventory file?

I asked because the server where the engineVM is running is listed into my
existing a ansible inventory file on my local machine, but how do I
specify/run the subsequent tasks which I want to run on vms running on
engineVM as I don't see the /etc/hosts file updated where engineVM runs.
How would my local ansible playbook know which vms are available, etc?



On Tue, 22 May 2018, 8:36 am Ondra Machacek,  wrote:

> On 05/21/2018 11:51 AM, 03ce...@gmail.com wrote:
> > I have a self-hosted-engine (4.2) running on a centos 7.4 server.
> >
> > I have downloaded ovirt ansible roles from ansible-galaxy and can run
> them from the server where the engineVM is running and able to deploy new
> vms, clusters, dc, etc.
> >
> > I have seen the use of ovirt4.py file to target and group hosts which
> you can target for specific plays. However, the box where
> self-hosted-engine is running is a physical server but I am looking to run
> ansible from my local machine instead to manage vms running on engineVM. Is
> there a way to achieve this?
>
> Sure you can use your own computer to manage the VMs.
>
> In your playbook you just need to specify group/host where the tasks of
> the playbook should run.
>
> So if using the ovirt4.py script as your inventory file, you need to
> just specify specific group where you want to run the tasks in your
> playbook like this:
>
> - hosts: tag_httpd
>tasks:
>  ...
>
> If you want to Create/Delete VMs using ovirt_* modules, you can do it
> from your computer as well, but you need to install Python SDK version
> 4. You can download it from pip using following command: pip install
> ovirt-engine-sdk-python.
>
> >
> > Thank you in advance.
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> >
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: hosted-engine ovirt-engine server not run

2018-05-22 Thread dhy336
hi, I try to run my engine, if engine is good run, it has more log info in 
engine.log than bad run.my bad run engine log miss some info,  I should how to 
dubug this issue?
2018-05-21 17:35:43,446+08 INFO  
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand] 
(EE-ManagedThreadFactory-engine-Thread-1) [6ced2adb] Running command: 
RefreshHostDevicesCommand internal: true. Entities affected :  ID: 
34fa518e-e453-4de2-bd18-4942885c8aa5 Type: VDSAction group MANIPULATE_HOST with 
role type ADMIN2018-05-21 17:35:43,447+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.hostdev.HostDeviceManager@20ad9625 
2018-05-21 17:35:43,449+08 INFO  [org.ovirt.engine.core.bll.dwh.DwhHeartBeat] 
(ServerService Thread Pool -- 64) [6ced2adb] Initializing DWH Heart 
Beat2018-05-21 17:35:43,464+08 INFO  
[org.ovirt.engine.core.bll.dwh.DwhHeartBeat] (ServerService Thread Pool -- 64) 
[6ced2adb] DWH Heart Beat initialized2018-05-21 17:35:43,465+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.dwh.DwhHeartBeat@75f99d39 2018-05-21 
17:35:43,539+08 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ServerService Thread Pool -- 64) [6ced2adb] EVENT_ID: 
AFFINITY_RULES_ENFORCEMENT_MANAGER_START(10,780), Affinity Rules Enforcement 
Manager started.2018-05-21 17:35:43,542+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start 
org.ovirt.engine.core.bll.scheduling.AffinityRulesEnforcementManager@703aa6cd 
2018-05-21 17:35:43,547+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] 
(ServerService Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.CertificationValidityChecker@47df0bd8 2018-05-21 
17:35:43,554+08 INFO  [org.ovirt.engine.core.bll.ServiceLoader] (ServerService 
Thread Pool -- 64) [6ced2adb] Start 
org.ovirt.engine.core.bll.hostdeploy.HostUpdatesCheckerService@4dc8896 
2018-05-21 17:35:43,556+08 INFO  
[org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] (ServerService Thread 
Pool -- 64) [6ced2adb] Start initializing IPTablesDeprecationNotifier2018-05-21 
17:35:43,560+08 INFO  [org.ovirt.engine.core.bll.IPTablesDeprecationNotifier] 
(ServerService Thread Pool -- 64) [6ced2adb] Finished initializing 
IPTablesDeprecationNotifier2018-05-21 17:35:43,560+08 INFO  
[org.ovirt.engine.core.bll.ServiceLoader] (ServerService Thread Pool -- 64) 
[6ced2adb] Start org.ovirt.engine.core.bll.IPTablesDeprecationNotifier@46fc7dd7 
- Original Message -
From: Simone Tiraboschi 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] hosted-engine ovirt-engine server not run
Date: 2018-05-21 21:05



On Mon, May 21, 2018 at 12:21 PM,   wrote:
Hi
I deploy hosted-engine with two nodes, when I power off the node that engine is 
runing,  other node can run VM after about 3 minutes.but ovirt-engine server 
could not normally run. but systemctrl resetart ovirt-engine.  ovirt-engine 
server can run.
this is VM engine logs.
Nothing seams bad from that logs.Can you please try reproducing it?
 
___

Users mailing list -- users@ovirt.org

To unsubscribe send an email to users-le...@ovirt.org





___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org