[ovirt-users] how to fix time-drift on el8 hosts?

2021-01-07 Thread Nathanaël Blanchet

Hello,

Engine complains about my fresh el8 ovirt 4.4.3 node host:

"Host hadriacus has time-drift of 3202 seconds while maximum configured 
value is 300 seconds."


I tried to fix it with these commands:

sudo chronyc -a makestep
chronyc sources
chronyc tracking

... but the host is still not synchronized.

How should I proceed?

--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P46GEHJ45PUZZHK2AY6A5ZH3AFBWUPCA/


[ovirt-users] User portal and DNS entries removal

2020-11-21 Thread Nathanaël Blanchet
Hello,We project to use User portal to give more autonomy to users for creating VMs. Creation, modifications are easy et friendship, and network is dealt with external dhcp/ddns. But when deleting a VM, DNS leases with a long TTL still remains and it is not possible to access a new VM that is named as same as the precedent one. I wrote a playbook that erases all related DNS entries and I'm used to run it with AWX for other cases. Is there a way to integrate this playbook into User portal to be run when deleting a VM so as the DNS database to be still clean?___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PPEDJKD6NUJONACMFFJFQJ7YR3TC2QFN/


[ovirt-users] Re: how to test incremental backup in 4.4

2020-06-08 Thread Nathanaël Blanchet
Is this feature official in ovirt 4.4 or is it a preview tech? 
I haven't read any annoucement or any release note about such a great 
feature... 


De: "Eyal Shenitzky"  
À: "Gianluca Cecchi"  
Cc: "users"  
Envoyé: Lundi 8 Juin 2020 13:53:09 
Objet: [ovirt-users] Re: how to test incremental backup in 4.4 

Thank you! 

We will be glad to have some feedback when you have some. 

Please keep posted. 

On Mon, 8 Jun 2020 at 10:57, Gianluca Cecchi < [ 
mailto:gianluca.cec...@gmail.com | gianluca.cec...@gmail.com ] > wrote: 





On Sun, Jun 7, 2020 at 1:33 PM Eyal Shenitzky < [ mailto:eshen...@redhat.com | 
eshen...@redhat.com ] > wrote: 

BQ_BEGIN



On Sun, 7 Jun 2020 at 14:29, Eyal Shenitzky < [ mailto:eshen...@redhat.com | 
eshen...@redhat.com ] > wrote: 

BQ_BEGIN

Hi Gianluca, 

On Thu, 4 Jun 2020 at 02:04, Gianluca Cecchi < [ 
mailto:gianluca.cec...@gmail.com | gianluca.cec...@gmail.com ] > wrote: 

BQ_BEGIN

Hello, 
going to test incremental backup in 4.4. 
Is this page the updated one to use: 
[ 
https://www.ovirt.org/develop/release-management/features/storage/incremental-backup.html
 | 
https://www.ovirt.org/develop/release-management/features/storage/incremental-backup.html
 ] 



This page contains a lot of data about the feature and includes must of the 
APIs but it still needs some updates. 

There is currently no up-to-date documentation but we are working on it. 
Please share your inputs when you have some insights. 

You can have a look at the session we did on the DevConf 2020 conference [1] 

BQ_END

Also, please note that in order to use the incremental backup feature you must 
set ' IsIn crementalBackupSupported' 
to 'true' in the Engine database and restart the engine before taking a backup 
- 

engine-config -s " IsIn crementalBackupSupported=true" 

BQ_BEGIN



BQ_BEGIN

? 
Is there already any ansible module/role ongoing to support it? 

BQ_END

There is no Ansible implementation for it but we provide a python SDK 
script for backup a VM using incremental backup new API [2] 

[1] - [ https://www.youtube.com/watch?v=foyi1UyadEc | 
https://www.youtube.com/watch?v=foyi1UyadEc ] 
[2] - [ 
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm.py 
|  
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm.py 
] 


BQ_BEGIN


Thanks, 
Gianluca 
___ 
Users mailing list -- [ mailto:users@ovirt.org | users@ovirt.org ] 
To unsubscribe send an email to [ mailto:users-le...@ovirt.org | 
users-le...@ovirt.org ] 
Privacy Statement: [ https://www.ovirt.org/privacy-policy.html | 
https://www.ovirt.org/privacy-policy.html ] 
oVirt Code of Conduct: [ 
https://www.ovirt.org/community/about/community-guidelines/ | 
https://www.ovirt.org/community/about/community-guidelines/ ] 
List Archives: [ 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CWLMCHTSWDNOLFUPPLOU7ORIVKHWD5GM/
 | 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CWLMCHTSWDNOLFUPPLOU7ORIVKHWD5GM/
 ] 

BQ_END



-- 
Regards, 
Eyal Shenitzky 

BQ_END



-- 
Regards, 
Eyal Shenitzky 

BQ_END

Thank you very much for your insights, Eyal. 
In the mean time I enabled the feature in the engine and I'm going to watch and 
read the resources you provided. 

Gianluca 

BQ_END



-- 
Regards, 
Eyal Shenitzky 

___ 
Users mailing list -- users@ovirt.org 
To unsubscribe send an email to users-le...@ovirt.org 
Privacy Statement: https://www.ovirt.org/privacy-policy.html 
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ 
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7OI72KSF3KSWW2L47NULVW222PKL2WNW/
 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HT3ZEYCOZ7KQHMBPMUWR5QPYVMHZGPMS/


[ovirt-users] centos 8 stream status

2020-05-06 Thread Nathanaël Blanchet

Hello,

Centos 8 stream should be the preview of centos 8, so why not using 
right now it instead of waiting GA 8.2?


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WFGADEFI7FIUTHQUO4XN6HCG5U3HYBMP/


[ovirt-users] Re: how to use idrac interface as a vm network

2020-03-25 Thread Nathanaël Blanchet
That's it! Nothing to do with an ovirt feature, the idrac interface is 
present since I activated the ISM module on the hosts. So this interface 
is unuseful for networking stuff in ovirt.


Le 25/03/2020 à 17:12, eev...@digitaldatatechs.com a écrit :


The idrac 7 can use either LOM or usb. I’m not sure about 6 but the 
idrac shows up as a usb nic in version 7 wih a link local ip, 
169.254.0.X and allows the OS passthrough mentioned.


Eric Evans

Digital Data Services LLC.

304.660.9080

*From:* Nathanaël Blanchet 
*Sent:* Wednesday, March 25, 2020 9:22 AM
*To:* users@ovirt.org
*Cc:* Maton, Brett 
*Subject:* [ovirt-users] Re: how to use idrac interface as a vm network

Thanks for replying,

I know this setting, but I do want to use the dedicated nic.

The curious thing is that the MAC adress of the dedicated NIC into 
IDRAC setting differs from the MAC reported into ovirt:


So it lest me suppose that there is a kind of virtual card derived 
from the physical one, can anybody confirm this?


Le 25/03/2020 à 13:02, Maton, Brett a écrit :

Can't say that I've tried it, but it looks like it's a setting
within iDRAC

This link is for iDRAC 8, but it's probably similar for 7 and 9...


https://www.dell.com/community/PowerEdge-Hardware-General/iDRAC-8-NIC-Port-Sharing/td-p/5078061

On Wed, 25 Mar 2020 at 09:33, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:

Hello,

I noticed an idrac interface was available in the host network
since an
undefined ovirt version.

Mine are already plugged as dedicated vlan to administrate
host at the
lowest level.

I tested to use it as a vm network on the same vlan, but it
doesn't work.

What am I supposed to do with this available interface?

PS: on HP hosts, no Ilo interface appears in host network tab

-- 
    Nathanaël Blanchet


Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/UP6WTZIH7YTAXG3CB32P7MZNMIFAAEDE/

--
Nathanaël Blanchet
Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  <mailto:blanc...@abes.fr>



--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NLNCEIZ2JQJQOTLBNRQLPRQHD6XSBSOV/


[ovirt-users] Re: how to use idrac interface as a vm network

2020-03-25 Thread Nathanaël Blanchet

Thanks for replying,

I know this setting, but I do want to use the dedicated nic.

The curious thing is that the MAC adress of the dedicated NIC into IDRAC 
setting differs from the MAC reported into ovirt:


So it lest me suppose that there is a kind of virtual card derived from 
the physical one, can anybody confirm this?


Le 25/03/2020 à 13:02, Maton, Brett a écrit :
Can't say that I've tried it, but it looks like it's a setting within 
iDRAC


This link is for iDRAC 8, but it's probably similar for 7 and 9...
https://www.dell.com/community/PowerEdge-Hardware-General/iDRAC-8-NIC-Port-Sharing/td-p/5078061


On Wed, 25 Mar 2020 at 09:33, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


Hello,

I noticed an idrac interface was available in the host network
since an
undefined ovirt version.

Mine are already plugged as dedicated vlan to administrate host at
the
lowest level.

I tested to use it as a vm network on the same vlan, but it
doesn't work.

What am I supposed to do with this available interface?

PS: on HP hosts, no Ilo interface appears in host network tab

    -- 
Nathanaël Blanchet


Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/UP6WTZIH7YTAXG3CB32P7MZNMIFAAEDE/


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IER2TDN664L43CG3RWMUI3ODE3IPWOPL/


[ovirt-users] how to use idrac interface as a vm network

2020-03-25 Thread Nathanaël Blanchet

Hello,

I noticed an idrac interface was available in the host network since an 
undefined ovirt version.


Mine are already plugged as dedicated vlan to administrate host at the 
lowest level.


I tested to use it as a vm network on the same vlan, but it doesn't work.

What am I supposed to do with this available interface?

PS: on HP hosts, no Ilo interface appears in host network tab

--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UP6WTZIH7YTAXG3CB32P7MZNMIFAAEDE/


[ovirt-users] bonding and SR-IOV

2020-03-23 Thread Nathanaël Blanchet

Hello,

I successfully attached VF to a VM on a single PF nic following 
https://access.redhat.com/articles/3215851.


I want the vm with VF to be migratable, but the nic hotplug/replug is 
too long. So I tested the mode 1 bonding (active-backup) with a virtio 
nic following this


https://www.ovirt.org/develop/release-management/features/network/liveMigrationSupportForSRIOV.html

On a single PF, the resilience tests with migration are correct with 1 
or 2 second downtime.


But now I want to do the same on a typical host with LACP PF:

Considering vlan13, I must bond a virtio nic on a brv13/brv13 profile 
with SR-IOV/brv13 profile as the primary interface.


Everything work when the primary interface is brv13/brv13 profile (work 
as a traditionnal bridge config), but not when changing on the 
SR-IOV/brv13 profile.


I know in this case that the SR-IOV profile is connected to a LACP 
interface, but does it mean that I have to configure the VF vnic in the 
VM to be part of the LACP(bond1) as a single member and in that case to 
do active-backup bond0 with two members bond1 and brv13 nic?


Hope to be clear enough.

Thanks for your help.


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KBCQUNROEYDLWEI2PZ6FGXDJK42GD3M5/


[ovirt-users] Re: oVirt 4.4.0 Alpha release refresh is now available for testing

2020-03-06 Thread Nathanaël Blanchet
<https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://www.redhat.com/>

*Red Hat respects your work life balance. Therefore there is no need 
to answer this email out of your office hours.*


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C532UQTU3YL43BIWCVU2JXHP7G5Y3OEB/


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CCHDGXRW63BQSTPRY3APUQ362SCK2HGU/


[ovirt-users] Re: Ovirt API and CLI

2020-02-27 Thread Nathanaël Blanchet


Le 27/02/2020 à 11:00, Yedidyah Bar David a écrit :

On Thu, Feb 27, 2020 at 11:53 AM Eugène Ngontang  wrote:

Yes Ansible ovirt_vms module is useful, I use it for provisioning/deployment, 
but once my VM created, I'd like to administrate/interact with them, I don't 
think I should write playbooks for that.


Why not? You're the next devops :)

I was used to use ovirt-shell (removed from 4.4), and instead of it I 
control now all my vms with ansible playbooks:


 * consultation with ovirt-*_inf with appropriate filters (combine ,
   dict2items) and conditions (when, until)
 * interaction with other modules (with present/absent statement for
   all parameters)

I precise I am not a developer but once I took the habit with a proper 
environment (venv, IDE, loops, structured playbook and roles, dict 
struct, etc..), I was able do what I want, or rather what the API let me do.


Before begining, I should advice you to take the time to study the 
structure of the output of the registered variable


Here is a piece of my commonly used playbooks to check status of wanted vms:

- name: template ovirt pour tester les modules
hosts: localhost
connection: local
tasks:
- block:
- include: ovirt_auth.yaml
tags: auth,change
- name: vmfacts
ovirt_vm_info:
auth: "{{ ovirt_auth }}"
pattern: "name=vm5 or name=vm8"
register: vm_info
- debug: var=vm_info.ovirt_vms
# msg: "{{vm_info.ovirt_vms | map(attribute='status')|list}}"
- name: "Génération d'un dictionnaire avec combine"
set_fact:
vm_status: "{{ vm_status|default({})|combine({item.name: item.status}) }}"
loop: "{{vm_info.ovirt_vms}}"
when: item.status == "up"
- debug:
msg: "{{vm_status}}"
always:
- include: ovirt_auth_revoke.yaml
tags: auth,change

Good luck!


This is up to you, of course.

For a project that uses heavily the ansible modules, see
ovirt-ansible-hosted-engine-setup.

For one that uses the python SDK, see ovirt-system-tests. The SDK
itself also has a very useful collection of examples.


But I'll find a solution.

Good luck and best regards,


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LDCRW5YXHEMEY77XTHQKV4CAHHUKF43E/


[ovirt-users] Re: terraform integration

2020-02-25 Thread Nathanaël Blanchet
Le 25 févr. 2020 15:11, Roy Golan  a écrit :On Fri, 21 Feb 2020 at 14:52, Nathanaël Blanchet <blanc...@abes.fr> wrote:
  

  
  
Hello,
It seems that the work for including ovirt as a provider in the
  master branch of openshift installer has been done. I compiled the
  master code and ovirt does appear in the survey.
  I don't have much time to test it for now but is it operationnal?
  If yes, I will prior to have a look to it.It is operational, yes - which OS are you going to use? The choice seems to be done between RHCOS ans FCOS doesn't it? I would prefer FCOS. Do I have to preset a template or the installer downloads the template by its own? Okd 4.4 is still in alpha preview, is it stable enough, what does it still miss?
Thanks.

Le 06/01/2020 à 21:30, Roy Golan a
  écrit :


  
  



The merge window is now open for the masters branches of
  the various origin components.
Post merge there should be an OKD release - this is not
  under my control, but when it will be available I'll let you
  know.



  On Mon, 6 Jan 2020 at 20:54,
    Nathanaël Blanchet <blanc...@abes.fr> wrote:
  
  

  Hello Roy
  
  Le 21/11/2019 à 13:57, Roy Golan a écrit :
  
  

  
  
  
  
On Thu, 21 Nov
  2019 at 08:48, Roy Golan <rgo...@redhat.com>
  wrote:


  




  On Wed, 20
Nov 2019 at 09:49, Nathanaël Blanchet <blanc...@abes.fr>
wrote:
  
  

  
  
  Le 19/11/2019 à 19:23, Nathanaël
Blanchet a écrit :
  
  


Le 19/11/2019 à 13:43, Roy Golan a
  écrit :


  




  On
Tue, 19 Nov 2019 at 14:34,
    Nathanaël Blanchet <blanc...@abes.fr>
wrote:
  
  

  Le 19/11/2019 à 08:55,
Roy Golan a écrit :
  
  
oc get -o json clusterversion 
  
  This is the output of the
previous failed deployment,
I'll give a try to a newer
one when I'll have a minute
to test 
  

  

  

Without changing nothing with
  template,  I gave a new try and...
  nothing works anymore now, none of
  provided IPs can be pingued : dial tcp
  10.34.212.51:6443:
  connect: no route to host", so none of
  masters can be provisonned by
  bootstrap.

I tried with the latest rhcos and
  latest ovirt 4.3.7, it is the same.
  Obviously something changed since my
  first attempt 12 days ago... is your
  docker image for openshift-installer
  up to date?

[ovirt-users] Re: terraform integration

2020-02-21 Thread Nathanaël Blanchet

Hello,

It seems that the work for including ovirt as a provider in the master 
branch of openshift installer has been done. I compiled the master code 
and ovirt does appear in the survey.
I don't have much time to test it for now but is it operationnal? If 
yes, I will prior to have a look to it.


Thanks.

Le 06/01/2020 à 21:30, Roy Golan a écrit :



The merge window is now open for the masters branches of the various 
origin components.
Post merge there should be an OKD release - this is not under my 
control, but when it will be available I'll let you know.


On Mon, 6 Jan 2020 at 20:54, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


Hello Roy

Le 21/11/2019 à 13:57, Roy Golan a écrit :



On Thu, 21 Nov 2019 at 08:48, Roy Golan mailto:rgo...@redhat.com>> wrote:



On Wed, 20 Nov 2019 at 09:49, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 19/11/2019 à 19:23, Nathanaël Blanchet a écrit :



Le 19/11/2019 à 13:43, Roy Golan a écrit :



On Tue, 19 Nov 2019 at 14:34, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

Le 19/11/2019 à 08:55, Roy Golan a écrit :

oc get -o json clusterversion


This is the output of the previous failed
deployment, I'll give a try to a newer one when
I'll have a minute to test


Without changing nothing with template,  I gave a new
try and... nothing works anymore now, none of provided
IPs can be pingued : dial tcp 10.34.212.51:6443
<http://10.34.212.51:6443>: connect: no route to host",
so none of masters can be provisonned by bootstrap.

I tried with the latest rhcos and latest ovirt 4.3.7, it
is the same. Obviously something changed since my first
attempt 12 days ago... is your docker image for
openshift-installer up to date?

Are you still able to your side to deploy a valid cluster ?


I investigated looking at bootstrap logs (attached) and
it seems that every containers die immediately after been
started.

Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.60107571 + UTC m=+0.794838407 container init
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.623197173 + UTC m=+0.816959853 container
start
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.623814258 + UTC m=+0.817576965 container
attach
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:34 localhost systemd[1]:

libpod-446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603.scope:
Consumed 814ms CPU time
Nov 20 07:02:34 localhost podman[2024]: 2019-11-20
07:02:34.100569998 + UTC m=+1.294332779 container
died
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:35 localhost podman[2024]: 2019-11-20
07:02:35.138523102 + UTC m=+2.332285844 container
remove
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)

and this:

Nov 20 07:04:16 localhost hyperkube[1909]: E1120
07:04:16.489527    1909 remote_runtime.go:200]
CreateContainer in sandbox
"58f2062aa7b6a5b2bdd6b9cf7b41a9f94ca2b30ad5a20e4fa4dec8a9b82f05e5"
from runtime service failed: rpc error: code = Unknown
desc = container create failed: container_linux.go:345:
starting container process caused "exec: \"runtimecfg\":
executable file not found in $PATH"
Nov 20 07:04:16 loc

[ovirt-users] Re: paused vm's will not resume

2020-02-18 Thread Nathanaël Blanchet

This default credentials may help you for virsh operations:

login: vdsm@ovirt

password: shibboleth

Le 18/02/2020 à 19:45, eev...@digitaldatatechs.com a écrit :

When I used virsh it always asks for credentials. I used the saslpasswd and 
gave a user a password to get it to work, but it still failed. I had copies of 
my disks and had to import them to get it up and running again. I will 
definitely try this if it crops up again.
I hope I never have to.
Thanks for your help.

Eric Evans
Digital Data Services LLC.
304.660.9080


-Original Message-
From: Nir Soffer 
Sent: Tuesday, February 18, 2020 12:00 PM
To: eev...@digitaldatatechs.com
Cc: users 
Subject: [ovirt-users] Re: paused vm's will not resume

On Tue, Feb 18, 2020 at 6:56 AM  wrote:

I have 2 vm's, which are the most important in my world, that paused and will 
not resume. I have googled this to death but no solution. It stated a lack of 
space but none of the drives on my hosts are using more than 30% or there space 
and these 2 have ran on kvm host for several years and always had at least 50% 
free space.

Can you share the VM XML of these VMs?

The easier way is:

# virsh -r list

# virsh -r dumpxml vm-id

Also having vdsm.log from the time the vm was paused would help to understand 
why the vm was paused.

For block storage, paused vms are expected to be resumed once the vm disk is 
extended, or if the vm paused because storage was not accessible temporarily, 
once the storage becomes accessible again.

For file based storage, we don't support yet resuming paused vms.

Nir


I like ovirt and want to use it but I cannot tolerate the down time. If I 
cannot get this resolved, I'm going back to kvm hosts. I am pulling my hair out 
here.
If anyone can help with this issue, please let me know.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy
Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JBXNV3WT
2W72I2E7EXM2KY4YN37STIMC/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KFU4CMDLWBPARNOI2GVXNI62E7YPT4R2/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JRBRYRWDG5XLKVA4MRM2UANMXYHXENG5/


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T2MXLVQDDUZZAUQ6SFYXHR7M5O3W5F5R/


[ovirt-users] Re: Ovirt backup

2020-01-20 Thread Nathanaël Blanchet


Le 19/01/2020 à 18:38, Jayme a écrit :
The biggest problem with these tools is that they are very 
inefficient.  To work they snapshot the VM then clone the snapshot 
into a new VM, back it up then delete.  This takes a lot of space and 
time.


vProtect and some other enterprise backup software snapshot the VM and 
stream the snapshot from the API without needing to clone or using a 
proxy VM.
At the same time, this workflow is the one recommended by the ovirt team 
(https://www.ovirt.org/develop/release-management/features/storage/backup-restore-api-integration.html). 
If it is no effecient enough, ovirt team should update the process and 
advice users of a better practice for vm backup in current/future ovirt 
4.3/4.4.
The new version of vProtect even bypasses the API (because it's slow) 
and now supports streaming over SSH directly from the host.  This is 
the ideal solution for oVirt VM backups imo, but I don't know if any 
free tool exists that can offer the same functionality.


On Sun, Jan 19, 2020 at 1:03 PM Torsten Stolpmann 
mailto:torsten.stolpm...@verit.de>> wrote:


I am still using https://github.com/wefixit-AT/oVirtBackup but since
support for the v3 API will be removed with oVirt 4.4 it will stop
working with this release. For this reason I can no longer
recommend it
but it served me well the past few years.

There is also https://github.com/jb-alvarado/ovirt-vm-backup which
has
similar functionality but I have yet no first-hand experience with
this.

Hope this helps.

Torsten

On 19.01.2020 10:05, Nazan CENGİZ wrote:
> Hi all,
>
>
> I want to back up Ovirt for free. Is there a script, project or
tool
> that you can recommend for this?
>
>
> Is there a project that you can test, both backup and restore
process
> can work properly?
>
>
> Best Regards,
>
> Nazan.
>
>
>
> <http://www.havelsan.com.tr>
> **Nazan CENGİZ
> AR-GE MÜHENDİSİ
> Mustafa Kemal Mahallesi 2120 Cad. No:39 06510 Çankaya Ankara TÜRKİYE
>       +90 312 219 57 87               +90 312 219 57 97
>
> YASAL UYARI: Bu elektronik posta işbu linki kullanarak
ulaşabileceğiniz
> Koşul ve Şartlar dokümanına tabidir.
> <http://havelsan.com.tr/tr/news/e-posta-yasal-uyari>
> LEGAL NOTICE: This e-mail is subject to the Terms and Conditions
> document which can be accessed with this link.
> <http://havelsan.com.tr/tr/news/e-posta-yasal-uyari>
>       Lütfen gerekmedikçe bu sayfa ve eklerini yazdırmayınız /
Please
> consider the environment before printing this email
>
>
>
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/G56O76VB5WO3MV2URL4OH3KNZMQRSKU4/
>
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/2LGGH7UEC3RBNELT57YF7255FYORSMGZ/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/H6JDPEBGWJY3KDRIKV2MJSJB64ZPZ3FS/


--
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZSR6JQTJ5MYKC7AS4CZXNW33MQG6UOPW/


[ovirt-users] Re: terraform integration

2020-01-06 Thread Nathanaël Blanchet

Hello Roy

Le 21/11/2019 à 13:57, Roy Golan a écrit :



On Thu, 21 Nov 2019 at 08:48, Roy Golan <mailto:rgo...@redhat.com>> wrote:




On Wed, 20 Nov 2019 at 09:49, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:


Le 19/11/2019 à 19:23, Nathanaël Blanchet a écrit :



Le 19/11/2019 à 13:43, Roy Golan a écrit :



On Tue, 19 Nov 2019 at 14:34, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

Le 19/11/2019 à 08:55, Roy Golan a écrit :

oc get -o json clusterversion


This is the output of the previous failed deployment,
I'll give a try to a newer one when I'll have a minute
to test


Without changing nothing with template,  I gave a new try
and... nothing works anymore now, none of provided IPs can be
pingued : dial tcp 10.34.212.51:6443
<http://10.34.212.51:6443>: connect: no route to host", so
none of masters can be provisonned by bootstrap.

I tried with the latest rhcos and latest ovirt 4.3.7, it is
the same. Obviously something changed since my first attempt
12 days ago... is your docker image for openshift-installer
up to date?

Are you still able to your side to deploy a valid cluster ?


I investigated looking at bootstrap logs (attached) and it
seems that every containers die immediately after been started.

Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.60107571 + UTC m=+0.794838407 container init
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.623197173 + UTC m=+0.816959853 container start
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.623814258 + UTC m=+0.817576965 container attach
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:34 localhost systemd[1]:

libpod-446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603.scope:
Consumed 814ms CPU time
Nov 20 07:02:34 localhost podman[2024]: 2019-11-20
07:02:34.100569998 + UTC m=+1.294332779 container died
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:35 localhost podman[2024]: 2019-11-20
07:02:35.138523102 + UTC m=+2.332285844 container remove
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)

and this:

Nov 20 07:04:16 localhost hyperkube[1909]: E1120
07:04:16.489527    1909 remote_runtime.go:200] CreateContainer
in sandbox
"58f2062aa7b6a5b2bdd6b9cf7b41a9f94ca2b30ad5a20e4fa4dec8a9b82f05e5"
from runtime service failed: rpc error: code = Unknown desc =
container create failed: container_linux.go:345: starting
container process caused "exec: \"runtimecfg\": executable
file not found in $PATH"
Nov 20 07:04:16 localhost hyperkube[1909]: E1120
07:04:16.489714    1909 kuberuntime_manager.go:783] init
container start failed: CreateContainerError: container create
failed: container_linux.go:345: starting container process
caused "exec: \"runtimecfg\": executable file not found in $PATH"

