[ovirt-users] HE multipath problem.

2016-02-03 Thread gflwqs gflwqs
Hi List,

I have installed the hosted engine over iscsi but have a problem getting it
to install over the multipath, even though i can see the multipath device
from the host with multipath -ll.

When i get to the point in the HE installer where i should choose the disk
i only see the underlying devices like sdb sdc. So if i choose one of those
it results in that it will only use one of the paths!

My questions is:
- Is there a bug in the installer script or am i doing something wrong?
- I now have a running HE and would like to manually change the single path
to dual, how do i accomplish this?

I am running  ovirt 3.5.6.2.

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


[ovirt-users] Several VM's stuck in Migration

2016-02-03 Thread Mark Steele
Hello,

We recently had our storage array hang. We were able to get the disk array
back online, however several of our VM's attempted to migrate from one Host
to another. Now that the storage is online, several of the VM's still
indicate they are in a state of migration and I cannot manage them from
withing the ovirt engine web administration gui.

Most of the VM's are actually running properly and I can access them either
via ssh or RDP (depending on the OS).

I have attempted to clear the migration status with the following:

- service ovirt-engine restart (on the ovirt-engine vm)
- reboot ovirt-engine vm
- PGPASSWORD=### ./unlock_entity.sh -t vm vm-name
- restart the vm from within the vm

additionally - i went on the HV of one of the VM's and did:

vdsClient -s 0 destroy vm_guid

unfortunately, that removed all traces of the vm from that HV and it was
not on any of the other three HV's - although ovirt-engine still shows it
and reports it as migrating.

I'd like to clear the migrating status of the affected VM's and figure out
how to recover the missing one.

Any help would be appreciated. I am not the person who originally setup the
ovirt installation, so I am not sure where to go to pull logs.

Thank you for your assistance.

***
*Mark Steele*
CIO / VP Technical Operations | TelVue Corporation
TelVue - We Share Your Vision
800.885.8886 x128 | mste...@telvue.com | http://www.telvue.com
twitter: http://twitter.com/telvue | facebook:
https://www.facebook.com/telvue

This
email has been sent from a virus-free computer protected by Avast.
www.avast.com

<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't remove snapshot

2016-02-03 Thread Rik Theys
Hi,

In the mean time I've noticed the following entries in our periodic
logcheck output:

Feb  3 09:05:53 orinoco journal: block copy still active: disk 'vda' not
ready for pivot yet
Feb  3 09:05:53 orinoco journal: vdsm root ERROR Unhandled
exception#012Traceback (most recent call last):#012  File
"/usr/lib/python2.7/site-packages/vdsm/utils.py", line 734, in
wrapper#012return f(*a, **kw)#012  File
"/usr/share/vdsm/virt/vm.py", line 5168, in run#012
self.tryPivot()#012  File "/usr/share/vdsm/virt/vm.py", line 5137, in
tryPivot#012ret = self.vm._dom.blockJobAbort(self.drive.name,
flags)#012  File "/usr/share/vdsm/virt/virdomain.py", line 68, in f#012
   ret = attr(*args, **kwargs)#012  File
"/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 124,
in wrapper#012ret = f(*args, **kwargs)#012  File
"/usr/lib64/python2.7/site-packages/libvirt.py", line 733, in
blockJobAbort#012if ret == -1: raise libvirtError
('virDomainBlockJobAbort() failed', dom=self)#012libvirtError: block
copy still active: disk 'vda' not ready for pivot yet

This is from the host running the VM.

Note that this host is not the SPM of the cluster. I always thought all
operations on disk volumes happened on the SPM host?

My question still remains:

> I can see the snapshot in the "Disk snapshot" tab of the storage. It has
> a status of "illegal". Is it OK to (try to) remove this snapshot? Will
> this impact the running VM and/or disk image?


Regards,

Rik

On 02/03/2016 10:26 AM, Rik Theys wrote:
> Hi,
> 
> I created a snapshot of a running VM prior to an OS upgrade. The OS
> upgrade has now been succesful and I would like to remove the snapshot.
> I've selected the snapshot in the UI and clicked Delete to start the task.
> 
> After a few minutes, the task has failed. When I click delete again on
> the same snapshot, the failed message is returned after a few seconds.
> 
>>From browsing through the engine log (attached) it seems the snapshot
> was correctly merged in the first try but something went wrong in the
> finalizing fase. On retries, the log indicates the snapshot/disk image
> no longer exists and the removal of the snapshot fails for this reason.
> 
> Is there any way to clean up this snapshot?
> 
> I can see the snapshot in the "Disk snapshot" tab of the storage. It has
> a status of "illegal". Is it OK to (try to) remove this snapshot? Will
> this impact the running VM and/or disk image?
> 
> Regards,
> 
> Rik
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
Rik Theys
System Engineer
KU Leuven - Dept. Elektrotechniek (ESAT)
Kasteelpark Arenberg 10 bus 2440  - B-3001 Leuven-Heverlee
+32(0)16/32.11.07

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


Re: [ovirt-users] HE multipath problem.

2016-02-03 Thread Elad Ben Aharon
Hi,

Deployment over more than one path is currently not supported. There is a
request for it: https://bugzilla.redhat.com/show_bug.cgi?id=1193961
I can't think of a way for manually change to dual paths and keep the VM
running without interruptions.

Adding Simone and Nir who might have an idea.


On Wed, Feb 3, 2016 at 10:37 AM, gflwqs gflwqs  wrote:

> Hi List,
>
> I have installed the hosted engine over iscsi but have a problem getting
> it to install over the multipath, even though i can see the multipath
> device from the host with multipath -ll.
>
> When i get to the point in the HE installer where i should choose the disk
> i only see the underlying devices like sdb sdc. So if i choose one of those
> it results in that it will only use one of the paths!
>
> My questions is:
> - Is there a bug in the installer script or am i doing something wrong?
> - I now have a running HE and would like to manually change the single
> path to dual, how do i accomplish this?
>
> I am running  ovirt 3.5.6.2.
>
> Regards
> Christian
>
>
>
> ___
> 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] [ovirt-devel] Hello and A Question about oVirt

2016-02-03 Thread Michal Skrivanek

> On 03 Feb 2016, at 06:36, zhukaijie  wrote:
> 
> 
> 
> 发件人: Michal Skrivanek [mskri...@redhat.com]
> 发送时间: 2016年2月2日 17:55
> 收件人: zhukaijie
> 抄送: de...@ovirt.org
> 主题: Re: [ovirt-devel] Hello and A Question about oVirt
> 
> On 02 Feb 2016, at 10:40, Yaniv Dary 
> > wrote:
> 
> I don't think we have a option like this. Michal?
> 
> 
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
> 
> Tel : +972 (9) 7692306
>8272306
> Email: yd...@redhat.com
> IRC : ydary
> 
> On Mon, Feb 1, 2016 at 5:16 AM, zhukaijie 
> > wrote:
> Hello, now I have defined a custom property named 'A' in oVirt Engine. 
> Administrator is responsible for entering the value (and arbitrary string ) 
> of 'A' before starting the VM. After an users trys to start the VM in oVirt, 
> VDSM will add the value of 'A' in the qemu:arg of libvirt domain xml, so that 
> the value of 'A' will be added into the QEMU Cmd as a param. However, just 
> like the password of VNC or SPICE, I want to hide the value of 'A' in '*' 
> format in both Libvirt domain xml and QEMU Cmd, So could you please tell me 
> how to achieve it? Thank you very much and happy 2016.
> 
> No, I don’t think you would be able to make libvirt and qemu to hide it. 
> Unfortunately it would be exposed…for log files you are protected by file 
> access permissions, but if there is anything sensitive on the command line 
> and you have a user who can get a shell on that machine one can always see 
> that in process listing
> 
> do you perhaps need to pass some secret to a VM? Might be better via payload, 
> it can be accessed in the guest as a file then.
> 
> Thanks,
> michal
> 
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 
> Thank you. But there is still a doubt for me. In vdsm/graphics.py, function 
> _setPasswd uses "*" format to hide the true password of VNC and SPICE if 
> disableticketing feature is not used. So later how can Libvirt translates the 
> "*" format into true password? Thank you.

