[ovirt-users] Re: Users and VM permissions matrix

2019-11-07 Thread Colin Coe
Hi, any more thoughts on how I can get all the permissions assigned to each
VM?

Thanks

On Wed, Nov 6, 2019 at 8:07 PM Colin Coe  wrote:

> Hi
>
> At the moment I'm just trying to work out how to get the info but
> ultimately it needs to be a matrix of users across the top, VMs down and
> print the role where the two intersect.
>
> Thanks
>
> On Wed, Nov 6, 2019 at 1:22 AM Ondra Machacek  wrote:
>
>>
>>
>> On 05/11/2019 11:57, Colin Coe wrote:
>> > Hi all
>> >
>> > I've been tasked with creating a matrix of users/groups and VMs so we
>> > can easily see who has access to what (via SPCIE console).
>> >
>> > Google has given me a couple of hints but I can get it over the line.
>> >
>> > ---
>> > users_service = connection.system_service().users_service()
>> > users = users_service.list()
>> >
>> > for user in users:
>> >  username = user.user_name.split('@')[0]
>> >
>> >  # Follow the link to the permissions of the user:
>> >  perms = connection.follow_link(user.permissions)
>> >  for perm in perms:
>> >  if perm.vm:
>> >  print(username)
>> >  permissions_service =
>> > connection.system_service().permissions_service()
>>
>> Well if you would add here:
>>
>> print (connections.follow_link(perm.role).name)
>>
>> you would know the name of the role that user have,
>> but you wouldn't know for which object this role is
>> assigned.
>>
>> What exactly should be the output of your script?
>>
>> For example:
>>
>> User1:
>> VMs:
>>   vm1: UserVmManager
>>   vm2: UserRole
>> CLusters:
>>   cluster1: UserRole
>>
>> User2:
>> VMs:
>>   vm3: UserRole
>>
>> Group1:
>> CLusters:
>>   cluster2: UserRole
>>
>> ?
>>
>> >  print(perm.vm.id )
>> > ---
>> >
>> > The problem is with permissions, the output from above is:
>> > ---
>> > user1
>> > 1b645daf-de26-4f33-9e3b-6a12eadd4618
>> > user2
>> > 9c79e763-f78d-4bf9-b8ca-20fe197fd80c
>> > user3
>> > f9d00b30-8003-41c3-95a1-10e0c452fa63
>> > user4
>> > 1bbadf96-ef95-4ece-b5f3-1fa112aa3571
>> > user5
>> > e9085627-324e-48d3-bc04-52ff7798ddd0
>> > ---
>> >
>> > I can't work out how to get the actual permissions rather that the ID.
>> >
>> > Any ideas?
>> >
>> > 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/PILAIVCF7C4LXVATL5T6P4VMZP3Y22G7/
>> >
>>
>>
___
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/WYXTSX44GAU2VVEYT7YKOW6FMLACLT2O/


[ovirt-users] Re: Quick generic Questions

2019-11-07 Thread Staniforth, Paul
Hello Christian,

here are some useful links

https://www.ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide.html


https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.6/

You need to have at least 1 device for the O/S node install and at least 1 
device for the bricks, so ideally mirror 2 for the O/S and raid the rest + 
spare.

a) Yes the the oVirt node installer has a hyperconverged/gluster mode.

b) The storage will be shared between all 3 nodes and distributed to bricks on 
all 3 nodes.

c) The VM can start and migrate on / to all nodes if all requirements are met 
(mem/cpu/networks) as the storage is shared.

d) I don't think so

e) storage network should not die VMs will probably be paused and if nodes lose 
access to storage on the master storage domain I think theengine will 
restart them depending on fencing policy.
The gluster network should be a separate from the front-end network and use 
bonds for resilience.

f) yes you can add more shared storage domains using ISCSI, FC, NFS external 
gluster storage with ISCSI it may be better to use multipath connections rather 
than a bond.



Regards,
Paul S.



From: Christian Reiss 
Sent: 07 November 2019 13:29
To: users 
Subject: [ovirt-users] Quick generic Questions

Hey folks,

I am looking at setting up a hyperconverged cluster with 3 nodes (and
oVirt 4.3). Before setting up I have some generic questions that I would
love to get hints or even an answer on.

First off, the Servers are outfittet with 24 (SSD) drives each in a
HW-RAID. Due to wear-leveling and speed I am looking at RAID10. So I
would end up with one giant sda device.