What do you think about this?


I'm seeing the same now, checking...


Because of the move upstream to release OKD the release-image that 
comes with the installer I gave you are no longer valid.


I need to prepare an installer version with the preview of OKD, you 
can find the details here 
https://mobile.twitter.com/smarterclayton/status/1196477646885965824
I tested your last openshift-installer container on quay.io, but the 
ovirt provider is not available anymore. Will ovirt be supported as an 
OKD 4.2 iaas provider ?





(do I need to use the terraform-workers tag instead of
latest?)

docker pullquay.io

[ovirt-users] recommandations for running ovirt playbooks into awx/tower

2019-12-26 Thread Nathanaël Blanchet
For those who want to run ovirt playbooks/dynamic inventories in a full 
Python3 awx/tower environment without any issue, you should consider 
this important point (as ovirt playbooks need to run with a local 
connection and with specific venv):


https://github.com/ansible/awx/issues/3267

"(...) make sure any host with |ansible_connection: local| /also/ 
specifies |ansible_python_interpreter: '{{ ansible_playbook_python }}'|."


my awx local inventory looks like this:

---
ansible_ssh_user: root
ansible_python_interpreter: '{{ ansible_playbook_python }}'

Without this, awx will run playbook with the local (default OS one) 
python binary instead of the venv one that must contain the nss/openssl 
re-compiled pycurl.