for password field it’s an exception and it’s explicitly logged with *. of 
course the proper secret password is supplied to libvirt. 
But as a generic field elsewhere …they are not getting hidden….all the 
parameters would look like * which is not helpful:)

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


Re: [ovirt-users] howto change hosted-engine config memory

2016-02-03 Thread Simone Tiraboschi
On Wed, Feb 3, 2016 at 11:27 AM, Michal Skrivanek 
wrote:

>
> On 03 Feb 2016, at 08:07, Paul Groeneweg | Pazion  wrote:
>
> I checked again and hosted engine still says 4096.
>
> I also see "Graphics protocol" says SPICE, but I connect through VNC…
>
>
> that might be similar issue as below, unless it’s an upgrade from 3.5.
> in which case bug 1297404 might be relevant for the console part
>
>
>
>
> Op di 2 feb. 2016 om 21:02 schreef Paul Groeneweg | Pazion  >:
>
>> Allright.
>> Still old value.
>> I'll keep an eye and report back tomorrow if it is still old value.
>>
>> Op di 2 feb. 2016 om 20:45 schreef Simone Tiraboschi > >:
>>
>>> On Tue, Feb 2, 2016 at 8:33 PM, Paul Groeneweg | Pazion 
>>> wrote:
>>>
 Hi Simone,

 I have exactly as you stated, but found maybe a problem/bug.

 1. I put hosted engine to maintenance and powered it off
 2. Changed memory in /etc/ovirt-hosted-engine/vm.conf to memSize=8192
 3. I restarted both ovirt-ha-agent and ovirt-ha-broker: 
 /etc/init.d/ovirt-ha-broker
 restart && /etc/init.d/ovirt-ha-agent restart
 4. I started hosted-engine and turned off global maintenance.

 The hostedengine webinterface still says 4096MB

 Now I logged on with ssh and ran the command "free -m"
 This command shows:

 Mem:  7870   ...
 So, I believe my hostedengine was updated, but the webinterface is
 showing incorrect values: http://screencast.com/t/Bg5xU0Ja

 Any idea why web interface is not showing correct value under Defined
 or Physical memory?

>>>
>>> You are not the first that reports that: it seams that it's just a
>>> timeout/refresh issue and you have just to wait. Adding Michal here.
>>>
>>
> doesn’t sound likely, i would more suspect the import HE 3.6 feature,
> adding Roy
> originally there were no further config updates to external VMs once it
> was added
>
>
He said that 'I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine
on nfs3',
so the hosts are still at 3.5 and so the cluster compatibility level and so
no auto-import at all.


>
>
>>>

 Regards,
 Paul





 Op di 2 feb. 2016 om 09:31 schreef Paul Groeneweg | Pazion <
 p...@pazion.nl>:

> Hi Simone,
>
> Thanks!
> I think I did not restart broker and agent before going out of
> maintenance mode.
> I will try these steps and let you know.
>
> Regards,
> Paul
>
> Op di 2 feb. 2016 om 09:26 schreef Simone Tiraboschi <
> stira...@redhat.com>:
>
>> On Tue, Feb 2, 2016 at 12:11 AM, Paul Groeneweg | Pazion <
>> p...@pazion.nl> wrote:
>>
>>> I am trying to change memory of my hosted engine.
>>> I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine on nfs3
>>>
>>
>> We didn't build VDSM and hosted-engine-ha from 3.6 for Centos 6 so
>> basically your hosts are still with oVirt 3.5.
>>
>> In order to edit the hosted-engine VM on oVirt 3.5, you have to:
>> 1. set global-maintenance mode
>> 2. shutdown the engine VM
>> 3. manually edit /etc/ovirt-hosted-engine/vm.conf on each host
>> (keeping ti coherent is up to you, take a backup)
>> 4. restart ovirt-ha-broker and ovirt-ha-agent services on each host.
>> 5. exits global maintenance mode
>>
>> Updating to oVirt 3.6 you will be able to edit some parameters of the
>> engine VM from the engine itself.
>>
>>
>>>
>>> 1. I put hosted-engine to maintenance, shutdown vm
>>> 2. update /etc/ovirt-hosted-engine/vm.conf
>>> 3. restart vm disable maintenance
>>>
>>> Memory is still old value.
>>> How can I change the hosted engine VM?
>>>
>>> I did found:
>>> http://www.ovirt.org/Features/Hosted_Engine_configuration_on_shared_storage
>>>
>>> When I check /etc/ovirt-hosted-engine/hosted-engine.conf there is no
>>> "conf_volume_UUID" entry.
>>>
>>> Do I need to create a shared config volume entry ( conf_volume_UUID
>>> ), so I can edit hosted engine VM? If so, how can this be done?
>>>
>>> I did try to rerun engine-setup, but this did not trigger anything.
>>>
>>> Kind regards,
>>>
>>> Paul Groeneweg
>>> Pazion
>>>
>>>  ***disclaimer***
>>> "This e-mail and any attachments thereto may contain information
>>> which is confidential and/or protected by intellectual property rights 
>>> and
>>> are intended for the sole use of the recipient(s) named above. Any use 
>>> of
>>> the information contained herein (including, but not limited to, total 
>>> or
>>> partial reproduction, communication or distribution in any form) by 
>>> persons
>>> other than the designated recipient(s) is prohibited. If you have 
>>> received
>>> this e-mail in error, please notify the sender 

[ovirt-users] increase file descriptor

2016-02-03 Thread alireza sadeh seighalan
hi everyone


this is my server information:

OS: CentOS7.1 (latest update)
server: DL 380 G7
ovirt: 3.6.2

[root@hv ~]# cat /proc/sys/fs/file-max
4896581

[root@hv ~]# cat /proc/sys/fs/file-nr
10416   0   4896581
[root@hv ~]# ulimit -a
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 192428
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 1024
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 192428
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited


my open files seem to be increased:

[root@hv ~]# lsof |wc -l
1454641

acording my information  , do i need increase file descriptor? how can i
increase them?  thanks inadvance
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] howto change hosted-engine config memory

2016-02-03 Thread Michal Skrivanek

> On 03 Feb 2016, at 08:07, Paul Groeneweg | Pazion  wrote:
> 
> I checked again and hosted engine still says 4096.
> 
> I also see "Graphics protocol" says SPICE, but I connect through VNC…

that might be similar issue as below, unless it’s an upgrade from 3.5.
in which case bug 1297404 might be relevant for the console part

> 
> 
> 
> Op di 2 feb. 2016 om 21:02 schreef Paul Groeneweg | Pazion  >:
> Allright.
> Still old value.
> I'll keep an eye and report back tomorrow if it is still old value.
> 
> Op di 2 feb. 2016 om 20:45 schreef Simone Tiraboschi  >:
> On Tue, Feb 2, 2016 at 8:33 PM, Paul Groeneweg | Pazion  > wrote:
> Hi Simone,
> 
> I have exactly as you stated, but found maybe a problem/bug.
> 
> 1. I put hosted engine to maintenance and powered it off
> 2. Changed memory in /etc/ovirt-hosted-engine/vm.conf to memSize=8192
> 3. I restarted both ovirt-ha-agent and ovirt-ha-broker: 
> /etc/init.d/ovirt-ha-broker restart && /etc/init.d/ovirt-ha-agent restart
> 4. I started hosted-engine and turned off global maintenance.
> 
> The hostedengine webinterface still says 4096MB
> 
> Now I logged on with ssh and ran the command "free -m"
> This command shows:
> Mem:  7870   ...
> 
> So, I believe my hostedengine was updated, but the webinterface is showing 
> incorrect values: http://screencast.com/t/Bg5xU0Ja 
> 
> 
> Any idea why web interface is not showing correct value under Defined or 
> Physical memory?
> 
> You are not the first that reports that: it seams that it's just a 
> timeout/refresh issue and you have just to wait. Adding Michal here.

doesn’t sound likely, i would more suspect the import HE 3.6 feature, adding Roy
originally there were no further config updates to external VMs once it was 
added


