[ovirt-users] Re: Ansible setup host network fails on comparing sorted dictionaries

2019-11-05 Thread Vrgotic, Marko
Dear M.,

Thank you.


-
kind regards/met vrindelijke groet

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Martin Perina 
Date: Tuesday, 5 November 2019 at 12:53
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" , Darko Stojchev 
, Martin Necas 
Subject: Re: [ovirt-users] Re: Ansible setup host network fails on comparing 
sorted dictionaries



On Tue, Nov 5, 2019 at 1:41 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Any ideas, suggestions?

Hi Marko,

it seems like an issue in ovirt_host_network Ansible module, Martin just posted 
a fix for that issue:

https://github.com/ansible/ansible/pull/64437

Regards,
M.

From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 30 October 2019 at 12:41
To: "users@ovirt.org" 
mailto:users@ovirt.org>>
Cc: Darko Stojchev 
mailto:d.stojc...@activevideo.com>>
Subject: Ansible setup host network fails on comparing sorted dictionaries

Dear oVirt,

While deploying ovirt_infra , the role oivrt.networks fails on Setup Host 
Networks, with following error:

TypeError: '<' not supported between instances of 'dict' and 'dict'

Full output:
TASK [ovirt.infra/roles/ovirt.networks : Setup host networks] 
**
The full traceback is:
Traceback (most recent call last):
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 396, in main
(nic is None or 
host_networks_module.has_update(nics_service.service(nic.id)))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 289, in has_update
update = self.__compare_options(get_bond_options(bond.get('mode'), 
bond.get('options')), getattr(nic.bonding, 'options', []))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 247, in __compare_options
return sorted(get_dict_of_struct(opt) for opt in new_options) != 
sorted(get_dict_of_struct(opt) for opt in old_options)
TypeError: '<' not supported between instances of 'dict' and 'dict'

failed: [localhost] (item={'name': 
'ovirt-staging-hv-02.avinity.tv', 
'check': True, 'save': True, 'bond': {'name': 'bond28', 'mode': 4, 
'interfaces': ['p2p1', 'p2p2']}, 'networks': [{'name': 'backbone', 
'boot_protocol': 'static', 'address': '172.17.28.212', 'netmask': 
'255.255.255.0', 'version': 'v4'}]}) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"fetch_nested": false,
"interface": null,
"labels": null,
"name": 
"ovirt-staging-hv-02.avinity.tv",
"nested_attributes": [],
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
],
"poll_interval": 3,
"save": true,
"state": "present",
"sync_networks": false,
"timeout": 180,
"wait": true
}
},
"item": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"name": 
"ovirt-staging-hv-02.avinity.tv",
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
   

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

2019-11-05 Thread wangyu13476969128
The full log is :
2019-11-06 14:59:57,010+08 ERROR 
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-79) [497583f7] Command 
'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: 
EngineException: (Failed with error Connection refused (Connection refused) and 
code 5050)
2019-11-06 14:59:57,011+08 INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-79) [497583f7] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[3a2f66a1-82c2-414f-a532-62f6c36389c9=PROVIDER]', 
sharedLocks=''}'
2019-11-06 15:00:11,996+08 INFO  
[org.ovirt.engine.core.bll.provider.network.AddNetworkWithSubnetOnProviderCommand]
 (default task-72) [4117e052-5919-4ca7-aafa-4f34e65ed19d] Running command: 
AddNetworkWithSubnetOnProviderCommand internal: false. Entities affected :  ID: 
ed88fc90-59d3-4a6a-9a11-c9861a8be95f Type: StoragePoolAction group 
CREATE_STORAGE_POOL_NETWORK with role type ADMIN
___
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/7LKFP5Q4PY2ZL7NVX55SF5VFTTG6JJN5/


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

2019-11-05 Thread wangyu13476969128
Then I  view log , the error log is :  

2019-11-06 14:59:57,010+08 ERROR 
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-79) [497583f7] Command 
'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: 
EngineException: (Failed with error Connection refused (Connection refused) and 
code 5050)

How can I solve this problem ?
___
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/RHMIBOLBATEAQY24ZTLAICRR6FGCXNI4/


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

2019-11-05 Thread wangyu13476969128
When I create a new logical network , the option is : 
Select the "Create on external provider" check box, the External Provider is  
"ovirt-provider-ovn".
Leaving Connect to physical network unselected.

The IP of  another network card in node2  is 172.16.91.197.

So the Subnet interface :
CIDR : 172.16.90.0/23
Gateway :  172.16.90.1

