[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-24 Thread Maton, Brett
I upgraded my test cluster to 4.2.5.2-1 last night (hosts rebooted after
update) and I've started to see the error again.

As before it seems to be limited to the one host,  I've checked that

/usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmjsonrpcclientInterface.py

exists, which it does but there are no matching .pyc / .pyo files which
suggests that it's not been used?

File permissions and SELinux contexts are the same on all files in the
HypervisorInterfaces directory.

0644 root root system_u:object_r:lib_t:s0

vdsm / mom log from time period attached.


On 18 July 2018 at 16:10, Maton, Brett  wrote:

> Thanks,
>
>   Cluster is all installed from pre-release, maybe I managed to get an
> iffy rpm
>
> On 18 July 2018 at 15:50, Andrej Krejcir  wrote:
>
>> Yes, copying it from another host with mom version 0.5.12 is enough.
>>
>> I'm not sure why it was not installed. The file is in the rpm.
>>
>> On Wed, 18 Jul 2018 at 16:38, Maton, Brett 
>> wrote:
>>
>>> Bingo
>>>
>>> How could that file not be installed/deployed ?
>>>
>>>
>>> Should I simply copy it from one of the other hosts to make the message
>>> go away ?
>>>
>>> On 18 July 2018 at 15:30, Andrej Krejcir  wrote:
>>>
 Maybe the python module is missing. Can you check if this file exists?

 /usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vd
 smjsonrpcclientInterface.py


 Andrej

 On Wed, 18 Jul 2018 at 16:04, Maton, Brett 
 wrote:

> I just checked the mom version, it's already at 0.5.12
>
> # rpm -qa mom
> mom-0.5.12-1.el7.centos.noarch
>
> All the physical hosts are fully updated /patched.
>
> Regards,
> Brett
>
> On 18 July 2018 at 14:08, Andrej Krejcir  wrote:
>
>> Hi,
>>
>> Looking at MOM logs, the problem seems to be that MOM is configured
>> to use 'vdsmjsonrpcclient' module to communicate with vdsm, but it
>> cannot find this module, probably because it is an older version.
>>
>> Updating MOM to version 0.5.12 should fix it.
>>
>>
>> Regards,
>> Andrej
>>
>> On Wed, 18 Jul 2018 at 14:41, Maton, Brett 
>> wrote:
>>
>>> FWIW:
>>>
>>> This test cluster is 3x HP MicroServer Gen 8 16GB RAM, Intel(R)
>>> Xeon(R) CPU E3-1220 V2 @ 3.10GHz
>>>
>>> Network is bonded fail-over.
>>>
>>> Regards,
>>> Brett
>>>
>>> On 18 July 2018 at 13:15, Francesco Romani 
>>> wrote:
>>>
 Thanks!


 On 07/18/2018 02:11 PM, Maton, Brett wrote:

> Sure no problem, mom log attached.
>

 It seems to me that MOM is restarting *very* often:

 2018-07-18 06:07:04,909 - mom - INFO - MOM starting
 2018-07-18 06:07:20,407 - mom - INFO - MOM starting
 2018-07-18 06:07:30,658 - mom - INFO - MOM starting
 2018-07-18 06:07:30,658 - mom - INFO - MOM starting

 And I totally not expect this. Martin, Andrej, is this the expected
 behaviour?


 Bests,



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


>>>
>
>>>
>


logs.tgz
Description: GNU Zip compressed data
___
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/5FSBPGZQ6LW6GGLB7ZTCJF3E75B3OYG6/


[ovirt-users] Re: Deleting master storage

2018-07-24 Thread Idan Shaby
On Tue, Jul 24, 2018 at 6:51 PM, jin&hitman&Barracuda 
wrote:

> Hi,
>
> Trying to build an ovirt system and i'm stuck with storage problem. I've
> prepared iscsi storage and seems like my storage had some troubles and now
> i could not get it online again. That is another story. I just want to
> delete master storage domain on ovirt manager. Looks like this is not
> allowed since there is no storage domain candidate to take master role.
> Also i could not add another storage domain becouse that is not allowed
> too. It says "can not add because there is no active storage domain" or
> something similar.
>
> Basically i'm stuck and don't know how to delete storage domain (master)
> without tear down all of them.
>
So you have some other storage domains in the data center rather than the
master domain?
What is their status?
What do the logs say about the master domain?

>
>
> ___
> 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/Y3CO3RQHOMZ2BDI7BOT7GZTR4BY4STXB/
>
>
___
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/EXWM5HHSL6ETPOBJX5Y5NUYOVDGHUAQD/


[ovirt-users] Backup Strategies

2018-07-24 Thread Markus Schaufler
Hi!

We use in our test infrastructure a NetApp shared fc storage and wonder how a 
backup strategie could look like.
Full backups aren't the problem - trigger HV Snapshots including guest FS 
freeze / quiece, trigger NetApp Snapshot, delete HV Snapshots.

Currently I'm struggeling on how to recover those Backups. I would provide the 
Snapshot volume to the hosts and import it as a new data domain, so the hosts 
have the snapshot disks as logical volumes. But how could I recover 
respectively move the content of the snapshot volumes onto the currently used 
vm "disk volumes"?
If I have the proof of concept then scripting it to make this process more 
comfortable wouldn't be a problem. 

How do you do your backups with shared san? How can I provide incremental 
Backups?

Thanks for any help!
___
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/6EKWFWOCPLR2EORP4IBI72KEKH6RXTDC/


[ovirt-users] Cannot switch to maintenance, image transfer is in progress

2018-07-24 Thread Randy Bender
We've just updated our hosted engine to 4.2.4.
When trying to place one of the hosts in maintenance mode, we get the error
in the subject line.  I've found the following that looks to be the issue
we are hitting:

https://bugzilla.redhat.com/show_bug.cgi?id=1586126

I've looked in the engine database with the following command and results:

engine=# select disk_id from image_transfers ;
   disk_id
--
 52966b71-2d01-4a16-9830-65a888717656
 c72d64b7-93c9-485b-b031-29c785c5bf9a
(2 rows)

Full details on these records show that they are indeed old - there are no
transfers actually in progress.

Can anyone confirm the correct way to remedy this?  The bug report notes
changing the phase on the record in question.  Before I try that, I'd like
confirmation if anyone else has seen this issue and resolved it.
And if this is the resolution, can you describe the exact psql commands to
achieve this?

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


[ovirt-users] Re: metrics

2018-07-24 Thread Rich Megginson
For Origin 3.9, use the openshift-ansible code from github release-3.9 
branch


https://github.com/ViaQ/Main/blob/3.9/README-install.md#installing-viaq-packages

"NOTE as of 2018-07-24, the openshift-ansible RPM packages for Origin 
available from the CentOS repos do not work with recent versions of 
ansible. You will need to follow the instructions below for cloning and 
using openshift-ansible from github."


I've confirmed that the latest release-3.9 branch code works with recent 
versions of ansible.


On 07/24/2018 05:56 AM, Shirly Radco wrote:
I believe these issues should be opened and tracked on github 
OpenShift Origin https://github.com/openshift/origin/issues.


Best,


--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel 

  
TRIED. TESTED. TRUSTED. 


On Mon, Jul 23, 2018 at 6:44 PM, Rich Megginson > wrote:


We're working on it.  Not sure what the problem is, but it looks
like openshift origin 3.9 is just broken right now - due to a
combination of ansible and openshift-ansible problems.

Shirly, where should bugs be filed in order to track this?


On 07/23/2018 09:29 AM, supo...@logicworks.pt
 wrote:

Hi,

When I Run Ansible using the prerequisites.yml playbookI get
this error:

fatal: [localhost]: FAILED! => {

"attempts": 3,

"changed": false,

"invocation": {

"module_args": {

"allow_downgrade": false,

"conf_file": null,

"disable_gpg_check": false,

"disable_plugin": [],

"disablerepo": null,

"enable_plugin": [],

"enablerepo": null,

"exclude": null,

"install_repoquery": true,

"installroot": "/",

"list": null,

"name": [

"atomic-openshift-docker-excluder*"

],

"security": false,

"skip_broken": false,

"state": "present",

"update_cache": false,

"update_only": false,

"validate_certs": true

}

},

"msg": "No package matching
'atomic-openshift-docker-excluder*' found available, installed
or updated",

"rc": 126,

"results": [

"No package matching 'atomic-openshift-docker-excluder*' found
available, installed or updated"

]

}

to retry, use: --limit
@/usr/share/ansible/openshift-ansible/playbooks/prerequisites.retry


PLAY RECAP

**

localhost : ok=58 changed=2 unreachable=0 failed=1



INSTALLER STATUS



Initialization : Complete (0:00:22)





Can I live with this error or is something I need to correct?


Thanks



*De: *supo...@logicworks.pt 
*Para: *"Shirly Radco" mailto:sra...@redhat.com>>
*Cc: *"Rich Megginson" mailto:rmegg...@redhat.com>>, "users" mailto:users@ovirt.org>>
*Enviadas: *Sexta-feira, 20 De Julho de 2018 13:19:37
*Assunto: *[ovirt-users] Re: metrics


Hi,

Still the same error after installing ansible 2.5.5 and repo:

 1. Hosts:    localhost
 Play: Determine openshift_version to configure on
first master
 Task: openshift_version : fail
 Message:  Package 'atomic-openshift-3.9*' not found

# yum search atomic-openshift
...
 N/S matched: atomic-openshift
=
atomic-openshift-utils.noarch : Atomic OpenShift Utilities

# rpm -q atomic-openshift-utils
atomic-openshift-utils-3.9.32-1.git.1.970d147.el7.noarch

# rpm -q ansible
ansible-2.5.5-1.el7.noarch

openshift-ansible-3.9.32-1.git.1.970d147.el7.noarch

# cat /etc/yum.repos.d/centos7-viaq.repo
[centos-openshift-origin]
name=CentOS OpenShift Origin
baseurl=http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/

enabled=1
gpgcheck=1

gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS


[centos-openshift-common-candidate]
name=CentOS OpenShift Common Candidate

baseurl=https://cbs.centos.org/repos/paas7-openshift-common-candidate/x86_64/os/



[ovirt-users] Re: Direct LUNs and VM Pauses

2018-07-24 Thread Nir Soffer
On Tue, Jul 24, 2018 at 8:30 PM Ryan Bullock  wrote:
...

> Vdsm does monitor multipath events for all LUNs, but they are used only
>> for reporting purposes, see:
>>
>> https://ovirt.org/develop/release-management/features/storage/multipath-events/
>>
>> We could use the events for resuming vms using the multipath devices that
>> became available. This functionality will be even more important in the
>> next version
>> since we plan to move to LUN per disk model.
>>
>>
>
> I will look at doing this. At the very least I feel that
> differences/limitations between storage back-ends/methods should be
> documented. Just so users don't run into any surprises.
>

You can file a bug for documenting this issue.

...

> My other question is, how can I keep my VMs with Direct LUNs from pausing
>>> during short outages? Can I put configurations in my multipath.conf for
>>> just the wwids of my Direct LUNs to increase the ‘no_path_retry’ to prevent
>>> the VMs from pausing in the first place? I know in general you don’t want
>>> to increase the ‘no_path_retry’ because it can cause timeout issues with
>>> VDSM and SPM operations (LVM changes, etc). But in the case of a Direct LUN
>>> would it cause any problems?
>>>
>>
>> You can add a drop-in multipath configuration that will change
>> no_path_retry for specific device, or multiapth.
>>
>> Increasing no_path_retry will cause larger delays when vdsm try to
>> access the LUNs via lvm commands, but the delay should be only on
>> the first access when a LUN is not available.
>>
>>
> Would that increased delay cause any sort of issues for Ovirt (e.g.
> thinking a node is offline/unresponsive) if set globally in multipath.conf?
> Since a Direct LUN doesn't use LVM, would this even be a consideration if
> the increased delay was limited to the Direct LUN only?
>

Vdsm scans all LUNs to discover oVirt volumes, so it will be effected by
multipath
configuration applied only for direct LUNs.

Increasing no_path_retry for any LUN will increase the chance to delay some
vdsm flows accessing LUNs (e.g. updating lvm cache, scsi rescan, listing
devices).
But the delay happens once when the multipath device loose all paths. The
benefit
is smaller chance that a VM will pause or restart because of short outage.

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


[ovirt-users] [ANN] oVirt 4.2.5 Third Release Candidate is now available

2018-07-24 Thread Lev Veyde
The oVirt Project is pleased to announce the availability of the oVirt
4.2.5 Third Release Candidate, as of July 24th, 2018.

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

This release is available now for:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

See the release notes [1] for installation / upgrade instructions and a
list of new features and bugs fixed.

Notes:
- oVirt Appliance is available
- oVirt Node is available [2]

Additional Resources:
* Read more about the oVirt 4.2.5 release highlights:
http://www.ovirt.org/release/4.2.5/
* 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.2.5/
[2] http://resources.ovirt.org/pub/ovirt-4.2-pre/iso/

-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

TRIED. TESTED. TRUSTED. 
___
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/4ICPJH6QH2P273XZU3CBQQWKXA6Q6EEM/


[ovirt-users] Re: Direct LUNs and VM Pauses

2018-07-24 Thread Ryan Bullock
On Tue, Jul 24, 2018 at 5:51 AM, Nir Soffer  wrote:

> On Mon, Jul 23, 2018 at 9:35 PM Ryan Bullock  wrote:
>
>> Hello All,
>>
>> We recently stood up a new Ovirt install backed by an ISCSI SAN and it
>> has been working great, but there are a few quirks I am trying to iron out.
>>
>> We have run into an issue where when we fail-over our SAN (for
>> maintenance, or otherwise) any VM with a Direct LUN gets paused and doesn’t
>> resume. VMs without a direct LUN never paused.
>>
>
> I guess the other VMs did get paused, but they were resumed
> automatically by the system, so from your point of view, they did
> not "pause".
>
> You can check vdsm log if the other vms did pause and resume. I'm not
> sure engine UI reports all pause and resume events.
>
>

Ah, Ok. That would make sense. I had checked the events via the UI and it
didn't show any pauses, but I had not checked the actual VDSM logs on the
hosts. Unfortunately my logs of for the period have rolled off. I had
noticed this behaviour during our first firmware upgrade on our SAN about a
month ago. Since VM leases allowed us to maintain HA I just put it in my
list of things to follow up on. Going forward I will make sure to double
check the VDSM logs to see what is happening in the background.

> Digging through posts on this list and reading some bug reports, it seems
>> like this a known quirk with how Ovirt handles Direct LUNs (it doesn't
>> monitor the LUNs and so it wont resume the VM).
>>
>
> Right.
>
> Can you file a bug for supporting this?
>
> Vdsm does monitor multipath events for all LUNs, but they are used only
> for reporting purposes, see:
> https://ovirt.org/develop/release-management/features/
> storage/multipath-events/
>
> We could use the events for resuming vms using the multipath devices that
> became available. This functionality will be even more important in the
> next version
> since we plan to move to LUN per disk model.
>
>

I will look at doing this. At the very least I feel that
differences/limitations between storage back-ends/methods should be
documented. Just so users don't run into any surprises.

> To get the VMs to automatically restart I have attached VM leases to them
>> and that seems to work fine, not as nice as a pause and resume, but it
>> minimizes downtime.
>>
>
> Cool!
>
>
>> What I’m trying to understand is why the VMs with Direct LUNs paused, and
>> ones without didn’t. My only speculation is that since the Non-Direct is
>> using LVM on top of ISCSI, that LVM is adding its own layer of timeouts
>> that cause it to mask the outage?
>>
>
> I don't know about additional retry mechanism in the data-path for LVM
> based disks. I think we use the same multipath failover behavior.
>
>
>> My other question is, how can I keep my VMs with Direct LUNs from pausing
>> during short outages? Can I put configurations in my multipath.conf for
>> just the wwids of my Direct LUNs to increase the ‘no_path_retry’ to prevent
>> the VMs from pausing in the first place? I know in general you don’t want
>> to increase the ‘no_path_retry’ because it can cause timeout issues with
>> VDSM and SPM operations (LVM changes, etc). But in the case of a Direct LUN
>> would it cause any problems?
>>
>
> You can add a drop-in multipath configuration that will change
> no_path_retry for specific device, or multiapth.
>
> Increasing no_path_retry will cause larger delays when vdsm try to
> access the LUNs via lvm commands, but the delay should be only on
> the first access when a LUN is not available.
>
>
Would that increased delay cause any sort of issues for Ovirt (e.g.
thinking a node is offline/unresponsive) if set globally in multipath.conf?
Since a Direct LUN doesn't use LVM, would this even be a consideration if
the increased delay was limited to the Direct LUN only?

Here is an example drop-in file:
>
> # cat /etc/multipath/conf.d/my.conf
> devices {
> device {
> vendor "my-vendor"
> product "my-product"
> # based on 5 seconds monitor interval, queue I/O for
> # 60 seconds when no path is available, before failing.
> no_path_retry 12
> }
> }
>
> multipaths {
> multipath {
> wwid "my-wwidr"
> no_path_retry 12
> }
> }
>
>
Yep, this was my plan.

See "man multipath.conf" for more info.
>
> Nir
>

Thanks,

Ryan
___
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/NXZHSYHIDVO4W2CCVU6G7SBFLELC7APV/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Hi Paul,


This API add's the user to ovirt with the domain.

http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
users/methods/add

But Is there an API to add the user *and also map the user to the group*?




On Tue, Jul 24, 2018 at 7:31 PM,  wrote:

> Hi Hari,
>are you sure you want to assign the superuser permission for
> all the discovered users?
> What level are you applying it to as it means everyone can change or
> delete everything below that level.
>
> We put users into a directory group and give permissions to the group as
> Ondra suggested, then we only need to add users to oVirt if we need to add
> permissions to individual users.
>
> Regards,
>   Paul S.
> ___
> 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/IIGG7BZENMHXHQLKOQCO5OCJMFBFTJJH/
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

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


[ovirt-users] Deleting master storage

2018-07-24 Thread
Hi,

Trying to build an ovirt system and i'm stuck with storage problem. I've
prepared iscsi storage and seems like my storage had some troubles and now
i could not get it online again. That is another story. I just want to
delete master storage domain on ovirt manager. Looks like this is not
allowed since there is no storage domain candidate to take master role.
Also i could not add another storage domain becouse that is not allowed
too. It says "can not add because there is no active storage domain" or
something similar.

Basically i'm stuck and don't know how to delete storage domain (master)
without tear down all of them.
___
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/Y3CO3RQHOMZ2BDI7BOT7GZTR4BY4STXB/


[ovirt-users] Re: Xen Free Edition migration to oVirt

2018-07-24 Thread femi adegoke
Some of us would like to use this for backing up our virtual machines.

Unfortunately, it only does full backups.

Zipur has said he could add incremental backups if he can get some coding help 
from the community!!
___
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/6TADGAPJ5KIJFSRX4FBACMBKXQG3GARV/


[ovirt-users] Re: better understand ovirt-engine functions

2018-07-24 Thread Simone Tiraboschi
On Mon, Jul 23, 2018 at 7:48 PM  wrote:

> I've been reading through documentation
> https://www.ovirt.org/documentation/architecture/architecture/
> https://www.ovirt.org/documentation/self-hosted/Self-Hosted_Engine_Guide/
>
> But am struggling still to understand the role ovirt-engine plays.  Would
> anyone have recommends for additional reads?
>
> The problem I'm tackling currently looks like this:
> - We have (2) oVirt Data Centers, each populated by a single Cluster.  The
> Data Centers are physically & network-wise 'distant' from one another
> - hosted-engine runs on (3) of the (4) Hosts in Data Center A / Cluster
> A.  hosted-engine does not run on Data Center B / Cluster B
> - When we disrupt network connectivity around Cluster A (yes, that's
> Cluster *A*), Hosts in Cluster B crash (requiring a power cycle) and Guests
> in Cluster B get stopped and paused
>
> I'm struggling to understand why mussing with Cluster A affects Cluster
> B.  From pcaps, I can see plenty of TLS traffic from Cluster A's Hosts --
> presumably from ovirt-engine running on Cluster A -- exchanged with Cluster
> B.  So, during my last maintenance window, I put hosted-engine into
> maintenance mode ... but Hosts/VMs in Cluster B were still affected.
>

The engine is the brain of your system, it's a kind of orchestrator that
starts different tasks on your hosts.
You need an engine for new tasks but existing tasks such as running a VM
should not be affected at all by the lack of an engine.

I fear that your issue is somewhere else.
what do you exactly mean with "Hosts in Cluster B crash "? are you sure
that your hosts in data center B are not consuming storage exposed by hosts
in data center A?


>
> Where do I go to better understand what ovirt-engine does when it is
> 'managing' Hosts & VMs?
>
> --sk
> ___
> 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/VQKE5JRT3DC5HQVZXP72FVC75RNAOAXM/
>
___
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/5LH4NHBO6OEBMH3BCYSQXEEMRAQGL3N2/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread p . staniforth
Hi Hari,
   are you sure you want to assign the superuser permission for all the 
discovered users?
What level are you applying it to as it means everyone can change or delete 
everything below that level.

We put users into a directory group and give permissions to the group as Ondra 
suggested, then we only need to add users to oVirt if we need to add 
permissions to individual users. 

Regards,
  Paul S.
___
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/IIGG7BZENMHXHQLKOQCO5OCJMFBFTJJH/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-24 Thread p . staniforth
Hi Sven,
  I had a problem with SQL_ASCII and had to change them manually on 
our test upgrade system but one of the later 4.2 versions did it as part of the 
upgrade for Postgres, which version of 4.2 are you trying to upgrade to?

Regards,
   Paul S.
___
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/4PKKCEAV3ZRAYI5EESBD5F3HH5PKHQMZ/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-24 Thread Simone Tiraboschi
Hi,
it seams still pretty close to
https://bugzilla.redhat.com/show_bug.cgi?id=1528371 although that one was
on lc_collate and this on encoding.
Adding also Didi.

I just double check on a system of mine upgrade from 4.1 to 4.2 and
template1 is still on UTF8.

[root@enginevm tmp]# sudo -u postgres scl enable rh-postgresql95 -- psql
--list
 List of databases
 Name |Owner | Encoding |   Collate   |
Ctype|   Access privileges
--+--+--+-+-+---
 engine   | engine   | UTF8 | en_US.UTF-8 |
en_US.UTF-8 |
 ovirt_engine_history | ovirt_engine_history | UTF8 | en_US.UTF-8 |
en_US.UTF-8 |
 postgres | postgres | UTF8 | en_US.UTF-8 |
en_US.UTF-8 |
 template0| postgres | UTF8 | en_US.UTF-8 |
en_US.UTF-8 | =c/postgres  +
  |  |  | |
 | postgres=CTc/postgres
 template1| postgres | UTF8 | en_US.UTF-8 |
en_US.UTF-8 | postgres=CTc/postgres+
  |  |  | |
 | =c/postgres
(5 rows)


So the point is why the upgrade process is trying to force SQL_ASCII.
Can you please share your env variable values?

On Tue, Jul 24, 2018 at 2:57 PM Gobinda Das  wrote:

> Hi Sven,
>  I think you need to use same encoding.The error clearly says your dump
> encoding is "UTF8" and the new database encoding is "SQL_ASCII"
> As per I know PostgreSQL does not convert encoding from one type to
> another during restore.
> Can you please check what's the current encoding configured?
>
> On Tue, Jul 24, 2018 at 5:00 PM, Sven Achtelik 
> wrote:
>
>> Hi All,
>>
>>
>>
>> I’m still struggling to upgrade from 4.1 to 4.2 and the root cause seems
>> to be the SQL upgrade. I installed my 4.1.9 with the engine appliance image
>> and restored a DB to it. My Upgrade to 4.2 is failing with the errors
>> below:
>>
>> 
>>
>> Performing Consistency Checks
>>
>> -
>>
>> Checking cluster versions   ok
>>
>> Checking database user is the install user  ok
>>
>> Checking database connection settings   ok
>>
>> Checking for prepared transactions  ok
>>
>> Checking for reg* system OID user data typesok
>>
>> Checking for contrib/isn with bigint-passing mismatch   ok
>>
>> Checking for invalid "line" user columnsok
>>
>> Creating dump of global objects ok
>>
>> Creating dump of database schemas
>>
>>   engine
>>
>>   ovirt_engine_history
>>
>>   postgres
>>
>>   template1
>>
>> ok
>>
>>
>>
>> encodings for database "template1" do not match:  old "UTF8", new
>> "SQL_ASCII"
>>
>> Failure, exiting
>>
>>
>>
>> I tried everything that could do and I also tried to find a solution on
>> google to make this work. Could someone with DB knowhow please advise on
>> the next steps to resolve this ? I really would like to upgrade somehow.
>>
>>
>>
>> Thank you,
>>
>> Sven
>>
>> ___
>> 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/H7KQJ4VDGVDBQX6QL2RJ5LLS6I3KHC6I/
>>
>>
>
>
> --
> Thanks,
> Gobinda
> ___
> 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/T7AE7KYVIB2SXUZPOGCXAD4WMR4KNMS2/
>
___
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/OVIUCJCH6TRE5U5NR3YN372UWKSUB7RJ/


[ovirt-users] Re: Direct LUNs and VM Pauses

2018-07-24 Thread Nir Soffer
On Mon, Jul 23, 2018 at 9:35 PM Ryan Bullock  wrote:

> Hello All,
>
> We recently stood up a new Ovirt install backed by an ISCSI SAN and it has
> been working great, but there are a few quirks I am trying to iron out.
>
> We have run into an issue where when we fail-over our SAN (for
> maintenance, or otherwise) any VM with a Direct LUN gets paused and doesn’t
> resume. VMs without a direct LUN never paused.
>

I guess the other VMs did get paused, but they were resumed
automatically by the system, so from your point of view, they did
not "pause".

You can check vdsm log if the other vms did pause and resume. I'm not
sure engine UI reports all pause and resume events.


> Digging through posts on this list and reading some bug reports, it seems
> like this a known quirk with how Ovirt handles Direct LUNs (it doesn't
> monitor the LUNs and so it wont resume the VM).
>

Right.

Can you file a bug for supporting this?

Vdsm does monitor multipath events for all LUNs, but they are used only
for reporting purposes, see:
https://ovirt.org/develop/release-management/features/storage/multipath-events/

We could use the events for resuming vms using the multipath devices that
became available. This functionality will be even more important in the
next version
since we plan to move to LUN per disk model.


> To get the VMs to automatically restart I have attached VM leases to them
> and that seems to work fine, not as nice as a pause and resume, but it
> minimizes downtime.
>

Cool!


> What I’m trying to understand is why the VMs with Direct LUNs paused, and
> ones without didn’t. My only speculation is that since the Non-Direct is
> using LVM on top of ISCSI, that LVM is adding its own layer of timeouts
> that cause it to mask the outage?
>

I don't know about additional retry mechanism in the data-path for LVM
based disks. I think we use the same multipath failover behavior.


> My other question is, how can I keep my VMs with Direct LUNs from pausing
> during short outages? Can I put configurations in my multipath.conf for
> just the wwids of my Direct LUNs to increase the ‘no_path_retry’ to prevent
> the VMs from pausing in the first place? I know in general you don’t want
> to increase the ‘no_path_retry’ because it can cause timeout issues with
> VDSM and SPM operations (LVM changes, etc). But in the case of a Direct LUN
> would it cause any problems?
>

You can add a drop-in multipath configuration that will change
no_path_retry for specific device, or multiapth.

Increasing no_path_retry will cause larger delays when vdsm try to
access the LUNs via lvm commands, but the delay should be only on
the first access when a LUN is not available.

Here is an example drop-in file:

# cat /etc/multipath/conf.d/my.conf
devices {
device {
vendor "my-vendor"
product "my-product"
# based on 5 seconds monitor interval, queue I/O for
# 60 seconds when no path is available, before failing.
no_path_retry 12
}
}

multipaths {
multipath {
wwid "my-wwidr"
no_path_retry 12
}
}

See "man multipath.conf" for more info.

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


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-24 Thread Gobinda Das
Hi Sven,
 I think you need to use same encoding.The error clearly says your dump
encoding is "UTF8" and the new database encoding is "SQL_ASCII"
As per I know PostgreSQL does not convert encoding from one type to another
during restore.
Can you please check what's the current encoding configured?

On Tue, Jul 24, 2018 at 5:00 PM, Sven Achtelik 
wrote:

> Hi All,
>
>
>
> I’m still struggling to upgrade from 4.1 to 4.2 and the root cause seems
> to be the SQL upgrade. I installed my 4.1.9 with the engine appliance image
> and restored a DB to it. My Upgrade to 4.2 is failing with the errors
> below:
>
> 
>
> Performing Consistency Checks
>
> -
>
> Checking cluster versions   ok
>
> Checking database user is the install user  ok
>
> Checking database connection settings   ok
>
> Checking for prepared transactions  ok
>
> Checking for reg* system OID user data typesok
>
> Checking for contrib/isn with bigint-passing mismatch   ok
>
> Checking for invalid "line" user columnsok
>
> Creating dump of global objects ok
>
> Creating dump of database schemas
>
>   engine
>
>   ovirt_engine_history
>
>   postgres
>
>   template1
>
> ok
>
>
>
> encodings for database "template1" do not match:  old "UTF8", new
> "SQL_ASCII"
>
> Failure, exiting
>
>
>
> I tried everything that could do and I also tried to find a solution on
> google to make this work. Could someone with DB knowhow please advise on
> the next steps to resolve this ? I really would like to upgrade somehow.
>
>
>
> Thank you,
>
> Sven
>
> ___
> 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/H7KQJ4VDGVDBQX6QL2RJ5LLS6I3KHC6I/
>
>


-- 
Thanks,
Gobinda
___
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/T7AE7KYVIB2SXUZPOGCXAD4WMR4KNMS2/


[ovirt-users] Uncaught exception occurred - NS_ERROR_FILE_CORRUPTED

2018-07-24 Thread Michael Seidel
Hi,

I am running oVirt in version 4.2 and just started getting this error
message upon login:

Uncaught exception occurred. Please try reloading the page. Details:
(NS_ERROR_FILE_CORRUPTED) :
Please have your administrator check the UI logs


The relevant content of the ui.log is given below (or, nicely formatted
at https://paste.ee/p/LUrbt).


I am able to access the js file directly using a browser so the file is
definitely not missing and is readable. However, the side-bar of the
ovirt webadmin is not showing (or more precisely: it loads and shows for
a split-second and then disappears).


The Web Console shows a similar error message as the one below,
referring to the same js file and in addition says:

Tue Jul 24 14:28:03 GMT+200 2018
com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor
SEVERE: Warning: You're using an untyped slot!
Untyped slots are dangerous! Please upgrade your slots using
the Arcbee's easy upgrade tool at
https://arcbees.github.io/gwtp-slot-upgrader

The github-URL however is not working.

I also upgraded and rebooted the ovirt engine, but the error remains.


Do you have any suggestions what might cause this issue and how I can
fix it.

Best,
- Michael





2018-07-24 14:19:24,582+02 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-1) [] Permutation name: 2029DD69C3B3D95611AAF9AC05D7EF9B
2018-07-24 14:19:24,582+02 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-1) [] Uncaught exception:
com.google.gwt.core.client.JavaScriptException: (NS_ERROR_FILE_CORRUPTED) :
at
Unknown.loadFromLocalStorage(https://X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
at
Unknown.init(https:/X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
at
Unknown.fn.setupVerticalNavigation(https://X/ovirt-engine/webadmin/theme/00-ovirt.brand/patternfly-functions-vertical-nav-custom-3.26.1.js)
at
org.ovirt.engine.ui.webadmin.section.main.view.MainSectionView$lambda$0$Type.execute(MainSectionView.java:45)
at
com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140)
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
[gwt-servlet.jar:]
at Unknown.Ju/<(https://X/ovirt-engine/webadmin/?locale=en_US)
at Unknown.d(https://X/ovirt-engine/webadmin/?locale=en_US)
at Unknown.anonymous(Unknown)
Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671

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


[ovirt-users] Re: How to keep VM running when a storage domain is offline

2018-07-24 Thread Nir Soffer
On Tue, Jul 24, 2018 at 2:03 PM Matthew B 
wrote:

> Hello,
>
> I am trying to understand how I can prevent a VM from being paused when
> one of it's disks is unavailable due to a problem with the storage domain.
>
> The scenario:
>
> A VM with 3 disks. OS disk on a highly available domain. And Two large
> disks each on separate domains. (so a total of 3 domains).
>

This makes the vm depend on 3 storage domain - very fragile configuration.

The two large disks are mirrored using ZFS - but when one of the storage
> domains goes down the VM pauses. Is is possible to configure the VM to not
> pause when certain storage domains are unavailable? So instead of getting
> Paused due to IO error the disk would just be missing until that domain was
> brought back online?
>

I don't think we support this concept. When you start the vm, the disk must
exists.

If the disks are not needed when the vm starts, maybe you want to plug them
to the vm later by your application, only if the disks are available?

Even if you solved plugging the disks only when the storage is available,
you need
to handle errors while the disk is plugged to the vm.

If qemu fail to read or write to the disk, it must choose:
- pause the vm, so the I/O can be retried later when the vm is resumed
- stop the vm, maybe the operation will succeed on another host
- propagate the error the guest. This will like to make the file system
  in the guest read-only, which usually requires a restart of the vm to
recover.

The last option may work if the guest is using multipath, and multipath is
configured
to queue I/O forever on failures.

Vdsm supports different error policy per drive, but I don't see any UI for
setting this.

You can see the error_policy in the vm xml, available in vdsm log when
starting
a vm, or using virsh

virsh -r list

find your vm id or name, and then:

virsh -r dumpxml my-vm-name-or-id

Arik, do we have a way to control error policy per disk?

Another option is to mount the "optional" disks from within the vm,
so your application inside the vm have full control when there is trouble
to mount or access the optional disks.

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


[ovirt-users] Re: Raid configuration for single instance

2018-07-24 Thread Leo David
Hi,
I did the above changes on the server ( adding enterprise disks for storage
domains ),  and there are improvements. But.
I just had a vm getting into "VM paused due to I/O error"  :(  .
This vm has both disks as "thin-provisioning", and it runs as an OpenShift
node ( Centos 7).
Any chance that the problem could be because the disks are not
"pre-alocated" and the filesystem writes are to intensive ?
Getting a bit worried since this stack it's supposed to be seen as a
production system
Thank you very much !

On Mon, Jul 16, 2018 at 3:59 PM, Andrei Verovski 
wrote:

> Hi,
>
> Looks almost good, see comments below.
>
> On 16 Jul 2018, at 13:48, Leo David  wrote:
>
> Thank you very much,  really helpfull.
> So I will have:
> 2 x Sandisk ssd plus 240GB ( still consumer grade ) for OS
>
>
> Run continues (2+ hours, random + sequential read/write) iozone tests (in
> a loop) before launching system on these SSD RAID.
> You may be lucky or may be not.
>
> 2 x Samsung sm863a ( dc grade ) 1.9TB for creating 1 x raid1 ssd volume
> 4 x Dell 2.4TB spinning ( dc grade ) for creating 1 x raid10 spinning
> volume
> 1 x nvme car for quick / non critical fast volume
> - I would go for gluster since there are chances to extend the cluster in
> near future.
>
>
> You can also set shared volume on (at least) 2 x external SAN, NAS, NFS
> server, whatever.
>
> Any thoughts on this config ?
> Any thougts on configuring the perc controller to be gluster optimized (
> for replicated / ditributed replicated volumes ) ?
>
>
> Don’t think there are gluster-optimized settings.
> Run iozone tests to find optimal settings depending on your workload.
>
>
> Again,  thank you very much !
>
>
>
> On Mon, Jul 16, 2018 at 1:11 PM, Andrei Verovski 
> wrote:
>
>> Hi, Leo,
>>
>> I would recommend the following configuration:
>> RAID1 120GB for the OS and oVirt software
>> RAID10 (GB whatever you need) for VM data
>> I tested RAID5 it appears slower then RAID10.
>>
>> Please note consumer SSD may appear to work with SAS RAID controller yet
>> actually they DO NOT !
>> Load them with IOZONE stress test, and you will see complete freeze, and
>> in case of OS install on these SSD, unbootable dead system.
>>
>> I tested consumer WD and KingFast SATA SSD, with both HP and
>> 3Ware/Broadcom SAS RAID cards, all of them failed IOZONE stress test.
>> BTW, you can buy 120GB used SAS server disks on ebay for something close
>> to nothing.
>> Conventional (mechanical) SATA hard drives work fine with SAS RAID cards
>> (at least in my case).
>>
>> For single server you don’t need glusterfs, nfs is enough.
>>
>>
>> > On 16 Jul 2018, at 09:27, Leo David  wrote:
>> >
>> > Hello everyone,
>> > Based on your experiance or well know best practices can you provide me
>> with an advice on raid configuration ?
>> > I have a single server, that will have a couple of brand new enterprise
>> grade ssds, spinning and one pci nvme card.
>> > The server ( Dell PE r630 ) comes wirt Perc h730p raid controller with
>> 2gb cache.
>> > I am thinking of creating a raid 1 array with the 2 of ssd's and ne
>> raid10 array woth the rest of for spinning hdds. Then different gluster
>> volume on each,  to provide me 2 ( ssd / sata )  storage domains.
>> > What do you think on haveing raid1 / raid10 as underlying HA storage
>> for gluster volumes ?
>> > At the moment a have some consumer devices ( samsung evo & seagate
>> spinning shingled type ) and about every day the vms get into "VM has been
>> paused due to storage IO errors" - i am thinking because of bad type hdds.
>> > Any thoughts on these ?
>> > Thank you ,
>> >
>> > Leo
>> > --
>> > Best regards, Leo David
>> > ___
>> > Users mailing list -- users@ovirt.org
>> > To unsubscribe send an email to users-le...@ovirt.org
>> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> > oVirt Code of Conduct: https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> > List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/NC2QQNT2E57DYZ3W6MZUBQO75RHSZOBY/
>>
>>
>
>
> --
> Best regards, Leo David
>
>
>


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


[ovirt-users] Re: metrics

2018-07-24 Thread Shirly Radco
I believe these issues should be opened and tracked on github OpenShift
Origin https://github.com/openshift/origin/issues.

Best,


--

SHIRLY RADCO

BI SENIOR SOFTWARE ENGINEER

Red Hat Israel 

TRIED. TESTED. TRUSTED. 

On Mon, Jul 23, 2018 at 6:44 PM, Rich Megginson  wrote:

> We're working on it.  Not sure what the problem is, but it looks like
> openshift origin 3.9 is just broken right now - due to a combination of
> ansible and openshift-ansible problems.
>
> Shirly, where should bugs be filed in order to track this?
>
>
> On 07/23/2018 09:29 AM, supo...@logicworks.pt wrote:
>
>> Hi,
>>
>> When I Run Ansible using the prerequisites.yml playbookI get this error:
>>
>> fatal: [localhost]: FAILED! => {
>>
>> "attempts": 3,
>>
>> "changed": false,
>>
>> "invocation": {
>>
>> "module_args": {
>>
>> "allow_downgrade": false,
>>
>> "conf_file": null,
>>
>> "disable_gpg_check": false,
>>
>> "disable_plugin": [],
>>
>> "disablerepo": null,
>>
>> "enable_plugin": [],
>>
>> "enablerepo": null,
>>
>> "exclude": null,
>>
>> "install_repoquery": true,
>>
>> "installroot": "/",
>>
>> "list": null,
>>
>> "name": [
>>
>> "atomic-openshift-docker-excluder*"
>>
>> ],
>>
>> "security": false,
>>
>> "skip_broken": false,
>>
>> "state": "present",
>>
>> "update_cache": false,
>>
>> "update_only": false,
>>
>> "validate_certs": true
>>
>> }
>>
>> },
>>
>> "msg": "No package matching 'atomic-openshift-docker-excluder*' found
>> available, installed or updated",
>>
>> "rc": 126,
>>
>> "results": [
>>
>> "No package matching 'atomic-openshift-docker-excluder*' found
>> available, installed or updated"
>>
>> ]
>>
>> }
>>
>> to retry, use: --limit @/usr/share/ansible/openshift-
>> ansible/playbooks/prerequisites.retry
>>
>>
>> PLAY RECAP 
>> 
>> **
>>
>> localhost : ok=58 changed=2 unreachable=0 failed=1
>>
>>
>>
>> INSTALLER STATUS **
>> 
>> **
>>
>> Initialization : Complete (0:00:22)
>>
>>
>>
>>
>>
>> Can I live with this error or is something I need to correct?
>>
>>
>> Thanks
>>
>>
>> 
>> *De: *supo...@logicworks.pt
>> *Para: *"Shirly Radco" 
>> *Cc: *"Rich Megginson" , "users" 
>> *Enviadas: *Sexta-feira, 20 De Julho de 2018 13:19:37
>> *Assunto: *[ovirt-users] Re: metrics
>>
>>
>> Hi,
>>
>> Still the same error after installing ansible 2.5.5 and repo:
>>
>>  1. Hosts:localhost
>>  Play: Determine openshift_version to configure on first master
>>  Task: openshift_version : fail
>>  Message:  Package 'atomic-openshift-3.9*' not found
>>
>> # yum search atomic-openshift
>> ...
>>  N/S matched: atomic-openshift
>> =
>> atomic-openshift-utils.noarch : Atomic OpenShift Utilities
>>
>> # rpm -q atomic-openshift-utils
>> atomic-openshift-utils-3.9.32-1.git.1.970d147.el7.noarch
>>
>> # rpm -q ansible
>> ansible-2.5.5-1.el7.noarch
>>
>> openshift-ansible-3.9.32-1.git.1.970d147.el7.noarch
>>
>> # cat /etc/yum.repos.d/centos7-viaq.repo
>> [centos-openshift-origin]
>> name=CentOS OpenShift Origin
>> baseurl=http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/
>> enabled=1
>> gpgcheck=1
>> gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-
>> CentOS-SIG-PaaS
>>
>> [centos-openshift-common-candidate]
>> name=CentOS OpenShift Common Candidate
>> baseurl=https://cbs.centos.org/repos/paas7-openshift-common-
>> candidate/x86_64/os/
>> enabled=0
>> gpgcheck=0
>>
>> [centos-openshift-origin14-candidate]
>> name=CentOS OpenShift Origin14 Candidate
>> baseurl=http://cbs.centos.org/repos/paas7-openshift-origin14
>> -candidate/x86_64/os/
>> enabled=1
>> gpgcheck=0
>> gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-
>> CentOS-SIG-PaaS
>>
>> [centos-openshift-origin15-candidate]
>> name=CentOS OpenShift Origin15 Candidate
>> baseurl=http://cbs.centos.org/repos/paas7-openshift-origin15
>> -candidate/x86_64/os/
>> enabled=1
>> gpgcheck=0
>> gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-
>> CentOS-SIG-PaaS
>>
>> [centos-openshift-origin36-candidate]
>> name=CentOS OpenShift Origin36 Candidate
>> baseurl=http://cbs.centos.org/repos/paas7-openshift-origin36
>> -candidate/x86_64/os
>> enabled=1
>> gpgcheck=0
>>
>> [centos-openshift-origin37-candidate]
>> name=CentOS OpenShift Origin37 Candidate
>> baseurl=http://cbs.centos.org/repos/paas7-openshift-origin37
>> -candidate/x86_64/os
>> enabled=1
>> gpgcheck=0
>>
>> [centos-openshift-origin38-candidate]
>> name=CentOS OpenShift Origin38 Candidate
>> baseurl=http://cbs.centos.org/repos/paas7-openshift-origin38
>> -candidate/x86_64/os
>> enabled=1
>> gpgcheck=0

[ovirt-users] Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-24 Thread Sven Achtelik
Hi All,

I'm still struggling to upgrade from 4.1 to 4.2 and the root cause seems to be 
the SQL upgrade. I installed my 4.1.9 with the engine appliance image and 
restored a DB to it. My Upgrade to 4.2 is failing with the errors below:

Performing Consistency Checks
-
Checking cluster versions   ok
Checking database user is the install user  ok
Checking database connection settings   ok
Checking for prepared transactions  ok
Checking for reg* system OID user data typesok
Checking for contrib/isn with bigint-passing mismatch   ok
Checking for invalid "line" user columnsok
Creating dump of global objects ok
Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

encodings for database "template1" do not match:  old "UTF8", new "SQL_ASCII"
Failure, exiting

I tried everything that could do and I also tried to find a solution on google 
to make this work. Could someone with DB knowhow please advise on the next 
steps to resolve this ? I really would like to upgrade somehow.

Thank you,
Sven
___
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/H7KQJ4VDGVDBQX6QL2RJ5LLS6I3KHC6I/


[ovirt-users] Re: How to keep VM running when a storage domain is offline

2018-07-24 Thread Johan Bernhardsson
You need replicated gluster storage for that. So that one part of the 
storage can go down but two others still keep on running. And you need to 
set the threshold so that a quorum of 2 is sufficient (if you have replica 3).


If the storage volume is offline. It would be the same as the same thing as 
if you pulled the hard drive from a server.


So if ovirt wouldn't pause the virtual server then Linux would complain and 
set it to read only.



On July 24, 2018 13:05:13 Matthew B  wrote:

Hello,

I am trying to understand how I can prevent a VM from being paused when one 
of it's disks is unavailable due to a problem with the storage domain.


The scenario:

A VM with 3 disks. OS disk on a highly available domain. And Two large 
disks each on separate domains. (so a total of 3 domains).


The two large disks are mirrored using ZFS - but when one of the storage 
domains goes down the VM pauses. Is is possible to configure the VM to not 
pause when certain storage domains are unavailable? So instead of getting 
Paused due to IO error the disk would just be missing until that domain was 
brought back online?


Thanks,
-Matthew
___
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/ICR64SPQO2EVXP65N35GBCEFGAL4DS5U/


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


[ovirt-users] Re: PRODECDURE DOCUMENTATION: Mounting GPFS as STORAGE DOMAIN

2018-07-24 Thread Nir Soffer
On Mon, Jul 23, 2018 at 4:51 PM Jose E Torres  wrote:

> Recently I opened a thread on ovirt-users-list to ask about how can I
> mount GPFS as a Storage Domain, and after a few tries I finally mounted it
> correctly.
>
> On the last comment you ask me to document the procedure:
>

I asked to file a bug for documenting it.


> >> Thanks for the info!
> >> Can you file oVirt bug to document this procedure?
>
> I don't know how to do it exactly, please, can you give me indications to
> do that? Im ready for collaborate on what I can.
>

Sorry for not being clear. You can open a bug here:

https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
Daniel, is ovirt-engine the best place for this bug, or we have a better
place?

Component: Documentation
oVirt team: Docs

In the description:
- describe the user visible issue
- describe the root cause (missing mount option?)
- describe the solution
- suggest where this solution should be documented in the manual
- link to the discussion on users list

The thread is:
> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/LLXLSI4ZQFU32PV7AXLYD5LJBS23HBKO/
>
> Thanks in advance an sorry if this is not the correct channel to ask this
> type of questions.
>

I think it is better to ask on the mailing list. You may get a faster
response,
and others may benefit from the discussion.

Thanks for your contribution!

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


[ovirt-users] Re: Error when change CD

2018-07-24 Thread Markus.Schaufler
Hi!

Thanks for your reply.

I got two questions left:
Why is for the Data Domain an upload function implemented and not in the ISO 
domain?
Why works another ISO image but not the virtio-win-iso?

Thank you!

Von: Oliver Riesener [mailto:oliver.riese...@hs-bremen.de]
Gesendet: Dienstag, 24. Juli 2018 12:56
An: Schaufler, Markus 
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Error when change CD


Am 24.07.2018 um 12:32 schrieb 
markus.schauf...@ooe.gv.at:

Hi!

I created an NFS ISO Domain but couldn't find any upload button. Because 
uploading ISO files on the Data Domain I went that comfortable way.

ISO files in Data Domain BUG or FEATURE… ? For me it`s a Bug.


I successfully started Installation of Windows Server 2016
until the virtio Drivers for the disk are needed. So I tried to Change CD but 
following error occured:

"Error while executing Action Change CD: Drive Image file could not be found“

Provide drivers via floppy into ISO Domain: e.g. virtio-win-1.1.16.vfd



Changing CD works when using another ISO file like Centos. The iso itself is 
good - I can read it on my own System - but anyhow I tried another download of 
the virtio-win-iso - with the same result.

I already found several threads around this Topic - e.g. "do not upload ISO 
files to data Domain"
So I'd like to know how the upload to the ISO Domain is supposed to work if 
there's no "upload" button? Directly via SCP into the subfolders?
a) 
https://www.ovirt.org/documentation/quickstart/quickstart-guide/#uploading-iso-images
b) scp example.iso server:/…/…/…/…/images/----/

Did I miss some configuration or is the workflow in uploading ISO's 
respectively in installing a Windows VM wrong?
see above: floppy :-)


Thanks for any help!
___
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/DPQQ7WU364RQCG4RWTU2344TG4J2WV32/

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


[ovirt-users] Re: Error when change CD

2018-07-24 Thread Oliver Riesener

> Am 24.07.2018 um 12:32 schrieb markus.schauf...@ooe.gv.at:
> 
> Hi!
> 
> I created an NFS ISO Domain but couldn't find any upload button. Because 
> uploading ISO files on the Data Domain I went that comfortable way.

ISO files in Data Domain BUG or FEATURE… ? For me it`s a Bug.

> I successfully started Installation of Windows Server 2016
> until the virtio Drivers for the disk are needed. So I tried to Change CD but 
> following error occured: 
> 
> "Error while executing Action Change CD: Drive Image file could not be found“

Provide drivers via floppy into ISO Domain: e.g. virtio-win-1.1.16.vfd

> 
> Changing CD works when using another ISO file like Centos. The iso itself is 
> good - I can read it on my own System - but anyhow I tried another download 
> of the virtio-win-iso - with the same result. 
> 
> I already found several threads around this Topic - e.g. "do not upload ISO 
> files to data Domain" 
> So I'd like to know how the upload to the ISO Domain is supposed to work if 
> there's no "upload" button? Directly via SCP into the subfolders? 
a) 
https://www.ovirt.org/documentation/quickstart/quickstart-guide/#uploading-iso-images
 

b) scp example.iso server:/…/…/…/…/images/----/
> 
> Did I miss some configuration or is the workflow in uploading ISO's 
> respectively in installing a Windows VM wrong?
> 
see above: floppy :-)

> Thanks for any help!
> ___
> 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/DPQQ7WU364RQCG4RWTU2344TG4J2WV32/

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


[ovirt-users] Re: PollVDSCommand Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

2018-07-24 Thread Deekshith
Dear team

It is a new installation , everything is ok but vm is not coming up , please 
help me out solve this issue.

 

Regards 

Deekshith

9964507515,9481707515 

 

From: Greg Sheremeta [mailto:gsher...@redhat.com] 
Sent: 23 July 2018 05:34
To: deeksh...@binaryindia.com
Cc: Roy Golan; devel; users
Subject: Re: [ovirt-users] PollVDSCommand Error: 
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

 

Please run these commands, and attach the output

 

ls -lhZ $(realpath /rhev/data-center/mnt/_ovirt_DATA)
ausearch -m avc -ts this-week 

 

 

On Mon, Jul 23, 2018 at 7:44 AM Deekshith  wrote:

Dear Team

This is the error , please help me to resolve the issue. 

 



 

 

Regards 

 

Deekshith

 

 

From: Deekshith [mailto:deeksh...@binaryindia.com] 
Sent: 23 July 2018 11:41
To: 'Greg Sheremeta'
Cc: 'Roy Golan'; 'devel'; 'users'
Subject: RE: [ovirt-users] PollVDSCommand Error: 
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

 

Dear team

Please find the attached KVM error file.

 

Deekshith

 

From: Greg Sheremeta [mailto:gsher...@redhat.com] 
Sent: 22 July 2018 06:09
To: deeksh...@binaryindia.com
Cc: Roy Golan; devel; users
Subject: Re: [ovirt-users] PollVDSCommand Error: 
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

 

It appears you have permission issues on your storage.

I see you are using storageType='LOCALFS'

per https://www.ovirt.org/documentation/admin-guide/chap-Storage/

"Ensure that the directory has permissions allowing read/write access to the 
vdsm user (UID 36) and kvm group (GID 36)."

 

Can you verify that?

 

 

 

2018-07-20 12:10:33,757+0530 ERROR (vm/d17c1f11) [virt.vm] 
(vmId='d17c1f11-be8a-4d39-87e7-b1d556bf16db') The vm start process failed 
(vm:943)

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 872, in 
_startUnderlyingVm

self._run()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2876, in _run

dom.createWithFlags(flags)

  File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", 
line 130, in wrapper

ret = f(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in 
wrapper

return func(inst, *args, **kwargs)

  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1099, in 
createWithFlags

if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', 
dom=self)

libvirtError: internal error: qemu unexpectedly closed the monitor: 
2018-07-20T06:40:33.426085Z qemu-kvm: -drive 
file=/rhev/data-center/mnt/_ovirt_DATA/33fbb2b7-8954-4b53-aa11-bb799

c7af737/images/df54fef1-e9b7-408d-b3c6-e500b54cb062/cf08a216-edf0-4a1b-a8b7-0ef6f22804f4,format=raw,if=none,id=drive-ua-df54fef1-e9b7-408d-b3c6-e500b54cb062,serial=df54fef1-e9b7-408

d-b3c6-e500b54cb062,cache=none,werror=stop,rerror=stop,aio=threads: Could not 
open 
'/rhev/data-center/mnt/_ovirt_DATA/33fbb2b7-8954-4b53-aa11-bb799c7af737/images/df54fef1-e9b7-408d-

b3c6-e500b54cb062/cf08a216-edf0-4a1b-a8b7-0ef6f22804f4': Permission denied

2018-07-20 12:10:33,757+0530 INFO  (vm/d17c1f11) [virt.vm] 
(vmId='d17c1f11-be8a-4d39-87e7-b1d556bf16db') Changed state to Down: internal 
error: qemu unexpectedly closed the monitor: 2018-07-20T06:40:33.426085Z 
qemu-kvm: -drive 
file=/rhev/data-center/mnt/_ovirt_DATA/33fbb2b7-8954-4b53-aa11-bb799c7af737/images/df54fef1-e9b7-408d-b3c6-e500b54cb062/cf08a216-edf0-4a1b-a8b7-0ef6f22804f4,format=raw,if=none,id=drive-ua-df54fef1-e9b7-408d-b3c6-e500b54cb062,serial=df54fef1-e9b7-408d-b3c6-e500b54cb062,cache=none,werror=stop,rerror=stop,aio=threads:
 Could not open 
'/rhev/data-center/mnt/_ovirt_DATA/33fbb2b7-8954-4b53-aa11-bb799c7af737/images/df54fef1-e9b7-408d-b3c6-e500b54cb062/cf08a216-edf0-4a1b-a8b7-0ef6f22804f4':
 Permission denied (code=1) (vm:1683)

 

 

On Fri, Jul 20, 2018 at 6:00 AM Deekshith  wrote:

Dear Team

Please find attached Log files ,

 

Deekshith

 

 

 

From: Greg Sheremeta [mailto:gsher...@redhat.com] 
Sent: 07 July 2018 03:58
To: deeksh...@binaryindia.com
Cc: Roy Golan; devel; users
Subject: Re: [ovirt-users] PollVDSCommand Error: 
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

 

Hi,

 

Please attach logs -- engine.log and vdsm.log at least. Any others where you 
see errors, too.

 

Best wishes,

Greg

 

On Sat, Jul 7, 2018 at 1:59 AM Deekshith  wrote:

Dear team

I have clean the os and installed 4.2 ovirt engine ,  host, datacenter ,data 
domain, all are up but vm is not coming up .please help me to resolve the issue.

 

Regards 

Deekshith

 

 

From: Deekshith [mailto:deeksh...@binaryindia.com] 
Sent: 02 July 2018 04:54
To: 'Roy Golan'
Cc: 'Greg Sheremeta'; 'devel'; 'users'
Subject: RE: [ovirt-users] PollVDSCommand Error: 
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

 

Hi team

Can i have some best practice self hosted engine setup guide . i am cleaning up 
the os (fresh installation )  and

[ovirt-users] How to keep VM running when a storage domain is offline

2018-07-24 Thread Matthew B
Hello,

I am trying to understand how I can prevent a VM from being paused when one
of it's disks is unavailable due to a problem with the storage domain.

The scenario:

A VM with 3 disks. OS disk on a highly available domain. And Two large
disks each on separate domains. (so a total of 3 domains).

The two large disks are mirrored using ZFS - but when one of the storage
domains goes down the VM pauses. Is is possible to configure the VM to not
pause when certain storage domains are unavailable? So instead of getting
Paused due to IO error the disk would just be missing until that domain was
brought back online?

Thanks,
 -Matthew
___
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/ICR64SPQO2EVXP65N35GBCEFGAL4DS5U/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Thank you so much, Ondra.

Your help is greatly appreciated.

On Tue, Jul 24, 2018 at 3:41 PM, Ondra Machacek  wrote:

> If it's possible in SDK it's also possible in API.
>
> To get all domains:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> domains/methods/list
>
> To get all users in domain:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> domain_users/methods/list
>
> To add user from domain:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> users/methods/add
>
> To assign permissions to added user:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> assigned_permissions/methods/add
>
>
> On 07/24/2018 12:06 PM, Hari Prasanth Loganathan wrote:
>
>> Hi Ondra,
>>
>> We are not using ovirtSDK, It is completely new to us.
>>
>> *Is there an oVirt API *
>> 1) To discover all the users in LDAP using the provided domain
>> and namespace?
>> 2) Add all the discovered users in Ovirt?
>> 3) Assign the superuser permission for all the discovered users?
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 24, 2018 at 3:26 PM, Ondra Machacek > > wrote:
>>
>> Something like this should work for you:
>>
>> import ovirtsdk4 as sdk
>> import ovirtsdk4.types as types
>>
>> DOMAIN_NAME = 'internal-authz'
>>
>> connection = sdk.Connection(...)
>>
>> users_service = connection.system_service().users_service()
>>
>> domains_service = connection.system_service().domains_service()
>> domain = next((domain for domain in domains_service.list() if
>> domain.name  == DOMAIN_NAME), None)
>> domain_service = domains_service.domain_service(domain.id
>> )
>> users = domain_service.users_service().list()
>> for user in users:
>>  users_service.add(
>>  types.User(
>>  user_name=user.user_name,
>>  domain=types.Domain(
>>  name=domain.name ,
>>  ),
>>  ),
>>  )
>>
>> connection.close()
>>
>>
>> On 07/24/2018 11:51 AM, Hari Prasanth Loganathan wrote:
>>
>> Also Ondra,
>>
>> I added the list of users in a group in LDAP and I am able to
>> discover all the users in ovirt UI (In add users and groups tab).
>> *Is there an API *to discover the users in LDAP and add in the
>> user's table in Ovirt?
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan
>> > 
>> > >> wrote:
>>
>>  Hi Ondra,
>>
>>  Thanks much for the suggestion. Much Appreciated.
>>
>>  It's not, but you can write a script which can do this. -
>> Could you
>>  give a small brief on the type of script we need to write?
>>
>>
>>
>>  On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
>>  mailto:omach...@redhat.com>
>> >> wrote:
>>
>>  It's not, but you can write a script which can do this.
>> But if
>>  you want
>>  all users from the ldap are able to login I would
>> suggest to you
>>  create
>>  some group in LDAP and add all users as a member of
>> this group
>>  and add
>>  this group to ovirt and assign it the permissions.
>>
>>  On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>>
>>  Guys any update on this ?
>>
>>  Any help is much useful for me 😊
>>
>>  On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth
>> Loganathan
>>  > 
>>  > >
>>  > 
>>
>>  > >
>>   Hi Team,
>>
>>   Good Morning.
>>
>>   I configured the ovirt with LDAP setup.
>>
>>   Is there an *oVirt tool* (or any way) to add
>> all the
>>  users from LDAP
>>   to Ovirt?
>>
>>   _*Observation*_ :
>>
>>   1) I am able to see that when I try to login
>> with the
>>  user from
>>   LDAP, that user is added 