>  
> 
> Regards,
> Paul
> 
> 
> 
> 
> 
> 
> Op di 2 feb. 2016 om 09:31 schreef Paul Groeneweg | Pazion  >:
> Hi Simone,
> 
> Thanks!
> I think I did not restart broker and agent before going out of maintenance 
> mode.
> I will try these steps and let you know.
> 
> Regards,
> Paul
> 
> Op di 2 feb. 2016 om 09:26 schreef Simone Tiraboschi  >:
> On Tue, Feb 2, 2016 at 12:11 AM, Paul Groeneweg | Pazion  > wrote:
> I am trying to change memory of my hosted engine.
> I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine on nfs3
> 
> We didn't build VDSM and hosted-engine-ha from 3.6 for Centos 6 so basically 
> your hosts are still with oVirt 3.5.
> 
> In order to edit the hosted-engine VM on oVirt 3.5, you have to:
> 1. set global-maintenance mode
> 2. shutdown the engine VM
> 3. manually edit /etc/ovirt-hosted-engine/vm.conf on each host (keeping ti 
> coherent is up to you, take a backup)
> 4. restart ovirt-ha-broker and ovirt-ha-agent services on each host.
> 5. exits global maintenance mode
> 
> Updating to oVirt 3.6 you will be able to edit some parameters of the engine 
> VM from the engine itself.
>  
> 
> 1. I put hosted-engine to maintenance, shutdown vm
> 2. update /etc/ovirt-hosted-engine/vm.conf 
> 3. restart vm disable maintenance
> 
> Memory is still old value.
> How can I change the hosted engine VM?
> 
> I did found: 
> http://www.ovirt.org/Features/Hosted_Engine_configuration_on_shared_storage 
> 
> 
> When I check /etc/ovirt-hosted-engine/hosted-engine.conf there is no 
> "conf_volume_UUID" entry.
> 
> Do I need to create a shared config volume entry ( conf_volume_UUID ), so I 
> can edit hosted engine VM? If so, how can this be done?
> 
> I did try to rerun engine-setup, but this did not trigger anything.
> 
> Kind regards,
> 
> Paul Groeneweg
> Pazion
> 
>  ***disclaimer*** 
> "This e-mail and any attachments thereto may contain information which is 
> confidential and/or protected by intellectual property rights and are 
> intended for the sole use of the recipient(s) named above. Any use of the 
> information contained herein (including, but not limited to, total or partial 
> reproduction, communication or distribution in any form) by persons other 
> than the designated recipient(s) is prohibited. If you have received this 
> e-mail in error, please notify the sender either by telephone or by e-mail 
> and delete the material from any computer. Thank you for your cooperation."
> -- 
> Met vriendelijke groeten,
> 
> Paul Groeneweg
> Pazion
> Webdevelopment  -  Hosting  -  Apps
> 
> T +31 26 3020038 
> M +31 614 277 577
> E  p...@pazion.nl <>
> 
>  ***disclaimer*** 
> "This e-mail and any attachments thereto may contain information which is 
> confidential and/or protected by intellectual property rights and are 
> intended for the sole use 

Re: [ovirt-users] howto change hosted-engine config memory

2016-02-03 Thread Paul Groeneweg | Pazion
That is correct.
Hosted engine was installed on 3.4 and upgrade several times.

Let me know if you need any additional info.

Op wo 3 feb. 2016 om 12:00 schreef Simone Tiraboschi :

> On Wed, Feb 3, 2016 at 11:27 AM, Michal Skrivanek 
> wrote:
>
>>
>> On 03 Feb 2016, at 08:07, Paul Groeneweg | Pazion  wrote:
>>
>> I checked again and hosted engine still says 4096.
>>
>> I also see "Graphics protocol" says SPICE, but I connect through VNC…
>>
>>
>> that might be similar issue as below, unless it’s an upgrade from 3.5.
>> in which case bug 1297404 might be relevant for the console part
>>
>>
>>
>>
>> Op di 2 feb. 2016 om 21:02 schreef Paul Groeneweg | Pazion <
>> p...@pazion.nl>:
>>
>>> Allright.
>>> Still old value.
>>> I'll keep an eye and report back tomorrow if it is still old value.
>>>
>>> Op di 2 feb. 2016 om 20:45 schreef Simone Tiraboschi <
>>> stira...@redhat.com>:
>>>
 On Tue, Feb 2, 2016 at 8:33 PM, Paul Groeneweg | Pazion  wrote:

> Hi Simone,
>
> I have exactly as you stated, but found maybe a problem/bug.
>
> 1. I put hosted engine to maintenance and powered it off
> 2. Changed memory in /etc/ovirt-hosted-engine/vm.conf to memSize=8192
> 3. I restarted both ovirt-ha-agent and ovirt-ha-broker: 
> /etc/init.d/ovirt-ha-broker
> restart && /etc/init.d/ovirt-ha-agent restart
> 4. I started hosted-engine and turned off global maintenance.
>
> The hostedengine webinterface still says 4096MB
>
> Now I logged on with ssh and ran the command "free -m"
> This command shows:
>
> Mem:  7870   ...
> So, I believe my hostedengine was updated, but the webinterface is
> showing incorrect values: http://screencast.com/t/Bg5xU0Ja
>
> Any idea why web interface is not showing correct value under Defined
> or Physical memory?
>

 You are not the first that reports that: it seams that it's just a
 timeout/refresh issue and you have just to wait. Adding Michal here.

>>>
>> doesn’t sound likely, i would more suspect the import HE 3.6 feature,
>> adding Roy
>> originally there were no further config updates to external VMs once it
>> was added
>>
>>
> He said that 'I am running oVirt 3.6 with CentOS 6 Hosts with hosted
> engine on nfs3',
> so the hosts are still at 3.5 and so the cluster compatibility level and
> so no auto-import at all.
>
>
>>
>>

>
> Regards,
> Paul
>
>
>
>
>
> Op di 2 feb. 2016 om 09:31 schreef Paul Groeneweg | Pazion <
> p...@pazion.nl>:
>
>> Hi Simone,
>>
>> Thanks!
>> I think I did not restart broker and agent before going out of
>> maintenance mode.
>> I will try these steps and let you know.
>>
>> Regards,
>> Paul
>>
>> Op di 2 feb. 2016 om 09:26 schreef Simone Tiraboschi <
>> stira...@redhat.com>:
>>
>>> On Tue, Feb 2, 2016 at 12:11 AM, Paul Groeneweg | Pazion <
>>> p...@pazion.nl> wrote:
>>>
 I am trying to change memory of my hosted engine.
 I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine on
 nfs3

>>>
>>> We didn't build VDSM and hosted-engine-ha from 3.6 for Centos 6 so
>>> basically your hosts are still with oVirt 3.5.
>>>
>>> In order to edit the hosted-engine VM on oVirt 3.5, you have to:
>>> 1. set global-maintenance mode
>>> 2. shutdown the engine VM
>>> 3. manually edit /etc/ovirt-hosted-engine/vm.conf on each host
>>> (keeping ti coherent is up to you, take a backup)
>>> 4. restart ovirt-ha-broker and ovirt-ha-agent services on each host.
>>> 5. exits global maintenance mode
>>>
>>> Updating to oVirt 3.6 you will be able to edit some parameters of
>>> the engine VM from the engine itself.
>>>
>>>

 1. I put hosted-engine to maintenance, shutdown vm
 2. update /etc/ovirt-hosted-engine/vm.conf
 3. restart vm disable maintenance

 Memory is still old value.
 How can I change the hosted engine VM?

 I did found:
 http://www.ovirt.org/Features/Hosted_Engine_configuration_on_shared_storage

 When I check /etc/ovirt-hosted-engine/hosted-engine.conf there is
 no
 "conf_volume_UUID" entry.

 Do I need to create a shared config volume entry ( conf_volume_UUID
 ), so I can edit hosted engine VM? If so, how can this be done?

 I did try to rerun engine-setup, but this did not trigger anything.

 Kind regards,

 Paul Groeneweg
 Pazion

  ***disclaimer***
 "This e-mail and any attachments thereto may contain information
 which is confidential and/or protected by intellectual property rights 
 and
 are intended for the sole use of the 

Re: [ovirt-users] HE multipath problem.