If you aim to use awx-rpm (https://awx.wiki/installation)

 * only el7 RPMs with default local py27, so consider the precedent point
 * create venv in the default venv path
   /opt/rh/rh-python36/root/usr/bin/awx-create-venv -n py36
 * compile pycurl with nss support :
   yum install -y make gcc redhat-rpm-config python3-devel
   libcurl-devel libxml2-devel openssl-devel
   exportPYCURL_SSL_LIBRARY=nss;pip install pycurl --compile --no-cache-dir
 * Install ovirtsdk4 dependencies:
   pip install ansible ovirt-engine-sdk-python psutil
 * venv become available into templates/inventory table

If you aim to use regular awx with el8 containers 
(https://github.com/ansible/awx/blob/devel/INSTALL.md#Docker-Compose) :


 * local python is already 3.6, so no issue with before
 * before launching installer:
   sed -i
   
'/project_data_dir/c\project_data_dir=/var/lib/awx/projects'installer/inventory
   sed -i
   '/custom_venv_dir/c\custom_venv_dir=/opt/my-envs'installer/inventory
 * create a venv into the awx_container
   docker exec-it awx_web bash
   yum install -y make gcc redhat-rpm-config python3-devel
   libcurl-devel libxml2-devel openssl-devel
   python3 -m venv /opt/my-envs/py36
 * compile pycurl with openssl support :
   source/opt/my-envs/py36/bin/activate
   exportPYCURL_SSL_LIBRARY=openssl;pip install pycurl --compile
   --no-cache-dir
 * Install ovirtsdk4 dependencies:
   pip install ansible ovirt-engine-sdk-python psutil
 * So as to get venv droplist availaible into templates/inventory tab
   settings -> system -> custom environment paths -> /opt/my-envs and
   login/logout.




Le 03/12/2019 à 04:07, Guillaume Pavese a écrit :
My problem was that I did not fully follow your directions, and had 
not pip installed ovirt-engine-sdk-python in the virtualenv.

Inventory is syncing now in awx.

Thanks for the help!


Guillaume Pavese
IngénieurSystèmeet Réseau
Interactiv-Group


On Fri, Nov 29, 2019 at 8:07 PM Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


try if you can get a result with plain ovirt4.py execution:

cd /tmp

rsync -av

/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
.

cat ovirt.ini
[ovirt]
ovirt_url = https://engine_fqdn/ovirt-engine/api
ovirt_username = admin@internal
ovirt_password = passwd

./ovirt4.py


Le 29/11/2019 à 09:57, Guillaume Pavese a écrit :

Hi,

I use awx rpm from awx.wiki and followed your directions to
create a python2 venv with ansible 2.9.1 and built pycurl with
nss, however syncing the inventory still fails :

stderr:
ansible-inventory 2.9.1
  config file = None
  configured module search path =
[u'/var/lib/awx/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
  ansible python module location =
/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible
  executable location =
/var/lib/awx/venv/ovirt-p2/bin/ansible-inventory
  python version = 2.7.5 (default, Aug  7 2019, 00:51:29) [GCC
4.8.5 20150623 (Red Hat 4.8.5-39)]
No config file found; using defaults
setting up inventory plugins
[WARNING]:  * Failed to parse
/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py with script plugin:
Inventory script
(/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py) had an execution error:

  File

"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/inventory/manager.py",
line 280, in parse_source
    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File

"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/plugins/inventory/script.py",
line 161, in parse
    raise AnsibleParserError(to_native(e))

[WARNING]: Unable to parse
/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py as an inventory source

Guillaume Pavese
IngénieurSystèmeet Réseau
Interactiv-Group


On Fri, Nov 29, 2019 at 4:51 AM Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

give a try to https://awx.wiki/ ba

[ovirt-users] Fwd: AWX and error using ovirt as an inventory source

2019-12-18 Thread Nathanaël Blanchet
Hello Ondra what do you think about this question? 
ovirt4.py may need some modifications to get required IPs/hostnames when 
multiple vm has multiple interfaces ? 
Personalized hack works for me but I have to modify the file each time I 
upgrade AWX. 

De: "Gianluca Cecchi"  
À: "Nathanaël Blanchet"  
Cc: "users"  
Envoyé: Mercredi 18 Décembre 2019 17:21:40 
Objet: Re: [ovirt-users] AWX and error using ovirt as an inventory source 

On Thu, Nov 28, 2019 at 4:59 PM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 





Hello gianluca, 



[snip] 

BQ_BEGIN



PS: Something else that may help, try to hack the ovirt4.py with ansible_host 
if you want to call the hosts into playbook by the hostname and not the first 
IP: 

vi 
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
 
'affinity_labels' : [ [ http://label.name/ | label.name ] for label in labels], 
## ajout NBT pour obtenir le nom de l'hote a la place de l ip 
'ansible_host' : [ http://vm.name/ | vm.name ] , 
'affinity_groups' : [ 




BQ_END

Hello, 
coming back to this PS of yours. 
in my case [ http://vm.name/ | vm.name ] is not always resolvable, so it is not 
so feasible. 
But also the default configuration of ansible_host seems quite unfortunate 
With the default configuration, I see that for VMs with 2 ips, it gets the eth1 
one, not matching the VM hostname and so the job fails because of unreachable 
host. 
So I'm trying substituting 
/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
 

from 
return { 
'id': [ http://vm.id/ | vm.id ] , 
'name': [ http://vm.name/ | vm.name ] , 
... 
'devices': dict( 
( [ http://device.name/ | device.name ] , [ip.address for ip in device.ips]) 
for device in devices if device.ips 
), 
'ansible_host': next((device.ips[0].address for device in devices if 
device.ips), None) 
} 

to: 
return { 
'id': [ http://vm.id/ | vm.id ] , 
'name': [ http://vm.name/ | vm.name ] , 
... 
'devices': dict( 
( [ http://device.name/ | device.name ] , [ip.address for ip in device.ips]) 
for device in devices if device.ips 
), 
'ansible_host': vm.fqdn 
} 

If I do this with my test tmp file I see that comparing output of command 

(py36) bash-4.4# ./ovirt4.py 

I have a new value for ansible_host, matching the fqdn of the VM 
But going into awx, the job continues to fail and also if I go to inventory -> 
sources and sync, even if I check all the "update options": 
OVERWRITE 
OVERWRITE VARIABLES 
UPDATE ON LAUNCH 

Still the vm contains ansible_host with the old value, matching the second 
interface and not the fqdn... 

Any suggestion? 

Gianluca 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PIMIW6HDLQ5FBTGVWW6MIKJYLXAPI5QN/


[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-12-13 Thread Nathanaël Blanchet
Okay I got it! 
container version is slightly different from awx-rpm. All happen in awx_web 
container. You must use persistent volume so as to use venv and project data 
over ephemeral container. 
You must use python 3 with ansible 2.9.x 
cd installer && vi inventory 
custom_venv_dir = /opt/my-envs 
project_data_dir = /var/lib/awx/projects 

you can run installer 
ansible-playbook -i inventory install.yml 

check mounts 
docker inspect -f "{{ .Mounts }}" awx_web 
[{bind /opt/my-envs /opt/my-envs rw true rprivate} {bind /var/lib/awx/projects 
/var/lib/awx/projects rw true rprivate}] 

Right from now, you modify the container itself, becareful data are not 
persistent along container lifecycle, so what follows is for POC. You should 
build your own container image with this wanted parameters. 
yum install -y make gcc redhat-rpm-config python3-devel libcurl-devel 
libxml2-devel 
source /opt/my-envs/py36/bin/activate 
pip install psutil 
export PYCURL_SSL_LIBRARY = openssl ; pip install pycurl --compile 
--no-cache-dir 
pip install ansible ovirt-engine-sdk-python centreonapi dnspython 

select the py36 venv into the source to sync and it should work 

De: "Gianluca Cecchi"  
À: "Guillaume Pavese"  
Cc: "Nathanaël Blanchet" , "users"  
Envoyé: Vendredi 6 Décembre 2019 13:40:45 
Objet: Re: [ovirt-users] Re: AWX and error using ovirt as an inventory source 

Actually it seems I was using the wrong container... so explaining why I got 
the not found error about /opt/my-envs/ovirt/lib ... ;-) 

I was working on ansible/awx_web:9.0.1 container, while it seems I have to work 
ansible/awx_task:9.0.1 

After doing same steps on this container I get now this kind of error at the 
end while using apparently the correct virtualenv: 

2.429 INFO Updating inventory 4: MYDC_OVIRT 
3.257 DEBUG Using base command: python /opt/my-envs/ovirt/bin/ansible-inventory 
-i 
/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
 --playbook-dir 
/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/plugins/inventory 
-v 
3.257 INFO Reading Ansible inventory source: 
/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
 
3.259 INFO Using VIRTUAL_ENV: /opt/my-envs/ovirt/ 
3.260 INFO Using PATH: 
/opt/my-envs/ovirt/bin:/var/lib/awx/venv/awx/bin:/var/lib/awx/venv/awx/bin:/var/lib/awx/venv/awx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 
3.260 INFO Using PYTHONPATH: /opt/my-envs/ovirt/lib/python2.7/site-packages: 
Traceback (most recent call last): 
File "/var/lib/awx/venv/awx/bin/awx-manage", line 11, in  
load_entry_point('awx==9.0.1.0', 'console_scripts', 'awx-manage')() 
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/__init__.py", 
line 158, in manage 
execute_from_command_line(sys.argv) 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py",
 line 381, in execute_from_command_line 
utility.execute() 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py",
 line 375, in execute 
self.fetch_command(subcommand).run_from_argv(self.argv) 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py",
 line 323, in run_from_argv 
self.execute(*args, **cmd_options) 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py",
 line 364, in execute 
output = self.handle(*args, **options) 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py",
 line 1153, in handle 
raise exc 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py",
 line 1043, in handle 
venv_path=venv_path, verbosity=self.verbosity).load() 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py",
 line 214, in load 
return self.command_to_json(base_args + ['--list']) 
File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py",
 line 197, in command_to_json 
self.method, proc.returncode, stdout, stderr)) 
RuntimeError: ansible-inventory failed (rc=1) with stdout: 
stderr: 
ansible-inventory 2.9.2 
config file = /etc/ansible/ansible.cfg 
configured module search path = [u'/var/lib/awx/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules'] 
ansible python module location = 
/opt/my-envs/ovirt/lib/python2.7/site-packages/ansible 
executable location = /opt/my-envs/ovirt/bin/ansible-inventory 
python version = 2.7.15 (default, Oct 8 2019, 21:08:29) [GCC 8.2.1 20180905 
(Red Hat 8.2.1-3)] 
Using /etc/ansible/ansible.cfg as config file 
setting up inventory plugins 
[WARNING]: * Failed to parse /var/lib/awx/venv/awx/lib64/python3.6/site- 
packages/awx/plugins/inve

[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-12-03 Thread Nathanaël Blanchet
Great, I hope Gianluca will be able to sync with the container version! 


De: "Guillaume Pavese"  
À: "Nathanaël Blanchet"  
Cc: "Gianluca Cecchi" , "users"  
Envoyé: Mardi 3 Décembre 2019 04:07:53 
Objet: Re: [ovirt-users] Re: AWX and error using ovirt as an inventory source 

My problem was that I did not fully follow your directions, and had not pip 
installed ovirt-engine-sdk-python in the virtualenv. 
Inventory is syncing now in awx. 

Thanks for the help! 


Guillaume Pavese 
Ingénieur Système et Réseau 
Interactiv-Group 


On Fri, Nov 29, 2019 at 8:07 PM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 





try if you can get a result with plain ovirt4.py execution: 

cd /tmp 


rsync -av 
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
 . 

cat ovirt.ini 
[ovirt] 
ovirt_url = [ https://engine_fqdn/ovirt-engine/api | 
https://engine_fqdn/ovirt-engine/api ] 
ovirt_username = admin@internal 
ovirt_password = passwd 

./ovirt4.py 



Le 29/11/2019 à 09:57, Guillaume Pavese a écrit : 

BQ_BEGIN

Hi, 

I use awx rpm from awx.wiki and followed your directions to create a python2 
venv with ansible 2.9.1 and built pycurl with nss, however syncing the 
inventory still fails : 

stderr: 
ansible-inventory 2.9.1 
config file = None 
configured module search path = [u'/var/lib/awx/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules'] 
ansible python module location = 
/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible 
executable location = /var/lib/awx/venv/ovirt-p2/bin/ansible-inventory 
python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red 
Hat 4.8.5-39)] 
No config file found; using defaults 
setting up inventory plugins 
[WARNING]: * Failed to parse /opt/rh/rh-python36/root/usr/lib/python3.6/site- 
packages/awx/plugins/inventory/ovirt4.py with script plugin: Inventory script 
(/opt/rh/rh-python36/root/usr/lib/python3.6/site- 
packages/awx/plugins/inventory/ovirt4.py) had an execution error: 

File 
"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/inventory/manager.py",
 line 280, in parse_source 
plugin.parse(self._inventory, self._loader, source, cache=cache) 
File 
"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/plugins/inventory/script.py",
 line 161, in parse 
raise AnsibleParserError(to_native(e)) 

[WARNING]: Unable to parse /opt/rh/rh-python36/root/usr/lib/python3.6/site- 
packages/awx/plugins/inventory/ovirt4.py as an inventory source 

Guillaume Pavese 
Ingénieur Système et Réseau 
Interactiv-Group 


On Fri, Nov 29, 2019 at 4:51 AM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 

BQ_BEGIN

give a try to [ https://awx.wiki/ | https://awx.wiki/ ] based on rpms and not 
docker if you want to test this feature, it rocks. 


De: "Gianluca Cecchi" < [ mailto:gianluca.cec...@gmail.com | 
gianluca.cec...@gmail.com ] > 
À: "Nathanaël Blanchet" < [ mailto:blanc...@abes.fr | blanc...@abes.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 28 Novembre 2019 19:17:12 
Objet: Re: [ovirt-users] AWX and error using ovirt as an inventory source 

On Thu, Nov 28, 2019 at 5:33 PM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 

BQ_BEGIN




Le 28/11/2019 à 17:15, Gianluca Cecchi a écrit : 

BQ_BEGIN

On Thu, Nov 28, 2019 at 4:59 PM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 

BQ_BEGIN



Hello gianluca, 

I reported this issue a long time ago (march of 19) in an unofficial rpm awx 
project 


[ https://github.com/MrMEEE/awx-build/issues/72 | 
https://github.com/MrMEEE/awx-build/issues/72 ] 




But I see that it is marked as closed 

BQ_END
It's marked as closed for the unofficial RPM project only, not with the regular 
container deployment. 

BQ_BEGIN


BQ_BEGIN



All related RHV/ovirt stuff (not only dynamic inventory, but all ovirt* ansible 
module) fail because of the version of pycurl (worked before 7.19) 

BQ_END

You mean inside awx container, correct? 
See below my comments, as I know almost nothing about venv concepts... sorry 

BQ_BEGIN



What you need to do is create a py2.x venv then recompile latest pycurl with 
nss support like this: 

* # /opt/rh/rh-python36/root/usr/bin/awx-create-venv (-e 
/var/lib/awx/venv/) -n ovirt 

BQ_END

I have to run this inside awx container as user root? Can you explain the 
syntax? I get error because of the parenthesis... 

BQ_END


sure inside the container, parenthesis are the default parameters so you can 
use an other path: 

/opt/rh/rh-python36/root/usr/bin/awx-create-venv -n ovirt -p 2 

BQ_BEGIN



BQ_END


BQ_END

In my awx container I don't have 
/opt/rh/rh-python36/root/usr/bin/awx-create-venv and don't have awx-create-venv 
at all in

[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-11-29 Thread Nathanaël Blanchet

try if you can get a result with plain ovirt4.py execution:

cd /tmp

rsync -av 
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py 
.


cat ovirt.ini
[ovirt]
ovirt_url = https://engine_fqdn/ovirt-engine/api
ovirt_username = admin@internal
ovirt_password = passwd

./ovirt4.py


Le 29/11/2019 à 09:57, Guillaume Pavese a écrit :

Hi,

I use awx rpm from awx.wiki and followed your directions to create a 
python2 venv with ansible 2.9.1 and built pycurl with nss, however 
syncing the inventory still fails :


stderr:
ansible-inventory 2.9.1
  config file = None
  configured module search path = 
[u'/var/lib/awx/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules']
  ansible python module location = 
/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible

  executable location = /var/lib/awx/venv/ovirt-p2/bin/ansible-inventory
  python version = 2.7.5 (default, Aug  7 2019, 00:51:29) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-39)]

No config file found; using defaults
setting up inventory plugins
[WARNING]:  * Failed to parse 
/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py with script plugin: Inventory 
script

(/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py) had an execution error:

  File 
"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/inventory/manager.py", 
line 280, in parse_source

    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File 
"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/plugins/inventory/script.py", 
line 161, in parse

    raise AnsibleParserError(to_native(e))

[WARNING]: Unable to parse 
/opt/rh/rh-python36/root/usr/lib/python3.6/site-

packages/awx/plugins/inventory/ovirt4.py as an inventory source

Guillaume Pavese
IngénieurSystèmeet Réseau
Interactiv-Group


On Fri, Nov 29, 2019 at 4:51 AM Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


give a try to https://awx.wiki/ based on rpms and not docker if
you want to test this feature, it rocks.


*De: *"Gianluca Cecchi" mailto:gianluca.cec...@gmail.com>>
*À: *"Nathanaël Blanchet" mailto:blanc...@abes.fr>>
*Cc: *"users" mailto:users@ovirt.org>>
*Envoyé: *Jeudi 28 Novembre 2019 19:17:12
*Objet: *Re: [ovirt-users] AWX and error using ovirt as an
inventory source

On Thu, Nov 28, 2019 at 5:33 PM Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 28/11/2019 à 17:15, Gianluca Cecchi a écrit :

On Thu, Nov 28, 2019 at 4:59 PM Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

Hello gianluca,

I reported this issue a long time ago (march of 19) in
an unofficial rpm awx project

https://github.com/MrMEEE/awx-build/issues/72


But I see that it is marked as closed

It's marked as closed for the unofficial RPM project only, not
with the regular container deployment.

All related RHV/ovirt stuff (not only dynamic
inventory, but all ovirt* ansible module) fail because
of the version of pycurl (worked before 7.19)

You mean inside awx container, correct?
See below my comments, as I know almost nothing about venv
concepts... sorry

What you need to do is create a py2.x venv then
recompile latest pycurl with nss support like this:

  * # /opt/rh/rh-python36/root/usr/bin/awx-create-venv
(-e /var/lib/awx/venv/) -n ovirt

I have to run this inside awx container as user root? Can
you explain the syntax? I get error because of the
parenthesis...

sure inside the container, parenthesis are the default
parameters so you can use an other path:

/opt/rh/rh-python36/root/usr/bin/awx-create-venv -n ovirt -p 2


In my awx container I don't
have  /opt/rh/rh-python36/root/usr/bin/awx-create-venv and don't
have awx-create-venv at all in any path.
Not in container based on image ansible/awx_task:9.0.1 nor in
container based on image ansible/awx_web:9.0.1

Gianluca

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/4MSEW7LVC4QOTANHO7ZVTBSJ7V2DQP4U/


Ce message et toutes les pièces jointes (ci-aprè

[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-11-28 Thread Nathanaël Blanchet
give a try to [ https://awx.wiki/ | https://awx.wiki/ ] based on rpms and not 
docker if you want to test this feature, it rocks. 


De: "Gianluca Cecchi"  
À: "Nathanaël Blanchet"  
Cc: "users"  
Envoyé: Jeudi 28 Novembre 2019 19:17:12 
Objet: Re: [ovirt-users] AWX and error using ovirt as an inventory source 

On Thu, Nov 28, 2019 at 5:33 PM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 






Le 28/11/2019 à 17:15, Gianluca Cecchi a écrit : 

BQ_BEGIN

On Thu, Nov 28, 2019 at 4:59 PM Nathanaël Blanchet < [ mailto:blanc...@abes.fr 
| blanc...@abes.fr ] > wrote: 

BQ_BEGIN



Hello gianluca, 

I reported this issue a long time ago (march of 19) in an unofficial rpm awx 
project 


[ https://github.com/MrMEEE/awx-build/issues/72 | 
https://github.com/MrMEEE/awx-build/issues/72 ] 




But I see that it is marked as closed 

BQ_END
It's marked as closed for the unofficial RPM project only, not with the regular 
container deployment. 

BQ_BEGIN


BQ_BEGIN



All related RHV/ovirt stuff (not only dynamic inventory, but all ovirt* ansible 
module) fail because of the version of pycurl (worked before 7.19) 

BQ_END

You mean inside awx container, correct? 
See below my comments, as I know almost nothing about venv concepts... sorry 

BQ_BEGIN



What you need to do is create a py2.x venv then recompile latest pycurl with 
nss support like this: 

* # /opt/rh/rh-python36/root/usr/bin/awx-create-venv (-e 
/var/lib/awx/venv/) -n ovirt 

BQ_END

I have to run this inside awx container as user root? Can you explain the 
syntax? I get error because of the parenthesis... 

BQ_END


sure inside the container, parenthesis are the default parameters so you can 
use an other path: 

/opt/rh/rh-python36/root/usr/bin/awx-create-venv -n ovirt -p 2 

BQ_BEGIN



BQ_END


BQ_END

In my awx container I don't have 
/opt/rh/rh-python36/root/usr/bin/awx-create-venv and don't have awx-create-venv 
at all in any path. 
Not in container based on image ansible/awx_task:9.0.1 nor in container based 
on image ansible/awx_web:9.0.1 

Gianluca 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4MSEW7LVC4QOTANHO7ZVTBSJ7V2DQP4U/


[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-11-28 Thread Nathanaël Blanchet


Le 28/11/2019 à 17:15, Gianluca Cecchi a écrit :
On Thu, Nov 28, 2019 at 4:59 PM Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


Hello gianluca,

I reported this issue a long time ago (march of 19) in an
unofficial rpm awx project

https://github.com/MrMEEE/awx-build/issues/72


But I see that it is marked as closed
It's marked as closed for the unofficial RPM project only, not with the 
regular container deployment.


All related RHV/ovirt stuff (not only dynamic inventory, but all
ovirt* ansible module) fail because of the version of pycurl
(worked before 7.19)

You mean inside awx container, correct?
See below my comments, as I know almost nothing about venv concepts... 
sorry


What you need to do is create a py2.x venv then recompile latest
pycurl with nss support like this:

  * # /opt/rh/rh-python36/root/usr/bin/awx-create-venv (-e
/var/lib/awx/venv/) -n ovirt

I have to run this inside awx container as user root? Can you explain 
the syntax? I get error because of the parenthesis...


sure inside the container, parenthesis are the default parameters so you 
can use an other path:


/opt/rh/rh-python36/root/usr/bin/awx-create-venv -n ovirt -p 2


  * source /var/lib/awx/venv/ovirt/bin/activate

as root correct? and I should source the just created venv, correct?

yes


  * # (ovirt) export PYCURL_SSL_LIBRARY=nss; pip install pycurl
--compile --no-cache-dir

I presume (ovirt) is a sort of prompt of the venv

yes
Will the settings preserved across reboot of the server hosting the 
container?

the setting is inside the container


  * choose this venv instead of the regular in your inventory page
and you'll be able to sync

I don't see in awx an option to specify a venv or another...


You may need to create a second venv so as the drop down menu to be present.



PS: Something else that may help, try to hack the ovirt4.py with
ansible_host if you want to call the hosts into playbook by the
hostname and not the first IP:

vi

/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py

'affinity_labels': [label.name <http://label.name> forlabelinlabels],
## ajout NBT pour obtenir le nom de l'hote a la place de l ip
'ansible_host': vm.name <http://vm.name>,
'affinity_groups': [


I will investigate, thanks.
Gianluca


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/THLWR2HQWZJAM336DTN6MLKBO26ZEJKZ/


[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-11-28 Thread Nathanaël Blanchet


Le 28/11/2019 à 16:59, Nathanaël Blanchet a écrit :


Hello gianluca,

I reported this issue a long time ago (march of 19) in an unofficial 
rpm awx project


https://github.com/MrMEEE/awx-build/issues/72

All related RHV/ovirt stuff (not only dynamic inventory, but all 
ovirt* ansible module) fail because of the version of pycurl (worked 
before 7.19)


What you need to do is create a py2.x venv then recompile latest 
pycurl with nss support like this:


  * # /opt/rh/rh-python36/root/usr/bin/awx-create-venv (-e
/var/lib/awx/venv/) -n ovirt


I forgot to precise python2 (some ovirt ansible module fail with py3)

# /opt/rh/rh-python36/root/usr/bin/awx-create-venv (-e 
/var/lib/awx/venv/) -n ovirt -p 2


  * source /var/lib/awx/venv/ovirt/bin/activate
  * # (ovirt) export PYCURL_SSL_LIBRARY=nss; pip install pycurl
--compile --no-cache-dir


 * # (ovirt) pip install ovirt-engine-sdk-python ansible psutil
   python-memcached


  * choose this venv instead of the regular in your inventory page and
you'll be able to sync

PS: Something else that may help, try to hack the ovirt4.py with 
ansible_host if you want to call the hosts into playbook by the 
hostname and not the first IP:


vi 
/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py


'affinity_labels': [label.name forlabelinlabels],
## ajout NBT pour obtenir le nom de l'hote a la place de l ip
'ansible_host': vm.name,
'affinity_groups': [


Le 28/11/2019 à 15:51, Gianluca Cecchi a écrit :

Hello,
I have awx 9.0.1 and ansible 2.8.5 in container of a CentOS 7.7 server.
I'm trying to use oVirt 4.3.6.7-1.el7 as a source of an inventory in 
awx but I get error when syncing


Find at bottom below the error messages.
I see that in recent past (around June this year) there were some 
problems, but they should be solved now, correct?
There was also a problem in syncing when some powered off VMs were 
present in oVirt env, but I think this solved too, correct?


Any way to replicate / test from command line of awx container?
I try some things but in command line I always get error regarding

oVirt inventory script requires ovirt-engine-sdk-python >= 4.0.0

that I think depends on not using correct command line and/or not 
setting needed env.


Thanks in advance,
Gianluca

    2.536 INFO     Updating inventory 4: MYDC_OVIRT
    3.011 INFO     Reading Ansible inventory source: 
/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/plugins/inventory/ovirt4.py

    3.013 INFO     Using VIRTUAL_ENV: /var/lib/awx/venv/ansible
    3.013 INFO     Using PATH: 
/var/lib/awx/venv/ansible/bin:/var/lib/awx/venv/awx/bin:/var/lib/awx/venv/awx/bin:/var/lib/awx/venv/awx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    3.013 INFO     Using PYTHONPATH: 
/var/lib/awx/venv/ansible/lib/python3.6/site-packages:

Traceback (most recent call last):
  File "/var/lib/awx/venv/awx/bin/awx-manage", line 11, in 
    load_entry_point('awx==9.0.1.0', 'console_scripts', 'awx-manage')()
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/__init__.py", 
line 158, in manage

    execute_from_command_line(sys.argv)
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py", 
line 381, in execute_from_command_line

    utility.execute()
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py", 
line 375, in execute

    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", 
line 323, in run_from_argv

    self.execute(*args, **cmd_options)
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", 
line 364, in execute

    output = self.handle(*args, **options)
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", 
line 1153, in handle

    raise exc
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", 
line 1043, in handle

    venv_path=venv_path, verbosity=self.verbosity).load()
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", 
line 214, in load

    return self.command_to_json(base_args + ['--list'])
  File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", 
line 197, in command_to_json

    self.method, proc.returncode, stdout, stderr))
RuntimeError: ansible-inventory failed (rc=1) with stdout:
stderr:
ansible-inventory 2.8.5
  config file = /etc/ansible/ansible.cfg
  configured module search path = 
['/var/lib/awx/.ansible/plugins/modules', 
'/usr/share/ansible/plugins/modules']
  ansible python module location = 
/usr/lib/python3.6/site-packages/ansible

  executable loc

[ovirt-users] Re: AWX and error using ovirt as an inventory source

2019-11-28 Thread Nathanaël Blanchet
nventory 
script

(/var/lib/awx/venv/awx/lib64/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py) had an execution error:

  File 
"/usr/lib/python3.6/site-packages/ansible/inventory/manager.py", line 
268, in parse_source

    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File 
"/usr/lib/python3.6/site-packages/ansible/plugins/inventory/script.py", 
line 161, in parse

    raise AnsibleParserError(to_native(e))

 [WARNING]: Unable to parse /var/lib/awx/venv/awx/lib64/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py as an inventory source

ERROR! No inventory was parsed, please check your configuration and 
options.




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DGTCAAC5DZHSKGO5YTLMJSOQO3HUCMDC/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AZTRIDK4UX6C2T2CW5HL5G3DFRX4Z7EX/


[ovirt-users] Re: terraform integration

2019-11-21 Thread Nathanaël Blanchet


Le 21/11/2019 à 13:57, Roy Golan a écrit :



On Thu, 21 Nov 2019 at 08:48, Roy Golan <mailto:rgo...@redhat.com>> wrote:




On Wed, 20 Nov 2019 at 09:49, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:


Le 19/11/2019 à 19:23, Nathanaël Blanchet a écrit :



Le 19/11/2019 à 13:43, Roy Golan a écrit :



On Tue, 19 Nov 2019 at 14:34, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

Le 19/11/2019 à 08:55, Roy Golan a écrit :

oc get -o json clusterversion


This is the output of the previous failed deployment,
I'll give a try to a newer one when I'll have a minute
to test


Without changing nothing with template,  I gave a new try
and... nothing works anymore now, none of provided IPs can be
pingued : dial tcp 10.34.212.51:6443
<http://10.34.212.51:6443>: connect: no route to host", so
none of masters can be provisonned by bootstrap.

I tried with the latest rhcos and latest ovirt 4.3.7, it is
the same. Obviously something changed since my first attempt
12 days ago... is your docker image for openshift-installer
up to date?

Are you still able to your side to deploy a valid cluster ?


I investigated looking at bootstrap logs (attached) and it
seems that every containers die immediately after been started.

Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.60107571 + UTC m=+0.794838407 container init
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.623197173 + UTC m=+0.816959853 container start
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:33 localhost podman[2024]: 2019-11-20
07:02:33.623814258 + UTC m=+0.817576965 container attach
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:34 localhost systemd[1]:

libpod-446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603.scope:
Consumed 814ms CPU time
Nov 20 07:02:34 localhost podman[2024]: 2019-11-20
07:02:34.100569998 + UTC m=+1.294332779 container died
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)
Nov 20 07:02:35 localhost podman[2024]: 2019-11-20
07:02:35.138523102 + UTC m=+2.332285844 container remove
446dc9b7a04ff3ff4bbcfa6750e3946c084741b39707eb088c9d7ae648e35603
(image=registry.svc.ci.openshift.org/origin/release:4.3
<http://registry.svc.ci.openshift.org/origin/release:4.3>,
name=eager_cannon)

and this:

Nov 20 07:04:16 localhost hyperkube[1909]: E1120
07:04:16.489527    1909 remote_runtime.go:200] CreateContainer
in sandbox
"58f2062aa7b6a5b2bdd6b9cf7b41a9f94ca2b30ad5a20e4fa4dec8a9b82f05e5"
from runtime service failed: rpc error: code = Unknown desc =
container create failed: container_linux.go:345: starting
container process caused "exec: \"runtimecfg\": executable
file not found in $PATH"
Nov 20 07:04:16 localhost hyperkube[1909]: E1120
07:04:16.489714    1909 kuberuntime_manager.go:783] init
container start failed: CreateContainerError: container create
failed: container_linux.go:345: starting container process
caused "exec: \"runtimecfg\": executable file not found in $PATH"

What do you think about this?


I'm seeing the same now, checking...


Because of the move upstream to release OKD the release-image that 
comes with the installer I gave you are no longer valid.


I need to prepare an installer version with the preview of OKD, you 
can find the details here 
https://mobile.twitter.com/smarterclayton/status/1196477646885965824
Seems that okd4 
https://github.com/openshift/okd/releases/download/4.3.0-0.okd-2019-11-15-182656/openshift-install-linux-4.3.0-0.okd-2019-11-15-182656.tar.gz 
is a compiled binary without the ovirt installer. Can you tell where are 
sources so as to include ovirt extensions into the installer build?





   

[ovirt-users] Re: terraform integration

2019-11-19 Thread Nathanaël Blanchet


Le 19/11/2019 à 13:43, Roy Golan a écrit :



On Tue, 19 Nov 2019 at 14:34, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


Le 19/11/2019 à 08:55, Roy Golan a écrit :

oc get -o json clusterversion


This is the output of the previous failed deployment, I'll give a
try to a newer one when I'll have a minute to test

Without changing nothing with template,  I gave a new try and... nothing 
works anymore now, none of provided IPs can be pingued : dial tcp 
10.34.212.51:6443: connect: no route to host", so none of masters can be 
provisonned by bootstrap.


I tried with the latest rhcos and latest ovirt 4.3.7, it is the same. 
Obviously something changed since my first attempt 12 days ago... is 
your docker image for openshift-installer up to date?


Are you still able to your side to deploy a valid cluster ?


(do I need to use the terraform-workers tag instead of latest?)

docker pullquay.io/rgolangh/openshift-installer:terraform-workers  
<http://quay.io/rgolangh/openshift-installer:terraform-workers>


[root@openshift-installer
openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit]# ./oc
get -o json clusterversion
{
    "apiVersion": "v1",
    "items": [
    {
    "apiVersion": "config.openshift.io/v1
<http://config.openshift.io/v1>",
    "kind": "ClusterVersion",
    "metadata": {
    "creationTimestamp": "2019-11-07T12:23:06Z",
    "generation": 1,
    "name": "version",
    "namespace": "",
    "resourceVersion": "3770202",
    "selfLink":
"/apis/config.openshift.io/v1/clusterversions/version
<http://config.openshift.io/v1/clusterversions/version>",
    "uid": "77600bba-6e71-4b35-a60b-d8ee6e0f545c"
    },
    "spec": {
    "channel": "stable-4.3",
    "clusterID": "6f87b719-e563-4c0b-ab5a-1144172bc983",
    "upstream":
"https://api.openshift.com/api/upgrades_info/v1/graph;
<https://api.openshift.com/api/upgrades_info/v1/graph>
    },
    "status": {
    "availableUpdates": null,
    "conditions": [
    {
    "lastTransitionTime": "2019-11-07T12:23:12Z",
    "status": "False",
    "type": "Available"
    },
    {script
    "lastTransitionTime": "2019-11-07T12:56:15Z",
    "message": "Cluster operator
image-registry is still updating",
    "reason": "ClusterOperatorNotAvailable",
    "status": "True",
    "type": "Failing"
    },
    {
    "lastTransitionTime": "2019-11-07T12:23:12Z",
    "message": "Unable to apply
4.3.0-0.okd-2019-10-29-180250: the cluster operator image-registry
has not yet successfully rolled out",
    "reason": "ClusterOperatorNotAvailable",
    "status": "True",
    "type": "Progressing"
    },
    {
    "lastTransitionTime": "2019-11-07T12:23:12Z",
    "message": "Unable to retrieve available
updates: currently installed version 4.3.0-0.okd-2019-10-29-180250
not found in the \"stable-4.3\" channel",
    "reason": "RemoteFailed",
    "status": "False",
    "type": "RetrievedUpdates"
    }
    ],
    "desired": {
    "force": false,
    "image":

"registry.svc.ci.openshift.org/origin/release@sha256:68286e07f7d68ebc8a067389aabf38dee9f9b810c5520d6ee4593c38eb48ddc9

<http://registry.svc.ci.openshift.org/origin/release@sha256:68286e07f7d68ebc8a067389aabf38dee9f9b810c5520d6ee4593c38eb48ddc9>&q

[ovirt-users] Re: terraform integration

2019-11-19 Thread Nathanaël Blanchet

Le 19/11/2019 à 08:55, Roy Golan a écrit :

oc get -o json clusterversion


This is the output of the previous failed deployment, I'll give a try to 
a newer one when I'll have a minute to test


(do I need to use the terraform-workers tag instead of latest?)

docker pull quay.io/rgolangh/openshift-installer:terraform-workers


[root@openshift-installer 
openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit]# ./oc get -o 
json clusterversion

{
    "apiVersion": "v1",
    "items": [
    {
    "apiVersion": "config.openshift.io/v1",
    "kind": "ClusterVersion",
    "metadata": {
    "creationTimestamp": "2019-11-07T12:23:06Z",
    "generation": 1,
    "name": "version",
    "namespace": "",
    "resourceVersion": "3770202",
    "selfLink": 
"/apis/config.openshift.io/v1/clusterversions/version",

    "uid": "77600bba-6e71-4b35-a60b-d8ee6e0f545c"
    },
    "spec": {
    "channel": "stable-4.3",
    "clusterID": "6f87b719-e563-4c0b-ab5a-1144172bc983",
    "upstream": 
"https://api.openshift.com/api/upgrades_info/v1/graph;

    },
    "status": {
    "availableUpdates": null,
    "conditions": [
    {
    "lastTransitionTime": "2019-11-07T12:23:12Z",
    "status": "False",
    "type": "Available"
    },
    {
    "lastTransitionTime": "2019-11-07T12:56:15Z",
    "message": "Cluster operator image-registry is 
still updating",

    "reason": "ClusterOperatorNotAvailable",
    "status": "True",
    "type": "Failing"
    },
    {
    "lastTransitionTime": "2019-11-07T12:23:12Z",
    "message": "Unable to apply 
4.3.0-0.okd-2019-10-29-180250: the cluster operator image-registry has 
not yet successfully rolled out",

    "reason": "ClusterOperatorNotAvailable",
    "status": "True",
    "type": "Progressing"
    },
    {
    "lastTransitionTime": "2019-11-07T12:23:12Z",
    "message": "Unable to retrieve available 
updates: currently installed version 4.3.0-0.okd-2019-10-29-180250 not 
found in the \"stable-4.3\" channel",

    "reason": "RemoteFailed",
    "status": "False",
    "type": "RetrievedUpdates"
    }
    ],
    "desired": {
    "force": false,
    "image": 
"registry.svc.ci.openshift.org/origin/release@sha256:68286e07f7d68ebc8a067389aabf38dee9f9b810c5520d6ee4593c38eb48ddc9",

    "version": "4.3.0-0.okd-2019-10-29-180250"
    },
    "history": [
    {
    "completionTime": null,
    "image": 
"registry.svc.ci.openshift.org/origin/release@sha256:68286e07f7d68ebc8a067389aabf38dee9f9b810c5520d6ee4593c38eb48ddc9",

    "startedTime": "2019-11-07T12:23:12Z",
    "state": "Partial",
    "verified": false,
    "version": "4.3.0-0.okd-2019-10-29-180250"
    }
    ],
    "observedGeneration": 1,
    "versionHash": "-3onP9QpPTg="
    }
    }
    ],
    "kind": "List",
    "metadata": {
    "resourceVersion": "",
    "selfLink": ""
    }

}


Can you answer to these few questions please?

 * The latest stable OKD version is 4.2.4. Is it possible to chose the
   version of okd when deploying (seems to use 4.3) or does the
   installer always download the latest OKD?
 * Can we use FCOS instead of RHCOS?
 * About the pull secret, do we absolutely need a redhat login to get
   this file to deploy an upstream OKD cluster and not downstream
   openshift?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GN6N42RLIAW6T5KQVBILE5FWMMV4IDGJ/


[ovirt-users] Re: terraform integration

2019-11-12 Thread Nathanaël Blanchet

Le 08/11/2019 à 11:20, Nathanaël Blanchet a écrit :




That should have been solved by
https://github.com/openshift/cluster-image-registry-operator/pull/406


nothing helped me, what am I supposed to do now for getting a working 
cluster?


thank you

Is it merged? What should I do now, waiting for new release? I can't 
test installation further until this is not fixed.


It seems to be a storage backend issue for the registry container.

I noticed the openshift version is 4.3, is it possible to install a 
previous stable one?


Does it mean all other openshift-installer providers are concerned by 
this bug?




Can you share `oc describe co/image-registry` ?



I finally manged to connect to the cluster:

./oc describe co/image-registry

Name: image-registry
Namespace:
Labels:   
Annotations:  
API Version:  config.openshift.io/v1
Kind: ClusterOperator
Metadata:
  Creation Timestamp:  2019-11-07T12:33:15Z
  Generation:  1
  Resource Version:    10637
  Self Link: /apis/config.openshift.io/v1/clusteroperators/image-registry
  UID: 28c491ad-7e89-4269-a6e3-8751085e7653
Spec:
Status:
  Conditions:
    Last Transition Time:  2019-11-07T12:31:52Z
    Message:   storage backend not configured
    Reason:    StorageNotConfigured
    Status:    False
    Type:  Available
    Last Transition Time:  2019-11-07T12:31:52Z
    Message:   Unable to apply resources: storage backend 
not configured

    Reason:    Error
    Status:    False
    Type:  Progressing
    Last Transition Time:  2019-11-07T12:31:52Z
    Message:   storage backend not configured
    Reason:    StorageNotConfigured
    Status:    True
    Type:  Degraded
  Extension:   
  Related Objects:
    Group: imageregistry.operator.openshift.io
    Name:  cluster
    Resource:  configs
    Group:
    Name:  openshift-image-registry
    Resource:  namespaces
Events:    


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/44PY6O4RY364BRFYHBQD7QXJBD6Q3MQV/


[ovirt-users] Re: terraform integration

2019-11-07 Thread Nathanaël Blanchet


Le 07/11/2019 à 11:16, Roy Golan a écrit :



On Thu, 7 Nov 2019 at 11:23, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:



Le 07/11/2019 à 07:18, Roy Golan a écrit :



On Thu, 7 Nov 2019 at 00:10, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 21:50, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 22:46, Roy Golan mailto:rgo...@redhat.com>> wrote:



On Tue, 5 Nov 2019 at 20:28, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 18:22, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 13:54, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 14:52, Nathanaël
Blanchet mailto:blanc...@abes.fr>> wrote:

I tried openshift-install after compiling
but no ovirt provider is available... So
waht do you mean when you say "give a
try"? Maybe only provisionning ovirt with
the terraform module?

[root@vm5 installer]#
bin/openshift-install create cluster
? Platform [Use arrows to move, space to
select, type to filter, ? for more help]
> aws
  azure
  gcp
  openstack


Its not merged yet. Please pull this image and
work with it as a container
quay.io/rgolangh/openshift-installer
<http://quay.io/rgolangh/openshift-installer>


A little feedback as you asked:

[root@openshift-installer ~]# docker run -it
56e5b667100f create cluster
? Platform ovirt
? Enter oVirt's api endpoint URL
https://air-dev.v100.abes.fr/ovirt-engine/api
? Enter ovirt-engine username admin@internal
? Enter password **
? Pick the oVirt cluster Default
? Pick a VM template centos7.x
? Enter the internal API Virtual IP 10.34.212.200
? Enter the internal DNS Virtual IP 10.34.212.100
? Enter the ingress IP  10.34.212.50
? Base Domain oc4.localdomain
? Cluster Name test
? Pull Secret [? for help]
*
INFO Creating infrastructure resources...
INFO Waiting up to 30m0s for the Kubernetes API
at https://api.test.oc4.localdomain:6443...
ERROR Attempted to gather ClusterOperator
status after installation failure: listing
ClusterOperator objects: Get

https://api.test.oc4.localdomain:6443/apis/config.openshift.io/v1/clusteroperators:
dial tcp: lookup api.test.oc4.localdomain on
10.34.212.100:53 <http://10.34.212.100:53>: no
such host
INFO Pulling debug logs from the bootstrap machine
ERROR Attempted to gather debug logs after
installation failure: failed to create SSH
client, ensure the proper ssh key is in your
keyring or specify with --key: failed to
initialize the SSH agent: failed to read
directory "/output/.ssh": open /output/.ssh: no
such file or directory
FATAL Bootstrap failed to complete: waiting for
Kubernetes API: context deadline exceeded

  * 6 vms are successfully created thin
dependent from the template

  * each vm is provisionned by cloud-init
  * the step "INFO Waiting up to 30m0s for the
Kubernetes API at
https://api.test.oc4.localdomain:6443...;
fails. It seems that the DNS pod is not up
at this time.
  * Right this moment, there is no more
visibility on what is done, what goes
wrong... what's happening there? supposing
a kind of playbook downloading a kind of
images...
  * The" pull secret step" is not clear: we
must have a redhat account to

[ovirt-users] Re: terraform integration

2019-11-07 Thread Nathanaël Blanchet


Le 07/11/2019 à 07:18, Roy Golan a écrit :



On Thu, 7 Nov 2019 at 00:10, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:



Le 05/11/2019 à 21:50, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 22:46, Roy Golan mailto:rgo...@redhat.com>> wrote:



On Tue, 5 Nov 2019 at 20:28, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 18:22, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 13:54, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

I tried openshift-install after compiling but
no ovirt provider is available... So waht do
you mean when you say "give a try"? Maybe only
provisionning ovirt with the terraform module?

[root@vm5 installer]# bin/openshift-install
create cluster
? Platform  [Use arrows to move, space to
select, type to filter, ? for more help]
> aws
  azure
  gcp
  openstack


Its not merged yet. Please pull this image and work
with it as a container
quay.io/rgolangh/openshift-installer
<http://quay.io/rgolangh/openshift-installer>


A little feedback as you asked:

[root@openshift-installer ~]# docker run -it
56e5b667100f create cluster
? Platform ovirt
? Enter oVirt's api endpoint URL
https://air-dev.v100.abes.fr/ovirt-engine/api
? Enter ovirt-engine username admin@internal
? Enter password **
? Pick the oVirt cluster Default
? Pick a VM template centos7.x
? Enter the internal API Virtual IP 10.34.212.200
? Enter the internal DNS Virtual IP 10.34.212.100
? Enter the ingress IP 10.34.212.50
? Base Domain oc4.localdomain
? Cluster Name test
? Pull Secret [? for help]
*
INFO Creating infrastructure resources...
INFO Waiting up to 30m0s for the Kubernetes API at
https://api.test.oc4.localdomain:6443...
ERROR Attempted to gather ClusterOperator status
after installation failure: listing ClusterOperator
objects: Get

https://api.test.oc4.localdomain:6443/apis/config.openshift.io/v1/clusteroperators:
dial tcp: lookup api.test.oc4.localdomain on
10.34.212.100:53 <http://10.34.212.100:53>: no such
host
INFO Pulling debug logs from the bootstrap machine
ERROR Attempted to gather debug logs after
installation failure: failed to create SSH client,
ensure the proper ssh key is in your keyring or
specify with --key: failed to initialize the SSH
agent: failed to read directory "/output/.ssh": open
/output/.ssh: no such file or directory
FATAL Bootstrap failed to complete: waiting for
Kubernetes API: context deadline exceeded

  * 6 vms are successfully created thin dependent
from the template

  * each vm is provisionned by cloud-init
  * the step "INFO Waiting up to 30m0s for the
Kubernetes API at
https://api.test.oc4.localdomain:6443...; fails.
It seems that the DNS pod is not up at this time.
  * Right this moment, there is no more visibility
on what is done, what goes wrong... what's
happening there? supposing a kind of playbook
downloading a kind of images...
  * The" pull secret step" is not clear: we must
have a redhat account to
https://cloud.redhat.com/openshift/install/ to
get a key like
 *

{"auths":{"cloud.openshift.com

<http://cloud.openshift.com>":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>},"quay.io

<htt

[ovirt-users] Re: terraform integration

2019-11-06 Thread Nathanaël Blanchet


Le 05/11/2019 à 21:50, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 22:46, Roy Golan <mailto:rgo...@redhat.com>> wrote:




On Tue, 5 Nov 2019 at 20:28, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 18:22, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:


Le 05/11/2019 à 13:54, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

I tried openshift-install after compiling but no
ovirt provider is available... So waht do you mean
when you say "give a try"? Maybe only provisionning
ovirt with the terraform module?

[root@vm5 installer]# bin/openshift-install create
cluster
? Platform  [Use arrows to move, space to select,
type to filter, ? for more help]
> aws
  azure
  gcp
  openstack


Its not merged yet. Please pull this image and work with
it as a container
quay.io/rgolangh/openshift-installer
<http://quay.io/rgolangh/openshift-installer>


A little feedback as you asked:

[root@openshift-installer ~]# docker run -it 56e5b667100f
create cluster
? Platform ovirt
? Enter oVirt's api endpoint URL
https://air-dev.v100.abes.fr/ovirt-engine/api
? Enter ovirt-engine username admin@internal
? Enter password **
? Pick the oVirt cluster Default
? Pick a VM template centos7.x
? Enter the internal API Virtual IP 10.34.212.200
? Enter the internal DNS Virtual IP 10.34.212.100
? Enter the ingress IP  10.34.212.50
? Base Domain oc4.localdomain
? Cluster Name test
? Pull Secret [? for help]
*
INFO Creating infrastructure resources...
INFO Waiting up to 30m0s for the Kubernetes API at
https://api.test.oc4.localdomain:6443...
ERROR Attempted to gather ClusterOperator status after
installation failure: listing ClusterOperator objects:
Get

https://api.test.oc4.localdomain:6443/apis/config.openshift.io/v1/clusteroperators:
dial tcp: lookup api.test.oc4.localdomain on
10.34.212.100:53 <http://10.34.212.100:53>: no such host
INFO Pulling debug logs from the bootstrap machine
ERROR Attempted to gather debug logs after installation
failure: failed to create SSH client, ensure the proper
ssh key is in your keyring or specify with --key: failed
to initialize the SSH agent: failed to read directory
"/output/.ssh": open /output/.ssh: no such file or directory
FATAL Bootstrap failed to complete: waiting for
Kubernetes API: context deadline exceeded

  * 6 vms are successfully created thin dependent from
the template

  * each vm is provisionned by cloud-init
  * the step "INFO Waiting up to 30m0s for the Kubernetes
API at https://api.test.oc4.localdomain:6443...;
fails. It seems that the DNS pod is not up at this time.
  * Right this moment, there is no more visibility on
what is done, what goes wrong... what's happening
there? supposing a kind of playbook downloading a
kind of images...
  * The" pull secret step" is not clear: we must have a
redhat account to
https://cloud.redhat.com/openshift/install/ to get a
key like
 *

{"auths":{"cloud.openshift.com

<http://cloud.openshift.com>":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>},"quay.io

<http://quay.io>":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>},"registry.connect.redhat.com

<http://registry.connect.redhat.com>":{"auth":"NTI0MjkwMnx1aGMtMVRDVEZUVFZBRzBaTkszMXdCMDJSMFp1VTA4OmV5Sm

[ovirt-users] Re: terraform integration

2019-11-05 Thread Nathanaël Blanchet


Le 05/11/2019 à 18:22, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:



Le 05/11/2019 à 13:54, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:

I tried openshift-install after compiling but no ovirt
provider is available... So waht do you mean when you say
"give a try"? Maybe only provisionning ovirt with the
terraform module?

[root@vm5 installer]# bin/openshift-install create cluster
? Platform  [Use arrows to move, space to select, type to
filter, ? for more help]
> aws
  azure
  gcp
  openstack


Its not merged yet. Please pull this image and work with it as a
container
quay.io/rgolangh/openshift-installer
<http://quay.io/rgolangh/openshift-installer>


A little feedback as you asked:

[root@openshift-installer ~]# docker run -it 56e5b667100f create
cluster
? Platform ovirt
? Enter oVirt's api endpoint URL
https://air-dev.v100.abes.fr/ovirt-engine/api
? Enter ovirt-engine username admin@internal
? Enter password **
? Pick the oVirt cluster Default
? Pick a VM template centos7.x
? Enter the internal API Virtual IP 10.34.212.200
? Enter the internal DNS Virtual IP 10.34.212.100
? Enter the ingress IP  10.34.212.50
? Base Domain oc4.localdomain
? Cluster Name test
? Pull Secret [? for help] *
INFO Creating infrastructure resources...
INFO Waiting up to 30m0s for the Kubernetes API at
https://api.test.oc4.localdomain:6443...
ERROR Attempted to gather ClusterOperator status after
installation failure: listing ClusterOperator objects: Get

https://api.test.oc4.localdomain:6443/apis/config.openshift.io/v1/clusteroperators:
dial tcp: lookup api.test.oc4.localdomain on 10.34.212.100:53
<http://10.34.212.100:53>: no such host
INFO Pulling debug logs from the bootstrap machine
ERROR Attempted to gather debug logs after installation failure:
failed to create SSH client, ensure the proper ssh key is in your
keyring or specify with --key: failed to initialize the SSH agent:
failed to read directory "/output/.ssh": open /output/.ssh: no
such file or directory
FATAL Bootstrap failed to complete: waiting for Kubernetes API:
context deadline exceeded

  * 6 vms are successfully created thin dependent from the template

  * each vm is provisionned by cloud-init
  * the step "INFO Waiting up to 30m0s for the Kubernetes API at
https://api.test.oc4.localdomain:6443...; fails. It seems that
the DNS pod is not up at this time.
  * Right this moment, there is no more visibility on what is
done, what goes wrong... what's happening there? supposing a
kind of playbook downloading a kind of images...
  * The" pull secret step" is not clear: we must have a redhat
account to https://cloud.redhat.com/openshift/install/ to get
a key like
 *

{"auths":{"cloud.openshift.com

<http://cloud.openshift.com>":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>},"quay.io

<http://quay.io>":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>},"registry.connect.redhat.com

<http://registry.connect.redhat.com>":{"auth":"NTI0MjkwMnx1aGMtMVRDVEZUVFZBRzBaTkszMXdCMDJSMFp1VTA4OmV5SmhiR2NpT2lKU1V6VXhNaUo5LmV5SnpkV0lpT2lJMk4ySTJNREV3WXpObE1HSTBNbVE0T1RGbVpUZGxa**","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>},"registry.redhat.io

<http://registry.redhat.io>":{"auth":"NTI0MjkwMnx1aGMtMVRDVEZUVFZBRzBaTkszMXdCMDJSMFp1VTA4OmV5SmhiR2NpT2lKU1V6VXhNaUo5LmV5SnpkV0lpT2lJMk4ySTJNREV3WXpObE1HSTBNbVE0T1RGbVpUZGxa**","email":"expl...@abes.fr"
<mailto:expl...@abes.fr>}}}

Can you tell me if I'm doing wrong?


What is the template you are using? I don't think its RHCOS(Red Hat 
CoreOs) template, it looks like Centos?


Use this gist to import the template 
https://gist.github.com/rgolangh/adccf6d6b5eaecaebe0b0aeba9d3331b

Unfortunately, the result is the same with the RHCOS template...





Le 05/11/2019 à 12:2

[ovirt-users] Re: terraform integration

2019-11-05 Thread Nathanaël Blanchet


Le 05/11/2019 à 13:54, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


I tried openshift-install after compiling but no ovirt provider is
available... So waht do you mean when you say "give a try"? Maybe
only provisionning ovirt with the terraform module?

[root@vm5 installer]# bin/openshift-install create cluster
? Platform  [Use arrows to move, space to select, type to filter,
? for more help]
> aws
  azure
  gcp
  openstack


Its not merged yet. Please pull this image and work with it as a container
quay.io/rgolangh/openshift-installer 
<http://quay.io/rgolangh/openshift-installer>


A little feedback as you asked:

[root@openshift-installer ~]# docker run -it 56e5b667100f create cluster
? Platform ovirt
? Enter oVirt's api endpoint URL 
https://air-dev.v100.abes.fr/ovirt-engine/api

? Enter ovirt-engine username admin@internal
? Enter password **
? Pick the oVirt cluster Default
? Pick a VM template centos7.x
? Enter the internal API Virtual IP 10.34.212.200
? Enter the internal DNS Virtual IP 10.34.212.100
? Enter the ingress IP  10.34.212.50
? Base Domain oc4.localdomain
? Cluster Name test
? Pull Secret [? for help] *
INFO Creating infrastructure resources...
INFO Waiting up to 30m0s for the Kubernetes API at 
https://api.test.oc4.localdomain:6443...
ERROR Attempted to gather ClusterOperator status after installation 
failure: listing ClusterOperator objects: Get 
https://api.test.oc4.localdomain:6443/apis/config.openshift.io/v1/clusteroperators: 
dial tcp: lookup api.test.oc4.localdomain on 10.34.212.100:53: no such host

INFO Pulling debug logs from the bootstrap machine
ERROR Attempted to gather debug logs after installation failure: failed 
to create SSH client, ensure the proper ssh key is in your keyring or 
specify with --key: failed to initialize the SSH agent: failed to read 
directory "/output/.ssh": open /output/.ssh: no such file or directory
FATAL Bootstrap failed to complete: waiting for Kubernetes API: context 
deadline exceeded


 * 6 vms are successfully created thin dependent from the template

 * each vm is provisionned by cloud-init
 * the step "INFO Waiting up to 30m0s for the Kubernetes API at
   https://api.test.oc4.localdomain:6443...; fails. It seems that the
   DNS pod is not up at this time.
 * Right this moment, there is no more visibility on what is done, what
   goes wrong... what's happening there? supposing a kind of playbook
   downloading a kind of images...
 * The" pull secret step" is not clear: we must have a redhat account
   to https://cloud.redhat.com/openshift/install/ to get a key like
 *

   
{"auths":{"cloud.openshift.com":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"},"quay.io":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K2V4cGxvaXRhYmVzZnIxdGN0ZnR0dmFnMHpuazMxd2IwMnIwenV1MDg6TE9XVzFQODM1NzNJWlI4MlZDSUEyTFdEVlJJS0U5VTVWM0NTSUdOWjJH==","email":"expl...@abes.fr"},"registry.connect.redhat.com":{"auth":"NTI0MjkwMnx1aGMtMVRDVEZUVFZBRzBaTkszMXdCMDJSMFp1VTA4OmV5SmhiR2NpT2lKU1V6VXhNaUo5LmV5SnpkV0lpT2lJMk4ySTJNREV3WXpObE1HSTBNbVE0T1RGbVpUZGxa**","email":"expl...@abes.fr"},"registry.redhat.io":{"auth":"NTI0MjkwMnx1aGMtMVRDVEZUVFZBRzBaTkszMXdCMDJSMFp1VTA4OmV5SmhiR2NpT2lKU1V6VXhNaUo5LmV5SnpkV0lpT2lJMk4ySTJNREV3WXpObE1HSTBNbVE0T1RGbVpUZGxa**","email":"expl...@abes.fr"}}}

Can you tell me if I'm doing wrong?


Le 05/11/2019 à 12:24, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet mailto:blanc...@abes.fr>> wrote:

Hello,

I'm interested by installing okd on ovirt with the official
openshift
installer (https://github.com/openshift/installer), but ovirt
is not yet
supported.


If you want to give a try and supply feedback I'll be glad.

Regarding https://bugzilla.redhat.com/show_bug.cgi?id=1578255
and

https://lists.ovirt.org/archives/list/users@ovirt.org/thread/EF7OQUVTY53GV3A7NVQVUT7UCUYKK5CH/

, how ovirt 4.3.7 should integrate openshift installer
integration with
terraform?


Terraform is part of it, yes, It is what we use to spin the first
3 masters, plus a bootstraping machine.

-- 
Nathanaël Blanchet


Supervision réseau
    Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 6

[ovirt-users] Re: terraform integration

2019-11-05 Thread Nathanaël Blanchet
I tried openshift-install after compiling but no ovirt provider is 
available... So waht do you mean when you say "give a try"? Maybe only 
provisionning ovirt with the terraform module?


[root@vm5 installer]# bin/openshift-install create cluster
? Platform  [Use arrows to move, space to select, type to filter, ? for 
more help]

> aws
  azure
  gcp
  openstack

Le 05/11/2019 à 12:24, Roy Golan a écrit :



On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


Hello,

I'm interested by installing okd on ovirt with the official openshift
installer (https://github.com/openshift/installer), but ovirt is
not yet
supported.


If you want to give a try and supply feedback I'll be glad.

Regarding https://bugzilla.redhat.com/show_bug.cgi?id=1578255 and

https://lists.ovirt.org/archives/list/users@ovirt.org/thread/EF7OQUVTY53GV3A7NVQVUT7UCUYKK5CH/

, how ovirt 4.3.7 should integrate openshift installer integration
with
terraform?


Terraform is part of it, yes, It is what we use to spin the first 3 
masters, plus a bootstraping machine.


-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GEKVJ2Z3V72IOOBXBZO7WQM4AODUGRRE/


[ovirt-users] terraform integration

2019-11-05 Thread Nathanaël Blanchet

Hello,

I'm interested by installing okd on ovirt with the official openshift 
installer (https://github.com/openshift/installer), but ovirt is not yet 
supported.


Regarding https://bugzilla.redhat.com/show_bug.cgi?id=1578255 and 
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/EF7OQUVTY53GV3A7NVQVUT7UCUYKK5CH/ 
, how ovirt 4.3.7 should integrate openshift installer integration with 
terraform?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KG3SF4U4F2JHHBG6JXYTDDFYGTZY4227/


[ovirt-users] Re: [ANN] oVirt 4.3.7 First Release Candidate is now available for testing

2019-11-05 Thread Nathanaël Blanchet

Hello,

I'm interested by installing okd on ovirt with the official openshift 
installer (https://github.com/openshift/installer), but ovirt is not yet 
supported.


Regarding https://bugzilla.redhat.com/show_bug.cgi?id=1578255 and 
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/EF7OQUVTY53GV3A7NVQVUT7UCUYKK5CH/ 
, how ovirt 4.3.7 should integrate openshift installer integration with 
terraform?



Le 18/10/2019 à 09:59, Sandro Bonazzola a écrit :
The oVirt Project is pleased to announce the availability of the oVirt 
4.3.7 First Release Candidate for testing, as of October 18th, 2019.


This update is a release candidate of the seventh in a series of 
stabilization updates to the 4.3 series.
This is pre-release software. This pre-release should not to be used 
in production.


This release is available now on x86_64 architecture for:
* Red Hat Enterprise Linux 7.7 or later (but <8)
* CentOS Linux (or similar) 7.7 or later (but <8)

This release supports Hypervisor Hosts on x86_64 and ppc64le 
architectures for:

* Red Hat Enterprise Linux 7.7 or later (but <8)
* CentOS Linux (or similar) 7.7 or later (but <8)
* oVirt Node 4.3 (available for x86_64 only) has been built consuming 
CentOS 7.7 Release


See the release notes [1] for known issues, new features and bugs fixed.

Notes:
- oVirt Appliance is already available
- oVirt Node is already available

Additional Resources:
* Read more about the oVirt 4.3.7 release highlights: 
http://www.ovirt.org/release/4.3.7/

* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt 
blog:http://www.ovirt.org/blog/


[1] http://www.ovirt.org/release/4.3.7/
[2] http://resources.ovirt.org/pub/ovirt-4.3-pre/iso/

--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://www.redhat.com/>

*Red Hat respects your work life balance. Therefore there is no need 
to answer this email out of your office hours.*


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6UZSFUPJS3FF3UTIFLNLY456WUYGF4V/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4CGT3PV2V6RV56IPT3CXRMSPI5JGK2MN/


[ovirt-users] neofetch and spice/vnc console

2019-09-24 Thread Nathanaël Blanchet

Hello

When running neofetch in spice/vnc console, terminal become unreadable, 
does it come from spice/vnc or graphic emulation or neofetch binary?


Screenfetch alternative is ok.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W347QX6U6XIEVFTK3W56ZTOGFNKEW7PM/


[ovirt-users] lvm agregation of lun in a storage domain

2019-07-04 Thread Nathanaël Blanchet

Hello

We made a mistake at the conception of our storage domain and we 
aggreggated two FC luns like so:


We need to retrieve one of the two luns for other use, is there a way to 
easy detach one of the two luns from the VG ?



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CMDEKJIO4IJZ27J2RHNXPOGU75G7RWEA/


[ovirt-users] Re: ansible tower/awx integration in ovirt

2019-06-20 Thread Nathanaël Blanchet

Hello Ondra

Le 19/06/2019 à 14:34, Ondra Machacek a écrit :

We support tower, so you shouldn't have any issues integrate it.
There is oVirt/RHV credentials in the Tower/awx. So you can use those
for the authentication.


Can you please share some docs?

The only thing I managed to do in awx is to create dynamic inventories 
with ovirt credentials (following 
https://docs.ansible.com/ansible-tower/3.5.0/html/userguide/credentials.html#red-hat-virtualization)


What I asked was for ansible/awx integration into ovirt. For instance 
when creating a new vm, to be able to add local playbook or a tower 
template through API.


I currently do this with awx, but the goal would be to use ovirt UI 
instead of awx one.


I hope tobe clear enough



On 19/06/2019 10:37, Nathanaël Blanchet wrote:
Hello, I wrote a playbook for workflow that automates a vm creation 
from a template/cloud-init and then add it to our supervision engine 
and finally to our backup system. All currently works fine with awx.


I'd like to use one UI, and I wondered if integrating awx/tower in 
ovirt could be a good way to complete a basic current vm creation.



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OEDUO37I773KUD5VMGU2UM7DZDY7GT7N/


[ovirt-users] ansible tower/awx integration in ovirt

2019-06-19 Thread Nathanaël Blanchet
Hello, I wrote a playbook for workflow that automates a vm creation from 
a template/cloud-init and then add it to our supervision engine and 
finally to our backup system. All currently works fine with awx.


I'd like to use one UI, and I wondered if integrating awx/tower in ovirt 
could be a good way to complete a basic current vm creation.


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L5AE673PUYM3EBKTRS4ZOIA7DJNC6RT5/


[ovirt-users] Re: [External] Does anyone have a positive experience with physical host to oVirt conversion?

2019-06-19 Thread Nathanaël Blanchet

Many ways to accomplish such a thing,  this is what I personnaly did:

 * Make the virtio modules available at kernel boot
 o mkinitrd --with virtio_pci --with virtio_blk --with virtio_scsi
   -f /boot/initrd-$(uname -r).img $(uname -r)
 * boot on a rescue live centos with network enabled
 * mount a (NFS) share
 * dd if=/dev/sdX of=/mnt/share/os.img
 * upload your disk with UI/API to ovirt
 * manually define your vm by attaching this disk

This is what does virt-p2v under ther cover, but you do it it by your own.

Le 19/06/2019 à 07:51, Sam Cappello a écrit :


a couple years ago i migrated a centos 4  physical box to an ovirt 3.6 
vm using REAR.


http://relax-and-recover.org/

i did not have luck with virt-p2v.

sam

Morris, Roy wrote on 6/18/2019 4:48 PM:


I am also confused with the whole process. If anyone has a quick 
start guide or video I’d be interested in checking it out.


Best regards,

Roy Morris

*From:* Artem Tambovskiy 
*Sent:* Tuesday, June 18, 2019 6:28 AM
*To:* users 
*Subject:* [External] [ovirt-users] Does anyone have a positive 
experience with physical host to oVirt conversion?



Hello,

Just would like to check if it really possible to convert old Centos6 
based physical box into oVirt 4.3 VM? I haven't been able to find any 
success stories on this and process seems a bit complicated.
As I understand it I need a virt-v2v conversion proxy + image with 
virt-p2v running on physical host which needs to be converted. I'm a 
bit lost how I can get the converted VM into oVirt cluster than?


--

Regards,

Artem


___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/4QC77HXUY5EOLCTBRVCFKH7WNMTSHDPY/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ESD2A4VA53KTE7ICZQPMUACADKSPXDWL/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QIJRAQO3CO5JX3TZEPGM5XZHLID73UJO/


[ovirt-users] Re: ovirt nic ansible module

2019-06-18 Thread Nathanaël Blanchet

Sure it does the trick, but it is heavy to use..

Secondly why the option should be more available into the UI than with 
the API?


Le 18/06/2019 à 15:19, Luca 'remix_tj' Lorenzetto a écrit :

Hello Nathanaël,

i suppose setting nic as unplugged will set the link down.

Luca

On Tue, Jun 18, 2019 at 3:04 PM Nathanaël Blanchet  wrote:

Hello,

With that module, we can make the nic present/absent/plugged/unplugged,
but is there a way to make the link state up or down?

Thanks.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K2A6P2DXQ5VQIHYYPVJSYHKLB4V5WRYC/




--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CNNKEPX6R5V5QEUXKRXQOPJTJOSCD36Y/


[ovirt-users] ovirt nic ansible module

2019-06-18 Thread Nathanaël Blanchet

Hello,

With that module, we can make the nic present/absent/plugged/unplugged, 
but is there a way to make the link state up or down?


Thanks.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K2A6P2DXQ5VQIHYYPVJSYHKLB4V5WRYC/


[ovirt-users] ovirt_nic ansible module

2019-06-18 Thread Nathanaël Blanchet

Hello,

With that module, we can make the nic present/absent/plugged/unplugged, 
but is there a way to make the link state up or down?


Thanks.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NENXOCDG7OJ3G22BYB2FRJ6PJIKJM7R7/


[ovirt-users] Re: Uploading disk images (oVirt 4.3.3.1)

2019-06-03 Thread Nathanaël Blanchet

did you try this?

engine-config --get ImageProxyAddress
engine-config -s 
ImageProxyAddress=http://ovirt-engine.mydomain.otherstuff.com:54323

systemctl restart ovirt-engine

Le 02/06/2019 à 12:00, Arik Hadas a écrit :



On Fri, May 31, 2019 at 11:57 PM <mailto:adrianquint...@gmail.com>> wrote:


Hi,
I have an issue while trying to upload disk images thru the Web UI.
"Connection to ovirt-imageio-proxy service has failed. Make sure
the service is installed, configured, and ovirt-engine certificate
is registered as a valid CA in the browser."

My ovirt engine's fqdn is ovirt-engine.mydomain.com
<http://ovirt-engine.mydomain.com> however due to network
restrictions I had to set rules in order to reach our ovirt-engine
ovirt-engine.mydomain.com <http://ovirt-engine.mydomain.com> =
192.168.0.45

For example ovirt-engine.mydomain.otherstuff.com
<http://ovirt-engine.mydomain.otherstuff.com> - 192.168.10.109:80
<http://192.168.10.109:80>, 192.168.10.109:443
<http://192.168.10.109:443>, 192.168.0.45:80 <http://192.168.0.45:80>
So as you can see I need to hit the ovirt-engine using
ovirt-engine.mydomain.otherstuff.com
<http://ovirt-engine.mydomain.otherstuff.com> which I am able to
by modifyting the 11-setup-sso.conf file and adding

"SSO_ENGINE_URL="https://ovirt-engine.mydomain.otherstuff.com:443/ovirt-engine/;

I am able to upload disk images when using
http://ovirt-engine.mydomain.com but not able to
http://ovirt-engine.mydomain.otherstuff.com
I know it might be related to the certificates but I need to be
able to upload disk images using both URLs.

any ideas?


Hi,

While it doesn't address your issue directly, you may want to use 
muCommander for this - a demo is available in [1].
Note that this is not part of the oVirt project and still under 
development but the upload functionality works well, without needing 
to mess with credentials in the browser and it also supports uploading 
ISO files to data domains (as ISO images). muCommander is not packaged 
yet with this plugin for oVirt, so if you're interested in that you'll 
need to clone the code from [2] and build it as shown in [1] (All you 
need is git and the Java compiler installed. Note it's cross-platform).


[1] https://www.youtube.com/watch?v=pJSTjixYOnU
[2] g...@github.com:mucommander/mucommander.git

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/QSQKTZ6YCD7XBEUI6FZGVEQY2XKGZ6Q5/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ELH2AOFGZMUFNDN7IKNHC7B33M42UUD2/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C4FU55YTL4GUU3VA7IYABM6NIK4XLLJI/


[ovirt-users] Re: nested attributes of structs

2019-05-29 Thread Nathanaël Blanchet
Hello Lucie, 
Can you give me the BZ number so I can follow the ticket? 
I'd like to test the ansible patch as soon as it's available. 


De: "Lucie Leistnerova"  
À: "Nathanaël Blanchet" , "users"  
Envoyé: Mercredi 29 Mai 2019 08:31:16 
Objet: Re: [ovirt-users] nested attributes of structs 



Hi Nathanaël, 
On 5/28/19 5:21 PM, Nathanaël Blanchet wrote: 




Hello, 


Considering: 


https://bugzilla.redhat.com/show_bug.cgi?id=1653743 and 
https://github.com/ansible/ansible/issues/30624 


I installed latest 4.3 sdk and ansible 2.8 but I still can't get the name of 
the href link doing this: 
- name : disk facts 
ovirt_disk_facts : 
auth : "{{ ovirt_auth }}" 
fetch_nested: true 


it still gives: 


"storage_domains": [ 
{ 
"href": 
"/ovirt-engine/api/storagedomains/0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88", 
"id": "0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88" 
} 
If I understand, I should get the storage_domain name instead of its id, 
shouldn't I? 






The change seems to not work perfectly. 

When I run playbook with 

fetch_nested: True 
nested_attributes: 
- name 

I get 

"quota": { 
"href": 
"/ovirt-engine/api/datacenters/87bc2e30-f3b1-11e8-aa7d-001a4a013f36/quotas/96f2a2e4-f3b1-11e8-82b6-001a4a013f36",
 
"id": "96f2a2e4-f3b1-11e8-82b6-001a4a013f36", 
"name": "Default" 
}, 
"disk_profile": { 
"href": 
"/ovirt-engine/api/storagedomains/82ceb4c9-e844-4fc7-b0ff-559052e6301f/diskprofiles/30cc8a74-4b99-4aab-8193-28826bbecbb9",
 
"id": "30cc8a74-4b99-4aab-8193-28826bbecbb9", 
"name": "ll-03s1-43-3" 
}, 


So for direct link 
 

it works fine. But storage domains are different, it is a list of links. 

 
 
 




I'll check it with developer and update by verifying the BZ. 

Thanks for catching that issue. 

BQ_BEGIN



-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14 blanc...@abes.fr 

___
Users mailing list -- users@ovirt.org To unsubscribe send an email to 
users-le...@ovirt.org Privacy Statement: 
https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L4ZHNR6YWLBQHGFH6WO7FDMQSP7NGTA4/
 

BQ_END
Best regards, 
-- 
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YKK23AITJODYKKHVA24DKDBQ6KM7UKLJ/


[ovirt-users] nested attributes of structs

2019-05-28 Thread Nathanaël Blanchet

Hello,

Considering:

https://bugzilla.redhat.com/show_bug.cgi?id=1653743 and 
https://github.com/ansible/ansible/issues/30624


I installed latest 4.3 sdk and ansible 2.8 but I still can't get the 
name of the href link doing this:


- name: disk facts
ovirt_disk_facts:
auth: "{{ ovirt_auth }}"
fetch_nested: true

it still gives:

    "storage_domains": [
    {
    "href": 
"/ovirt-engine/api/storagedomains/0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88",

    "id": "0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88"
    }
If I understand, I should get the storage_domain name instead of its id, 
shouldn't I?



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L4ZHNR6YWLBQHGFH6WO7FDMQSP7NGTA4/


[ovirt-users] seal a rhel8 vm for templating fails

2019-05-16 Thread Nathanaël Blanchet

Hi,

I was used to successfully seal some el7 vms when templating, but with 
rhel8, it always fails with that logs:


2019-05-16 15:45:03,499+02 ERROR 
[org.ovirt.engine.core.bll.AddVmTemplateCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-55) 
[db02e602-4b9d-4935-908c-e9e8c90a808b] Ending command 
'org.ovirt.engine.core.bll.AddVmTemplateCommand' with failure.
2019-05-16 15:45:03,533+02 INFO 
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-55) 
[db02e602-4b9d-4935-908c-e9e8c90a808b] START, SetVmStatusVDSCommand( 
SetVmStatusVDSCommandParameters:{vmId='b79d8d62-212a-4f62-b236-3be6f1ed251e', 
status='Down', exitStatus='Normal'}), log id: 7e657121
2019-05-16 15:45:03,538+02 INFO 
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-55) 
[db02e602-4b9d-4935-908c-e9e8c90a808b] FINISH, SetVmStatusVDSCommand, 
log id: 7e657121
2019-05-16 15:45:03,546+02 INFO 
[org.ovirt.engine.core.bll.AddVmTemplateCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-55) 
[db02e602-4b9d-4935-908c-e9e8c90a808b] Lock freed to object 
'EngineLock:{exclusiveLocks='[rhel8.0=TEMPLATE_NAME, 
8fb93ef2-d8a1-4d95-afed-c37131312462=TEMPLATE, 
3ae1ad71-193b-4222-9727-159b402fef49=DISK]', 
sharedLocks='[b79d8d62-212a-4f62-b236-3be6f1ed251e=VM]'}'
2019-05-16 15:45:03,560+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-55) 
[db02e602-4b9d-4935-908c-e9e8c90a808b] EVENT_ID: 
USER_ADD_VM_TEMPLATE_SEAL_FAILURE(1,324), Failed to seal Template 
rhel8.0 (VM: thym-rhel8).


But I successfully make a el8 template without sealing, but the issue is 
that subscription-manager doesn't activate properly when creating new 
vms from it.


ovirt 3.3.3

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OO7EGM25KWGV5J5V4UDOGEPIU3KJWTMW/


[ovirt-users] used network for uploading api

2019-04-07 Thread Nathanaël Blanchet

Hi all,

I noticed a bad transfer when uploading a floating disk through the 
upload API.


I set up two networks, one for management with a dedicated 1Gb link and 
an other 10Gi for other vlans.


It seems that the upload is done by the management network, can anyone  
confirm it?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BZOBGNUBCIJMZG7VYEYQWVWEZNAIKSN7/


[ovirt-users] API POST ovf file instead of libvirt KVM regular xml

2019-03-25 Thread Nathanaël Blanchet
Hi all, 
I've got a ovf file where I need to reuse nic defintions. I want to post them 
to the REST API, but in API documentation, I'm only able to find examples with 
libvirt definition. 
So my question is : does ovf file are supported to be directly posted or is 
there a way to convert ovf file to libvirtxml so as to post them to the API? 
Thank you. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DOZX264W5RTIJBP4HNCIPWFOTKSAUGET/


[ovirt-users] Re: latest pycurl 7.43 brokes ovirtsdk4

2019-01-23 Thread Nathanaël Blanchet
And the AWX embedded pycurl 7.43 also brakes the ovirt4.py dynamic 
inventory!


 [WARNING]: Unable to parse /opt/awx/embedded/lib/python2.7/site-
packages/awx/plugins/inventory/ovirt4.py as an inventory source

Le 23/01/2019 à 11:55, Nathanaël Blanchet a écrit :



Le 23/01/2019 à 09:27, Ondra Machacek a écrit :

On 1/22/19 5:54 PM, Nathanaël Blanchet wrote:

Hi all,

If anyone uses latest pycurl 7.43 provided by pip or ansible 
tower/awx, any ovirtsdk4 calling will issue with the log:


The full traceback is:
WARNING: The below traceback may *not* be related to the actual 
failure.
   File "/tmp/ansible_ovirt_auth_payload_L1HK9E/__main__.py", line 
202, in 

 import ovirtsdk4 as sdk
   File 
"/opt/awx/embedded/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", 
line 22, in 

 import pycurl

fatal: [localhost]: FAILED! => {
 "changed": false,
 "invocation": {
 "module_args": {
 "ca_file": null,
 "compress": true,
 "headers": null,
 "hostname": null,
 "insecure": true,
 "kerberos": false,
 "ovirt_auth": null,
 "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
 "state": "present",
 "timeout": 0,
 "token": null,
 "url": "https://acore.v100.abes.fr/ovirt-engine/api;,
 "username": "admin@internal"
 }
 },
 "msg": "ovirtsdk4 version 4.2.4 or higher is required for this 
module"

}

The only way is to set the version of pycurl with

pip install -U "pycurl == 7.19.0"

(Before this, in tower/awx, you should  create venv)


What's the version of AWX, where pycurl 7.43 is provided? I use latest
and I have 7.19. But anyway, I've tried to update to 7.43, and this 
worked for me with nss:


AWX 2.1.2
/opt/awx/embedded/lib64/python2.7/site-packages/pycurl-7.43.0.1.dist-info



$ source venv/awx/bin/activate
$ export PYCURL_SSL_LIBRARY=nss; pip install pycurl --compile 
--no-cache-dir

$ python -c 'import pycurl; print pycurl.version'
PycURL/7.43.0.2 libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 
libssh2/1.4.3


Yes, I've tried your trick and 7.43 works with the nss support like 
you say, but...


  * how can anyone guess he needs the nss library
  * it doesn't work out the box with the awx embedded  pycurl, so we
must use venv

So it should be good to compile the embedded awx pycurl to natively 
support nss, out of venv.






--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PMOHDZADCP3R6GKYFUHSDH5NRAZJGNOM/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5HQNARKGBHGP37C5TTRAR5WCUVG7DVIQ/


[ovirt-users] Re: latest pycurl 7.43 brokes ovirtsdk4

2019-01-23 Thread Nathanaël Blanchet


Le 23/01/2019 à 09:27, Ondra Machacek a écrit :

On 1/22/19 5:54 PM, Nathanaël Blanchet wrote:

Hi all,

If anyone uses latest pycurl 7.43 provided by pip or ansible 
tower/awx, any ovirtsdk4 calling will issue with the log:


The full traceback is:
WARNING: The below traceback may *not* be related to the actual failure.
   File "/tmp/ansible_ovirt_auth_payload_L1HK9E/__main__.py", line 
202, in 

 import ovirtsdk4 as sdk
   File 
"/opt/awx/embedded/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", 
line 22, in 

 import pycurl

fatal: [localhost]: FAILED! => {
 "changed": false,
 "invocation": {
 "module_args": {
 "ca_file": null,
 "compress": true,
 "headers": null,
 "hostname": null,
 "insecure": true,
 "kerberos": false,
 "ovirt_auth": null,
 "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
 "state": "present",
 "timeout": 0,
 "token": null,
 "url": "https://acore.v100.abes.fr/ovirt-engine/api;,
 "username": "admin@internal"
 }
 },
 "msg": "ovirtsdk4 version 4.2.4 or higher is required for this 
module"

}

The only way is to set the version of pycurl with

pip install -U "pycurl == 7.19.0"

(Before this, in tower/awx, you should  create venv)


What's the version of AWX, where pycurl 7.43 is provided? I use latest
and I have 7.19. But anyway, I've tried to update to 7.43, and this 
worked for me with nss:


AWX 2.1.2
/opt/awx/embedded/lib64/python2.7/site-packages/pycurl-7.43.0.1.dist-info



$ source venv/awx/bin/activate
$ export PYCURL_SSL_LIBRARY=nss; pip install pycurl --compile 
--no-cache-dir

$ python -c 'import pycurl; print pycurl.version'
PycURL/7.43.0.2 libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 
libssh2/1.4.3


Yes, I've tried your trick and 7.43 works with the nss support like you 
say, but...


 * how can anyone guess he needs the nss library
 * it doesn't work out the box with the awx embedded  pycurl, so we
   must use venv

So it should be good to compile the embedded awx pycurl to natively 
support nss, out of venv.






--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PMOHDZADCP3R6GKYFUHSDH5NRAZJGNOM/


[ovirt-users] latest pycurl 7.43 brokes ovirtsdk4

2019-01-22 Thread Nathanaël Blanchet

Hi all,

If anyone uses latest pycurl 7.43 provided by pip or ansible tower/awx, 
any ovirtsdk4 calling will issue with the log:


The full traceback is:
WARNING: The below traceback may *not* be related to the actual failure.
  File "/tmp/ansible_ovirt_auth_payload_L1HK9E/__main__.py", line 202, 
in 

    import ovirtsdk4 as sdk
  File 
"/opt/awx/embedded/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", 
line 22, in 

    import pycurl

fatal: [localhost]: FAILED! => {
    "changed": false,
    "invocation": {
    "module_args": {
    "ca_file": null,
    "compress": true,
    "headers": null,
    "hostname": null,
    "insecure": true,
    "kerberos": false,
    "ovirt_auth": null,
    "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
    "state": "present",
    "timeout": 0,
    "token": null,
    "url": "https://acore.v100.abes.fr/ovirt-engine/api;,
    "username": "admin@internal"
    }
    },
    "msg": "ovirtsdk4 version 4.2.4 or higher is required for this module"
}

The only way is to set the version of pycurl with

pip install -U "pycurl == 7.19.0"

(Before this, in tower/awx, you should  create venv)


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PPHWBTC7U7CRMAHCURICIJCNUTKIUCHF/


[ovirt-users] extract nested attribute from a href link with ansible ovirt_vm_facts

2018-11-27 Thread Nathanaël Blanchet

Hello

I'd like to extract all vms which have the lease optionnal attribute 
and  display the name of the storage domain of that lease.


I managed to get that dict:

    "lease": {
    "storage_domain": {
    "href": 
"/ovirt-engine/api/storagedomains/0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88",

    "id": "0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88"
    }

but how can I get the name of the storage instead of its id?

thank you for your help

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SGM7QXWNEPKE4X5EFKCYCJ4TK6W62JG6/


[ovirt-users] Re: ansible ovirt_vm_facts and custom_compatibility_version attributes

2018-11-23 Thread Nathanaël Blanchet

Thank you it works fine.

Now, an other question. I want to extract all vms which have the lease 
optionnal attribute and  display the name of the storage domain of that 
lease.


I managed to get that dict:

    "lease": {
    "storage_domain": {
    "href": 
"/ovirt-engine/api/storagedomains/0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88",

    "id": "0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88"
    }

but how can I get the name of the storage instead of the id?

thank you for your help

Le 20/11/2018 à 11:19, Lucie Leistnerova a écrit :


Hello Nathanaël,

On 11/19/18 7:42 PM, Nathanaël Blanchet wrote:


I'd like to manipulate with ovirt_vm_fact ansible module some vm  
attributes in the API lik_e _custom_compatibility_version. 
<https://infra.v100.abes.fr/ovirt-engine/apidoc/#/types/vm_base/attributes/custom_compatibility_version>


Some of VM attributes are returned via API only when there are some 
values saved. That are for example all custom items in System section.


Right  from the APi description, it is available from the VmBase 
struct, but I can't find it in the return ovirt_vm_facts value, 
neither with nested attributes.


How should I do ?


Change the value to not null and then run ansible module to see them.


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  


___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/I7VRJREC56DJWVCCFN33C5HQKGLRX7SS/


Best regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6D5WC64B2UROITJA6EK7O67WMQYMSK6G/


[ovirt-users] max number of snapshot per vm

2018-11-23 Thread Nathanaël Blanchet

Hi,

What are the best pratices about vm snapshots?

Is there a maximum number of snapshots per vm?

Has a high number of present snapshot an impact on the vm performance? 
... on how long the snapshot is completed?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VO7EICQZO53MMVR2BCDB6U2YNMFAJEB2/


[ovirt-users] ansible ovirt_vm_facts and custom_compatibility_version attributes

2018-11-19 Thread Nathanaël Blanchet
I'd like to manipulate with ovirt_vm_fact ansible module some vm 
attributes in the API lik_e _custom_compatibility_version. 
<https://infra.v100.abes.fr/ovirt-engine/apidoc/#/types/vm_base/attributes/custom_compatibility_version>


Right  from the APi description, it is available from the VmBase struct, 
but I can't find it in the return ovirt_vm_facts value, neither with 
nested attributes.


How should I do ?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I7VRJREC56DJWVCCFN33C5HQKGLRX7SS/


[ovirt-users] Re: nested item with ovirt_vm_facts ansible module

2018-11-15 Thread Nathanaël Blanchet

Hello Lucie, thank you,  that's perfect!

I tried all syntaxes before , that is to say

 * name2.msg[item.1]
 * name2.msg[item[1]]
 * name2.msg.item.1
 * name2.msg.item.[1]

but I nerver thought to change the dict item from [ '0', '1'] to [ 0, 1].

Now it works with the two first options

Le 15/11/2018 à 09:32, Lucie Leistnerova a écrit :

Hello Nathanaël,

On 11/14/18 7:58 PM, Nathanaël Blanchet wrote:

I try to get  a list for all vms :

"vm_name : description : id "

A simple loop works:

   - debug:
    msg: "{{ ovirt_vms | map(attribute='snapshots') | list }}"
  register: snapshotid2
  tags: snapshots2
    - debug:
    msg: "{{ ovirt_vms | map(attribute='name') | list }}"
  register: name2
  tags: snapshots2
    - set_fact:
    toto: "{{ name2.msg[item] }} : {{ 
snapshotid2.msg[0][0].description }} : {{ snapshotid2.msg[0][0].id }} "

  with_item:
    - 0
    - 1
  register: all_snapshots2
  tags: snapshots2
    - debug:
    var: all_snapshots2
  tags: snapshots2


Now I want insert a second loop with "with_nested" like so:

  - set_fact:
    toto: "{{ name2.msg[item.1] }} : {{ 
snapshotid2.msg[0].item.0.description }} : {{ 
snapshotid2.msg[0].item.0.id }} "

  with_nested:
    - [ '0', '1']
    - [ '1', '0']

but I always have this error: "The error was: 'list object' has no 
attribute u'0'"


How can I do such a thing?


if I got it right the loop should look like this:

- set_fact:
    toto: "{{ name2.msg[item.1] }} : {{ 
snapshotid2.msg[0][item.0].description }} : {{ 
snapshotid2.msg[0][item.0].id }} "

  with_nested:
    - [ 0, 1 ]
    - [ 1, 0 ]


Best regards,

Lucie


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UFZVJT2DWBSIP73CK2MEQ5R4QNVZQ24Q/


[ovirt-users] nested item with ovirt_vm_facts ansible module

2018-11-14 Thread Nathanaël Blanchet

I try to get  a list for all vms :

"vm_name : description : id "

A simple loop works:

   - debug:
    msg: "{{ ovirt_vms | map(attribute='snapshots') | list }}"
  register: snapshotid2
  tags: snapshots2
    - debug:
    msg: "{{ ovirt_vms | map(attribute='name') | list }}"
  register: name2
  tags: snapshots2
    - set_fact:
    toto: "{{ name2.msg[item] }} : {{ 
snapshotid2.msg[0][0].description }} : {{ snapshotid2.msg[0][0].id }} "

  with_item:
    - 0
    - 1
  register: all_snapshots2
  tags: snapshots2
    - debug:
    var: all_snapshots2
  tags: snapshots2


Now I want insert a second loop with "with_nested" like so:

  - set_fact:
    toto: "{{ name2.msg[item.1] }} : {{ 
snapshotid2.msg[0].item.0.description }} : {{ 
snapshotid2.msg[0].item.0.id }} "

  with_nested:
    - [ '0', '1']
    - [ '1', '0']

but I always have this error: "The error was: 'list object' has no 
attribute u'0'"


How can I do such a thing?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P5C2A7IY5H7I3MOGJM2QGSUW4OJEOBFS/


[ovirt-users] Re: using vlan-tagged nic for ovirtmgmt

2018-11-14 Thread Nathanaël Blanchet
Technically, it is possible, I used to do it at the very beginning 
but...  if you can, the best practice is to dedicate a physical nic to 
the ovirtmgmt network as a non-tagged vlan.


Imagine you install your node on an access port, then you want to add 
bond, then the ovirtmgmt on a tagged vlan... each time you change your 
port config to match to your node config,  you can loose ssh connection 
at any time.


Le 14/11/2018 à 15:19, Tony Brian Albers a écrit :

Is this possible?

I have 3 hosts with each four physical interfaces.

On one of them, I have a vlan defined which I'd like to use for
ovirtmgmt. However, after installing the host, it says that the
ovirtmgmt network is missing on it and if I try to assign ovirtmgmt I
can only do it on the physical NIC's

Any ideas?

/tony


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FE7WKVIAOQZHZQTN53DPZ2Q24XHKEOQV/


[ovirt-users] poweroff and reboot with ovirt_vm ansible module

2018-11-02 Thread Nathanaël Blanchet
Hello, is there a way to poweroff or reboot (without stopped and running 
state) a vm with the ovirt_vm ansible module?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EBJOTJJKW3TGI63D2FXAK53ORXEUU3LO/


[ovirt-users] Re: cloud-init behaviour after reboot and growpart [update : BUG]

2018-10-23 Thread Nathanaël Blanchet

In addition of double quote, there is an extra space  between : and /

So, the correct runcmd should be:

sed -i "/^datasource_list:/d" /etc/cloud/cloud.cfg; echo 
''datasource_list:["NoCloud", "ConfigDrive"]'' >> /etc/cloud/cloud.cfg


Le 23/10/2018 à 18:43, Nathanaël Blanchet a écrit :
- 'sed -i ' '/^datasource_list: /d' ' /etc/cloud/cloud.cfg; echo ' 
'datasource_list:
  ["NoCloud", "ConfigDrive"]' ' >> /etc/cloud/cloud.cfg' 


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZCVBR5IO6FPKU63CMZL3UVKNFGYU7DW6/


[ovirt-users] Re: cloud-init behaviour after reboot and growpart [update : BUG]

2018-10-23 Thread Nathanaël Blanchet
Thank you Giulio, it is ok for using local datasource for now, but it 
seems to be a bug into the default  ovirt cloud-init behaviour:


at the end of the first provisionning, a first automatic runcmd is 
passed in the user-data :


# cat /var/lib/cloud/instance/user-data.txt

...

runcmd:
- 'sed -i ' '/^datasource_list: /d' ' /etc/cloud/cloud.cfg; echo ' 
'datasource_list:

  ["NoCloud", "ConfigDrive"]' ' >> /etc/cloud/cloud.cfg'

...

But this command is invalid, surely because of the double simple quote ' 
' instead of bad double quote ".


The result is that no  ["NoCloud", "ConfigDrive"] is appended to cloud.cfg.

And yes, when adding manually this line, I don't have to disable 
cloudinit with clout-init.disabled and I can now use growpart and 
resizefs modules on the second boot.


Can anyone confirm a BZ need to be opened?

Le 23/10/2018 à 14:41, Giulio Casella a écrit :

Maybe you can try disabling unused data sources. In /etc/cloud/cloud.cfg
of el7 vm:

datasource_list: ["NoCloud", "ConfigDrive"]

If I remember correctly ovirt use ConfigDrive to pass data to VM cloud-init.

Hope this helps.

Bye,
gc


Il 23/10/2018 12:37, Nathanaël Blanchet ha scritto:

Hi all,

After having successfully run cloud-init with the "initial run" box
checked, I meet an issue after rebooting the el7 vm. At the boot time,
cloud-init waits for a data source that doesn't exist anymore and I have
to wait serveral timeouts like this one:

open 'http://169.254.169.254/openstack' with {'url':
'http://169.254.169.254/openstack', 'headers': {'User-Agent':
'Cloud-Init/0.7.9'}, 'allow_redirects': True, 'method': 'GET',
'timeout': 10.0} configuration

As a workaround,  I must include in the initial custom script "touch
/etc/cloud/cloud-init.disabled" so as to the vm to boot properly.

Now I'd like cloud-init not to be fully disabled because I need it
resizes the filesystem after the growpart step.

Can anyone help me with this?


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HSXXBXHMO2GQ7FWDC5WRB6IA6MPXDCIR/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7PHTD7AJ6DNYMCGTGDTQGPEJ2RJOFK3G/


[ovirt-users] cloud-init behaviour after reboot and growpart

2018-10-23 Thread Nathanaël Blanchet

Hi all,

After having successfully run cloud-init with the "initial run" box 
checked, I meet an issue after rebooting the el7 vm. At the boot time, 
cloud-init waits for a data source that doesn't exist anymore and I have 
to wait serveral timeouts like this one:


open 'http://169.254.169.254/openstack' with {'url': 
'http://169.254.169.254/openstack', 'headers': {'User-Agent': 
'Cloud-Init/0.7.9'}, 'allow_redirects': True, 'method': 'GET', 
'timeout': 10.0} configuration


As a workaround,  I must include in the initial custom script "touch 
/etc/cloud/cloud-init.disabled" so as to the vm to boot properly.


Now I'd like cloud-init not to be fully disabled because I need it 
resizes the filesystem after the growpart step.


Can anyone help me with this?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z6KOX7A3F5DK66KUXW5ZMII4RLGNELV2/


[ovirt-users] Re: oVirt Nagios/Icinga monitoring plugin check_rhv 2.0 released

2018-10-23 Thread Nathanaël Blanchet
Thank you for that work, I've test it and every thing seem to be ok... 
except checking the "all" item with the "*" meta. I had to quote it to 
make it work.


Le 19/10/2018 à 20:33, René Koch a écrit :

Hi list,

I'm happy to announce version 2.0 of check_rhv.

check_rhv is a monitoring plugin for Icinga/Nagios and it's forks,
which is used to monitor datacenters, clusters, hosts, vms, vm pools
and storage domains of Red Hat Enterprise Virtualization (RHEV) and
oVirt virtualization environments.

Download this plugin from: https://github.com/rk-it-at/check_rhv/releas
es/check_rhv-2.0
   
For further information on how to install this plugin visit: https://gi

thub.com/rk-it-at/check_rhv/wiki/Installation-Documentation
   
A detailed usage documentation can be found here:

https://github.com/rk-it-at/check_rhv/wiki/Usage-Documentation


Changelog:

New features:
-   Dropped support for RHEV 3
-   Support for RHV 4 and oVirt 4 with REST-APIv4
-   new URL: https://github.com/rk-it-at/check_rhv
-   support for Gluster volume monitoring (#2)
-   support for Gluster brick monitoring (#2)
-   check for available updates of RHV hosts

Bugs fixed:
-   Removed monitoring of Storagedomain status (#3)
-   Unknown interface error check if tmp file is empty (#5)
-   Fix network errors (#6)
-   Check RHEV Host VMs (-l vms) fails with RHEV UNKNOWN: Host ' ' not
found when no vms on host
-   VM Pool Check broken in oVirt 4.1
-   When using '*' and option '-l usage', output is incomplete
-   storagedomain usage calculation broken when specifing multiple
storagedomains


Please note this plugin will only work with RHV 4.0 and newer and oVirt
4.0 and newer. Support for version 3.x was dropped.


If you have any questions or ideas, please drop me an email: rkoch@rk-i
t.at.

Thank you for using check_rhv.


Regards,
René

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FYE3C662SV7W4W3YP5FYBW2G5R2CM5CV/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IFQA3AJGTN3AL4CPDP5MP52TYIH6DXB4/


[ovirt-users] Re: re-enabling networkmanager

2018-10-23 Thread Nathanaël Blanchet
No problem to enable NM, it is now default activated on ovirt-node, so 
it should be ok on centos as well


Le 22/10/2018 à 12:48, fsoyer a écrit :


At least view some graphs. Here is a screenshot of the cockpit tab 
(not sure that a picture can be displayed via the list, tell me if not) :




--

Cordialement,

*Frank*



Le Lundi, Octobre 22, 2018 12:42 CEST, Donny Davis 
 a écrit:

So you are trying to capture utilization stats from your network?
On Mon, Oct 22, 2018, 6:37 AM fsoyer <mailto:fso...@systea.fr>> wrote:


Hi Donny,
thank you for this precision, but I don't want to manage network
from Cockpit, just view the graphs of network usage in it, and
eventually logs (can be interesting !).
That's why I ask about risks to activate NM after configuring the
networks in engine UI : what are the opinions ?

-- 


Cordialement,

*Frank Soyer *
Mob. 06 72 28 38 53 - Fix. 05 49 50 52 34

<http://www.systea.net>

*Systea IG*
Administration systèmes, réseaux et bases de données
www.systea.net <http://www.systea.net>
Membre du réseau Les Professionnels du Numérique
<http://www.spn.asso.fr>

<http://www.kogite.fr>

*KoGite*
Hébergement de proximité
www.kogite.fr <http://www.kogite.fr>



Le Dimanche, Octobre 21, 2018 14:05 CEST, Donny Davis
mailto:do...@fortnebula.com>> a écrit:

Use the Ovirt engine to manage your networks. VDSM takes over at
boot time, and the only way for this to happen is if you use the
engine
On Fri, Oct 19, 2018 at 9:26 AM fsoyer mailto:fso...@systea.fr>> wrote:

Hi,
I have installed a 4.2 cluster on CentOS 7 nodes but I have
follow an (old) procedure of mine done with 4.0 : so, I have
disabled Network Manager before installing oVirt.
The networks created and validated in the engine UI are :
ovirmgmt on bond0 (2 slaves) failover mode
storagemanager on bond1 (2 slaves), jumbo frames,
aggregation mode, serving Gluster.
Today, I installed Cockpit on the node to have the nodes
consoles. But it say that it cannot manage the network
without NM.
So my question is : is there any risk to re-enabled NM on
the nodes ? Can it broke anything done by the UI ?

-- 


Cordialement,

*Frank Soyer *
Mob. 06 72 28 38 53 - Fix. 05 49 50 52 34

<http://www.systea.net>

*Systea IG*
Administration systèmes, réseaux et bases de données
www.systea.net <http://www.systea.net>
Membre du réseau Les Professionnels du Numérique
<http://www.spn.asso.fr>

<http://www.kogite.fr>

*KoGite*
Hébergement de proximité
www.kogite.fr <http://www.kogite.fr>

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/GOWGDMXIQ2VLHW2NAL2SSRQLXFKD7753/






___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EC6NWQDYU6JJDPSZJFDQRAJXLBFLEMY7/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NAVNRR3WNM7U2XR5D75CHJJZ7WEVD7JE/


[ovirt-users] Re: iso domain don't list available images

2018-10-04 Thread Nathanaël Blanchet



Le 04/10/2018 à 07:08, Elad Ben Aharon a écrit :

During detach, have you by any chance marked the format domain checkbox?

I reattached it to the old ovirt, and all images are still present.

If not, what is the storage domain status in the fresh 4.2 ovirt instance?

all domains status are up


On Wed, Oct 3, 2018 at 6:53 PM, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


Hello,

I detached an existing iso domain from an other ovirt instance and
attached it to on a fresh 4.2 install, but no images are
available. Is it a known bug?

    -- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala

<https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/PGTZWT6QMTXWS2VAW4ZMUVQVNIE2KDOK/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/PGTZWT6QMTXWS2VAW4ZMUVQVNIE2KDOK/>




--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NNI4WTZ5UFQD2V5XUDMDKFQDUMMLFXS6/


[ovirt-users] Re: no space left to upgrade hosted-engine

2018-10-04 Thread Nathanaël Blanchet
Thank you Simone, so you confirm that the only way is to upgrade the 
appliance?



Le 04/10/2018 à 13:57, Simone Tiraboschi a écrit :

Hi Nathanaël,
manually extending the HE VM disk could be quite a complex task, we 
are working on an ansible role to easily perform that task. It will be 
available soon.


On Thu, Oct 4, 2018 at 1:01 PM Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


I've deployed and hosted-engine with the hosted-engine provided
appliance.

When runing hosted-engine --upgrade-appliance on one host, it
tells me
"If your engine VM is already based on el7 you can also simply
upgrade
the engine there."

So I launched a yum update on the hosted-engine, but it complains
there
is no space left on /

[root@infra ~]# df -h
Sys. de fichiers    Taille Utilisé Dispo Uti% Monté sur
/dev/vda3 6,2G    6,2G   20K 100% /
devtmpfs  7,8G   0  7,8G   0% /dev
tmpfs 7,8G    4,0K  7,8G   1% /dev/shm
tmpfs 7,8G    9,0M  7,8G   1% /run
tmpfs 7,8G   0  7,8G   0% /sys/fs/cgroup
/dev/mapper/ovirt-home   1014M 33M  982M   4% /home
/dev/mapper/ovirt-tmp 2,0G 33M  2,0G   2% /tmp
/dev/vda1    1014M    162M  853M  16% /boot
/dev/mapper/ovirt-var  20G    631M   20G   4% /var
/dev/mapper/ovirt-log  10G 58M   10G   1% /var/log
/dev/mapper/ovirt-audit  1014M 59M  956M   6% /var/log/audit
tmpfs 1,6G   0  1,6G   0% /run/user/0

Is the only way is to deploy the new appliance?

    -- 
    Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/OENYXBK3FVDP6WF6AKO4DYFDGZIM66YI/



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XL7DXOZP64YA5MP6F7ZRZ4Y2YCIY5UFG/


[ovirt-users] no space left to upgrade hosted-engine

2018-10-04 Thread Nathanaël Blanchet

I've deployed and hosted-engine with the hosted-engine provided appliance.

When runing hosted-engine --upgrade-appliance on one host, it tells me 
"If your engine VM is already based on el7 you can also simply upgrade 
the engine there."


So I launched a yum update on the hosted-engine, but it complains there 
is no space left on /


[root@infra ~]# df -h
Sys. de fichiers    Taille Utilisé Dispo Uti% Monté sur
/dev/vda3 6,2G    6,2G   20K 100% /
devtmpfs  7,8G   0  7,8G   0% /dev
tmpfs 7,8G    4,0K  7,8G   1% /dev/shm
tmpfs 7,8G    9,0M  7,8G   1% /run
tmpfs 7,8G   0  7,8G   0% /sys/fs/cgroup
/dev/mapper/ovirt-home   1014M 33M  982M   4% /home
/dev/mapper/ovirt-tmp 2,0G 33M  2,0G   2% /tmp
/dev/vda1    1014M    162M  853M  16% /boot
/dev/mapper/ovirt-var  20G    631M   20G   4% /var
/dev/mapper/ovirt-log  10G 58M   10G   1% /var/log
/dev/mapper/ovirt-audit  1014M 59M  956M   6% /var/log/audit
tmpfs 1,6G   0  1,6G   0% /run/user/0

Is the only way is to deploy the new appliance?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OENYXBK3FVDP6WF6AKO4DYFDGZIM66YI/


[ovirt-users] iso domain don't list available images

2018-10-03 Thread Nathanaël Blanchet

Hello,

I detached an existing iso domain from an other ovirt instance and 
attached it to on a fresh 4.2 install, but no images are available. Is 
it a known bug?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PGTZWT6QMTXWS2VAW4ZMUVQVNIE2KDOK/


[ovirt-users] Re: clean up a fc lun to reuse it

2018-10-03 Thread Nathanaël Blanchet

Hi Luca, great idea!

But a dd is more than a lvremove...

But as well it could mean that the deploy script may look for a 
particular vg which stays present after the dd. Rebooting forces the 
vgscan not to find this particular vg...


So vgremove is really the good way to clean up a lun, and it should be 
the official way into the admin guide



Le 03/10/2018 à 13:23, Luca 'remix_tj' Lorenzetto a écrit :

On Wed, Oct 3, 2018 at 12:24 PM Nathanaël Blanchet  wrote:

Hi all,

I tried to install the Hosted-Engine on a FC lun, and  the first time, it 
failed at the end because of a sanlock issue.
So I fixed it and the re-deoployed from scratch until this new issue
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[Physical 
device initialization failed. Please check that the device is empty and accessible by the 
host.]". HTTP response code is 400.

Before, I found that the lun [2] was used:

[ INFO  ] ok: [localhost]
   The following luns have been found on the requested target:
   [1]36006016039a142001792ac5b1b9e513a1024GiBDGC
VRAID
   status: free, paths: 8 active

   [2]36006016039a142006755b25b7505d26b100GiBDGC
VRAID
   status: used, paths: 8 active

So it was the good explanation for the failure.

Following the admin guide, I cleaned up the lun using

# dd if=/dev/zero of=/dev/mapper/36006016039a142006755b25b7505d26b bs=1M 
count=200 oflag=direct

And re-deployed it until it complains the device was not empty despite of before. The 
script still reported that the status of the lun was "used"

Finally, I rebooted the host, and that time the script considered the lun 
status as free.

So there is somewhere a bit of code into the ansible script that keeps the old 
status of the lun before dd, until rebooting.


Hello,

for removing a volume i usually disable the logical volume (vgremove)
and then the physical volume (pvremove). At this point i have the
device marked as clean.

Luca



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4OGFNDUPYTBW6GD6LBMYE4VNQLUSUNYY/


[ovirt-users] clean up a fc lun to reuse it

2018-10-03 Thread Nathanaël Blanchet

Hi all,

I tried to install the Hosted-Engine on a FC lun, and  the first time, 
it failed at the end because of a sanlock issue.

So I fixed it and the re-deoployed from scratch until this new issue
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is 
"[Physical device initialization failed. Please check that the device is 
empty and accessible by the host.]". HTTP response code is 400.


Before, I found that the lun [2] was used:

[ INFO  ] ok: [localhost]
  The following luns have been found on the requested target:
      [1]    36006016039a142001792ac5b1b9e513a 1024GiB    
DGC    VRAID

          status: free, paths: 8 active

      [2]    36006016039a142006755b25b7505d26b 100GiB    DGC    
VRAID

          status: used, paths: 8 active

So it was the good explanation for the failure.

Following the admin guide, I cleaned up the lun using

|# dd if=/dev/zero of=/dev/mapper/||36006016039a142006755b25b7505d26b bs=1M 
count=200 oflag=direct|

And re-deployed it until it complains the device was not empty despite 
of before. The script still reported that the status of the lun was "used"


Finally, I rebooted the host, and that time the script considered the 
lun status as free.


So there is somewhere a bit of code into the ansible script that keeps 
the old status of the lun before dd, until rebooting.


Is there an other way to refresh the lun status after dd ?

Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P377O6OXSKBOFHY4RHSKZANFVIDM7LVE/


[ovirt-users] Re: Proxmox - oVirt Migration

2018-09-21 Thread Nathanaël Blanchet
o:andre...@starlett.lv>> wrote:

Hi,

Try this:

1) Storage -> Disks -> Upload -> Start
select your existing qcow image

2) Create new VM, and then General -> Instance Images,
clock "+" and
"Attach", select imported disk image.

I think it should work.

PS Someone from oVirt dev team please confirm, I didn't
tried import
existing qcow2.


On 9/17/18 3:30 PM, Leo David wrote:
> Hello everyone,
> I have this situation where I need to migrate about 20
vms from
> Proxmox to oVirt.
> In this case,  its about qcow2 images running on Proxmox.
> I there a recomended way and procedure for doing this ?
> Thank you very much !
>
> --
> Best regards, Leo David
>
> ___
> Users mailing list -- users@ovirt.org
<mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
> List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/YV5CMHDZSXJ5FQ3QRYNL2QKGXGKYHS7L/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/YV5CMHDZSXJ5FQ3QRYNL2QKGXGKYHS7L/>
___
Users mailing list -- users@ovirt.org
<mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/SBW46XILAAVZIPN7Q6SP7ARJCFYO5GPG/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/SBW46XILAAVZIPN7Q6SP7ARJCFYO5GPG/>




___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/A2GETEROWCXZ3NPON7OX3X6V7O5BVT7T/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/A2GETEROWCXZ3NPON7OX3X6V7O5BVT7T/>




-- 
Best regards, Leo David





--
Best regards, Leo David


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3GLWGY7CI5K6SEEZMVH2DUE3Y246XWHO/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WXJZLDEPGCWXPN5SHJY4PMDZ22PYD5S5/


[ovirt-users] cloud -init variable name

2018-07-05 Thread Nathanaël Blanchet

Hello,

I use cloud-init to provision new vm and I'd like the hostname field to 
be a variable so as the name disk to be based on.


i.e: my vm name is toto and the disk alias is toto_Disk1

Is there a way to easlily do such a thing?

Thank you.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CKMCYT6FWC5DREK7FJOW524MJ3ZJCC4U/


[ovirt-users] Re: Hang tasks delete snapshot

2018-06-26 Thread Nathanaël Blanchet



Le 26/06/2018 à 13:29, Marcelo Leandro a écrit :

Hello ,

Nathanael, Thank for reply, if possible can you describe this steps 
and what this command do?


I would like understand for solve future problems.

Very thanks.

Marcelo Leandro

2018-06-26 6:50 GMT-03:00 Nathanaël Blanchet <mailto:blanc...@abes.fr>>:


PGPASSWORD=X
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t
snapshot -u engine

you can find your PGPASSWORD here : 
/etc/ovirt-engine/engine.conf.d/10-setup-database.conf


296c010e-3c1d-4008-84b3-5cd39cff6aa1 |
525a4dda-dbbb-4872-a5f1-8ac2aed48392

This command returns a list of locked processes of the chosen type (-t 
TYPE   - The object type {all | vm | template | disk | snapshot})

First item is the vm id, second one the locked snapshot id.



    REMOVE

PGPASSWORD=X
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot
-u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392


Now use the locked snapshot id to unlock




Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :

Hello,
The few days I tried delete snapshot but the task not concluded
yet. How I can stop this task? I Already try with taskcleaner.sh
but dont had sucess.

attached the ovirt and vdsm-spm logs.

ovirt version. 4.1.9

Thanks.


___
Users mailing list --users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org 
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/>


-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala

<https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>  





--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LDNZR2OZIQO4FT4IYFHVOY73UEX5AXQB/


[ovirt-users] Re: Hang tasks delete snapshot

2018-06-26 Thread Nathanaël Blanchet
PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh 
-q -t snapshot -u engine

296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2aed48392

    REMOVE

PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh 
-t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392



Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :

Hello,
The few days I tried delete snapshot but the task not concluded yet. 
How I can stop this task? I Already try with taskcleaner.sh but dont 
had sucess.


attached the ovirt and vdsm-spm logs.

ovirt version. 4.1.9

Thanks.


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BJB6FI23CA4SNYNSLSL73LZXB7RJDFVZ/


[ovirt-users] Re: Ovirt consulting

2018-06-01 Thread Nathanaël Blanchet

Hello,

You may ask to smile (https://www.smile.eu/fr) or alterway ( 
https://www.alterway.fr/ ,



Le 01/06/2018 à 12:41, Jonathan Del Campo a écrit :

Hello,

I am looking for a specialized Ovirt partner in France in order to 
operate a migration of our system from 3.x to 4.x.


Can someone recommend an Ovirt service partner to perform this kind of 
operations ?


many thanks.

Jonathan


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6RBWU7QTKNRAQDLGKRMIIHR6BQSUF2YG/


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QSWIG7SJW2DVI4DB7OOMGKJ7ZM2STQB2/


[ovirt-users] Re: [ovirt-announce] CVE-2018-3639 - Important - oVirt - Speculative Store Bypass

2018-05-29 Thread Nathanaël Blanchet

I'm not able to do such a thing but it is quite good to know it is feasible!

Was nice to meet you at San Francisco summit :)

Le 28/05/2018 à 19:56, Yaniv Kaul a écrit :



On Mon, May 28, 2018 at 3:40 PM, Nathanaël Blanchet <mailto:blanc...@abes.fr>> wrote:


XP has reached is end of life in may 14 and Microsoft decided to
release an exceptionnal update because of a critical leak last
year... so all is possible when it is about criticity!


All is indeed possible. We always welcome contribution to the oVirt 
project, and you can send patches that backport the 4.2 patches to 4.1 
and build it.

Y.

https://www.microsoft.com/en-us/download/details.aspx?id=18770
<https://www.microsoft.com/en-us/download/details.aspx?id=18770>


Le 28/05/2018 à 14:23, Sandro Bonazzola a écrit :



2018-05-28 14:07 GMT+02:00 Nathanaël Blanchet mailto:blanc...@abes.fr>>:

Hello,

Will a 4.1.9.x security update be released for those who
can't migrate to 4.2.3.7 for any reasons?

No. oVirt 4.1 reached end of life with 4.1.9
https://lists.ovirt.org/pipermail/announce/2018-January/000383.html
<https://lists.ovirt.org/pipermail/announce/2018-January/000383.html>
Please consider updating to 4.2 as soon as practical / possible.


Le 23/05/2018 à 16:57, Sandro Bonazzola a écrit :

As you may have already heard, an industry-wide issue was
found in the way many modern microprocessor designs have
implemented speculative execution of Load & Store instructions.
This issue is well described by CVE-2018-3639 announce
available at
https://access.redhat.com/security/cve/cve-2018-3639
<https://access.redhat.com/security/cve/cve-2018-3639>.

oVirt team has released right now an update of ovirt-engine
to version 4.2.3.7 which add support for SSBD CPUs in order
to mitigate the security issue.

If you are running oVirt on Red Hat Enterprise Linux, please
apply updates described in
https://access.redhat.com/security/cve/cve-2018-3639
<https://access.redhat.com/security/cve/cve-2018-3639>.

If you are running oVirt on CentOS Linux please apply
updated described by:
CESA-2018:1629 Important CentOS 7 kernel Security Update

<https://lists.centos.org/pipermail/centos-announce/2018-May/022843.html>
CESA-2018:1632 Important CentOS 7 libvirt Security

Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022840.html>
CESA-2018:1649 Important CentOS 7 java-1.8.0-openjdk
Security

Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022839.html>
CESA-2018:1648 Important CentOS 7 java-1.7.0-openjdk
Security

Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022838.html>

An update for qemu-kvm-ev has been also tagged for release
and announced with
CESA-2018:1655 Important: qemu-kvm-ev security update
<https://lists.centos.org/pipermail/centos-virt/2018-May/005804.html>
but due to some issues in CentOS release process for Virt
SIG content, it is not yet available on mirrors.
We are working with CentOS community to get the packages
signed and published as soon as possible.
In the meanwhile you can still get the update package by
enabling the test repository
https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/
<https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/>
on your systems or manually installing the package from the
repository.

If you're running oVirt on a different Linux distribution,
please check with your vendor for available updates.

Please note that to fully mitigate this vulnerability,
system administrators must apply both hardware “microcode”
updates and software patches that enable new functionality.
At this time, microprocessor microcode will be delivered by
the individual manufacturers.

The oVirt team recommends end users and systems
administrator to apply any available updates as soon as
practical.

Thanks,
-- 


SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG
VIRTUALIZATION R

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://red.ht/sig>  
<https://redhat.com/summit>



___
Announce mailing list --annou...@ovirt.org <mailto:annou...@ovirt.org>
To unsubscribe send an email toannounce-le...@ovirt.org 
<mailto:announce-le...@ovirt.org>


-- 
Nathanaël Blanchet



[ovirt-users] Re: [ovirt-announce] CVE-2018-3639 - Important - oVirt - Speculative Store Bypass

2018-05-28 Thread Nathanaël Blanchet
XP has reached is end of life in may 14 and Microsoft decided to release 
an exceptionnal update because of a critical leak last year... so all is 
possible when it is about criticity!


https://www.microsoft.com/en-us/download/details.aspx?id=18770


Le 28/05/2018 à 14:23, Sandro Bonazzola a écrit :



2018-05-28 14:07 GMT+02:00 Nathanaël Blanchet <blanc...@abes.fr 
<mailto:blanc...@abes.fr>>:


Hello,

Will a 4.1.9.x security update be released for those who can't
migrate to 4.2.3.7 for any reasons?

No. oVirt 4.1 reached end of life with 4.1.9 
https://lists.ovirt.org/pipermail/announce/2018-January/000383.html

Please consider updating to 4.2 as soon as practical / possible.


Le 23/05/2018 à 16:57, Sandro Bonazzola a écrit :

As you may have already heard, an industry-wide issue was found
in the way many modern microprocessor designs have implemented
speculative execution of Load & Store instructions.
This issue is well described by CVE-2018-3639 announce available
at https://access.redhat.com/security/cve/cve-2018-3639
<https://access.redhat.com/security/cve/cve-2018-3639>.

oVirt team has released right now an update of ovirt-engine to
version 4.2.3.7 which add support for SSBD CPUs in order to
mitigate the security issue.

If you are running oVirt on Red Hat Enterprise Linux, please
apply updates described in
https://access.redhat.com/security/cve/cve-2018-3639
<https://access.redhat.com/security/cve/cve-2018-3639>.

If you are running oVirt on CentOS Linux please apply updated
described by:
CESA-2018:1629 Important CentOS 7 kernel Security Update
<https://lists.centos.org/pipermail/centos-announce/2018-May/022843.html>
CESA-2018:1632 Important CentOS 7 libvirt Security

Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022840.html>
CESA-2018:1649 Important CentOS 7 java-1.8.0-openjdk Security

Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022839.html>
CESA-2018:1648 Important CentOS 7 java-1.7.0-openjdk Security

Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022838.html>

An update for qemu-kvm-ev has been also tagged for release and
announced with
CESA-2018:1655 Important: qemu-kvm-ev security update
<https://lists.centos.org/pipermail/centos-virt/2018-May/005804.html>
but due to some issues in CentOS release process for Virt SIG
content, it is not yet available on mirrors.
We are working with CentOS community to get the packages signed
and published as soon as possible.
In the meanwhile you can still get the update package by enabling
the test repository
https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/
<https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/>
on your systems or manually installing the package from the
repository.

If you're running oVirt on a different Linux distribution, please
check with your vendor for available updates.

Please note that to fully mitigate this vulnerability, system
administrators must apply both hardware “microcode” updates and
software patches that enable new functionality.
At this time, microprocessor microcode will be delivered by the
individual manufacturers.

The oVirt team recommends end users and systems administrator to
apply any available updates as soon as practical.

Thanks,
-- 


SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://red.ht/sig>  
<https://redhat.com/summit>



___
Announce mailing list --annou...@ovirt.org <mailto:annou...@ovirt.org>
To unsubscribe send an email toannounce-le...@ovirt.org 
<mailto:announce-le...@ovirt.org>


-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala

<https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>  





--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://red.ht/sig>  
<https://redhat.com/summit>



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@

[ovirt-users] Re: [ovirt-announce] CVE-2018-3639 - Important - oVirt - Speculative Store Bypass

2018-05-28 Thread Nathanaël Blanchet

Hello,

Will a 4.1.9.x security update be released for those who can't migrate 
to 4.2.3.7 for any reasons?



Le 23/05/2018 à 16:57, Sandro Bonazzola a écrit :
As you may have already heard, an industry-wide issue was found in the 
way many modern microprocessor designs have implemented speculative 
execution of Load & Store instructions.
This issue is well described by CVE-2018-3639 announce available at 
https://access.redhat.com/security/cve/cve-2018-3639.


oVirt team has released right now an update of ovirt-engine to version 
4.2.3.7 which add support for SSBD CPUs in order to mitigate the 
security issue.


If you are running oVirt on Red Hat Enterprise Linux, please apply 
updates described in https://access.redhat.com/security/cve/cve-2018-3639.


If you are running oVirt on CentOS Linux please apply updated 
described by:
CESA-2018:1629 Important CentOS 7 kernel Security Update 
<https://lists.centos.org/pipermail/centos-announce/2018-May/022843.html>
CESA-2018:1632 Important CentOS 7 libvirt Security 
Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022840.html>
CESA-2018:1649 Important CentOS 7 java-1.8.0-openjdk Security 
Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022839.html>
CESA-2018:1648 Important CentOS 7 java-1.7.0-openjdk Security 
Update<https://lists.centos.org/pipermail/centos-announce/2018-May/022838.html>


An update for qemu-kvm-ev has been also tagged for release and 
announced with
CESA-2018:1655 Important: qemu-kvm-ev security update 
<https://lists.centos.org/pipermail/centos-virt/2018-May/005804.html>
but due to some issues in CentOS release process for Virt SIG content, 
it is not yet available on mirrors.
We are working with CentOS community to get the packages signed and 
published as soon as possible.
In the meanwhile you can still get the update package by enabling the 
test repository 
https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/ on your 
systems or manually installing the package from the repository.


If you're running oVirt on a different Linux distribution, please 
check with your vendor for available updates.


Please note that to fully mitigate this vulnerability, system 
administrators must apply both hardware “microcode” updates and 
software patches that enable new functionality.
At this time, microprocessor microcode will be delivered by the 
individual manufacturers.


The oVirt team recommends end users and systems administrator to apply 
any available updates as soon as practical.


Thanks,
--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://red.ht/sig>  
<https://redhat.com/summit>



___
Announce mailing list -- annou...@ovirt.org
To unsubscribe send an email to announce-le...@ovirt.org


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RRPZTT7O64XHU4P5UXOYFNEHTO4WVZNC/


Re: [ovirt-users] 2 data centeres, production and backup

2018-04-20 Thread Nathanaël Blanchet



Le 19/04/2018 à 12:26, Bartomeu F. Sastre a écrit :

Hi, I would like to manage 2 separated data centers, one in a site and another 
place connected with optic fiber.

exactly the same here



so I guess that I have to use 2 engines, one in each data center.

you can also

 * use one engine for 2DCs
 * if you use a common shared data domain (commonly NFS or iscsi), you
   can run only one DC, so you will be able to start your vms
   everywhere over your both DCs in a disaster case.



Would they be able to see each other and move machines from one to another ?


 * in the case of two engines, clearly not, you'll have to use export
   domain to move your vms.
 * in the case of 2 DCs that share common data domains, you'll be able
   to move shutdown vms editing the DC/cluster in the properties tabs.
 * in the common shared data domain, you'll be able to live migrate vms
   if their hosts belong to the same cluster. If not, Shutdown your vms
   and move them to the targetted cluster


  So I want to schedule backups to send periodically machines form the 
production DC to the backup DC, and in case of an emergency be able to start 
the VM on the backup data center.

You can use vm backup script that can save your vm to

 * the (NFS) export domain. When restoring you'll have to import all
   your vms, it can be a very long process
 * an other data domain, and reattach it to your backup DC.



thanks !



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] can't select network in network section of initial run

2018-03-23 Thread Nathanaël Blanchet

Okay, I answer to myself, I found how to do it

At the first network step, I shouldn't expect an existing network or 
something else to be available, but I should choose the name of the 
interface which one become available... very strange way to do, but it 
is ok.



Le 22/03/2018 à 18:12, Nathanaël Blanchet a écrit :

Hi all,

In ovirt 4.1.9, the "select network above" is blank when I want to add 
a network with cloud-init.


Is it a known bug corrected in the 4.2.x branch?



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] can't select network in network section of initial run

2018-03-22 Thread Nathanaël Blanchet

Hi all,

In ovirt 4.1.9, the "select network above" is blank when I want to add a 
network with cloud-init.


Is it a known bug corrected in the 4.2.x branch?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] dns vm and ovirt

2018-03-16 Thread Nathanaël Blanchet

Thanks for precious advices!

So  it means that people who thought about hosted engine feature didn't 
get into your philosophy of running the engine into a second datacenter



Le 16/03/2018 à 16:48, Christopher Cox a écrit :

On 03/16/2018 07:58 AM, Nathanaël Blanchet wrote:

Hi all,

I'd need some piece of good practice about dealing a DNS server in or 
out of ovirt.
Until now we never wanted to integrate the DNS vm into ovirt because 
of the strong dependency. if the DNS server fails for any reason, it 
becomes difficult ot join the webadmin (except with a static etc 
hosts) and the nodes may become unvailable if they had been 
configured with fqdn.
We could consider a DNS failover setup, but in a self hosted engine 
setup (and more globally an hyperconverged setup) , it doesn't make 
sense of setting up a stand alone DNS vm outside of ovirt.


So what about imitating engine vm status in a hosted engine setup? Is 
there a way to install the DNS vm outside of ovirt but on the ovirt 
host (and why not in a HA mode)?
Second option could be installing the named service on the hosted 
engine vm?


Any suggestion or return of experience would be much appreciated.



You are wise to think of this as a dependency problem.  When dealing 
with any "in band" vs. "out of band" type of scenario you want to 
properly address how things work "without" the dependency.


So.. for example, you could maintain a static host table setup for 
your ovirt nodes.  Thus, they could find each other without DNS. Also, 
those nodes might have an external DNS configured for lookups 
(something you don't own) just so things like updates can happen.


There are risks to everything.  Putting key (normally) out of band 
infrastructure into your oVirt, including the engine, always involves 
more risk.


With that said, if you think about you key infrastructure being as a 
separate oVirt datacenter, it would have things like the "static host" 
maps and such.  Some of the infrastructure VMs housed there could 
include the engine for the "general" datacenters (the ones not 
providing VMs for key infrastructure).  This these "general" purpose 
datacenters would house the normal VMs and use potentially VMs out of 
the "infrastructure" datacenter.  Does that make sense?


It's not unlike how a lot of cloud providers operate.  In fact, one 
well known provider used to house their core cloud infrastructure in 
VMware and use "cheaper" hypervisors for their cloud clients.


Summary:
static confs for infrastructure ovirt datacenter containing key core 
infrastructure VMs (including things like DNS, DHCP, Active Directory, 
and oVirt engines) used by general purpose ovirt datacenters.


Obviously the infrastructure datacenter becomes very important, much 
like your base network and should be thought of as "first" priority, 
much like the network.  And much like the network, depends on some 
kickstarter static configs.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] dns vm and ovirt

2018-03-16 Thread Nathanaël Blanchet

Hi all,

I'd need some piece of good practice about dealing a DNS server in or 
out of ovirt.
Until now we never wanted to integrate the DNS vm into ovirt because of 
the strong dependency. if the DNS server fails for any reason, it 
becomes difficult ot join the webadmin (except with a static etc hosts) 
and the nodes may become unvailable if they had been configured with fqdn.
We could consider a DNS failover setup, but in a self hosted engine 
setup (and more globally an hyperconverged setup) , it doesn't make 
sense of setting up a stand alone DNS vm outside of ovirt.


So what about imitating engine vm status in a hosted engine setup? Is 
there a way to install the DNS vm outside of ovirt but on the ovirt host 
(and why not in a HA mode)?

Second option could be installing the named service on the hosted engine vm?

Any suggestion or return of experience would be much appreciated.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt VMS backup

2018-03-13 Thread Nathanaël Blanchet

sorry, but your link is broken


Le 12/03/2018 à 19:33, Victor José Acosta Domínguez a écrit :

http://blog.infratic.com/blog/2017/07/07/create-ovirtrhevs-vm-backup/

Victor Acosta

RHCE - RHCSA - RHCVA - VCA-DCV


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] docker, kubernetes and ovirt

2018-01-18 Thread Nathanaël Blanchet
And without the kubernetes ui plugin, how can I achieve to use the ovirt 
cloud provider described on the official kubernetes site : 
https://kubernetes.io/docs/getting-started-guides/ovirt/ ?



Le 18/01/2018 à 17:55, Nathanaël Blanchet a écrit :

Hi all,

Regarding to this video : https://www.youtube.com/watch?v=JyyST4ZKne8 
and ovedou.blogspot.fr/2014/03/running-docker-container-in-ovirt.html, 
it appears that some stuff has been done in integrated docker into ovirt.


I'm interested into these two UI plugins : docker-resources (I found 
it in samples-uiplugins) and the kubernetes one that I didn't find 
anywhere.


Can anyone tell me if the development of that projects are 
definitively stopped and the reason why?




--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] docker, kubernetes and ovirt

2018-01-18 Thread Nathanaël Blanchet

Hi all,

Regarding to this video : https://www.youtube.com/watch?v=JyyST4ZKne8 
and ovedou.blogspot.fr/2014/03/running-docker-container-in-ovirt.html, 
it appears that some stuff has been done in integrated docker into ovirt.


I'm interested into these two UI plugins : docker-resources (I found it 
in samples-uiplugins) and the kubernetes one that I didn't find anywhere.


Can anyone tell me if the development of that projects are definitively 
stopped and the reason why?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-guest-agent on atomic ?

2018-01-15 Thread Nathanaël Blanchet
Hi all, I didn't find any working ovirt-guest-agent for atomic7, and it 
is a requirement for launching atomic from vagrant-ovirt4 plugin.
I tried installing ovirt-guest-agent inside, I tried installing 
ovirtguestagent/centos7-atomic, but I had no success


Does any official project exist for it?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] wheel next to the up triangle in the UI

2018-01-12 Thread Nathanaël Blanchet
You're right, if I manually stop and restart the vm through the ui, the 
wheel disappears. But, restarting the vm with vagrant, the wheel comes 
back, so I guess it comes from sdk4 action (ansible/vagrant), while I 
first guessed it came from cloud-init.



Le 11/01/2018 à 19:31, Luca 'remix_tj' Lorenzetto a écrit :

I suppose is because they're started with  "run once".

Happens the same also when you deploy with ansible using cloud-init. I 
think with vagrant is the same.


Luca

Il 11 gen 2018 7:24 PM, "Nathanaël Blanchet" <blanc...@abes.fr 
<mailto:blanc...@abes.fr>> ha scritto:


Hi all,

I'm using vagrant ovirt4 plugin to provision some vms, and I
noticed that a wheel is still present next to the up status of
those vms. What does that mean?

-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala

<https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>

___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] wheel next to the up triangle in the UI

2018-01-11 Thread Nathanaël Blanchet

Hi all,

I'm using vagrant ovirt4 plugin to provision some vms, and I noticed 
that a wheel is still present next to the up status of those vms. What 
does that mean?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [vdsm] status update: running containers alongside VMs

2018-01-05 Thread Nathanaël Blanchet
;: [
   {
   "Subnet": "192.168.1.0/24",
   "IPRange": "192.168.1.0/24",
   "Gateway": "192.168.1.1"
   }
   ]
   },
   "Internal": false,
   "Containers": {},
   "Options": {
   "parent": "enp3s0"
   },
   "Labels": {}
   }
   ]

Looks good! the host configuration is completed. Let's move to the Engine side.

## 3. Configure Engine

As mentioned above, we need now to configure Engine. This boils down to:
Add a few custom properties for VMs:

In case you were already using custom properties, you need to amend the command
line to not overwrite your existing ones.

   # engine-config -s 
UserDefinedVMProperties='volumeMap=^[a-zA-Z_-]+:[a-zA-Z_-]+$;containerImage=^[a-zA-Z]+(://|)[a-zA-Z]+$;containerType=^(docker|rkt)$'
 --cver=4.0

It is worth stressing that while the variables are container-specific,
the VM custom properties are totally inuntrusive and old concept in oVirt, so
this step is totally safe.

Now restart Engine to let it use the new variables:

   # systemctl restart ovirt-engine

The next step is actually configure one "container VM" and run it.

## 4. Create the container "VM"

To finally run a container, you start creating a VM much like you always did, 
with
few changes

   1. most of the hardware-related configuration isn't relevant for container 
"VMs",
  besides cpu share and memory limits; this will be better documented in the
  future; unneeded configuration will just be ignored
   2. You need to set some custom properties for your container "VM". Those are
  actually needed to enable the container flow, and they are documented in
  the next section. You *need* to set at least `containerType` and 
`containerImage`.

### 4.2. Custom variables for container support

The container support needs some custom properties to be properly configured:

   1. `containerImage` (*needed* to enable the container system).
  Just select the target image you want to run. You can use the standard 
syntax of the
  container runtimes.

   2. `containerType` (*needed* to enable the container system).
  Selects the container runtime you want to use. All the available options 
are always showed.
  Please note that unavailable container options are not yet grayed out.
  If you *do not* have rkt support on your host, you still can select it, 
but it won't work.

   3. `volumeMap` key:value like. You can map one "VM" disk (key) to one 
container volume (value),
  to have persistent storage. Only file-based storage is supported.

Example configuration:

`containerImage = redis`
`containerType = docker`
`volumeMap = vda:data` (this may not be needed, and the volume label is 
just for illustrative purposes)

### 4.2. A little bit of extra work: preload the images on the Vdsm host

This step is not needed by the flow, and will be handled by oVirt in the future.
The issue is how the container image are handled. They are stored by the 
container
management system (rkt, docker) on each host, and they are not pre-downloaded.

To shorten the duration of the first boot, you are advised to pre-download
the image(s) you want to run. For example

   ## on the Vdsm host you want to use with containers
   # docker pull redis

## 5. Run the container "VM"

You are now all set to run your "VM" using oVirt Engine, just like any existing 
VM.
Some actions doesn't make sense for a container "VM", like live migration.
Engine won't stop you to try to do those actions, but they will fail gracefully
using the standard errors.

## 6. Next steps

What to expect from this project in the future?
For the integration with Vdsm, we want to fix the existing known issues, most 
notably:

   * add proper monitoring/reporting of the container health
   * ensure proper integration of the container image store with oVirt storage 
management
   * streamline the network configuration

What is explicitely excluded yet is any Engine change. This is a Vdsm-only 
change at the
moment, so fixing the following is currently unplanned:

   * First and foremost, Engine will not distinguish between real VMs and 
container VMs.
 Actions unavailable to container will not be hidden from UI. Same for 
monitoring
 and configuration data, which will be ignored.
   * Engine is NOT aware of the volumes one container can use. You must inspect 
and do the
 mapping manually.
   * Engine is NOT aware of the available container runtimes. You must select 
it carefully

Proper integration with Engine may be added in the future once this feature 
exits
from the experimental/provisional stage.

Thanks for reading, make sure to share your thoughts on the oVirt mailing lists!

+++

[1] we keep calling it that way _only_ interna

Re: [ovirt-users] oVirt 4.2.0 is now generally available

2017-12-22 Thread Nathanaël Blanchet

It depends on your storage configuration...

 *      if you're using local storage, you can attach an additional
   shared storage to the local one, then move your vms to it and then
   detach this domain from your old ovirt.


After creating from scratch a new domain in your new 4.2 ovirt , you 
will attach the previous shared domain and finally import vms on it. 
This operation is nearly similar to the export domain feature, except it 
only imports vm defintion, so you don't have to copy the disks to the 
new domain.


 *      If you're already using shared storage, detach it form the old
   ovirt and after attching it to the new one, you just have to
   reimport vms defintion.


Le 21/12/2017 à 18:20, Blaster a écrit :

What a great Christmas present!

I'm still running 3.6.3 All-In-One configuration on Fedora 22. So it 
looks like I'll be starting from scratch.


Is there any decent way yet to take my on disk VM images and easily 
attach them?  I put in an RFE for that which looks like it didn't make 
it into 4.2, now slated for 4.2.1.


The old way I used to do this was to create new VMs with new disks, 
then just copy over my old VMs to the disk files of the new VMs.  I'm 
assuming I'll still have to use that method.



On 12/20/2017 3:40 AM, Sandro Bonazzola wrote:


The oVirt project is excited to announce the general availability of 
oVirt 4.2.0, as of December 20, 2017.






___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] two questions about 4.2 feature

2017-12-22 Thread Nathanaël Blanchet

Hi all,

On 4.2, it seems that it is not possible anymore to move a disk to an 
other storage domain through the vm disk tab (still possible from the 
storage disk tab).


Secondly, while the new design is great, is there a possibility to keep 
the old one for any needs?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] FC LUNs not detected

2017-12-21 Thread Nathanaël Blanchet

Have you choosed  the good datacenter/cluster/host?

What you see in the ui is the view from the selected host.

You may not have configured the lun to be available on the other ovirt 
hosts, and you chose one of these wrong hosts.


In every ways, you must make this lun available to all nodes of your 
cluster, otherwise, you won't be able to initiate your storage domain.



Le 20/12/2017 à 23:29, Zygmunt Diao a écrit :


Hi All,

From the oVirt Manager, I am trying to create a new storage domain 
from Fiber Channel but I only see the local disks on the host.


When I check the storage on the oVirt node itself on the Cockpit user 
interface, the SAN disk is detected:


Model   VV

Firmware Version    3215

Serial Number 1650052

World Wide Name   0x60002ac00070c384

Capacity 2 TiB, 2.2 TB, 219902322 bytes

Device File   -

Multipathed Devices  /dev/sde /dev/sdg /dev/sdi /dev/sdk /dev/sdm 
/dev/sdo /dev/sdq /dev/sds


Can someone please help with the issue?

oVirt Node 4.1.8

oVirt Engine Version: 4.1.8.2-1.el7.centos

Thanks,

Zygmunt



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] about iscsi multipathing

2017-12-14 Thread Nathanaël Blanchet

Hi all,

It should be a good idea not to allow adding a new iscsi multipath 
profile when hosts don't have an IP address on the selected network... 
or make unvailable network that don't have IP address in the dialog. 
Currently, engine allows it without error while it is not effective on 
the hosts. Should be a RFE, shouldn't be?


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] critical production issue for a vm

2017-12-07 Thread Nathanaël Blanchet



Le 07/12/2017 à 14:32, Donny Davis a écrit :
This is just a shot in the dark,  but have you tried to use the disk 
copy feature? You can copy the disks back to where they were and try 
starting the VM
No it doesn't work, the reason is always the same, some disks reference 
on the lun were broken...


On Thu, Dec 7, 2017 at 7:48 AM, Nathanaël Blanchet <blanc...@abes.fr 
<mailto:blanc...@abes.fr>> wrote:




Le 06/12/2017 à 15:56, Maor Lipchuk a écrit :



On Wed, Dec 6, 2017 at 12:30 PM, Nicolas Ecarnot
<nico...@ecarnot.net <mailto:nico...@ecarnot.net>> wrote:

    Le 06/12/2017 à 11:21, Nathanaël Blanchet a écrit :

Hi all,

I'm about to lose one very important vm. I shut down this
vm for maintenance and then I moved the four disks to a
new created lun. This vm has 2 snapshots.

After successful move, the vm refuses to start with this
message:

Bad volume specification {u'index': 0, u'domainID':
u'961ea94a-aced-4dd0-a9f0-266ce1810177', 'reqsize': '0',
u'format': u'cow', u'bootOrder': u'1', u'discard': False,
u'volumeID': u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b',
'apparentsize': '2147483648 <tel:%28214%29%20748-3648>',
u'imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a',
u'specParams': {}, u'readonly': u'false', u'iface':
u'virtio', u'optional': u'false', u'deviceId':
u'4a95614e-bf1d-407c-aa72-2df414abcb7a', 'truesize':
'2147483648 <tel:%28214%29%20748-3648>', u'poolID':
u'48ca3019-9dbf-4ef3-98e9-08105d396350', u'device':
u'disk', u'shared': u'false', u'propagateErrors': u'off',
u'type': u'disk'}.

I tried to merge the snaphots, export , clone from
snapshot, copy disks, or deactivate disks and every
action fails when it is about disk.

I began to dd lv group to get a new vm intended to a
standalone libvirt/kvm, the vm quite boots up but it is
an outdated version before the first snapshot. There is a
lot of disks when doing a "lvs | grep 961ea94a" supposed
to be disks snapshots. Which of them must I choose to get
the last vm before shutting down? I'm not used to deal
snapshot with virsh/libvirt, so some help will be much
appreciated.


The disks which you want to copy should contain the entire volume
chain.
Based on the log you mentioned, It looks like this image is
problematic:

  storage id: '961ea94a-aced-4dd0-a9f0-266ce1810177',
  imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a
  volumeID': u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b'

What if you try to deactivate this image and try to run the VM,
will it run?

I already tried to do what you suggest, but it is the same, and
more this disk is part of a volume groupe, so I can't boot the vm
without it.




Is there some unknown command to recover this vm into ovirt?

Thank you in advance.






___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>


Beside specific oVirt answers, did you try to get
informations about the snapshot tree with qemu-img info
--backing-chain on the adequate /dev/... logical volume?
As you know how to dd from LVs, you could extract every
needed snapshots files and rebuild your VM outside of oVirt.
Then take time to re-import it later and safely.

-- 
Nicolas ECARNOT

___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>




___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>


-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr <mailto:blanc...@abes.fr>  



___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>




--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-

Re: [ovirt-users] critical production issue for a vm

2017-12-07 Thread Nathanaël Blanchet

Many thanks to Nicolas who saved my life!

When the export of disks (base + snapshot) has finished, I managed to 
boot up the vm into libvirt/kvm with the top disk snapshot as the main disk.
Then, I believed reimporting the vm was the last thing to do, but 
integrated virt-v2v doesn't support importing vm with external 
snapshots, so when the importing process has finished, I couldn't boot 
up the vm.

I had to merge the snapshots with qemu tools:

qemu-img rebase-b  base.raw snap2.qcow2
qemu-img commit snap2.qcow2

And then, attaching the base image of each disk to the libvirt vm before 
reimporting it chosing "preallocated" for raw disks.


This is a manual method, but it was first necessary to find the disk id 
into lvm thanks to ovirt-shell: list disks --query "name=hortensia*" 
--show-all.


When finding the volume group id corresponding to the vm, I had to 
activate all the logical volume with lvchange -ay /dev/... and then 
finding qcow2 information with qemu-img info --backing-chain


*In this specific desastry, is there something to do with ovirt itself 
instead of exporting/reimporting, knowing that vm disks on the lun are 
intact, while the main reason is that the reference to some disks are 
broken into database?*



Le 06/12/2017 à 11:30, Nicolas Ecarnot a écrit :

Le 06/12/2017 à 11:21, Nathanaël Blanchet a écrit :

Hi all,

I'm about to lose one very important vm. I shut down this vm for 
maintenance and then I moved the four disks to a new created lun. 
This vm has 2 snapshots.


After successful move, the vm refuses to start with this message:

Bad volume specification {u'index': 0, u'domainID': 
u'961ea94a-aced-4dd0-a9f0-266ce1810177', 'reqsize': '0', u'format': 
u'cow', u'bootOrder': u'1', u'discard': False, u'volumeID': 
u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b', 'apparentsize': 
'2147483648', u'imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a', 
u'specParams': {}, u'readonly': u'false', u'iface': u'virtio', 
u'optional': u'false', u'deviceId': 
u'4a95614e-bf1d-407c-aa72-2df414abcb7a', 'truesize': '2147483648', 
u'poolID': u'48ca3019-9dbf-4ef3-98e9-08105d396350', u'device': 
u'disk', u'shared': u'false', u'propagateErrors': u'off', u'type': 
u'disk'}.


I tried to merge the snaphots, export , clone from snapshot, copy 
disks, or deactivate disks and every action fails when it is about disk.


I began to dd lv group to get a new vm intended to a standalone 
libvirt/kvm, the vm quite boots up but it is an outdated version 
before the first snapshot. There is a lot of disks when doing a "lvs 
| grep 961ea94a" supposed to be disks snapshots. Which of them must I 
choose to get the last vm before shutting down? I'm not used to deal 
snapshot with virsh/libvirt, so some help will be much appreciated.


Is there some unknown command to recover this vm into ovirt?

Thank you in advance.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



Beside specific oVirt answers, did you try to get informations about 
the snapshot tree with qemu-img info --backing-chain on the adequate 
/dev/... logical volume?
As you know how to dd from LVs, you could extract every needed 
snapshots files and rebuild your VM outside of oVirt.

Then take time to re-import it later and safely.



--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] critical production issue for a vm