[ovirt-users] Re: vGPU question

2018-07-24 Thread Petr Kotas
Hi Femi,

you should be fine. It will be handled either by scheduler or by pinning to
you gpu node.

Petr

On Tue, Jul 24, 2018 at 6:43 AM femi adegoke 
wrote:

> Planning to build a hyperconverged 3 host w HE oVirt cluster + Gluster.
>
> Is it ok if only one of the hosts has a GPU?
> ___
> 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/SPBHTQBTUSACUGQN6GKITF5IPAREHSJJ/
>
___
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/UY5YAAFOGJYMZICPQL5V7YPTZ47ESXOG/


[ovirt-users] Error when change CD

2018-07-24 Thread markus . schaufler
Hi!

I created an NFS ISO Domain but couldn't find any upload button. Because 
uploading ISO files on the Data Domain I went that comfortable way. I 
successfully started Installation of Windows Server 2016
until the virtio Drivers for the disk are needed. So I tried to Change CD but 
following error occured: 

"Error while executing Action Change CD: Drive Image file could not be found"

Changing CD works when using another ISO file like Centos. The iso itself is 
good - I can read it on my own System - but anyhow I tried another download of 
the virtio-win-iso - with the same result. 

I already found several threads around this Topic - e.g. "do not upload ISO 
files to data Domain" 
So I'd like to know how the upload to the ISO Domain is supposed to work if 
there's no "upload" button? Directly via SCP into the subfolders? 