2016-02-03 Thread Elad Ben Aharon
The scenario of manually connecting the hosted-engine host to several paths
wasn't tested before, but by theory it should work.
As you said, the host should be set to global maintenance, disconnected
from the single iSCSI session [1] and reconnected to the dual paths [2].
Then host re-activation.

[1]  # iscsiadm -m session -u
 # iscsiadm -m node -o delete
[2] # iscsiadm -m discovery -t sendtargets -p target_IP:port
# iscsiadm -m node target_name -l

On Wed, Feb 3, 2016 at 12:12 PM, gflwqs gflwqs  wrote:

> So does that mean i can change it if i put the HE into global maintenance
> and restart it?
> If that is possible then it is ok for me?
>
> /Christian
>
> 2016-02-03 11:07 GMT+01:00 Elad Ben Aharon :
>
>> Hi,
>>
>> Deployment over more than one path is currently not supported. There is a
>> request for it: https://bugzilla.redhat.com/show_bug.cgi?id=1193961
>> I can't think of a way for manually change to dual paths and keep the VM
>> running without interruptions.
>>
>> Adding Simone and Nir who might have an idea.
>>
>>
>> On Wed, Feb 3, 2016 at 10:37 AM, gflwqs gflwqs  wrote:
>>
>>> Hi List,
>>>
>>> I have installed the hosted engine over iscsi but have a problem getting
>>> it to install over the multipath, even though i can see the multipath
>>> device from the host with multipath -ll.
>>>
>>> When i get to the point in the HE installer where i should choose the
>>> disk i only see the underlying devices like sdb sdc. So if i choose one of
>>> those it results in that it will only use one of the paths!
>>>
>>> My questions is:
>>> - Is there a bug in the installer script or am i doing something wrong?
>>> - I now have a running HE and would like to manually change the single
>>> path to dual, how do i accomplish this?
>>>
>>> I am running  ovirt 3.5.6.2.
>>>
>>> Regards
>>> Christian
>>>
>>>
>>>
>>> ___
>>> 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] HE multipath problem.

2016-02-03 Thread Elad Ben Aharon
Yes, you're right.

# The following are used only for iSCSI storage
iqn=
portal=
user=
password=
port=


Simone, what do you think, will it be possible to add targets in
hosted-engine.conf as a workaround?


On Wed, Feb 3, 2016 at 2:46 PM, gflwqs gflwqs  wrote:

> Yes but i have to change the config for the HE in
> /etc/ovirt-hosted-engine/hosted-engine.conf so how should that look like?
> There is only one variable for storage and since there is dual pathing
> there is 2 ip:s so is there some other config for multipathing?
>
> storage=x.x.x.x
>
> 2016-02-03 13:17 GMT+01:00 Elad Ben Aharon :
>
>> The scenario of manually connecting the hosted-engine host to several
>> paths wasn't tested before, but by theory it should work.
>> As you said, the host should be set to global maintenance, disconnected
>> from the single iSCSI session [1] and reconnected to the dual paths [2].
>> Then host re-activation.
>>
>> [1]  # iscsiadm -m session -u
>>  # iscsiadm -m node -o delete
>> [2] # iscsiadm -m discovery -t sendtargets -p target_IP:port
>> # iscsiadm -m node target_name -l
>>
>> On Wed, Feb 3, 2016 at 12:12 PM, gflwqs gflwqs  wrote:
>>
>>> So does that mean i can change it if i put the HE into global
>>> maintenance and restart it?
>>> If that is possible then it is ok for me?
>>>
>>> /Christian
>>>
>>> 2016-02-03 11:07 GMT+01:00 Elad Ben Aharon :
>>>
 Hi,

 Deployment over more than one path is currently not supported. There is
 a request for it: https://bugzilla.redhat.com/show_bug.cgi?id=1193961
 I can't think of a way for manually change to dual paths and keep the
 VM running without interruptions.

 Adding Simone and Nir who might have an idea.


 On Wed, Feb 3, 2016 at 10:37 AM, gflwqs gflwqs 
 wrote:

> Hi List,
>
> I have installed the hosted engine over iscsi but have a problem
> getting it to install over the multipath, even though i can see the
> multipath device from the host with multipath -ll.
>
> When i get to the point in the HE installer where i should choose the
> disk i only see the underlying devices like sdb sdc. So if i choose one of
> those it results in that it will only use one of the paths!
>
> My questions is:
> - Is there a bug in the installer script or am i doing something wrong?
> - I now have a running HE and would like to manually change the single
> path to dual, how do i accomplish this?
>
> I am running  ovirt 3.5.6.2.
>
> Regards
> Christian
>
>
>
> ___
> 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] HE multipath problem.

2016-02-03 Thread gflwqs gflwqs
Yes but i have to change the config for the HE in
/etc/ovirt-hosted-engine/hosted-engine.conf so how should that look like?
There is only one variable for storage and since there is dual pathing
there is 2 ip:s so is there some other config for multipathing?

storage=x.x.x.x

2016-02-03 13:17 GMT+01:00 Elad Ben Aharon :

> The scenario of manually connecting the hosted-engine host to several
> paths wasn't tested before, but by theory it should work.
> As you said, the host should be set to global maintenance, disconnected
> from the single iSCSI session [1] and reconnected to the dual paths [2].
> Then host re-activation.
>
> [1]  # iscsiadm -m session -u
>  # iscsiadm -m node -o delete
> [2] # iscsiadm -m discovery -t sendtargets -p target_IP:port
> # iscsiadm -m node target_name -l
>
> On Wed, Feb 3, 2016 at 12:12 PM, gflwqs gflwqs  wrote:
>
>> So does that mean i can change it if i put the HE into global maintenance
>> and restart it?
>> If that is possible then it is ok for me?
>>
>> /Christian
>>
>> 2016-02-03 11:07 GMT+01:00 Elad Ben Aharon :
>>
>>> Hi,
>>>
>>> Deployment over more than one path is currently not supported. There is
>>> a request for it: https://bugzilla.redhat.com/show_bug.cgi?id=1193961
>>> I can't think of a way for manually change to dual paths and keep the VM
>>> running without interruptions.
>>>
>>> Adding Simone and Nir who might have an idea.
>>>
>>>
>>> On Wed, Feb 3, 2016 at 10:37 AM, gflwqs gflwqs  wrote:
>>>
 Hi List,

 I have installed the hosted engine over iscsi but have a problem
 getting it to install over the multipath, even though i can see the
 multipath device from the host with multipath -ll.

 When i get to the point in the HE installer where i should choose the
 disk i only see the underlying devices like sdb sdc. So if i choose one of
 those it results in that it will only use one of the paths!

 My questions is:
 - Is there a bug in the installer script or am i doing something wrong?
 - I now have a running HE and would like to manually change the single
 path to dual, how do i accomplish this?

 I am running  ovirt 3.5.6.2.

 Regards
 Christian



 ___
 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] HE multipath problem.

2016-02-03 Thread gflwqs gflwqs
So does that mean i can change it if i put the HE into global maintenance
and restart it?
If that is possible then it is ok for me?

/Christian

2016-02-03 11:07 GMT+01:00 Elad Ben Aharon :

> Hi,
>
> Deployment over more than one path is currently not supported. There is a
> request for it: https://bugzilla.redhat.com/show_bug.cgi?id=1193961
> I can't think of a way for manually change to dual paths and keep the VM
> running without interruptions.
>
> Adding Simone and Nir who might have an idea.
>
>
> On Wed, Feb 3, 2016 at 10:37 AM, gflwqs gflwqs  wrote:
>
>> Hi List,
>>
>> I have installed the hosted engine over iscsi but have a problem getting
>> it to install over the multipath, even though i can see the multipath
>> device from the host with multipath -ll.
>>
>> When i get to the point in the HE installer where i should choose the
>> disk i only see the underlying devices like sdb sdc. So if i choose one of
>> those it results in that it will only use one of the paths!
>>
>> My questions is:
>> - Is there a bug in the installer script or am i doing something wrong?
>> - I now have a running HE and would like to manually change the single
>> path to dual, how do i accomplish this?
>>
>> I am running  ovirt 3.5.6.2.
>>
>> Regards
>> Christian
>>
>>
>>
>> ___
>> 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] How does VDSM-Fake actually work?