2017-12-07 Thread Nathanaël Blanchet



Le 06/12/2017 à 15:56, Maor Lipchuk a écrit :



On Wed, Dec 6, 2017 at 12:30 PM, Nicolas Ecarnot <nico...@ecarnot.net 
<mailto:nico...@ecarnot.net>> wrote:


Le 06/12/2017 à 11:21, Nathanaël Blanchet a écrit :

Hi all,

I'm about to lose one very important vm. I shut down this vm
for maintenance and then I moved the four disks to a new
created lun. This vm has 2 snapshots.

After successful move, the vm refuses to start with this message:

Bad volume specification {u'index': 0, u'domainID':
u'961ea94a-aced-4dd0-a9f0-266ce1810177', 'reqsize': '0',
u'format': u'cow', u'bootOrder': u'1', u'discard': False,
u'volumeID': u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b',
'apparentsize': '2147483648 <tel:%28214%29%20748-3648>',
u'imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a',
u'specParams': {}, u'readonly': u'false', u'iface': u'virtio',
u'optional': u'false', u'deviceId':
u'4a95614e-bf1d-407c-aa72-2df414abcb7a', 'truesize':
'2147483648 <tel:%28214%29%20748-3648>', u'poolID':
u'48ca3019-9dbf-4ef3-98e9-08105d396350', u'device': u'disk',
u'shared': u'false', u'propagateErrors': u'off', u'type':
u'disk'}.