Did I miss some configuration or is the workflow in uploading ISO's 
respectively in installing a Windows VM wrong?

Thanks for any help!
___
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/DPQQ7WU364RQCG4RWTU2344TG4J2WV32/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Ondra Machacek

If it's possible in SDK it's also possible in API.

To get all domains:

http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/domains/methods/list

To get all users in domain:

http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/domain_users/methods/list

To add user from domain:

http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/users/methods/add

To assign permissions to added user:

http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/assigned_permissions/methods/add


On 07/24/2018 12:06 PM, Hari Prasanth Loganathan wrote:

Hi Ondra,

We are not using ovirtSDK, It is completely new to us.

*Is there an oVirt API *
    1) To discover all the users in LDAP using the provided domain 
and namespace?

    2) Add all the discovered users in Ovirt?
    3) Assign the superuser permission for all the discovered users?

Thanks,
Hari

On Tue, Jul 24, 2018 at 3:26 PM, Ondra Machacek > wrote:


Something like this should work for you:

import ovirtsdk4 as sdk
import ovirtsdk4.types as types

DOMAIN_NAME = 'internal-authz'

connection = sdk.Connection(...)

users_service = connection.system_service().users_service()

domains_service = connection.system_service().domains_service()
domain = next((domain for domain in domains_service.list() if
domain.name  == DOMAIN_NAME), None)
domain_service = domains_service.domain_service(domain.id
)
users = domain_service.users_service().list()
for user in users:
     users_service.add(
         types.User(
             user_name=user.user_name,
             domain=types.Domain(
                 name=domain.name ,
             ),
         ),
     )