2016-02-03 Thread nicolas

Anything?

El 2016-02-02 10:18, Nicolás escribió:

Hi,

 I'm trying to set up VDSM-Fake
(git://gerrit.ovirt.org/ovirt-vdsmfake.git) for some tests, however,
I'm a bit confused about how does it actually work. As the
instructions say, I was able to build the project with Maven (however,
the org.ovirt.vdsm-jsonrpc-java dependency version had to be changed
to 1.1.5 instead of 1.1.2-SNAPSHOT in pom.xml as this latter is no
longer provided at the repository).

 Once built, I run mvn jetty:run and the server started correctly:


2016-02-02 11:01:51.957:INFO::jetty-6.1.26 [1]
2016-02-02 11:01:52.804:INFO::No [2] Transaction manager found - if
your webapp requires one, please configure one.
2016-02-02 11:01:53,424 Application initialized.
2016-02-02 11:01:53,442 Opening a Stomp server localhost:54322
2016-02-02 11:01:53.702:INFO::Started [3]
SelectChannelConnector@0.0.0.0:54321
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.

 I could indeed verify it's listening on the VDSM port:


[root@host ovirt-vdsmfake]# netstat -atpn | grep 54321
tcp6   0  0
:::54321   
:::*    LISTEN 
44870/java

 So the next step is to add a fake host via REST. I used scripts
provided here [4] and I successfully added the host, however, it
starts installing all the VDSM packages as it were a normal host and
therefore it tries to start vdsmd as well, which throws an error as
the Jetty Server is already listening on the 54321 port. I shut down
the Jetty Server and allowed oVirt Manager to install all the packages
properly, then stopped vdsmd and started the Jetty Server, but
expectedly oVirt Engine fails with message "Host xxx is non
responsive", so what I actually got is a real VDSM host and not a fake
one.

 FWIW, the fake VDSM runs on a different host, ports are reacheable
from the oVirt engine, proper /etc/hosts has been added to the engine
to reach the host, and no further customization of web.xml has been
done.

 I feel like I'm missing something here. Could someone shed some light
on what's wrong?

 Thanks.

 Nicolás


Links:
--
[1] INFO::jetty-6.1.26
[2] INFO::No
[3] INFO::Started
[4] http://www.ovirt.org/REST_API_Using_BASH_Automation

___
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] Fwd: Issues Recovering NFS After Power Outage

2016-02-03 Thread Chris Paquin
Solved: Since my DNS server was down (as it runs in the RHEV environment) the 
hosts could not resolve the name of the NFS server.


Thread-21::ERROR::2016-02-03 
18:25:35,654::storageServer::213::Storage.StorageServer.MountConnection::(connect)
 Mount failed: (32, ';mount.nfs: Failed to resolve server 
freenas.lab.localdomain: Name or service not known\n')


Adding static entry to resolv.conf on each hypervisor solved the issue. Next 
time I will mount via IP address instead. 


Chris Paquin
Senior Cloud Consultant
Red Hat Consulting
RHCE | RHCSA-RHOS (110-011-939) 
cpaq...@redhat.com
770-906-7646 
Conference: 800-451-8679
Conference code: 2720433143



- Forwarded Message -
From: "Chris Paquin" 
To: users@ovirt.org
Sent: Wednesday, February 3, 2016 12:49:19 PM
Subject: [ovirt-users] Issues Recovering NFS After Power Outage

Please help. After a power outage all my nfs mounts (from two sources) are 
down. I have verified that they are mountable on my workstation.

I have tried to active my NFS Data Master, however the process fails with the 
message below.


Failed to Reconstruct Master Domain for Data Center Auburn_Datacenter.

Can someone assist in recovery?  I have seen posts mentioning that I need to 
verify that the rhev-m hosts can mount the storage, but whats rhev-m way to do 
that. I am assuming I am not just going to mount it via "mount".


Chris Paquin
Senior Cloud Consultant
Red Hat Consulting
RHCE | RHCSA-RHOS (110-011-939) 
cpaq...@redhat.com
770-906-7646 
Conference: 800-451-8679
Conference code: 2720433143


___
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] API: detailed quota information, where's it at?

2016-02-03 Thread Tim Bielawa
I've been able to run the simple commands to enumerate quotas in a
datacenter, and to select a quota by name.

What I can not figure out how to do is how to receive detailed information
about a quota from the API.

Here's how I queried the basic information (using the python ovirtsdk
module):

import ovirtsdk.api
> api = ovirtsdk.api.API(url=url, username=name, password=password, ...)
> datacenter = api.datacenters.get(name="my-data-center")
> team_quota = datacenter.quotas.get(name="my-teams-quota")


Which works well enough, but doesn't really provide any actual *valuable*
information (just the name, id, description, that kind of stuff).

So where is the useful stuff hidden? The stuff of real value? I have not
found any useful resources while scouring the Internet for this answer.


I want to be able to hit this API and ask for detailed information about
the usage of a quota: How much capacity is my team allotted on a given
storage domain? How much capacity are we presently consuming? Likewise with
CPU/Memory allocation type quotas.

Is this possible, or a pipe dream?


Environment:

RHEVM Version: 3.5.6.0-1
Python SDK Version: 3.5.6.0-1


Thanks again folks!


-- 
Tim Bielawa, Sr. ${::title}
Cell: 919.332.6411  | IRC: tbielawa (#platops)
1BA0 4FAB 4C13 FBA0 A036  4958 AD05 E75E 0333 AE37
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HE multipath problem.

2016-02-03 Thread Simone Tiraboschi
On Wed, Feb 3, 2016 at 1:54 PM, Elad Ben Aharon  wrote:

> Yes, you're right.
>
> # The following are used only for iSCSI storage
> iqn=
> portal=
> user=
> password=
> port=
>
>
> Simone, what do you think, will it be possible to add targets in
> hosted-engine.conf as a workaround?
>

I don't see any possible workaround here. We need to implement something in
ovrt-ha-agent for that, it's an RFE for 4.0, let's see if we can get it
back to 3.6.z


>
>
> On Wed, Feb 3, 2016 at 2:46 PM, gflwqs gflwqs  wrote:
>
>> Yes but i have to change the config for the HE in
>> /etc/ovirt-hosted-engine/hosted-engine.conf so how should that look like?
>> There is only one variable for storage and since there is dual pathing
>> there is 2 ip:s so is there some other config for multipathing?
>>
>> storage=x.x.x.x
>>
>> 2016-02-03 13:17 GMT+01:00 Elad Ben Aharon :
>>
>>> The scenario of manually connecting the hosted-engine host to several
>>> paths wasn't tested before, but by theory it should work.
>>> As you said, the host should be set to global maintenance, disconnected
>>> from the single iSCSI session [1] and reconnected to the dual paths [2].
>>> Then host re-activation.
>>>
>>> [1]  # iscsiadm -m session -u
>>>  # iscsiadm -m node -o delete
>>> [2] # iscsiadm -m discovery -t sendtargets -p target_IP:port
>>> # iscsiadm -m node target_name -l
>>>
>>> On Wed, Feb 3, 2016 at 12:12 PM, gflwqs gflwqs  wrote:
>>>
 So does that mean i can change it if i put the HE into global
 maintenance and restart it?
 If that is possible then it is ok for me?

 /Christian

 2016-02-03 11:07 GMT+01:00 Elad Ben Aharon :

> Hi,
>
> Deployment over more than one path is currently not supported. There
> is a request for it:
> https://bugzilla.redhat.com/show_bug.cgi?id=1193961
> I can't think of a way for manually change to dual paths and keep the
> VM running without interruptions.
>
> Adding Simone and Nir who might have an idea.
>
>
> On Wed, Feb 3, 2016 at 10:37 AM, gflwqs gflwqs 
> wrote:
>
>> Hi List,
>>
>> I have installed the hosted engine over iscsi but have a problem
>> getting it to install over the multipath, even though i can see the
>> multipath device from the host with multipath -ll.
>>
>> When i get to the point in the HE installer where i should choose the
>> disk i only see the underlying devices like sdb sdc. So if i choose one 
>> of
>> those it results in that it will only use one of the paths!
>>
>> My questions is:
>> - Is there a bug in the installer script or am i doing something
>> wrong?
>> - I now have a running HE and would like to manually change the
>> single path to dual, how do i accomplish this?
>>
>> I am running  ovirt 3.5.6.2.
>>
>> Regards
>> Christian
>>
>>
>>
>> ___
>> 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] Disabling migration when there is a problem with storage