I tried to merge the snaphots, export , clone from snapshot,
copy disks, or deactivate disks and every action fails when it
is about disk.

I began to dd lv group to get a new vm intended to a
standalone libvirt/kvm, the vm quite boots up but it is an
outdated version before the first snapshot. There is a lot of
disks when doing a "lvs | grep 961ea94a" supposed to be disks
snapshots. Which of them must I choose to get the last vm
before shutting down? I'm not used to deal snapshot with
virsh/libvirt, so some help will be much appreciated.


The disks which you want to copy should contain the entire volume chain.
Based on the log you mentioned, It looks like this image is problematic:

  storage id: '961ea94a-aced-4dd0-a9f0-266ce1810177',
  imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a
  volumeID': u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b'

What if you try to deactivate this image and try to run the VM, will 
it run?
I already tried to do what you suggest, but it is the same, and more 
this disk is part of a volume groupe, so I can't boot the vm without it.




Is there some unknown command to recover this vm into ovirt?

Thank you in advance.






___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>


Beside specific oVirt answers, did you try to get informations
about the snapshot tree with qemu-img info --backing-chain on the
adequate /dev/... logical volume?
As you know how to dd from LVs, you could extract every needed
snapshots files and rebuild your VM outside of oVirt.
Then take time to re-import it later and safely.