connection.close()


On 07/24/2018 11:51 AM, Hari Prasanth Loganathan wrote:

Also Ondra,

I added the list of users in a group in LDAP and I am able to
discover all the users in ovirt UI (In add users and groups tab).
*Is there an API *to discover the users in LDAP and add in the
user's table in Ovirt?

Thanks,
Hari

On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan
mailto:hariprasant...@msystechnologies.com>
>> wrote:

     Hi Ondra,

     Thanks much for the suggestion. Much Appreciated.

     It's not, but you can write a script which can do this. -
Could you
     give a small brief on the type of script we need to write?



     On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
     mailto:omach...@redhat.com>
>> wrote:

         It's not, but you can write a script which can do this.
But if
         you want
         all users from the ldap are able to login I would
suggest to you
         create
         some group in LDAP and add all users as a member of
this group
         and add
         this group to ovirt and assign it the permissions.

         On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:

             Guys any update on this ?

             Any help is much useful for me 😊

             On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth
Loganathan
             mailto:hariprasant...@msystechnologies.com>
             >
             

             

[ovirt-users] Re: interface up when not used

2018-07-24 Thread Fabrice Bacchella


> Le 24 juil. 2018 à 11:50, Dominik Holler  a écrit :
> 
> On Tue, 24 Jul 2018 11:04:58 +0200
> Fabrice Bacchella  > wrote:
> 
>> To monitoring the network interfaces, I have a script that check if
>> ifAdminStatus and ifOperStatus values matches in snmp.
>> 
>> But with oVirt it fails on a server with 4 physical interfaces, but
>> only two connected, and return an error:
>> 
> 
> You want that eth0 and eth1 are UP, and eth2 and eth3 are DOWN?