2016-02-03 Thread Ala Hino
Hi Mark,

You can disable VM migration:
When editing a vm, in the 'Host' tab there is 'Migration option' drop-down 
where you can choose 'Do not allow migration' or 'Allow manual migration only'.

Hope this helps.

Regards,
Ala

- Original Message -
> From: "Mark Steele" 
> To: users@ovirt.org
> Sent: Wednesday, February 3, 2016 4:39:43 PM
> Subject: [ovirt-users] Disabling migration when there is a problem with   
> storage
> 
> Hello,
> 
> I'd like to know if there is a way to configure ovirt ( oVirt Engine Version:
> 3.5.0.1-1.el6) to NOT migrate VM's when there is a problem with attached
> storage.
> 
> Scenario - our storage array that hosts all our VM disks failed. When that
> happened, ovirt attempted to migrate running VM's from one host to another.
> Unfortunately this left many of the VM's in a 'migrating to' state that
> could only be resolved by restarting the HV's
> 
> I'd prefer to have ovirt simply hang the VM's until disk IO returns.
> 
> Is this possible?
> 
> ***
> Mark Steele
> CIO / VP Technical Operations | TelVue Corporation
> TelVue - We Share Your Vision
> 800.885.8886 x128 | mste...@telvue.com | http://www.telvue.com
> twitter: http://twitter.com/telvue | facebook:
> https://www.facebook.com/telvue
> 
> ___
> 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] Disabling migration when there is a problem with storage

2016-02-03 Thread Mark Steele
Hello,

I'd like to know if there is a way to configure ovirt (oVirt Engine
Version: 3.5.0.1-1.el6) to NOT migrate VM's when there is a problem with
attached storage.

Scenario - our storage array that hosts all our VM disks failed. When that
happened, ovirt attempted to migrate running VM's from one host to another.
Unfortunately this left many of the VM's in a 'migrating to' state that
could only be resolved by restarting the HV's

I'd prefer to have ovirt simply hang the VM's until disk IO returns.

Is this possible?

***
*Mark Steele*
CIO / VP Technical Operations | TelVue Corporation
TelVue - We Share Your Vision
800.885.8886 x128 | mste...@telvue.com | http://www.telvue.com
twitter: http://twitter.com/telvue | facebook:
https://www.facebook.com/telvue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] howto change hosted-engine config memory

2016-02-03 Thread Michal Skrivanek


> On 03 Feb 2016, at 12:02, Paul Groeneweg | Pazion  wrote:
> 
> That is correct. 
> Hosted engine was installed on 3.4 and upgrade several times.
> 
> Let me know if you need any additional info.
> 
> Op wo 3 feb. 2016 om 12:00 schreef Simone Tiraboschi :
>> On Wed, Feb 3, 2016 at 11:27 AM, Michal Skrivanek  
>> wrote:
>>> 
 On 03 Feb 2016, at 08:07, Paul Groeneweg | Pazion  wrote:
 
 I checked again and hosted engine still says 4096.
 
 I also see "Graphics protocol" says SPICE, but I connect through VNC…
>>> 
>>> that might be similar issue as below, unless it’s an upgrade from 3.5.
>>> in which case bug 1297404 might be relevant for the console part
>>> 
 
 
 
 Op di 2 feb. 2016 om 21:02 schreef Paul Groeneweg | Pazion 
 :
> Allright.
> Still old value.
> I'll keep an eye and report back tomorrow if it is still old value.
> 
> Op di 2 feb. 2016 om 20:45 schreef Simone Tiraboschi 
> :
>> On Tue, Feb 2, 2016 at 8:33 PM, Paul Groeneweg | Pazion  
>> wrote:
>>> Hi Simone,
>>> 
>>> I have exactly as you stated, but found maybe a problem/bug.
>>> 
>>> 1. I put hosted engine to maintenance and powered it off
>>> 2. Changed memory in /etc/ovirt-hosted-engine/vm.conf to memSize=8192
>>> 3. I restarted both ovirt-ha-agent and ovirt-ha-broker: 
>>> /etc/init.d/ovirt-ha-broker restart && /etc/init.d/ovirt-ha-agent 
>>> restart
>>> 4. I started hosted-engine and turned off global maintenance.
>>> 
>>> The hostedengine webinterface still says 4096MB
>>> 
>>> Now I logged on with ssh and ran the command "free -m"
>>> This command shows:
>>> Mem:  7870   ...
>>> 
>>> So, I believe my hostedengine was updated, but the webinterface is 
>>> showing incorrect values: http://screencast.com/t/Bg5xU0Ja
>>> 
>>> Any idea why web interface is not showing correct value under Defined 
>>> or Physical memory?
>> 
>> You are not the first that reports that: it seams that it's just a 
>> timeout/refresh issue and you have just to wait. Adding Michal here.
>>> 
>>> doesn’t sound likely, i would more suspect the import HE 3.6 feature, 
>>> adding Roy
>>> originally there were no further config updates to external VMs once it was 
>>> added
>> 
>> He said that 'I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine 
>> on nfs3',
>> so the hosts are still at 3.5 and so the cluster compatibility level and so 
>> no auto-import at all.

Ah ok, then the latter sentence applies:) there are no further updates to the 
HE VM configuration. And most of the values(including console) are just made up
That's what 3.6 autoimport is improving(again, I'm not sure about the updates 
later on)

>>  
>>> 
>>  
>>> 
>>> Regards,
>>> Paul
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Op di 2 feb. 2016 om 09:31 schreef Paul Groeneweg | Pazion 
>>> :
 Hi Simone,
 
 Thanks!
 I think I did not restart broker and agent before going out of 
 maintenance mode.
 I will try these steps and let you know.
 
 Regards,
 Paul
 
 Op di 2 feb. 2016 om 09:26 schreef Simone Tiraboschi 
 :
> On Tue, Feb 2, 2016 at 12:11 AM, Paul Groeneweg | Pazion 
>  wrote:
>> I am trying to change memory of my hosted engine.
>> I am running oVirt 3.6 with CentOS 6 Hosts with hosted engine on nfs3
> 
> We didn't build VDSM and hosted-engine-ha from 3.6 for Centos 6 so 
> basically your hosts are still with oVirt 3.5.
> 
> In order to edit the hosted-engine VM on oVirt 3.5, you have to:
> 1. set global-maintenance mode
> 2. shutdown the engine VM
> 3. manually edit /etc/ovirt-hosted-engine/vm.conf on each host 
> (keeping ti coherent is up to you, take a backup)
> 4. restart ovirt-ha-broker and ovirt-ha-agent services on each host.
> 5. exits global maintenance mode
> 
> Updating to oVirt 3.6 you will be able to edit some parameters of the 
> engine VM from the engine itself.
>  
> 
>> 
>> 1. I put hosted-engine to maintenance, shutdown vm
>> 2. update /etc/ovirt-hosted-engine/vm.conf 
>> 3. restart vm disable maintenance
>> 
>> Memory is still old value.
>> How can I change the hosted engine VM?
>> 
>> I did found: 
>> http://www.ovirt.org/Features/Hosted_Engine_configuration_on_shared_storage
>> 
>> When I check /etc/ovirt-hosted-engine/hosted-engine.conf there is no 
>> "conf_volume_UUID" entry.
>> 
>> Do I need to 

[ovirt-users] Consolidating LUNs in iSCSI storage domain

2016-02-03 Thread Colin Coe
Hi all

In one of our RHEV setups (v3.5.4) the iSCSI storage domain consists of
four LUNs.  (full details in the attached text file).