a) Partitioning
Using oVirt node installer which will use the full size of /dev/sda is
this still the right solution to Hyperconverged given the gluster issue?
If I understood it correctly gluster is using empty drives or partitions
so a fully utilized drive is of no use here. Does oVirt node installer
have a hyperconverged/ gluster mode?

b) Storage Location
In this 3 node cluster, creating a VM on node01 will the data for node01
always end up in the local node01 server?

c) Starting VMs
Can a VM be migrated or launched from node03 if the data resides on
node01 and node02 (copies 2 with arbiter).

d) Efficiency / High IO Load
If node01 has high IO Load would additional data be loaded from the
other node which has the copy to even the load? I am aware Virtuozzo
does this.

e) Storage Network dies
What would happen with node01, node02 and node03 are operational but
only the storage network dies (frontend is still alive as are the nodes).

f) external isci/ FreeNAS
We have a FreeNAS system with tons of space and fast network
connectivity. Can oVirt handle storage import like remote iscsi target
and run VMs on the ovirt nodes but store data there?

Thank you for your time to clear this up.
I have found many approaches out there that either are old (oVirt 3) or
even contradict themselves (talk about RAID level...)

Cheers!
-Christian.

--
  Christian Reiss - em...@christian-reiss.de /"\  ASCII Ribbon
supp...@alpha-labs.net   \ /Campaign
  X   against HTML
  WEB alpha-labs.net / \   in eMails

  GPG Retrieval 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgpg.christian-reiss.dedata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C765f79e574a04381964808d763883393%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637087308944128073sdata=ubhkWlgDwoSjZ7848zUFparWdh8Hzdrnqzd6laLbqbA%3Dreserved=0
  GPG ID ABCD43C5, 0x44E29126ABCD43C5
  GPG fingerprint = 9549 F537 2596 86BA 733C  A4ED 44E2 9126 ABCD 43C5

  "It's better to reign in hell than to serve in heaven.",
   John Milton, Paradise lost.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C765f79e574a04381964808d763883393%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637087308944128073sdata=kA7hJ3Gx%2FcytSzTkb1i0HTPjdJfJW9JZfsZWovDt5po%3Dreserved=0
oVirt Code of Conduct: 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C765f79e574a04381964808d763883393%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637087308944128073sdata=hpl1iIQlXsI0r2AvOxScngwcJtZtAEkYAKETWzM0SDI%3Dreserved=0
List Archives: 

[ovirt-users] Re: Quick generic Questions

2019-11-07 Thread Strahil

On Nov 7, 2019 15:29, Christian Reiss  wrote:
>
> Hey folks, 
>
> I am looking at setting up a hyperconverged cluster with 3 nodes (and 
> oVirt 4.3). Before setting up I have some generic questions that I would 
> love to get hints or even an answer on. 
>
> First off, the Servers are outfittet with 24 (SSD) drives each in a 
> HW-RAID. Due to wear-leveling and speed I am looking at RAID10. So I 
> would end up with one giant sda device. 

Go with RAID 0  , or RAID5/6 as you will have the same data on all nodes (3  
copies in total) .
> a) Partitioning 
> Using oVirt node installer which will use the full size of /dev/sda is 
> this still the right solution to Hyperconverged given the gluster issue? 
> If I understood it correctly gluster is using empty drives or partitions 
> so a fully utilized drive is of no use here. Does oVirt node installer 
> have a hyperconverged/ gluster mode? 
The cockpit installer can prepare  the gluster  infrastructure  and then the 
oVirt cluster
> b) Storage Location 
> In this 3 node cluster, creating a VM on node01 will the data for node01 
> always end up in the local node01 server? 
Nope , all data is replicated on all 3 nodes  (or on 2 nodes  when using  
'replica  2  arbiter1' volumes).
> c) Starting VMs 
> Can a VM be migrated or launched from node03 if the data resides on 
> node01 and node02 (copies 2 with arbiter). 
As gluster  is a  shared storage, the VMs can migrate  on any host that has  
access  to the  storage (in your case any of the 3 nodes).
> d) Efficiency / High IO Load 
> If node01 has high IO Load would additional data be loaded from the 
> other node which has the copy to even the load? I am aware Virtuozzo 
> does this. 
Gluster Clients (in this case oVirt node)  reads  from all 3 nodes 
simultaneously for better I/O. Same is valid for writes.
> e) Storage Network dies 
> What would happen with node01, node02 and node03 are operational but 
> only the storage network dies (frontend is still alive as are the nodes). 
Nodes will become unoperational and all VMs will be paused until storage  is 
restored.
> f) external isci/ FreeNAS 
> We have a FreeNAS system with tons of space and fast network 
> connectivity. Can oVirt handle storage import like remote iscsi target 
> and run VMs on the ovirt nodes but store data there? 
Yep.
> Thank you for your time to clear this up. 
> I have found many approaches out there that either are old (oVirt 3) or 
> even contradict themselves (talk about RAID level...) 
>
> Cheers! 
> -Christian
___
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/PHGRD7SXINKIQ22TYD2QC4K7AJLC7O6Z/