-- 
Nicolas ECARNOT

___
Users mailing list
Users@ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] critical production issue for a vm

2017-12-06 Thread Nathanaël Blanchet

Hi all,

I'm about to lose one very important vm. I shut down this vm for 
maintenance and then I moved the four disks to a new created lun. This 
vm has 2 snapshots.


After successful move, the vm refuses to start with this message:

Bad volume specification {u'index': 0, u'domainID': 
u'961ea94a-aced-4dd0-a9f0-266ce1810177', 'reqsize': '0', u'format': 
u'cow', u'bootOrder': u'1', u'discard': False, u'volumeID': 
u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b', 'apparentsize': '2147483648', 
u'imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a', u'specParams': {}, 
u'readonly': u'false', u'iface': u'virtio', u'optional': u'false', 
u'deviceId': u'4a95614e-bf1d-407c-aa72-2df414abcb7a', 'truesize': 
'2147483648', u'poolID': u'48ca3019-9dbf-4ef3-98e9-08105d396350', 
u'device': u'disk', u'shared': u'false', u'propagateErrors': u'off', 
u'type': u'disk'}.


I tried to merge the snaphots, export , clone from snapshot, copy disks, 
or deactivate disks and every action fails when it is about disk.


I began to dd lv group to get a new vm intended to a standalone 
libvirt/kvm, the vm quite boots up but it is an outdated version before 
the first snapshot. There is a lot of disks when doing a "lvs | grep 
961ea94a" supposed to be disks snapshots. Which of them must I choose to 
get the last vm before shutting down? I'm not used to deal snapshot with 
virsh/libvirt, so some help will be much appreciated.