Then I click "OK".
The error  show :
Error while executing action AddNetworkWithSubnetOnProvider: Failed to 
communicate with the external provider, see log for additional details.

How can I solve this problem ?
___
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/IE22JPR3FSGRWOV3GQ5VSUE5CPFU5KI6/


[ovirt-users] Re: terraform integration

2019-11-05 Thread Roy Golan
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, and belong to the VM network of those master
> VMs
> - localdomain or local domain suffix shouldn't be used
> - your ovirt-engine is version 4.3.7 or master
>
> I didn't mention that you can provide any domain name, even non-existing.
When the bootstrap phase will be done, the instllation will teardown the
bootsrap mahchine.
At this stage if you are using a non-existing domain you would need to add
the DNS Virtual IP
you provided to your resolv.conf so the installation could

[ovirt-users] Re: terraform integration

2019-11-05 Thread Roy Golan
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, and belong to the VM network of those master
VMs
- localdomain or local domain suffix shouldn't be used
- your ovirt-engine is version 4.3.7 or master



>
>
> Le 05/11/2019 à 12:24, Roy Golan a écrit :
>>>
>>>
>>>
>>> On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet 
>>> 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://list

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

":{"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...





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 ye

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

2019-11-05 Thread Ondra Machacek



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


[ovirt-users] Re: terraform integration

2019-11-05 Thread Roy Golan
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



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

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


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 

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

[ovirt-users] [feedback needed] oVirt master test

2019-11-05 Thread Sandro Bonazzola
Hi,
as part of the 4.4 development we'd like to ask for testing current master.
In order to ease the test, you can take:
oVirt Node:
https://resources.ovirt.org/pub/ovirt-master-snapshot/iso/ovirt-node-ng-installer/4.4.0-2019110507/el8/ovirt-node-ng-installer-4.4.0-2019110507.el8.iso
when this link won't be available anymore due to nightly build rotation you
can take the latest from
https://resources.ovirt.org/pub/ovirt-master-snapshot/iso/ovirt-node-ng-installer/


oVirt appliance:
https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el8/x86_64/ovirt-engine-appliance-4.4-20191105.1.el8.x86_64.rpm
as per oVirt Node, you can take the latest from
https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el8/x86_64/ if
above link doesn't work.

The above 2 builds have been tested on a single host nested VM system with
70Gb disk, 8Gb of RAM and 4 cores for the node.
Both oVirt Node and oVirt Engine appliance installation succeeded on 80GB
NFS external storage with static IP addressing.

We have a known issue on booting with more than 1 NIC that will be
addressed soon, so please use a single NIC in your tests for now.

Looking forward for your feedback, thanks.

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA 

sbona...@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/CHJOESB2OBV3TQHK4SAKB3FKMFJBTEYN/


[ovirt-users] Re: terraform integration

2019-11-05 Thread Roy Golan
On Tue, 5 Nov 2019 at 14:50, Sandro Bonazzola  wrote:

>
>
> Il giorno mar 5 nov 2019 alle ore 12:24 Roy Golan  ha
> scritto:
>
>>
>>
>> On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet  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.
>>
>
> +Gal Zaidman  +Evgeny Slutsky  +Roy
> Golan  +Douglas Landgraf  , maybe
> you can prepare a "quick setup guide" for this case on ovirt.org?
>
>
>
There is an install doc as part of the PR, lets keep work on single one -
if needs additions, let me know by direct feedback on the PR
https://github.com/openshift/installer/pull/1948/commits/1f1c4c2b4c9e1fff64c3e2570b3023708e708a56#diff-7ce61be732b65757aca7b9e384793ef4


>>
>>> 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
>>>
>>>
>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
>
> Red Hat EMEA 
>
> sbona...@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/HHHMZIDW26PR62QVEVN5YHKHRZAMPSIL/


[ovirt-users] Re: terraform integration

2019-11-05 Thread Roy Golan
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

> Le 05/11/2019 à 12:24, Roy Golan a écrit :
>
>
>
> On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet  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
>>
>> --
> 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 14blanc...@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/JDZJSZ4M4EGSCD6P426RXWNHRK3JXR5R/


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


--
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] Re: terraform integration

2019-11-05 Thread Sandro Bonazzola
Il giorno mar 5 nov 2019 alle ore 12:24 Roy Golan  ha
scritto:

>
>
> On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet  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.
>

+Gal Zaidman  +Evgeny Slutsky  +Roy
Golan  +Douglas Landgraf  , maybe
you can prepare a "quick setup guide" for this case on ovirt.org?



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

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA 