[ovirt-users] Re: DHCP Client in Guest VM does not work on ovirtmgmt

2019-11-07 Thread Strahil
All  my VMs are using DHCP over ovirtmgmt network.

So, yes  it should be possible.
Are yoiu sure that  your hosts' network is in sync ?

Best Regards,
Strahil NikolovOn Nov 7, 2019 00:21, Dominik Holler  wrote:
>
> The output of  "tcpdump -i ovirtmgmt -pvn port 67 and port 68" in 
> https://pastebin.com/a2DEyL0e looks like the DHCP reply does not reach the 
> ovirtmgmt bridge.
> Is the ovirtmgmt bridge / network attachment on the host able to receive 
> configuration by DHCP?
>
> On Wed, Nov 6, 2019 at 7:08 PM  wrote:
>>
>> Hi Ales, have you any new tip about this?
>>
>> regards,
>> Carlos
>> ___
>> 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/BM7J3AREZ2X6YF5LRMONHEOZU2JJ7Q2Y/
___
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/ATZGZAONSUIOI4C4A2BTSUAT654G6EYX/


[ovirt-users] Re: Quick generic Questions

2019-11-07 Thread Gianluca Cecchi
On Thu, Nov 7, 2019 at 3:59 PM Jayme  wrote:

> Your nodes should have separate drives for node image. The installer will
> expect empty block device for gluster setup.  I would do a separate array
> for OS and storage.
>
> Most of your node specific questions I think can be cleared up if you
> think of the storage as being networked storage. Even though the nodes are
> acting as storage they are gluster clients mounting the shares. If you
> create a vm the storage doesn’t go to one specific node. Since the data is
> mounted over network you can run vms from any node.
>
> On Thu, Nov 7, 2019 at 9:39 AM Christian Reiss 
> wrote:
>
>>
>>
[snip]


>> b) Storage Location
>> In this 3 node cluster, creating a VM on node01 will the data for node01
>> always end up in the local node01 server?
>>
>>
Actually there is this parameter that one can set for the volumes:
cluster.choose-local

implemented starting with 3.12
https://bugzilla.redhat.com/show_bug.cgi?id=1501022

I think default is off and not tried toggling in a composite environment.

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/SK2Z6BA5KUEEOUXLDSE5YE4J7I5C27MI/


[ovirt-users] Re: Quick generic Questions

2019-11-07 Thread Jayme
Your nodes should have separate drives for node image. The installer will
expect empty block device for gluster setup.  I would do a separate array
for OS and storage.

Most of your node specific questions I think can be cleared up if you think
of the storage as being networked storage. Even though the nodes are acting
as storage they are gluster clients mounting the shares. If you create a vm
the storage doesn’t go to one specific node. Since the data is mounted over
network you can run vms from any node.

On Thu, Nov 7, 2019 at 9:39 AM Christian Reiss 
wrote:

> Hey folks,
>
> I am looking at setting up a hyperconverged cluster with 3 nodes (and
> oVirt 4.3). Before setting up I have some generic questions that I would
> love to get hints or even an answer on.
>
> First off, the Servers are outfittet with 24 (SSD) drives each in a
> HW-RAID. Due to wear-leveling and speed I am looking at RAID10. So I
> would end up with one giant sda device.
>
> a) Partitioning
> Using oVirt node installer which will use the full size of /dev/sda is
> this still the right solution to Hyperconverged given the gluster issue?
> If I understood it correctly gluster is using empty drives or partitions
> so a fully utilized drive is of no use here. Does oVirt node installer
> have a hyperconverged/ gluster mode?
>
> b) Storage Location
> In this 3 node cluster, creating a VM on node01 will the data for node01
> always end up in the local node01 server?
>
> c) Starting VMs
> Can a VM be migrated or launched from node03 if the data resides on
> node01 and node02 (copies 2 with arbiter).
>
> d) Efficiency / High IO Load
> If node01 has high IO Load would additional data be loaded from the
> other node which has the copy to even the load? I am aware Virtuozzo
> does this.
>
> e) Storage Network dies
> What would happen with node01, node02 and node03 are operational but
> only the storage network dies (frontend is still alive as are the nodes).
>
> f) external isci/ FreeNAS
> We have a FreeNAS system with tons of space and fast network
> connectivity. Can oVirt handle storage import like remote iscsi target
> and run VMs on the ovirt nodes but store data there?
>
> Thank you for your time to clear this up.
> I have found many approaches out there that either are old (oVirt 3) or
> even contradict themselves (talk about RAID level...)
>
> Cheers!
> -Christian.
>
> --
>   Christian Reiss - em...@christian-reiss.de /"\  ASCII Ribbon
> supp...@alpha-labs.net   \ /Campaign
>   X   against HTML
>   WEB alpha-labs.net / \   in eMails
>
>   GPG Retrieval https://gpg.christian-reiss.de
>   GPG ID ABCD43C5, 0x44E29126ABCD43C5
>   GPG fingerprint = 9549 F537 2596 86BA 733C  A4ED 44E2 9126 ABCD 43C5
>
>   "It's better to reign in hell than to serve in heaven.",
>John Milton, Paradise lost.
> ___
> 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/5LYYK3OHRIUT3D247UDCK26VDXKXG2P7/
>
___
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/L37STGZJGW2XNPUK4IATTKGOMIE4JL56/


[ovirt-users] Quick generic Questions

2019-11-07 Thread Christian Reiss

Hey folks,

I am looking at setting up a hyperconverged cluster with 3 nodes (and 
oVirt 4.3). Before setting up I have some generic questions that I would 
love to get hints or even an answer on.


First off, the Servers are outfittet with 24 (SSD) drives each in a 
HW-RAID. Due to wear-leveling and speed I am looking at RAID10. So I 
would end up with one giant sda device.


a) Partitioning
Using oVirt node installer which will use the full size of /dev/sda is 
this still the right solution to Hyperconverged given the gluster issue?
If I understood it correctly gluster is using empty drives or partitions 
so a fully utilized drive is of no use here. Does oVirt node installer 
have a hyperconverged/ gluster mode?


b) Storage Location
In this 3 node cluster, creating a VM on node01 will the data for node01 
always end up in the local node01 server?


c) Starting VMs
Can a VM be migrated or launched from node03 if the data resides on 
node01 and node02 (copies 2 with arbiter).


d) Efficiency / High IO Load
If node01 has high IO Load would additional data be loaded from the 
other node which has the copy to even the load? I am aware Virtuozzo 
does this.


e) Storage Network dies
What would happen with node01, node02 and node03 are operational but 
only the storage network dies (frontend is still alive as are the nodes).


f) external isci/ FreeNAS
We have a FreeNAS system with tons of space and fast network 
connectivity. Can oVirt handle storage import like remote iscsi target 
and run VMs on the ovirt nodes but store data there?


Thank you for your time to clear this up.
I have found many approaches out there that either are old (oVirt 3) or 
even contradict themselves (talk about RAID level...)


Cheers!
-Christian.

--
 Christian Reiss - em...@christian-reiss.de /"\  ASCII Ribbon
   supp...@alpha-labs.net   \ /Campaign
 X   against HTML
 WEB alpha-labs.net / \   in eMails

 GPG Retrieval https://gpg.christian-reiss.de
 GPG ID ABCD43C5, 0x44E29126ABCD43C5
 GPG fingerprint = 9549 F537 2596 86BA 733C  A4ED 44E2 9126 ABCD 43C5

 "It's better to reign in hell than to serve in heaven.",
  John Milton, Paradise lost.
___
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/5LYYK3OHRIUT3D247UDCK26VDXKXG2P7/


[ovirt-users] Re: CPU Pinning topology

2019-11-07 Thread Matthias Leopold