Is there some unknown command to recover this vm into ovirt?

Thank you in advance.

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

 Event ID: -1, Message: VM hortensia was started by sblanc...@levant.abes.fr@abes.fr-authz (Host: aquilon).
2017-12-06 11:01:16,292+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-10) [] VM 'f337aa89-6e4e-4cc9-b78e-a5bd9ee946ec' was reported as Down on VDS 'b692c250-4f71-4569-801f-6bfd3b8f50b9'(aquilon)
2017-12-06 11:01:16,294+01 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand] (ForkJoinPool-1-worker-10) [] START, DestroyVDSCommand(HostName = aquilon, DestroyVmVDSCommandParameters:{runAsync='true', hostId='b692c250-4f71-4569-801f-6bfd3b8f50b9', vmId='f337aa89-6e4e-4cc9-b78e-a5bd9ee946ec', force='false', secondsToWait='0', gracefully='false', reason='', ignoreNoVm='true'}), log id: 6ddce93f
2017-12-06 11:01:17,301+01 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand] (ForkJoinPool-1-worker-10) [] FINISH, DestroyVDSCommand, log id: 6ddce93f
2017-12-06 11:01:17,301+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-10) [] VM 'f337aa89-6e4e-4cc9-b78e-a5bd9ee946ec'(hortensia) moved from 'WaitForLaunch' --> 'Down'
2017-12-06 11:01:17,399+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-10) [] EVENT_ID: VM_DOWN_ERROR(119), Correlation ID: null, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: VM hortensia is down with error. Exit message: Bad volume specification {u'index': 0, u'domainID': u'961ea94a-aced-4dd0-a9f0-266ce1810177', 'reqsize': '0', u'format': u'cow', u'bootOrder': u'1', u'discard': False, u'volumeID': u'a0b6d5cb-db1e-4c25-aaaf-1bbee142c60b', 'apparentsize': '2147483648', u'imageID': u'4a95614e-bf1d-407c-aa72-2df414abcb7a', u'specParams': {}, u'readonly': u'false', u'iface': u'virtio', u'optional': u'false', u'deviceId': u'4a95614e-bf1d-407c-aa72-2df414abcb7a', 'truesize': '2147483648', u'poolID': u'48ca3019-9dbf-4ef3-98e9-08105d396350', u'device': u'disk', u'shared': u'false', u'propagateErrors': u'off', u'type': u'disk'}.
2017-12-06 11:01:17,400+01 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-10) [] add VM 'f337aa89-6e4e-4cc9-b78e-a5bd9ee946ec'(hortensia) to rerun treatment
2017-12-06 11:01:17,404+01 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] (ForkJoinPool-1-worker-10) [] Rerun VM 'f337aa89-6e4e-4cc9-b78e-a5bd9ee946ec'. Called from VDS 'aquilon'
2017-12-06 11:01:17,466+01 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-39) [] EVENT_ID: USER_INITIATED_RUN_VM_FAILED(151), Correlation ID: d6fc6f3b-b3b2-466d-8fcd-c145d3cf645a, Job ID: 5674a186-14c2-46f3-9008-99fd9d3fd979, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to run VM hortensia on Host aquilon.
2017-12-06 11:01:17,474+01 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-7-thread-39) [] Lock Acquired to object 'EngineLock:{exclusiveLocks='[f337aa89-6e4e-4cc9-b78e-a5bd9ee946ec=VM]', sharedLocks=''}'
2017-12-06 11:01:17,525+01 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (org.ovirt.thread.pool-7-thread-39) [] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSComm

  1   2   3   4   5   >