Re: [ovirt-users] oVirt 4.2.x and ManageIQ : Adding 'cfme' credentials

2018-03-04 Thread Yaniv Kaul
On Thu, Mar 1, 2018 at 4:50 PM, Nicolas Ecarnot  wrote:

> Le 01/03/2018 à 15:00, Yaniv Kaul a écrit :
>
>>
>>
>> On Thu, Mar 1, 2018 at 2:13 PM, Nicolas Ecarnot > > wrote:
>>
>> Hello,
>>
>> As for my 4 previous oVirt DCs, I'm trying to add them to ManageIQ
>> providers.
>>
>> I tried to follow this guide :
>>
>> https://access.redhat.com/documentation/en-us/red_hat_cloudf
>> orms/4.6/html-single/deployment_planning_guide/#data_
>> collection_for_rhev_33_34
>> > forms/4.6/html-single/deployment_planning_guide/#data_
>> collection_for_rhev_33_34>
>>
>> But when trying to run psql, the shell tells me the command is not
>> found.
>>
>>
>>
> Hello Yanniv,
>
> Thank you for answering.
>
> Because you are probably on PG 9.5 SCL, I assume?
>>
>
> I've never heard about that before today.
> I installed a bare-metal CentOS 7.4 on which I installed oVirt 4.2.
> I saw no reference to SCL nowhere, neither during the setup, neither in
> the oVirt install documentation.
>
> How an average user is supposed to behave in such a situation?
> (In my case, as usual, I read and read again)
>

An average user does not touch the database. But you are right, we should
mention it somewhere.


>
> Couldn't the Redhat documentation mentioned above be more accurate?


Red Hat did not release 4.2 yet.


>
>
> Something like 'scl enable rh-postgrsql95' should help.
>>
>
> Not that much...
>
> root@serv-mvm-prds01:/etc/ovirt-engine-setup.conf.d# cd /tmp
> root@serv-mvm-prds01:/tmp# su - postgres
> Dernière connexion : jeudi  1 mars 2018 à 15:42:40 CET sur pts/2
> -bash-4.2$ scl enable rh-postgrsql95
> Need at least 3 arguments.
> Run scl --help to get help.
>
>
https://www.softwarecollections.org/en/scls/rhscl/rh-postgresql95/ provide
better information than I do...
Y.


> --
> Nicolas ECARNOT
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot remove vm.

2018-03-04 Thread Shani Leviim
Hi Nick,

You can try the taskcleaner script on dbutils:
PGPASSWORD=... /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh --help



*Regards,*

*Shani Leviim*

On Thu, Mar 1, 2018 at 6:01 PM, nicola gentile 
wrote:

> Hi,
> I have a problem. I try to remove a pool and than I remove every vm
> but one of this display the message "Cannot remove VM. Related
> operation is currently in progress. Please try again later."
>
> I try to unlock with this command
>
> PGPASSWORD=... /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -t all -u engine
>
> but not working
>
> in /var/log/ovirt-engine/engine.log
>
> 2018-03-01 17:02:47,799+01 INFO
> [org.ovirt.engine.core.bll.RemoveVmCommand] (default task-33)
> [0217d710-afb6-4450-9897-02748d871aa1] Failed to Acquire Lock to
> object 'EngineLock:{exclusiveLocks='[d623ad44-a645-4fd0-9993-
> d21374e99eb5=VM]',
> sharedLocks=''}'
> 2018-03-01 17:02:47,799+01 WARN
> [org.ovirt.engine.core.bll.RemoveVmCommand] (default task-33)
> [0217d710-afb6-4450-9897-02748d871aa1] Validation of action 'RemoveVm'
> failed for user admin@internal-authz. Reasons:
> VAR__ACTION__REMOVE,VAR__TYPE__VM,ACTION_TYPE_FAILED_OBJECT_LOCKED
>
> please help
>
> thanks
>
> Nick
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot remove vm.

2018-03-04 Thread Arik Hadas
On Thu, Mar 1, 2018 at 6:01 PM, nicola gentile 
wrote:

> Hi,
> I have a problem. I try to remove a pool and than I remove every vm
> but one of this display the message "Cannot remove VM. Related
> operation is currently in progress. Please try again later."


> I try to unlock with this command
>
> PGPASSWORD=... /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -t all -u engine
>
> but not working
>