Yes.

> 
>> snmptable XXX IF-MIB::ifTable | less
>> SNMP table: IF-MIB::ifTable
>> 
>> ifIndex ifDescr ifAdminStatus ifOperStatus
>>   1  loup   up
>>   2eth0up   up
>>   3eth1up   up
>>   4eth2up down
>>   5eth3up down
>>  24 ;vdsmdummy;  down down
>>  25   vnet0up   up
>> 
>> 
>> And indeed on the server:
>> 
>> ip link show eth2
>> 4: eth2:  mtu 1500 qdisc mq state
>> DOWN mode DEFAULT group default qlen 1000 link/ether
>> 40:a8:f0:30:81:1a brd ff:ff:ff:ff:ff:ff
>> 
> 
> looks like eth2 is DOWN, as expected.

It's in state DOWN, but marked UP anyway.

A really DOWN interface is shown as (on another server, not an ovirt host):

4: eth2:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
group default qlen 1000
link/ether a0:d3:c1:fa:8c:8a brd ff:ff:ff:ff:ff:ff


> 
> eth2 seems to be in state DOWN, which seems to be reflected in
> ifOperStatus.

Yes it match. The state is reflected in the ifOperStatus. The ifAdminStatus 
match the UP in the <...>

> 
> Is the issue that ifAdminStatus is up for eth2 and eth3, but you want
> it to be down?