sbona...@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/DBJSPMHW2MXD4LG5AHI7ZFYHCMT4ZSYW/


[ovirt-users] Re: Ansible setup host network fails on comparing sorted dictionaries

2019-11-05 Thread Martin Perina
On Tue, Nov 5, 2019 at 1:41 AM Vrgotic, Marko 
wrote:

> Any ideas, suggestions?
>

Hi Marko,

it seems like an issue in ovirt_host_network Ansible module, Martin just
posted a fix for that issue:

https://github.com/ansible/ansible/pull/64437

Regards,
M.

>
>
> *From: *"Vrgotic, Marko" 
> *Date: *Wednesday, 30 October 2019 at 12:41
> *To: *"users@ovirt.org" 
> *Cc: *Darko Stojchev 
> *Subject: *Ansible setup host network fails on comparing sorted
> dictionaries
>
>
>
> Dear oVirt,
>
>
>
> While deploying ovirt_infra , the role oivrt.networks fails on Setup Host
> Networks, with following error:
>
>
>
> *TypeError: '<' not supported between instances of 'dict' and 'dict'*
>
>
>
> Full output:
>
> TASK [ovirt.infra/roles/ovirt.networks : Setup host networks]
> **
>
> The full traceback is:
>
> Traceback (most recent call last):
>
>   File
> "/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
> line 396, in main
>
> (nic is None or host_networks_module.has_update(nics_service.service(
> nic.id)))
>
>   File
> "/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
> line 289, in has_update
>
> update = self.__compare_options(get_bond_options(bond.get('mode'),
> bond.get('options')), getattr(nic.bonding, 'options', []))
>
>   File
> "/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
> line 247, in __compare_options
>
> return sorted(get_dict_of_struct(opt) for opt in new_options) !=
> sorted(get_dict_of_struct(opt) for opt in old_options)
>
> *TypeError: '<' not supported between instances of 'dict' and 'dict'*
>
>
>
> failed: [localhost] (item={'name': 'ovirt-staging-hv-02.avinity.tv',
> 'check': True, 'save': True, 'bond': {'name': 'bond28', 'mode': 4,
> 'interfaces': ['p2p1', 'p2p2']}, 'networks': [{'name': 'backbone',
> 'boot_protocol': 'static', 'address': '172.17.28.212', 'netmask':
> '255.255.255.0', 'version': 'v4'}]}) => {
>
> "ansible_loop_var": "item",
>
> "changed": false,
>
> "invocation": {
>
> "module_args": {
>
> "bond": {
>
> "interfaces": [
>
> "p2p1",
>
> "p2p2"
>
> ],
>
> "mode": 4,
>
> "name": "bond28"
>
> },
>
> "check": true,
>
> "fetch_nested": false,
>
> "interface": null,
>
> "labels": null,
>
> "name": "ovirt-staging-hv-02.avinity.tv",
>
> "nested_attributes": [],
>
> "networks": [
>
> {
>
> "address": "172.17.28.212",
>
> "boot_protocol": "static",
>
> "name": "backbone",
>
> "netmask": "255.255.255.0",
>
> "version": "v4"
>
> }
>
> ],
>
> "poll_interval": 3,
>
> "save": true,
>
> "state": "present",
>
> "sync_networks": false,
>
> "timeout": 180,
>
> "wait": true
>
> }
>
> },
>
> "item": {
>
> "bond": {
>
> "interfaces": [
>
> "p2p1",
>
> "p2p2"
>
> ],
>
> "mode": 4,
>
> "name": "bond28"
>
> },
>
> "check": true,
>
> "name": "ovirt-staging-hv-02.avinity.tv",
>
> "networks": [
>
> {
>
> "address": "172.17.28.212",
>
> "boot_protocol": "static",
>
> "name": "backbone",
>
> "netmask": "255.255.255.0",
>
> "version": "v4"
>
> }
>
> ],
>
> "save": true
>
> },
>
> "msg": "'<' not supported between instances of 'dict' and 'dict'"
>
> }
>
> Read vars_file 'vars/engine_vars.yml'
>
> Read vars_file 'vars/secrets.yml'
>
> Read vars_file 'vars/ovirt_infra_vars.yml'
>
>
>
> Looking further into ovirt_host_network.py I found that issue is reported
> after following is executed:
>
> *return sorted(get_dict_of_struct(opt) for opt in new_options) !=
> sorted(get_dict_of_struct(opt) for opt in old_options)*
>
>
>
> It seemed to be failing due to not getting the *key value* to sort the
> dicts, so I added sorting based on name, to test, and it worked in single
> test run:
>
> *return sorted((get_dict_of_struct(opt) for opt in new_options),
> key=lambda x: x["name"]) != sorted((get_dict_of_struct(opt) for opt
> in old_options), key=lambda x: x["name"])*
>
>
>
> After rerun of the play, with changes above:
>
> TASK [ovirt.infra/roles/ovirt.networks : Setup host networks]
> **
>
> task path:
> /Users/mvrgotic/

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