I want to consolidate all the data on LUNs
iqn.2003-10.com.lefthandnetworks:iscsi:341:rhev-data01
qn.2003-10.com.lefthandnetworks:iscsi:453:rhev-data02
iqn.2003-10.com.lefthandnetworks:iscsi:518:rhev-data03
to LUN
iqn.2003-10.com.lefthandnetworks:iscsi:687:rhev-data04

Is this possible?

Thanks

CC

iscsi


3260

iqn.2003-10.com.lefthandnetworks:iscsi:453:rhev-data02

10.1.1.200:3260,1
10.1.1.200

SLEFTHANDiSCSIDisk_c480ae5084623cedb82da526f9cacd0d01c5

LEFTHAND
iSCSIDisk
0
322122547200
0
qChcMw-H0Rf-OZXH-zQDl-lpSr-u2wx-y2Mkn3
f67dc97a-27c1-4338-9386-780664679b0b


3260

iqn.2003-10.com.lefthandnetworks:iscsi:341:rhev-data01

10.1.1.200:3260,1
10.1.1.200

SLEFTHANDiSCSIDisk_c480ae5084623cedb82da526f9cacd0d0155

LEFTHAND
iSCSIDisk
0
5497558138880
0
qChcMw-H0Rf-OZXH-zQDl-lpSr-u2wx-y2Mkn3
f67dc97a-27c1-4338-9386-780664679b0b


3260

iqn.2003-10.com.lefthandnetworks:iscsi:518:rhev-data03

10.1.1.200:3260,1
10.1.1.200

SLEFTHANDiSCSIDisk_c480ae5084623cedb82da526f9cacd0d0206

LEFTHAND
iSCSIDisk
0
219902322
0
qChcMw-H0Rf-OZXH-zQDl-lpSr-u2wx-y2Mkn3
f67dc97a-27c1-4338-9386-780664679b0b


3260

iqn.2003-10.com.lefthandnetworks:iscsi:687:rhev-data04

10.1.1.200:3260,1
10.1.1.200

SLEFTHANDiSCSIDisk_c480ae5084623cedb82da526f9cacd0d02af

LEFTHAND
iSCSIDisk
0
8796093022208
0
qChcMw-H0Rf-OZXH-zQDl-lpSr-u2wx-y2Mkn3
f67dc97a-27c1-4338-9386-780664679b0b


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


[ovirt-users] All snapshots read only

2016-02-03 Thread Colin Coe
Hi all

I've just noticed that all VM snapshots on one of our prod RHEV setups have
gone read-only (i.e. delete is greyed out).

Has anyone else seen this?

Is there an easy fix for this?  We have a bunch of VVMs being snapshotted
nightly with snapshots being deleted after 7 days.

Thanks

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


Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-03 Thread Darrell Budic
I just hit a similar problem, but on Centos 6.7, postgres (PostgreSQL) 8.4.20. 
Looks like a permission error for me?