That's it. I never ask it to be in such state.

___
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/345OZ3DDR36GUJUU4LBIERUOFQ5PTJPX/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Hi Ondra,

We are not using ovirtSDK, It is completely new to us.

*Is there an oVirt API *
   1) To discover all the users in LDAP using the provided domain and
namespace?
   2) Add all the discovered users in Ovirt?
   3) Assign the superuser permission for all the discovered users?

Thanks,
Hari

On Tue, Jul 24, 2018 at 3:26 PM, Ondra Machacek  wrote:

> Something like this should work for you:
>
> import ovirtsdk4 as sdk
> import ovirtsdk4.types as types
>
> DOMAIN_NAME = 'internal-authz'
>
> connection = sdk.Connection(...)
>
> users_service = connection.system_service().users_service()
>
> domains_service = connection.system_service().domains_service()
> domain = next((domain for domain in domains_service.list() if domain.name
> == DOMAIN_NAME), None)
> domain_service = domains_service.domain_service(domain.id)
> users = domain_service.users_service().list()
> for user in users:
> users_service.add(
> types.User(
> user_name=user.user_name,
> domain=types.Domain(
> name=domain.name,
> ),
> ),
> )
>
> connection.close()
>
>
> On 07/24/2018 11:51 AM, Hari Prasanth Loganathan wrote:
>
>> Also Ondra,
>>
>> I added the list of users in a group in LDAP and I am able to discover
>> all the users in ovirt UI (In add users and groups tab).
>> *Is there an API *to discover the users in LDAP and add in the user's
>> table in Ovirt?
>>
>> Thanks,
>> Hari
>>
>> On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com > hnologies.com>> wrote:
>>
>> Hi Ondra,
>>
>> Thanks much for the suggestion. Much Appreciated.
>>
>> It's not, but you can write a script which can do this. - Could you
>> give a small brief on the type of script we need to write?
>>
>>
>>
>> On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
>> mailto:omach...@redhat.com>> wrote:
>>
>> It's not, but you can write a script which can do this. But if
>> you want
>> all users from the ldap are able to login I would suggest to you
>> create
>> some group in LDAP and add all users as a member of this group
>> and add
>> this group to ovirt and assign it the permissions.
>>
>> On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>>
>> Guys any update on this ?
>>
>> Any help is much useful for me 😊
>>
>> On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan
>> > 
>> >
>> >> wrote:
>>
>>  Hi Team,
>>
>>  Good Morning.
>>
>>  I configured the ovirt with LDAP setup.
>>
>>  Is there an *oVirt tool* (or any way) to add all the
>> users from LDAP
>>  to Ovirt?
>>
>>  _*Observation*_ :
>>
>>  1) I am able to see that when I try to login with the
>> user from
>>  LDAP, that user is added in Ovirt database, So Is there
>> a way to
>>  sync all the users from LDAP to Ovirt using any oVirt
>> tool or API?
>>
>>  Any help is much appreciated.
>>
>>  Thanks,
>>  Hari
>>
>>
>> DISCLAIMER- *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information
>> and is intended solely for the use of the individual or
>> entity to whom it is actually intended. If you have
>> erroneously received this message, please permanently delete
>> it immediately and notify the sender. If you are not the
>> intended recipient of the email message,you are notified
>> strictly not to disseminate,distribute or copy this
>> e-mail.E-mail transmission cannot be guaranteed to be secure
>> or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses
>> and MSysTechnologies LLC accepts no liability for the
>> contents and integrity of this mail or for any damage caused
>> by the limitations of the e-mail transmission.
>>
>>
>>
>> ___
>> 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:
>> h