2019-11-05 Thread ccesario
Hi Ales, 
> On Mon, Nov 4, 2019 at 8:10 PM  
> 
> 
> Ah my bad it is ebtables -t nat -L.
No problem, the result is  https://pastebin.com/hqneQycA
> 
> 
> 
> 
> Can you share how your network topology of the host?
Sure, I will send the screenshot the configs, but basically I have a bonding 
interface config with 3 NICS and all networks are defined into this bonding, 
segmented by VLAN

https://pasteboard.co/IFgX5xT.png
https://pasteboard.co/IFgXxBY.png
https://pasteboard.co/IFgXX9q.png

Best 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/T3PHZ7ZESWG6ROR5PUZP5LGIKWAYCSBI/


[ovirt-users] Re: terraform integration

2019-11-05 Thread Roy Golan
On Tue, 5 Nov 2019 at 13:22, Nathanaël Blanchet  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
>
>
___
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/N6JITIMSCPUZPSCQBOMSAQYTZR7E3KLI/


[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: Cannot enable maintenance mode

2019-11-05 Thread Martin Perina
Hi Bruno,

how have you rebooted the host? Have you used Stop/Start/Restart functions
from Power Management menu in host detail in webadmin?

Regards,
Martin

On Tue, Nov 5, 2019 at 2:29 AM Bruno Martins 
wrote:

> Hi Lukas,
>
> Thanks for your message!
>
> In my cluster, I have all the VM's running under "HOST2".
> The issue I'm having is that I can't enable maintenance mode on "HOST1",
> in order to re-add it to oVirt Manager (SSL certificate replacement stuff).
> I did it successfully on "HOST2", but the other one seems to ignore my
> actions, with that message in the logs...
>
> Cheers,
>
> Bruno
>
> From: Lukas Svaty 
> Sent: 16 de outubro de 2019 10:49
> To: Bruno Martins 
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Re: Cannot enable maintenance mode
>
> Did you
>
> "Consider manual intervention"
>
> such as
>
> "stopping" or "migrating Vms"
>
> which are running on that host?
>
> If you are trying to put host to maintenance, it will migrate all the VMs
> somewhere else, thus... you might have problem with migrations (try to
> migrate them to other destination host) or power them off.
>
> On Wed, Oct 16, 2019 at 9:15 AM Bruno Martins  bruno.o.martins@gfi.world> wrote:
> Hey guys,
>
> There are really no options left here? Is there something else I should
> check?
>
> Thank you!
>
> -Original Message-
> From: Bruno Martins 
> Sent: 3 de outubro de 2019 22:41
> To: Benny Zlotnik 
> Cc: mailto:users@ovirt.org
> Subject: [ovirt-users] Re: Cannot enable maintenance mode
>
> Hello Benny,
>
> I did. No luck, still...
>
> Cheers!
>
> -Original Message-
> From: Benny Zlotnik 
> Sent: 2 de outubro de 2019 19:19
> To: Bruno Martins 
> Cc: mailto:users@ovirt.org
> Subject: Re: [ovirt-users] Re: Cannot enable maintenance mode
>
> Did you try the "Confirm Host has been rebooted" button?
>
> On Wed, Oct 2, 2019 at 9:17 PM Bruno Martins  bruno.o.martins@gfi.world> wrote:
> >
> > Hello guys,
> >
> > No ideas for this issue?
> >
> > Thanks for your cooperation!
> >
> > Kind regards,
> >
> > -Original Message-
> > From: Bruno Martins 
> > Sent: 29 de setembro de 2019 16:16
> > To: mailto:users@ovirt.org
> > Subject: [ovirt-users] Cannot enable maintenance mode
> >
> > Hello guys,
> >
> > I am being unable to put a host from a two nodes cluster into
> maintenance mode in order to remove it from the cluster afterwards.
> >
> > This is what I see in engine.log:
> >
> > 2019-09-27 16:20:58,364 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-6-thread-45) [4cc251c9] Correlation ID: 4cc251c9,
> Job ID: 65731fbb-db34-49a9-ab56-9fba59bc0ee0, Call Stack: null, Custom
> Event ID: -1, Message: Host CentOS-H1 cannot change into maintenance mode -
> not all Vms have been migrated successfully. Consider manual intervention:
> stopping/migrating Vms: Non interactive user (User: admin).
> >
> > Host has been rebooted multiple times. vdsClient shows no VM's running.
> >
> > What else can I do?
> >
> > Kind regards,
> >
> > Bruno Martins
> > ___
> > Users mailing list -- mailto:users@ovirt.org To unsubscribe send an
> > email to 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/X5FJWFW7
> > GXNW6YWRPFWOKA6VU3RH4WD3/
> > ___
> > Users mailing list -- mailto:users@ovirt.org To unsubscribe send an
> > email to 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/DD5DW6KK
> > OOHGL3WFEKIIIS57BN3VWMAQ/
>
> ___
> Users mailing list -- mailto:users@ovirt.org To unsubscribe send an email
> to 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/64GZQKZA7LX7KLMXZ5K2BS46AJVVAMPZ/
> ___
> Users mailing list -- mailto:users@ovirt.org To unsubscribe send an email
> to 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/JJPEC7RDG3AUSAQAYJO4EZNKONUA3D5F/
>
>
> --
> LUKAS SVATY
> RHV QE
> _