Yeah, that wouldn't work since the VM is locked in-memory (as opposed to
being locked in the database).


>
> in /var/log/ovirt-engine/engine.log
>
> 2018-03-01 17:02:47,799+01 INFO
> [org.ovirt.engine.core.bll.RemoveVmCommand] (default task-33)
> [0217d710-afb6-4450-9897-02748d871aa1] Failed to Acquire Lock to
> object 'EngineLock:{exclusiveLocks='[d623ad44-a645-4fd0-9993-
> d21374e99eb5=VM]',
> sharedLocks=''}'
> 2018-03-01 17:02:47,799+01 WARN
> [org.ovirt.engine.core.bll.RemoveVmCommand] (default task-33)
> [0217d710-afb6-4450-9897-02748d871aa1] Validation of action 'RemoveVm'
> failed for user admin@internal-authz. Reasons:
> VAR__ACTION__REMOVE,VAR__TYPE__VM,ACTION_TYPE_FAILED_OBJECT_LOCKED
>
> please help
>

What's the status of the VMs that are attached to the pool? It may be that
some of those VMs cannot be stopped and so they remain locked by the
remove-pool operation, but hard to tell without a complete engine log.
Anyway, you can restart the engine - it would probably release that
in-memory lock that prevents you from removing the VM.


>
> thanks
>
> Nick
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Q: VM disk speed penalty NFS vs Local data center storage

2018-03-04 Thread Pavel Gashev
Andrei,

You could try pNFS. It allows to access a data on a local storage directly 
bypassing NFS and even FS level.
Unfortunately, it requires SCSI Persistent Reservation feature so would not 
work all RAID controllers.

From:  on behalf of Yaniv Kaul 
Date: Monday, 26 February 2018 at 14:49
To: Andrei Verovski 
Cc: Ovirt Users 
Subject: Re: [ovirt-users] Q: VM disk speed penalty NFS vs Local data center 
storage



On Mon, Feb 26, 2018 at 1:30 PM, Andrei Verovski 
> wrote:
Hi,

Since oVirt doesn’t support more then 1 host in data center with local storage 
domain as described here:
http://lists.ovirt.org/pipermail/users/2018-January/086118.html

I have to setup NFS server on node with VMs (on same node) access via NFS.
10 GB shared storage is in the future plans yet right now have only 2 nodes 
with local RAID on each.

Q: What is VM disk speed penalty (approx %)  NFS vs Local RAID in oVirt data 
center storage?
Currently I have 2 VMs running our accounting/inventory control system which 
are critical to storage performance limits.
2 other VMs have very low disk activity.

I don't know, but please remember there's both latency and throughput, both of 
which are somewhat affected. Throughput will benefit from jumbo frames, for 
example. Unfortunately it may affect latency a bit.
There was an interesting patch that if the NFS was local, bypassed the NFS[1]. 
It was never completed and merged.
Lastly, chapter 6 at hyper-converged guide (should be available in few hours) 
might be an interesting idea for you to consider - a single Gluster that can 
later expand.
Y.

[1] https://gerrit.ovirt.org/#/c/68822/
[2] 
https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide/



Thanks in advance
Andrei Verovski


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't move/copy VM disks between Data Centers

2018-03-04 Thread Andrei V
Hi,

On 02/27/2018 04:29 PM, Fred Rolland wrote:
> Hi,
>
> Just to make clear what you want to achieve:
> - DC1 - local storage - host1 - VMs
> - DC2 - local storage - host2
>
> You want to move the VMs from DC1 to DC2.

Yes, thanks, this is exactly what I want to accomplish.
BTW, are export domains from different data centers visible to each other?

If not, wouldn't be simpler to export VM#1 in DC #1 to Export domain #1,
copy over ssh to DC #2 Export domain, and finally import it into DC #2.

PS. I can't test right now myself, sitting home on sick leave..