[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Ondra Machacek

Something like this should work for you:

import ovirtsdk4 as sdk
import ovirtsdk4.types as types

DOMAIN_NAME = 'internal-authz'

connection = sdk.Connection(...)

users_service = connection.system_service().users_service()

domains_service = connection.system_service().domains_service()
domain = next((domain for domain in domains_service.list() if 
domain.name == DOMAIN_NAME), None)

domain_service = domains_service.domain_service(domain.id)
users = domain_service.users_service().list()
for user in users:
users_service.add(
types.User(
user_name=user.user_name,
domain=types.Domain(
name=domain.name,
),
),
)

connection.close()


On 07/24/2018 11:51 AM, Hari Prasanth Loganathan wrote:

Also Ondra,

I added the list of users in a group in LDAP and I am able to discover 
all the users in ovirt UI (In add users and groups tab).
*Is there an API *to discover the users in LDAP and add in the user's 
table in Ovirt?


Thanks,
Hari

On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan 
> wrote:


Hi Ondra,

Thanks much for the suggestion. Much Appreciated.

It's not, but you can write a script which can do this. - Could you
give a small brief on the type of script we need to write?



On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
mailto:omach...@redhat.com>> wrote:

It's not, but you can write a script which can do this. But if
you want
all users from the ldap are able to login I would suggest to you
create
some group in LDAP and add all users as a member of this group
and add
this group to ovirt and assign it the permissions.

On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:

Guys any update on this ?

Any help is much useful for me 😊

On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan
mailto:hariprasant...@msystechnologies.com>
>> wrote:

     Hi Team,

     Good Morning.

     I configured the ovirt with LDAP setup.

     Is there an *oVirt tool* (or any way) to add all the
users from LDAP
     to Ovirt?

     _*Observation*_ :

     1) I am able to see that when I try to login with the
user from
     LDAP, that user is added in Ovirt database, So Is there
a way to
     sync all the users from LDAP to Ovirt using any oVirt
tool or API?

     Any help is much appreciated.

     Thanks,
     Hari


DISCLAIMER- *MSysTechnologies LLC*

This email message, contents and its attachments may contain
confidential, proprietary or legally privileged information
and is intended solely for the use of the individual or
entity to whom it is actually intended. If you have
erroneously received this message, please permanently delete
it immediately and notify the sender. If you are not the
intended recipient of the email message,you are notified
strictly not to disseminate,distribute or copy this
e-mail.E-mail transmission cannot be guaranteed to be secure
or error-free as Information could be intercepted,
corrupted, lost, destroyed, incomplete or contain viruses
and MSysTechnologies LLC accepts no liability for the
contents and integrity of this mail or for any damage caused
by the limitations of the e-mail transmission.



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






DISCLAIMER- *MSysTechnologies LLC*

This email message, contents and its attachments may contain 
confidential, proprietary or legally privileged information and is 
intended solely for the use of the individual or entity to whom it is 
actually intended. If you have erroneously received this message, please 
permanently delete it immediately and notify th