Am 06.11.19 um 18:33 schrieb Fabrice Bacchella:
I'm trying to understand the field "CPU Pinning topology" in the 
"Ressource Allocation" tab, that looks it needed by High Performance VM.


I have this hardware:

# lscpu
Architecture:          x86_64
CPU(s):                48
On-line CPU(s) list:   0-47
Thread(s) per core:    2
Core(s) per socket:    12
Socket(s):             2
NUMA node(s):          2

And I want to run a 22 vCPU vm on it, so no SMT, and 11 vCPU mapped to 
each socket.


The only explanation I found about this field content was here:
https://rhv.bradmin.org/ovirt-engine/docs/Virtual_Machine_Management_Guide/appe-Reference_Settings_in_Administration_Portal_and_User_Portal_Windows.html#Virtual_Machine_Resource_Allocation_settings_explained

and I can wrap my head around it. Do I need to given explicit mapping 
for all the 22 vCPU ? And dig in lscpu -e or numactl -H to find how each 
pCPU is identified ?




you can use the lstopo-no-graphics tool (package hwloc) for cpu 
identification, also you can see the result of your cpu pinning 
configuration there


matthias

___
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/CJRTP2L57LTCLLOC7O3CH3HECZQLGF75/


[ovirt-users] Re: terraform integration

2019-11-07 Thread Yedidyah Bar David
On Thu, Nov 7, 2019 at 12:57 PM Roy Golan  wrote:

>
>
> On Thu, 7 Nov 2019 at 12:28, Nathanaël Blanchet  wrote:
>
>>
>> Le 07/11/2019 à 11:16, Roy Golan a écrit :
>>
>>
>>
>> On Thu, 7 Nov 2019 at 11:23, Nathanaël Blanchet  wrote:
>>
>>>
>>> Le 07/11/2019 à 07:18, Roy Golan a écrit :
>>>
>>>
>>>
>>> On Thu, 7 Nov 2019 at 00:10, Nathanaël Blanchet 
>>> wrote:
>>>

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



 On Tue, 5 Nov 2019 at 22:46, Roy Golan  wrote:

>
>
> On Tue, 5 Nov 2019 at 20:28, Nathanaël Blanchet 
> wrote:
>
>>
>> Le 05/11/2019 à 18:22, Roy Golan a écrit :
>>
>>
>>
>> On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet 
>> wrote:
>>
>>>
>>> Le 05/11/2019 à 13:54, Roy Golan a écrit :
>>>
>>>
>>>
>>> On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet 
>>> 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
>>>
>>> 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" }}}
>>>

[ovirt-users] Re: terraform integration

2019-11-07 Thread Roy Golan
On Thu, 7 Nov 2019 at 12:28, Nathanaël Blanchet  wrote:

>
> Le 07/11/2019 à 11:16, Roy Golan a écrit :
>
>
>
> On Thu, 7 Nov 2019 at 11:23, Nathanaël Blanchet  wrote:
>
>>
>> Le 07/11/2019 à 07:18, Roy Golan a écrit :
>>
>>
>>
>> On Thu, 7 Nov 2019 at 00:10, Nathanaël Blanchet  wrote:
>>
>>>
>>> Le 05/11/2019 à 21:50, Roy Golan a écrit :
>>>
>>>
>>>
>>> On Tue, 5 Nov 2019 at 22:46, Roy Golan  wrote:
>>>


 On Tue, 5 Nov 2019 at 20:28, Nathanaël Blanchet 
 wrote:

>
> Le 05/11/2019 à 18:22, Roy Golan a écrit :
>
>
>
> On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet 
> wrote:
>
>>
>> Le 05/11/2019 à 13:54, Roy Golan a écrit :
>>
>>
>>
>> On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet 
>> 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
>>
>> 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?
>>
>
> What is the template you are using? I don't think its RHCOS(Red Hat
> CoreOs) template, it looks like Centos?
>
> Use 