[ovirt-users] Users and VM permissions matrix

2019-11-05 Thread Colin Coe
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()
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/


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

2019-11-05 Thread Sandro Bonazzola
Il giorno mar 5 nov 2019 alle ore 10:40 Nathanaël Blanchet 
ha scritto:

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

I would suggest to start a separate thread about this topic.


>
> 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&D RHV
>
> Red Hat EMEA 
>
> sbona...@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 14blanc...@abes.fr
>
>

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA 

sbona...@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/3XOPOE3TSXBAMTILJ234QZGVJGTNMGKB/


[ovirt-users] Re: Cannot activate/deactivate storage domain

2019-11-05 Thread Oliver Albl
> On Mon, Nov 4, 2019 at 9:18 PM Albl, Oliver  wrote:
> 
> What was the last change in the system? upgrade? network change? storage 
> change?
> 

Last change was four weeks ago ovirt upgrade from 4.3.3 to 4.3.6.7 (including 
CentOS hosts to 7.7 1908)

> 
> This is expected if some domain is not accessible on all hosts.
> 
> 
> This means sanlock timed out renewing the lockspace
> 
> 
> If a host cannot access all storage domain in the DC, the system set
> it to non-operational, and will
> probably try to reconnect it later.
> 
> 
> This means reading 4k from start of the metadata lv took 9.6 seconds.
> Something in
> the way to storage is bad (kernel, network, storage).
> 
> 
> We 20 seconds (4 retires, 5 seconds per retry) gracetime in multipath
> when there are
> no active paths, before I/O fails, pausing the VM. We also resume
> paused VMs when
> storage monitoring works again, so maybe the VM were paused and resumed.
> 
> However for storage monitoring we have strict 10 seconds timeout. If
> reading from
> the metadata lv times out or fail and does not operated normally after
> 5 minutes, the
> domain will become inactive.
> 
> 
> This can explain the read timeouts.
> 
> 
> This looks the right way to troubleshoot this.
> 
> 
> We need vdsm logs to understand this failure.
> 
> 
> This does not mean OVF is corrupted, only that we could not store new
> data. The older data on the other
> OVFSTORE disk is probably fine. Hopefuly the system will not try to
> write to the other OVFSTORE disk
> overwriting the last good version.
> 
> 
> This is normal, the first 2048 bytes are always zeroes. This area was
> used for domain
> metadata in older versions.
> 
> 
> Please share more details:
> 
> - output of "lsblk"
> - output of "multipath -ll"
> - output of "/usr/libexec/vdsm/fc-scan -v"
> - output of "vgs -o +tags problem-domain-id"
> - output of "lvs -o +tags problem-domain-id"
> - contents of /etc/multipath.conf
> - contents of /etc/multipath.conf.d/*.conf
> - /var/log/messages since the issue started
> - /var/log/vdsm/vdsm.log* since the issue started on one of the hosts
> 
> A bug is probably the best place to keep these logs and make it easy to trac.

Please see https://bugzilla.redhat.com/show_bug.cgi?id=1768821

> 
> Thanks,
> Nir

Thank you!
Oliver
___
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/QZ5ZN2S7N54JYVV3RWOYOHTEAWFQ23Q7/


[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&D RHV

Red Hat EMEA 

sbona...@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] Re: Cannot activate/deactivate storage domain

2019-11-05 Thread Nir Soffer
On Mon, Nov 4, 2019 at 9:18 PM Albl, Oliver  wrote:
>
> Hi all,
>   I run an oVirt 4.3.6.7-1.el7 installation (50+ hosts, 40+ FC storage 
> domains on two all-flash arrays) and experienced a problem accessing single 
> storage domains.

What was the last change in the system? upgrade? network change? storage change?

> As a result, hosts were taken “not operational” because they could not see 
> all storage domains, SPM started to move around the hosts.

This is expected if some domain is not accessible on all hosts.

> oVirt messages start with:
>
> 2019-11-04 15:10:22.739+01 | VDSM HOST082 command SpmStatusVDS failed: (-202, 
> 'Sanlock resource read failure', 'IO timeout')

This means sanlock timed out renewing the lockspace

> 2019-11-04 15:13:58.836+01 | Host HOST017 cannot access the Storage Domain(s) 
> HOST_LUN_204 attached to the Data Center . Setting Host state to 
> Non-Operational.

If a host cannot access all storage domain in the DC, the system set
it to non-operational, and will
probably try to reconnect it later.

> 2019-11-04 15:15:14.145+01 | Storage domain HOST_LUN_221 experienced a high 
> latency of 9.60953 seconds from host HOST038. This may cause performance and 
> functional issues. Please consult your Storage Administrator.

This means reading 4k from start of the metadata lv took 9.6 seconds.
Something in
the way to storage is bad (kernel, network, storage).

> The problem mainly affected two storage domains (on the same array) but I 
> also saw single messages for other storage domains (one the other array as 
> well).
> Storage domains stayed available to the hosts, all VMs continued to run.

We 20 seconds (4 retires, 5 seconds per retry) gracetime in multipath
when there are
no active paths, before I/O fails, pausing the VM. We also resume
paused VMs when
storage monitoring works again, so maybe the VM were paused and resumed.

However for storage monitoring we have strict 10 seconds timeout. If
reading from
the metadata lv times out or fail and does not operated normally after
5 minutes, the
domain will become inactive.

> When constantly reading from the storage domains (/bin/dd iflag=direct 
> if=  bs=4096 count=1 of=/dev/null) we got expected 20+ MBytes/s on 
> all but some storage domains. One of them showed “transfer rates” around 200 
> Bytes/s, but went up to normal performance from time to time. Transfer rate 
> to this domain was different between the hosts.

This can explain the read timeouts.

> /var/log/messages contain qla2xxx abort messages on almost all hosts. There 
> are no errors on SAN switches or storage array (but vendor is still 
> investigating). I did not see high load on the storage array.
> The system seemed to stabilize when I stopped all VMs on the affected storage 
> domain and this storage domain became “inactive”.

This looks the right way to troubleshoot this.

> Currently, this storage domain still is inactive and we cannot place it in 
> maintenance mode (“Failed to deactivate Storage Domain”) nor activate it.

We need vdsm logs to understand this failure.

> OVF Metadata seems to be corrupt as well (failed to update OVF disks , 
> OVF data isn't updated on those OVF stores).

This does not mean OVF is corrupted, only that we could not store new
data. The older data on the other
OVFSTORE disk is probably fine. Hopefuly the system will not try to
write to the other OVFSTORE disk
overwriting the last good version.

> The first six 512 byte blocks of /dev//metadata seem to contain only 
> zeros.

This is normal, the first 2048 bytes are always zeroes. This area was
used for domain
metadata in older versions.

> Any advice on how to proceed here?
>
> Is there a way to recover this storage domain?

Please share more details:

- output of "lsblk"
- output of "multipath -ll"
- output of "/usr/libexec/vdsm/fc-scan -v"
- output of "vgs -o +tags problem-domain-id"
- output of "lvs -o +tags problem-domain-id"
- contents of /etc/multipath.conf
- contents of /etc/multipath.conf.d/*.conf
- /var/log/messages since the issue started
- /var/log/vdsm/vdsm.log* since the issue started on one of the hosts

A bug is probably the best place to keep these logs and make it easy to trac.

Thanks,
Nir
___
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/CLVTY3WNCTYDT2P4PQWQBXVCBTB5DCGX/