[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Also Ondra,

I added the list of users in a group in LDAP and I am able to discover all
the users in ovirt UI (In add users and groups tab).
*Is there an API *to discover the users in LDAP and add in the user's table
in Ovirt?

Thanks,
Hari

On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Ondra,
>
> Thanks much for the suggestion. Much Appreciated.
>
> It's not, but you can write a script which can do this. -  Could you give
> a small brief on the type of script we need to write?
>
>
>
> On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek 
> wrote:
>
>> It's not, but you can write a script which can do this. But if you want
>> all users from the ldap are able to login I would suggest to you create
>> some group in LDAP and add all users as a member of this group and add
>> this group to ovirt and assign it the permissions.
>>
>> On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>>
>>> Guys any update on this ?
>>>
>>> Any help is much useful for me 😊
>>>
>>> On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com >> hnologies.com>> wrote:
>>>
>>> Hi Team,
>>>
>>> Good Morning.
>>>
>>> I configured the ovirt with LDAP setup.
>>>
>>> Is there an *oVirt tool* (or any way) to add all the users from LDAP
>>> to Ovirt?
>>>
>>> _*Observation*_ :
>>>
>>> 1) I am able to see that when I try to login with the user from
>>> LDAP, that user is added in Ovirt database, So Is there a way to
>>> sync all the users from LDAP to Ovirt using any oVirt tool or API?
>>>
>>> Any help is much appreciated.
>>>
>>> Thanks,
>>> Hari
>>>
>>>
>>> DISCLAIMER- *MSysTechnologies LLC*
>>>
>>> This email message, contents and its attachments may contain
>>> confidential, proprietary or legally privileged information and is intended
>>> solely for the use of the individual or entity to whom it is actually
>>> intended. If you have erroneously received this message, please permanently
>>> delete it immediately and notify the sender. If you are not the intended
>>> recipient of the email message,you are notified strictly not to
>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>> guaranteed to be secure or error-free as Information could be intercepted,
>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>> this mail or for any damage caused by the limitations of the e-mail
>>> transmission.
>>>
>>>
>>>
>>> ___
>>> 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/communit
>>> y/about/community-guidelines/
>>> List Archives: https://lists.ovirt.org/archiv
>>> es/list/users@ovirt.org/message/TNDRY46K7PYM2TCIHR3IHUL2B6LPV2QC/
>>>
>>>
>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

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


[ovirt-users] Re: interface up when not used

2018-07-24 Thread Dominik Holler
On Tue, 24 Jul 2018 11:04:58 +0200
Fabrice Bacchella  wrote:

> To monitoring the network interfaces, I have a script that check if
> ifAdminStatus and ifOperStatus values matches in snmp.
> 
> But with oVirt it fails on a server with 4 physical interfaces, but
> only two connected, and return an error:
> 

You want that eth0 and eth1 are UP, and eth2 and eth3 are DOWN?

> snmptable XXX IF-MIB::ifTable | less
> SNMP table: IF-MIB::ifTable
> 
>  ifIndex ifDescr ifAdminStatus ifOperStatus
>1  loup   up
>2eth0up   up
>3eth1up   up
>4eth2up down
>5eth3up down
>   24 ;vdsmdummy;  down down
>   25   vnet0up   up
> 
> 
> And indeed on the server:
> 
> ip link show eth2
> 4: eth2:  mtu 1500 qdisc mq state
> DOWN mode DEFAULT group default qlen 1000 link/ether
> 40:a8:f0:30:81:1a brd ff:ff:ff:ff:ff:ff
> 

looks like eth2 is DOWN, as expected.

> 
> It's up, but I don't configured it on oVirt, removed ifcg-eth2. Is
> there a way to disable it ?


eth2 seems to be in state DOWN, which seems to be reflected in
ifOperStatus.

Is the issue that ifAdminStatus is up for eth2 and eth3, but you want
it to be down?
___
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/6UT2T3IFNWUFMOWHKK6LZRQOZHJ5HOXI/


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Hari Prasanth Loganathan
Hi Ondra,

Thanks much for the suggestion. Much Appreciated.

It's not, but you can write a script which can do this. -  Could you give a
small brief on the type of script we need to write?



On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek 
wrote:

> It's not, but you can write a script which can do this. But if you want
> all users from the ldap are able to login I would suggest to you create
> some group in LDAP and add all users as a member of this group and add
> this group to ovirt and assign it the permissions.
>
> On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:
>
>> Guys any update on this ?
>>
>> Any help is much useful for me 😊
>>
>> On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com > hnologies.com>> wrote:
>>
>> Hi Team,
>>
>> Good Morning.
>>
>> I configured the ovirt with LDAP setup.
>>
>> Is there an *oVirt tool* (or any way) to add all the users from LDAP
>> to Ovirt?
>>
>> _*Observation*_ :
>>
>> 1) I am able to see that when I try to login with the user from
>> LDAP, that user is added in Ovirt database, So Is there a way to
>> sync all the users from LDAP to Ovirt using any oVirt tool or API?
>>
>> Any help is much appreciated.
>>
>> Thanks,
>> Hari
>>
>>
>> DISCLAIMER- *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify the sender. If you are not the intended
>> recipient of the email message,you are notified strictly not to
>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>> guaranteed to be secure or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses and
>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>> this mail or for any damage caused by the limitations of the e-mail
>> transmission.
>>
>>
>>
>> ___
>> 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/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/TNDRY46K7PYM2TCIHR3IHUL2B6LPV2QC/
>>
>>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute or copy this e-mail.E-mail 
transmission cannot be guaranteed to be secure or error-free as Information 
could be intercepted, corrupted, lost, destroyed, incomplete or contain 
viruses and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of the 
e-mail transmission.

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


[ovirt-users] interface up when not used

2018-07-24 Thread Fabrice Bacchella
To monitoring the network interfaces, I have a script that check if 
ifAdminStatus and ifOperStatus values matches in snmp.

But with oVirt it fails on a server with 4 physical interfaces, but only two 
connected, and return an error:

snmptable XXX IF-MIB::ifTable | less
SNMP table: IF-MIB::ifTable

 ifIndex ifDescr ifAdminStatus ifOperStatus
   1  loup   up
   2eth0up   up
   3eth1up   up
   4eth2up down
   5eth3up down
  24 ;vdsmdummy;  down down
  25   vnet0up   up


And indeed on the server:

ip link show eth2
4: eth2:  mtu 1500 qdisc mq state DOWN mode 
DEFAULT group default qlen 1000
link/ether 40:a8:f0:30:81:1a brd ff:ff:ff:ff:ff:ff


It's up, but I don't configured it on oVirt, removed ifcg-eth2. Is there a way 
to disable it ?___
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/EPEBBNM3MACG5SPKGPZIHXERWRWB6MHE/


[ovirt-users] Re: Is enabling Epel repo will break the installation?

2018-07-24 Thread Fabrice Bacchella
oVirt developpers are not big fan of epel anyway. So don't expect this 
situation to change soon.

To be sure that epel don't interfere in any way with oVirt epel, rather than 
excluding collected, I changed the priority of oVirt's epel:

in /etc/yum.repos.d/ovirt-4.2-dependencies.repo
[ovirt-4.2-epel]
...
priority=10

The default priority is 99, so whatever package ovirt choose to add in it, it 
will win other epel.


> Le 23 juil. 2018 à 15:33, Arman Khalatyan  a écrit :
> 
> Hello,
> As I remember some time ago the epel collectd was in conflict with the
> ovirt one.
> Is it still the case?
> Thanks,
> Arman.

___
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/2RWZTOKOAPQTHF7HKEPJ6FV5XZ6CE4LV/


[ovirt-users] Xen Free Edition migration to oVirt

2018-07-24 Thread Sandro Bonazzola
Hi,
If you were using Xen Free Edition or if you are still using it, after
https://xenserver.org/blog/entry/xenserver-7-3-changes-to-the-free-edition.html
you may be looking at oVirt as alternative.
A community tool to ease the migration exist here:
https://github.com/zipurman/oVIRT_Simple_Backup.
Did you migrate to oVirt or are you planning it?
I was wondering if it may help organizing an hackathon day for helping
users doing the migration would make sense, so I'd like to know if there
are users looking for assistance in the migration process.
Let us know!

-- 

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA 

sbona...@redhat.com

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


[ovirt-users] Re: Sync LDAP users in Ovirt

2018-07-24 Thread Ondra Machacek

It's not, but you can write a script which can do this. But if you want
all users from the ldap are able to login I would suggest to you create
some group in LDAP and add all users as a member of this group and add
this group to ovirt and assign it the permissions.

On 07/23/2018 08:36 PM, Hari Prasanth Loganathan wrote:

Guys any update on this ?

Any help is much useful for me 😊

On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan 
> wrote:


Hi Team,

Good Morning.

I configured the ovirt with LDAP setup.

Is there an *oVirt tool* (or any way) to add all the users from LDAP
to Ovirt?

_*Observation*_ :

1) I am able to see that when I try to login with the user from
LDAP, that user is added in Ovirt database, So Is there a way to
sync all the users from LDAP to Ovirt using any oVirt tool or API?

Any help is much appreciated.

Thanks,
Hari


DISCLAIMER- *MSysTechnologies LLC*

This email message, contents and its attachments may contain 
confidential, proprietary or legally privileged information and is 
intended solely for the use of the individual or entity to whom it is 
actually intended. If you have erroneously received this message, please 
permanently delete it immediately and notify the sender. If you are not 
the intended recipient of the email message,you are notified strictly 
not to disseminate,distribute or copy this e-mail.E-mail transmission 
cannot be guaranteed to be secure or error-free as Information could be 
intercepted, corrupted, lost, destroyed, incomplete or contain viruses 
and MSysTechnologies LLC accepts no liability for the contents and 
integrity of this mail or for any damage caused by the limitations of 
the e-mail transmission.




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


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


[ovirt-users] Re: Ovirt4.2 AD integration issue

2018-07-24 Thread Ondra Machacek

Can you please share the full debug log?

On 07/23/2018 02:55 PM, Arun S wrote:

Hello,


I need help to resolve Ovirt AD auth setup issue.


I have setup ovirt-engine-4.2 and I am trying to integrate with AD for 
user authentication.



Using  (ad.properties) I am able to bind to AD, however test login is 
failing with "Invalid credentials"



---

FINEST: message = 80090308: LdapErr: DSID-0C090400, comment: 
AcceptSecurityContext error, data 52e, v1db1



API: <--Authn.InvokeCommands.AUTHENTICATE_CREDENTIALS 
profile='abc.internal' result=CREDENTIALS_INCORRECT

  SEVERE  Authn.Result code is: CREDENTIALS_INCORRECT

---


Users credentials is correct.





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


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