>
> What you can do:
> - Add a shared storage domain to the DC#1
> - Move VM disk from local SD to shared storage domain
> - Put shared storage domain to maintenance
> - Detach shared storage from DC1
> - Attach shared storage to DC2
> - Activate shared storage
> - You should be able to register the VM from the shared storage into
> the DC2
> - If you want/need move disks from shared storage to local storage in DC2
>
> Please test this flow with a dummy VM before doing on important VMs.
>
> Regards,
>
> Freddy
>
> On Mon, Feb 26, 2018 at 1:46 PM, Andrei Verovski  > wrote:
>
> Hi,
>
> Thanks for clarification. I’m using 4.2.
> Anyway, I have to define another data center with shared storage
> domain (since data center with local storage domain can have only
> 1 host), and the do what you have described.
>
> Is it possible to copy VM disks from 1 data center #1 local
> storage domain to another data center #2 NFS storage domain, or
> need to use export storage domain ?
>
>
>
>> On 26 Feb 2018, at 13:30, Fred Rolland > > wrote:
>>
>> Hi,
>> Which version are you using?
>>
>> in 4.1 , the support of adding shared storage to local DC was
>> added [1].
>> You can copy/move disks to the shared storage domain, then detach
>> the SD and attach to another DC.
>>
>> In any case, you wont be able to live migrate VMs from the local
>> DC, it is not supported.
>>
>> Regards,
>> Fred
>>
>> [1]
>> 
>> https://ovirt.org/develop/release-management/features/storage/sharedStorageDomainsAttachedToLocalDC/
>> 
>> 
>>
>> On Fri, Feb 23, 2018 at 1:35 PM, Andrei V > > wrote:
>>
>> Hi,
>>
>> I have oVirt setup, separate PC host engine + 2 nodes (#10 +
>> #11) with local storage domains (internal RAIDs).
>> 1st node #10 is currently active and can’t be turned off.
>>
>> Since oVirt doesn’t support more then 1 host in data center
>> with local storage domain as described here:
>> http://lists.ovirt.org/pipermail/users/2018-January/086118.html
>> 
>> defined another data center with 1 node #11.
>>
>> Problem: 
>> 1) can’t copy or move VM disks from node #10 (even of
>> inactive VMs) to node #11, this node is NOT being shown as
>> possible destination.
>> 2) can’t migrate active VMs to node #11.
>> 3) Added NFS shares to data center #1 -> node #10, but can’t
>> change data center #1 -> storage type to Shared, because this
>> operation requires detachment of local storage domains, which
>> is not possible, several VMs are active and can’t be stopped.
>>
>> VM disks placed on local storage domains because of
>> performance limitations of our 1Gbit network. 
>> 2 VMs running our accounting/inventory control system, and
>> are critical to NFS storage performance limits.
>>
>> How to solve this problem ?
>> Thanks in advance.
>>
>> Andrei
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org 
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
>>
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
> 
>
>

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Q: Can't connect to oVirt shell

2018-03-04 Thread Andrei Verovski
Hi !

I'm trying to connect via Bash from same machine where oVirt engine
installed
ovirt-shell --url=http://node00.mydomain.com/api -u admin
After entering password I've got:
=== ERROR ===
[404] - Not Found

What is wrong here?
Thanks in advance.
Andrei
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failure to upgrade Cluster Compatibility Version

2018-03-04 Thread Jonathan Mathews
Good Day

I do apologize for the for the duplication, but is anyone able to advise on
this?


On Wed, Feb 28, 2018 at 12:21 PM, Jonathan Mathews 
wrote:

> I have been upgrading my oVirt platform from 3.4 and I am trying to get to
> 4.2.
>
> I have managed to get the platform to 3.6, but need to upgrade the Cluster
> Compatibility Version.
>
> When I select 3.6 in the Cluster Compatibility Version and select OK, it
> highlights Compatibility Version in red, (image attached).
>
> There are no errors been displayed on screen, or in
> the /var/log/ovirt-engine/engine.log file.
>
> Please let me know if I am missing something and how I can resolve this?
>
> Thanks
> Jonathan
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Any Kind of Storage IO Limitation?

2018-03-04 Thread Thomas Fecke
Hey Guys,

I got a kind of strange Question:

We got some Hypervisors connected to an x86 Storage ( NFS )

The Machines are connected via 10 Gbit with that Storage. When I try to rsync 
some Files we reach almost the Maximum Bandwidth.

But, when I copy some VM´s, Templates or do something Stroage related in Ovirt 
I just can reach 1000 M/bit.

Is there any kind of "Config Limitation"?

My biggest Problem:

We work a lot with Templates. When I deploy 10 VM´s based on one Template the 
VM´s are getting very slow and the Storage seems to be the Problem

Thanks a lot



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users