2016-02-03 22:52:42 DEBUG otopi.context context._executeMethod:142 Stage misc ME
THOD otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc.Plugin._misc
2016-02-03 22:52:42 INFO otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aa
ajdbc aaajdbc._setupSchema:97 Creating/refreshing Engine 'internal' domain datab
ase schema
2016-02-03 22:52:42 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.a
aajdbc plugin.executeRaw:828 execute: ['/usr/share/ovirt-engine-extension-aaa-jd
bc/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 
'engine', '-e', 'aaa_jdbc', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setu
p-20160203224629-uy91s0.log', '-c', 'apply'], executable='None', cwd='None', env
={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'P
ATH': '/sbin:/bin:/usr/sbin:/usr/bin', 'HOME': '/root', 'LANG': 'en_US.UTF-8', '
TERM': 'xterm-color', 'SHELL': '/bin/bash', 'SHLVL': '1', 'G_BROKEN_FILENAMES': 
'1', 'HISTSIZE': '1000', 'SUDO_USER': 'telsin', 'USERNAME': 'root', 'PYTHONPATH'
: '/usr/share/ovirt-engine/setup/bin/..::', 'SUDO_UID': '69961', 'KRB5CCNAME
': 'FILE:/tmp/krb5cc_69961_5oRWEw', 'MAIL': '/var/spool/mail/telsin', 'DBFUN
C_DB_PGPASSFILE': '/tmp/tmpqzrQIw', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '69
961', 'HOSTNAME': 'ovirt.int.ohgnetworks.com', 'PWD': '/home/telsin', 'OTOPI
_LOGFILE': '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160203224629-uy91s0
.log', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=
40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30
;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*
.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:
*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31
:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;
31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif
=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*
.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=0
1;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.
ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;3
5:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=
01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cg
m=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:
*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=0
1;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xs
pf=01;36:', 'OTOPI_EXECDIR': '/home/telsin'}
* QUERY **
select 1;
**

1

* QUERY **
copy (
SELECT COUNT(schema_name)
FROM information_schema.schemata
WHERE schema_name = 'aaa_jdbc'
) to stdout with delimiter as '|';
**

* QUERY **
CREATE SCHEMA aaa_jdbc AUTHORIZATION engine;
**

2016-02-03 22:52:43 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.a
aajdbc plugin.executeRaw:878 execute-result: ['/usr/share/ovirt-engine-extension
-aaa-jdbc/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine',
 '-d', 'engine', '-e', 'aaa_jdbc', '-l', '/var/log/ovirt-engine/setup/ovirt-engi
ne-setup-20160203224629-uy91s0.log', '-c', 'apply'], rc=1
2016-02-03 22:52:43 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.a
aajdbc plugin.execute:936 execute-output: ['/usr/share/ovirt-engine-extension-aa
a-jdbc/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-
d', 'engine', '-e', 'aaa_jdbc', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-
setup-20160203224629-uy91s0.log', '-c', 'apply'] stdout:
Creating custom schema aaa_jdbc ...

2016-02-03 22:52:43 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.a
aajdbc plugin.execute:941 execute-output: ['/usr/share/ovirt-engine-extension-aa
a-jdbc/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-
d', 'engine', '-e', 'aaa_jdbc', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-
setup-20160203224629-uy91s0.log', '-c', 'apply'] stderr:
ERROR:  permission denied for database engine
FATAL: Cannot execute sql command: --no-psqlrc --command=CREATE SCHEMA aaa_jdbc 
AUTHORIZATION engine;

2016-02-03 22:52:43 DEBUG otopi.context context._executeMethod:156 method except
ion
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/otopi/context.py", line 146, in _execut
eMethod
method['method']()
  File 

Re: [ovirt-users] Mixing CPU types

2016-02-03 Thread Martin Polednik


- Original Message -
> From: "Matthew Trent" 
> To: "Yaniv Kaul" 
> Cc: users@ovirt.org
> Sent: Wednesday, February 3, 2016 8:10:35 PM
> Subject: Re: [ovirt-users] Mixing CPU types
> 
> ?Actually it works great! It's been supported by KVM for a while now. I had
> one Proxmox cluster with a mix of AMD and Intel and migrated KVM VM's
> between them frequently. OpenStack (KVM) and VMWare support this as well.
> 
> 
> The trick is to expose a virtual CPU with a common set of features to the
> VMs. KVM handles the rest. From the KVM FAQ:
> 
> http://www.linux-kvm.org/page/FAQ#Does_KVM_support_live_migration_from_an_AMD_host_to_an_Intel_host_and_back.3F

That is pretty much what libvirt does. The sandy-bridge, haswell and other
cpu's that we expose are not really a CPUs, but sets of flags (called
baseline CPUs in libvirt's terminology).

Afaik there should be no issue running cluster with both CPU vendors,
the problem is lack of testing on devel side as we mostly run
single vendor clusters everywhere.
 
> "Does KVM support live migration from an AMD host to an Intel host and back?
> 
> 
> Yes. There may be issues on 32-bit Intel hosts which don't support NX (or
> XD), but for 64-bit hosts back and forth migration should work well.
> Migration of 32-bit guests should work between 32-bit hosts and 64-bit
> hosts. If one of your hosts does not support NX, you may consider disabling
> NX when starting the guest on a NX-capable system. You can do it by passing
> "-cpu qemu64,-nx" parameter to the guest."
> 
> --
> Matthew Trent
> Network Engineer
> Lewis County IT Services
> 360.740.1247 - Helpdesk
> 360.740.3343 - Direct line
> 
> From: Yaniv Kaul 
> Sent: Tuesday, February 2, 2016 2:17 PM
> To: Matthew Trent
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Mixing CPU types
> 
> 
> 
> On Mon, Feb 1, 2016 at 9:13 PM, Matthew Trent
> >
> wrote:
> Though our new oVirt setup is better in most ways, cross-CPU-type migration
> is one of the features I miss from Proxmox. KVM supports mixed-CPU migration
> for a while now, even between AMD and Intel.
> 
> http://www.linux-kvm.org/page/Migration
> 
> I highly doubt the above works in real life scenarios.
> Y.
> 
> 
> 
> I'm using a bunch of re-purposed servers with a mix of AMD and Intel. I
> separate them into clusters, as noted, but it sure would be nice to be able
> to live migrate between them. :)
> 
> --
> Matthew Trent
> Network Engineer
> Lewis County IT Services
> 
> > Hi Rene,
> >
> > Thank you very much for coming back to me.
> >
> > That's perfect then and answers my questions exactly.
> >
> > Much appreciated.
> >
> > Regards.
> >
> >Neil Wilson.
> >
> >
> >On Wed, Jan 27, 2016 at 1:57 PM, René Koch  >rk-it.at> wrote:
> >>
> >> Hi Neil,
> >>
> >> You can mix cpu types (but not AMD and Intel) if you leave the cluster
> >> level at the lowest cpu level.
> >> I personally don't mix cpu levels if possible, but instead create own
> >> clusters for each cpu type in order to be able to use the newest cpu
> >> features...
> >>
> >>
> >> Regards,
> >> René
> >>
> >>
> >> On 01/27/2016 12:53 PM, Neil wrote:
> >>
> >> Hi guys,
> >>
> >> I currently have an oVirt 3.5 cluster with Sandy Bridge Xeon CPU's, and I
> >> need to add a new host for more RAM and vCPU's, however the new Xeon e5
> >> cpu's are Haswell based.
> >>
> >> Can I mix CPU types (Haswell and Sandy Bridge) in my cluster and will I be
> >> able to migrate between my hosts?
> >>
> >> I'm guessing that for this to work I'll need to leave my "CPU type" set to
> >> Sandy Bridge, will the Haswell based CPU be compatible with my cluster,
> >> but
> >> just run without any Haswell type features?
> >>
> >> Apologies if this is a dumb question or if it's been answered before.
> >>
> >> Thank you.
> >>
> >> Regards.
> >>
> >> Neil Wilson
> >>
> ___
> 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] Issues Recovering NFS After Power Outage

2016-02-03 Thread Chris Paquin
Please help. After a power outage all my nfs mounts (from two sources) are 
down. I have verified that they are mountable on my workstation.

I have tried to active my NFS Data Master, however the process fails with the 
message below.


Failed to Reconstruct Master Domain for Data Center Auburn_Datacenter.

Can someone assist in recovery?  I have seen posts mentioning that I need to 
verify that the rhev-m hosts can mount the storage, but whats rhev-m way to do 
that. I am assuming I am not just going to mount it via "mount".


Chris Paquin
Senior Cloud Consultant
Red Hat Consulting
RHCE | RHCSA-RHOS (110-011-939) 
cpaq...@redhat.com
770-906-7646 
Conference: 800-451-8679
Conference code: 2720433143


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


Re: [ovirt-users] Disabling migration when there is a problem with storage

2016-02-03 Thread Dan Yasny
When a storage error occurs, VMs should pause, not migrate. However, if the
VMs were io-idle, then pause (qemu EIO) might have not been triggered
before hosts started dropping into non-op.
...which triggered a migration storm for HA-enabled VMs, racing with VMs
pausing somehow (can't tell without diving into the logs for sure).

I haven't seen it happen in any of my setups, probably a new issue

On Wed, Feb 3, 2016 at 9:39 AM, Mark Steele  wrote:

> Hello,
>
> I'd like to know if there is a way to configure ovirt (oVirt Engine
> Version: 3.5.0.1-1.el6) to NOT migrate VM's when there is a problem with
> attached storage.
>
> Scenario - our storage array that hosts all our VM disks failed. When that
> happened, ovirt attempted to migrate running VM's from one host to another.
> Unfortunately this left many of the VM's in a 'migrating to' state that
> could only be resolved by restarting the HV's
>
> I'd prefer to have ovirt simply hang the VM's until disk IO returns.
>
> Is this possible?
>
> ***
> *Mark Steele*
> CIO / VP Technical Operations | TelVue Corporation
> TelVue - We Share Your Vision
> 800.885.8886 x128 | mste...@telvue.com | http://www.telvue.com
> twitter: http://twitter.com/telvue | facebook:
> https://www.facebook.com/telvue
>
> ___
> 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] Mixing CPU types

2016-02-03 Thread Matthew Trent
?Actually it works great! It's been supported by KVM for a while now. I had one 
Proxmox cluster with a mix of AMD and Intel and migrated KVM VM's between them 
frequently. OpenStack (KVM) and VMWare support this as well.


The trick is to expose a virtual CPU with a common set of features to the VMs. 
KVM handles the rest. From the KVM FAQ:

http://www.linux-kvm.org/page/FAQ#Does_KVM_support_live_migration_from_an_AMD_host_to_an_Intel_host_and_back.3F


"Does KVM support live migration from an AMD host to an Intel host and back?


Yes. There may be issues on 32-bit Intel hosts which don't support NX (or XD), 
but for 64-bit hosts back and forth migration should work well. Migration of 
32-bit guests should work between 32-bit hosts and 64-bit hosts. If one of your 
hosts does not support NX, you may consider disabling NX when starting the 
guest on a NX-capable system. You can do it by passing "-cpu qemu64,-nx" 
parameter to the guest."

--
Matthew Trent
Network Engineer
Lewis County IT Services
360.740.1247 - Helpdesk
360.740.3343 - Direct line

From: Yaniv Kaul 
Sent: Tuesday, February 2, 2016 2:17 PM
To: Matthew Trent
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Mixing CPU types



On Mon, Feb 1, 2016 at 9:13 PM, Matthew Trent 
> wrote:
Though our new oVirt setup is better in most ways, cross-CPU-type migration is 
one of the features I miss from Proxmox. KVM supports mixed-CPU migration for a 
while now, even between AMD and Intel.

http://www.linux-kvm.org/page/Migration

I highly doubt the above works in real life scenarios.
Y.



I'm using a bunch of re-purposed servers with a mix of AMD and Intel. I 
separate them into clusters, as noted, but it sure would be nice to be able to 
live migrate between them. :)

--
Matthew Trent
Network Engineer
Lewis County IT Services

> Hi Rene,
>
> Thank you very much for coming back to me.
>
> That's perfect then and answers my questions exactly.
>
> Much appreciated.
>
> Regards.
>
>Neil Wilson.
>
>
>On Wed, Jan 27, 2016 at 1:57 PM, René Koch rk-it.at> wrote:
>>
>> Hi Neil,
>>
>> You can mix cpu types (but not AMD and Intel) if you leave the cluster
>> level at the lowest cpu level.
>> I personally don't mix cpu levels if possible, but instead create own
>> clusters for each cpu type in order to be able to use the newest cpu
>> features...
>>
>>
>> Regards,
>> René
>>
>>
>> On 01/27/2016 12:53 PM, Neil wrote:
>>
>> Hi guys,
>>
>> I currently have an oVirt 3.5 cluster with Sandy Bridge Xeon CPU's, and I
>> need to add a new host for more RAM and vCPU's, however the new Xeon e5
>> cpu's are Haswell based.
>>
>> Can I mix CPU types (Haswell and Sandy Bridge) in my cluster and will I be
>> able to migrate between my hosts?
>>
>> I'm guessing that for this to work I'll need to leave my "CPU type" set to
>> Sandy Bridge, will the Haswell based CPU be compatible with my cluster, but
>> just run without any Haswell type features?
>>
>> Apologies if this is a dumb question or if it's been answered before.
>>
>> Thank you.
>>
>> Regards.
>>
>> Neil Wilson
>>
___
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