[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 > 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



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
 *

   

[ovirt-users] Re: terraform integration

2019-11-07 Thread Roy Golan
On Thu, 7 Nov 2019 at 11:23, Nathanaël Blanchet  wrote:

>
> Le 07/11/2019 à 07:18, Roy Golan a écrit :
>
>
>
> On Thu, 7 Nov 2019 at 00:10, Nathanaël Blanchet  wrote:
>
>>
>> Le 05/11/2019 à 21:50, Roy Golan a écrit :
>>
>>
>>
>> On Tue, 5 Nov 2019 at 22:46, Roy Golan  wrote:
>>
>>>
>>>
>>> On Tue, 5 Nov 2019 at 20:28, Nathanaël Blanchet 
>>> wrote:
>>>

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



 On Tue, 5 Nov 2019 at 19:12, Nathanaël Blanchet 
 wrote:

>
> Le 05/11/2019 à 13:54, Roy Golan a écrit :
>
>
>
> On Tue, 5 Nov 2019 at 14:52, Nathanaël Blanchet 
> 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
>
> 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?
>

 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...

>>>
>>> Make sure that:
>>> - the IPs supplied are taken, 

[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-07 Thread Dominik Holler
On Thu, Nov 7, 2019 at 3:07 AM  wrote:

> What I hope to do is that the two NICs of the virtual machine are on the
> same network segment as the two NICs on the node. For example, the two IPs
> on node are 172.16.100.10 and 172.16.131.20 respectively. I hope the effect
> is  the IP of the virtual machine on node is also 172.16.100.* and
> 172.16.131.*

What kind of operation is needed to achieve this effect?
>

You can attach VMs to a host network on layer 2 by attaching the vNIC to
the vNIC profile of the host network,
e.g. ovirtmgmt/ovirtmgmt. oVirt provides only very little help in IP
configuration of the VMs,
the VM can use the DHCP server of the host network or static IPs.


> ___
> 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/HECCFIC2IUBZ7DZWDJN5IGMCW4RLI324/
>
___
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/76QGZC4DZZ5ZNYGT2TPUNQUO25KKHZUB/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-07 Thread Dominik Holler
On Thu, Nov 7, 2019 at 3:45 AM  wrote:

> What is the auth host name and the provider url of the ovirt-provider-ovn
> in engine?
>
> The provider url of ovirt-provider-ovn  in engine is :
> https://ovirt-manager:9696/
>
> When I  access  https://ovirt-manager:9696/ , it show :
> {
>   "error": {
> "message": "Error during SSO authentication invalid_grant : The
> provided authorization grant for the auth code has expired.",
>

Looks like the
/etc/ovirt-provider-ovn/conf.d/10-setup-ovirt-provider-ovn.conf does not
fit to engine's expectations.
This can be fixed like described in
https://lists.ovirt.org/archives/list/users@ovirt.org/message/POZM22KMV7MT7HNI7M5B6TSLE4PQXRQH/
:

> > How did you update the secret?
> > The procedure would be
> > 1. Run /usr/share/ovirt-engine/bin/ovirt-register-sso-client-tool.sh
> >with
> >Client Id: ovirt-provider-ovn
> >Client CA Certificate File Location:
/etc/pki/ovirt-engine/certs/engine.cer
> >Callback Prefix URL: https://:443/ovirt-engine/
> > 2. Use the SSO_CLIENT_SECRET from the outfile produced by the previous
> >command in
> >/etc/ovirt-provider-ovn/conf.d/10-setup-ovirt-provider-ovn.conf
> > 3. Restart ovirt-engine and ovirt-provider-ovn
> >systemctl restart ovirt-engine
> >systemctl restart ovirt-provider-ovn
> >
> >
> > If this does not solve the problem and you want to use the
> > ovirt-provider-ovn, please increase logging in ovirt-provider-ovn via
> > sudo sed -i.$(date +%F-%H-%M) 's/INFO/DEBUG/gi'
> > /etc/ovirt-provider-ovn/logger.conf
> > systemctl restart ovirt-provider-ovn
> >
> > and share the ovirt-provider-ovn.log with the error after the restart.
>
> Else you can try to remove or rename the ovirt-provider-ovn provider in
> oVirt Engine, if it already exists, and run engine-setup again like this
> engine-setup --reconfigure-optional-components
> or with answer-file that has 'OVESETUP_OVN/ovirtProviderOvn' enabled:
> 'OVESETUP_OVN/ovirtProviderOvn=bool:True



> "code": 401,
> "title": "Unauthorized"
>   }
> }
>
> The hostname of  ovirt-engine  is  "ovirt-manager"
> ___
> 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/OEXIJZ3QXPFC5M4VDVO6TNXCO2NAR5CV/
>
___
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/SONT2EY5GCNY7JE33QCHUSSPM5QJUTTZ/


[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 > 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



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