[ovirt-users] Ovirt 4.04 unable to umount LUNs on hosts

2019-05-15 Thread Andrea Ghelardi
Hello ovirt gurus,
I'd like to bother you with a long lasting issue I face.
My (new) test setup (not production one) is running ovirt 4.04 hosted engine on 
a Dell R510 server connected to SAN Compellent SC040 via iscsi.
All systems installed from scratch following guidelines.
Ovirt hosted engine installed using ovirt-appliance.
Everything is working "fine".
BUT
We are unable to perform a clear LUN removal.
We can perform all actions from web interface (storage add, maintenance, 
detach, delete) with no error.
However, underlying device remains mapped to server. As a result, we are unable 
to unmap the LUN otherwise multipath fails, server fails, ovirt fails etc.

Steps to reproduce:

1)  Create LUN on SAN, map it to server -> OK

2)  Log in ovirt web interface, add a new storage targeting LUN -> OK

3)  Create disk, create VM setup VM, (optional) -> OK

4)  Shutdown VM -> OK

5)  Ovirt: Put storage in maintenance -> OK

6)  Ovirt: Detach storage -> OK

7)  Ovirt: Delete storage -> OK

Expected result:
Ovirt unmaps and remove device from multipath so that it can be destroyed at 
SAN storage level.
It should be possible to perform this action even when host is not in 
maintenance.

Current result: volume remain locked in multipath (map in use).
Trying vgchange -a n  and then multipath -f  removes device, 
but then it is automatically re-added after a while (???)

Please note: this is the same behavior we always faced also with our ovirt 
production environment.
Details attached. Volume to be removed: LUN 64

Any ideas?
Thanks
AG

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


[root@barbera log]# multipath -ll
36000d310004edc64 dm-0 COMPELNT,Compellent Vol
size=100G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 18:0:0:2 sdk  8:160  active ready running
  |- 19:0:0:2 sdm  8:192  active ready running
  |- 22:0:0:2 sdq  65:0   active ready running
  |- 23:0:0:2 sds  65:32  active ready running
  |- 24:0:0:2 sdu  65:64  active ready running
  |- 28:0:0:2 sdaa 65:160 active ready running
  |- 29:0:0:2 sdab 65:176 active ready running
  |- 5:0:0:2  sdc  8:32   active ready running
  `- 6:0:0:2  sdg  8:96   active ready running
36000d310004edc62 dm-1 COMPELNT,Compellent Vol
size=1.0T features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 5:0:0:1  sdb  8:16   active ready running
  |- 6:0:0:1  sdd  8:48   active ready running
  |- 19:0:0:1 sdl  8:176  active ready running
  |- 18:0:0:1 sdj  8:144  active ready running
  |- 22:0:0:1 sdp  8:240  active ready running
  |- 23:0:0:1 sdr  65:16  active ready running
  |- 24:0:0:1 sdt  65:48  active ready running
  |- 29:0:0:1 sdz  65:144 active ready running
  `- 28:0:0:1 sdy  65:128 active ready running
36000d310004edc61 dm-19 COMPELNT,Compellent Vol
size=120G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 8:0:0:1  sdf  8:80   active ready running
  |- 7:0:0:1  sde  8:64   active ready running
  |- 11:0:0:1 sdh  8:112  active ready running
  |- 12:0:0:1 sdi  8:128  active ready running
  |- 20:0:0:1 sdn  8:208  active ready running
  |- 21:0:0:1 sdo  8:224  active ready running
  |- 25:0:0:1 sdv  65:80  active ready running
  |- 26:0:0:1 sdw  65:96  active ready running
  `- 27:0:0:1 sdx  65:112 active ready running
[root@barbera log]#
[root@barbera log]# lsscsi
[0:0:0:0]diskSEAGATE  ST3300657SS  ES66  -
[0:0:1:0]diskSEAGATE  ST3300657SS  ES66  -
[0:1:0:0]diskDell Virtual Disk 1028  /dev/sda
[3:0:0:0]cd/dvd  PLDS DVD+-RW DS-8A8SH KD51  /dev/sr0
[5:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sdb
[5:0:0:2]diskCOMPELNT Compellent Vol   0606  /dev/sdc
[6:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sdd
[6:0:0:2]diskCOMPELNT Compellent Vol   0606  /dev/sdg
[7:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sde
[8:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sdf
[11:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdh
[12:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdi
[18:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdj
[18:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sdk
[19:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdl
[19:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sdm
[20:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdn
[21:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/

[ovirt-users] how to remove a data center?

2017-05-09 Thread Andrea Ghelardi
Hello all,

I'm looking for an high level, approved, workflow to completely remove a 
datacenter and all its object.
Datacenter is made by 1 cluster, 1 server, 1 local storage, no VMs.
Hosted engine is on a different data center.
Everything is nicely working.

The administration 
guide<http://www.ovirt.org/documentation/admin-guide/chap-Data_Centers/> reads 
that:
"An active host is required to remove a data center. Removing a data center 
will not remove the associated resources."
Actually, I *want* to remove all associated resources and forget about them.

So... is it correct to:

  1.  put the storage in maintenance,
  2.  then put datacenter on maintenance
  3.  finally remove the datacenter

will this cleanup also related storage and server? Yes, no? other suggested 
actions?
Thank you
Andrea Ghelardi
[cid:image001.jpg@01D2C8F1.CD0FBD40]<https://www.iongroup.com/>
Via Ceci, 52
56125 Pisa
Italy
T: +39 050 22037 1
D: +39 050 2203 890
andrea.ghela...@iongroup.com<mailto:andrea.ghela...@iongroup.com>
iongroup.com<https://iongroup.com/>
***
This email and any attachments may contain information which is confidential 
and/or privileged.  The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator.  If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer.  Internet communications are not secure and ION is 
not responsible for their abuse by third parties, nor for any alteration or 
corruption in transmission, nor for any damage or loss caused by any virus or 
other defect. ION accepts no liability or responsibility arising out of or in 
any way connected to this email.

***

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


Re: [ovirt-users] oVirt 4.1 Dashboard

2017-03-15 Thread Andrea Ghelardi
Cheers ☺
@Shirley: being this the second report of the same issue, probably there is 
really a bug/problem somewhere?
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Arsène Gschwind
Sent: Wednesday, March 15, 2017 8:22 AM
To: Shirly Radco 
Cc: users 
Subject: Re: [ovirt-users] oVirt 4.1 Dashboard


Hi,

When creating the bug report I've found a similar bug 
https://bugzilla.redhat.com/show_bug.cgi?id=1414379. I've tried the provided 
solution and it did work for me, now the Dashboard shows everything.

Thanks a lot for your help.

Regards,
Arsène

On 03/13/2017 08:26 PM, Shirly Radco wrote:
Hi,

Please open a bug so we can better track you issue.
As far as I can see from the screenshot the dwh does collect the samples, but 
do not aggregate it to hourly tables.
1. I see that you installed the full dwh. Did it work correctly in the past? 
Did you use the reports and was able to use them?
2. Please attach the ovirt_engine_history db dump and the dwh log and 
screenshot to the bug and state the versions of the engine and dwh.

 Best regards,


--

Shirly Radco

BI Software Engineer

Red Hat Israel Ltd.

On Mon, Mar 13, 2017 at 2:12 PM, Arsène Gschwind 
mailto:arsene.gschw...@unibas.ch>> wrote:

Hi,

I'm wondering if you could identify something. I've investigate on my side but 
couldn't find any problem but for some reason it seams DWH is not collecting 
data.

Thanks a lot for any hint/help

Rgds,
Arsène

On 03/07/2017 11:04 AM, Arsène Gschwind wrote:

Please find files attached

On 03/07/2017 10:48 AM, Shirly Radco wrote:
Hi,

Please attach ovirt-engine-dwh logs and a screenshot.


Best regards,

Shirly Radco

BI Software Engineer

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109

On Tue, Mar 7, 2017 at 11:41 AM, Arsène Gschwind 
mailto:arsene.gschw...@unibas.ch>> wrote:

Please find engine.log attached

On 03/07/2017 10:06 AM, Oved Ourfali wrote:


On Tue, Mar 7, 2017 at 10:57 AM, Arsène Gschwind 
mailto:arsene.gschw...@unibas.ch>> wrote:

Hi,

I've update our oVirt installation 3.6 --> 4.0 --> 4.1, everything went smooth 
except update some of the hosts which i could update after several hour playing 
around.

We greatly appreciate the dashboard in 4.1 but we see the information missing:

  1.  On the cluster block in the upper part we see the amount of clusters but 
no Status (N/A)

The reason there is no status there is that in oVirt there is no cluster status 
(look at the cluster main-tab, for example).
We only have statuses for objects like DCs, Hosts, VMs, SDs (well, maybe we 
have for some more, but not clusters...).
We decided to include clusters in the inventory part anyway, for user 
visibility, and provide access to the clusters main tab by pressing the link.



  1.  On the lower part at "Cluster Utilization" and "Storage Utilization" we 
don't have any information at all.

Where does this information come from? DWH service is up and running
The inventory part is taken from the engine.
All the rest is taken from DWH.
You can start with sharing the engine logs here.
Shirly - any other logs or information you think is required?



Where do I have have to investigate further to find out what is missing/not 
working?

Let me know if you need further information.

Rgds,
Arsène

___
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] [ANN] oVirt 4.1.1 First Release Candidate

2017-03-06 Thread Andrea Ghelardi
I somehow agree to this statement
While ovirt team is really doing an awesome job and ovirt is getting more and 
more polished at every release, a +100 critical bugfixes statement in a minor 
release tends to underline the flaws of 4.1.0 rather than the good things of 
4.1.1

Considering that

A)  there could be no test environment to check the upgraded version 
behavior and

B)  the upgrade itself may require more than a bit of effort when there are 
dozen hosts and multiple clusters involved,
this does not really encourage to always push the datacenter to the latest 
version available, especially if the in-production version is not misbehaving.

Please note I'm just sharing our company view and not blaming anyone.

Cheers
Andrea

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Christophe TREFOIS
Sent: Monday, March 6, 2017 12:18 AM
To: Sandro Bonazzola 
Cc: users 
Subject: Re: [ovirt-users] [ANN] oVirt 4.1.1 First Release Candidate

Hi,

Is 4.1.0 still recommneded an upgrade from 4.0.6 in production or should we 
wait for 4.1.1 to comee out?

100+ critical bugs fixed sounds good but doesnt really encourage upgrading to 
4.1.0

thoughts?

Christophe

On 3 Mar 2017, at 14:48, Sandro Bonazzola 
mailto:sbona...@redhat.com>> wrote:

The oVirt Project is pleased to announce the availability of the First
Release Candidate of oVirt 4.1.1 for testing, as of March 3rd, 2017

This is pre-release software. Please take a look at our community page[1]
to know how to ask questions and interact with developers and users.
All issues or bugs should be reported via oVirt Bugzilla[2].
This pre-release should not to be used in production.

This update is the first release candidate of the first in a series of
stabilization updates to the 4.1 series.
4.1.1 brings 26 enhancements and more than 350 bugfixes,
including more than 130 high or urgent
severity fixes, on top of oVirt 4.1 series

This release is available now for:
* Fedora 24 (tech preview)
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.3 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.3 or later
* Fedora 24 (tech preview)

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

Notes:
- oVirt Live has been already built [4]
- oVirt Node and Appliance has not been built for this release due to build 
issues we're still investigating.

Additional Resources:
* Read more about the oVirt 4.1.1 release 
highlights:http://www.ovirt.org/release/4.1.1/
* 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] https://www.ovirt.org/community/
[2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
[3] http://www.ovirt.org/release/4.1.1/
[4] http://resources.ovirt.org/pub/ovirt-4.1-pre/iso/



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
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] best way to remove SAN lun

2017-02-21 Thread Andrea Ghelardi
Hello Gianluca,
I have ISCSI SAN here and not FC but process should be very similar.
Correct operation is
Storage maintenance -> detach -> remove

Once you have removed the storage, Ovirt will release the sanlock.
Note that your server will still “see” the device and multipath will still list 
it as active.

You can now unmap LUN using your SAN manager.
If your multipath is correctly configured, device will “fail” but nothing else 
(multipath and server won’t hang).
You will be able to perform basic list operations via server shell without 
experiencing freeze or locks.*
Ovirt will continue to scan new devices so you won’t be able to manually remove 
them until you unmap devices from SAN manager.

If you need to remove devices manually, it is advised to follow this guide.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/removing_devices.html

* If you do face command freeze etc, re-enable LUN mappings and check your 
multipath.conf

Cheers
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Gianluca Cecchi
Sent: Tuesday, February 21, 2017 4:19 PM
To: users 
Subject: [ovirt-users] best way to remove SAN lun

Hello,
currently I have a cluster of 3 hosts where each one has FC SAN connectivity to 
4 LUNs: 3 are already configured as storage domains (1TB, 2TB, 4TB), one is 
free, not allocated.
See here for screenshot:
https://drive.google.com/file/d/0BwoPbcrMv8mvRVZZMTlNcTQ5MGs/view?usp=sharing

At the moment the command "multipath -l" run on hosts shows all the 4 LUNs.

Now I want to do 2 things at storage array level:

- remove the 2TB storage domain LUN
- remove the 20Gb LUN not yet allocated

What is the correct workflow, supposing I have already emptied the 2TB from VM 
disks ad such?
Select 2Tb SD, then Datacenter subtab, then "maintenance", detach" and at the 
end "remove"?

I think I continue to see 4 LUNs at this point, correct?

Now I proceed with removal of lun at storage array level?

Should I select an SD line and then "Scan disks" to see refresh the SAN and see 
in multipath only 2 of them at the end?
Or any manual command at host level before removal from array?

Thanks in advance

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


[ovirt-users] enhancement proposals

2017-02-21 Thread Andrea Ghelardi
Hello team, all,
I would have a couple of minor but important proposal for UI change (not 
bugfixes)
What is the correct workflow to follow?

Cheers

Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com<http://www.iongroup.com/> | 
a.ghela...@iontrading.com<mailto:a.ghela...@iontrading.com>
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[iON_HBlu_small]
Automation through innovation

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


Re: [ovirt-users] high number of IOPS from ovirt hosts

2017-02-13 Thread Andrea Ghelardi
Andrea,
Among other advices, I would also suggest you to re-deploy an host without make 
it an host-engine node.
It may be worth checking if HE service is responsible of so many IOPS as it was 
in my case.
Ciao
AG

-Original Message-
From: Andrea Fagiani [mailto:andrea.fagi...@immobiliare.it] 
Sent: Monday, February 13, 2017 10:05 AM
To: Andrea Ghelardi ; users@ovirt.org
Subject: Re: [ovirt-users] high number of IOPS from ovirt hosts

Thanks for the heads up, I'll take a look at Mark's thread.
We are presenting 2 storage LUNs to a single ovirt cluster and yes, all hosts 
are hosted engine hosts.

Thanks,
Andrea


On 12/02/2017 18:27, Andrea Ghelardi wrote:
> Andrea,
> I don't want to point any fingers but Mark Greenall faced some issues with 
> Ovirt 4.06/4.1 linked to equallogic as well.
> You may want to search posts in this ML with subject " Ovirt 4.0.6 guests 
> 'Not Responding' " to see if you find any similarities.
> How many storages are you presenting to how many clusters?
> Also, are your nodes all Hosted Engine Hosts? In my old configuration, 
> normal hosts read IOPS ranged from 50 to 500 while HE ones peaked even 
> ~3000 Cheers AG
>
>
> -Original Message-
> From: Andrea Fagiani [mailto:andrea.fagi...@immobiliare.it]
> Sent: Friday, February 10, 2017 5:56 PM
> To: Andrea Ghelardi ; users@ovirt.org
> Subject: Re: [ovirt-users] high number of IOPS from ovirt hosts
>
> Hi Andrea,
>
> thanks for the insight; no I wasn't able to pinpoint the issue to a single 
> host, the load seems to be evenly spread.
> We have another cluster running 4.0.6 on a compellent as well and we haven't 
> experienced any similar issues.
>
> Thanks,
> Andrea
>
>
> On 10/02/2017 17:17, Andrea Ghelardi wrote:
>> Hello Andrea,
>> I saw that happening on my HE hosts connected to a COMPELLENT SC040 
>> when I was running Ovirt 3.5
>>
>> All HE hosts were hammering the SAN with 2~4k IOPS each
>>
>> Upgrading to 4.0.5 solved my case.
>> Are you able to check if IOPS are generated from a particular host or rather 
>> spread among all nodes?
>>
>> Cheers
>> AG
>>
>>
>> -Original Message-
>> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
>> Behalf Of Andrea Fagiani
>> Sent: Friday, February 10, 2017 12:47 PM
>> To: users@ovirt.org
>> Subject: [ovirt-users] high number of IOPS from ovirt hosts
>>
>> Hi,
>>
>> We've got a 8-host cluster running oVirt 4.1; each host is connected via 
>> iscsi to a EQL 4100 storage (2x).
>> Most of the VMs use barely any IOPS, however on our storage controller we've 
>> noticed a constant steam of reads, about 2000 IOPS; any idea what might 
>> cause the ovirt hosts to hammer on the storage so much?
>>
>> Looking at iotop, it seems that systemd-udevd is being activated every few 
>> seconds (and its IO% is usually fairly high) so I assume this might be 
>> somehow related.
>>
>> Thanks,
>> Andrea
>> ___
>> 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] high number of IOPS from ovirt hosts

2017-02-12 Thread Andrea Ghelardi
Andrea,
I don't want to point any fingers but Mark Greenall faced some issues with 
Ovirt 4.06/4.1 linked to equallogic as well.
You may want to search posts in this ML with subject " Ovirt 4.0.6 guests 'Not 
Responding' " to see if you find any similarities.
How many storages are you presenting to how many clusters?
Also, are your nodes all Hosted Engine Hosts? In my old configuration, normal 
hosts read IOPS ranged from 50 to 500 while HE ones peaked even ~3000
Cheers
AG


-Original Message-
From: Andrea Fagiani [mailto:andrea.fagi...@immobiliare.it] 
Sent: Friday, February 10, 2017 5:56 PM
To: Andrea Ghelardi ; users@ovirt.org
Subject: Re: [ovirt-users] high number of IOPS from ovirt hosts

Hi Andrea,

thanks for the insight; no I wasn't able to pinpoint the issue to a single 
host, the load seems to be evenly spread.
We have another cluster running 4.0.6 on a compellent as well and we haven't 
experienced any similar issues.

Thanks,
Andrea


On 10/02/2017 17:17, Andrea Ghelardi wrote:
> Hello Andrea,
> I saw that happening on my HE hosts connected to a COMPELLENT SC040 
> when I was running Ovirt 3.5
>
> All HE hosts were hammering the SAN with 2~4k IOPS each
>
> Upgrading to 4.0.5 solved my case.
> Are you able to check if IOPS are generated from a particular host or rather 
> spread among all nodes?
>
> Cheers
> AG
>
>
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
> Behalf Of Andrea Fagiani
> Sent: Friday, February 10, 2017 12:47 PM
> To: users@ovirt.org
> Subject: [ovirt-users] high number of IOPS from ovirt hosts
>
> Hi,
>
> We've got a 8-host cluster running oVirt 4.1; each host is connected via 
> iscsi to a EQL 4100 storage (2x).
> Most of the VMs use barely any IOPS, however on our storage controller we've 
> noticed a constant steam of reads, about 2000 IOPS; any idea what might cause 
> the ovirt hosts to hammer on the storage so much?
>
> Looking at iotop, it seems that systemd-udevd is being activated every few 
> seconds (and its IO% is usually fairly high) so I assume this might be 
> somehow related.
>
> Thanks,
> Andrea
> ___
> 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] high number of IOPS from ovirt hosts

2017-02-10 Thread Andrea Ghelardi
Hello Andrea,
I saw that happening on my HE hosts connected to a COMPELLENT SC040 when I was 
running Ovirt 3.5

All HE hosts were hammering the SAN with 2~4k IOPS each

Upgrading to 4.0.5 solved my case.
Are you able to check if IOPS are generated from a particular host or rather 
spread among all nodes?

Cheers
AG


-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Andrea Fagiani
Sent: Friday, February 10, 2017 12:47 PM
To: users@ovirt.org
Subject: [ovirt-users] high number of IOPS from ovirt hosts

Hi,

We've got a 8-host cluster running oVirt 4.1; each host is connected via iscsi 
to a EQL 4100 storage (2x).
Most of the VMs use barely any IOPS, however on our storage controller we've 
noticed a constant steam of reads, about 2000 IOPS; any idea what might cause 
the ovirt hosts to hammer on the storage so much?

Looking at iotop, it seems that systemd-udevd is being activated every few 
seconds (and its IO% is usually fairly high) so I assume this might be somehow 
related.

Thanks,
Andrea
___
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] [Call for feedback] did you install/update to 4.1.0?

2017-02-03 Thread Andrea Ghelardi
Running ovirt v4.0.5.5.1 and not planning to upgrade to 4.1 yet.
We are happy with stability of our production servers and wait for 4.1.1 to 
come out.
The only real need to upgrade for us would be the added compatibility with 
Windows server 2016 guest tools.
… and the trim, of course, but we can wait a little bit longer for it…

Cheers
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Sandro Bonazzola
Sent: Thursday, February 2, 2017 1:19 PM
To: users 
Subject: [ovirt-users] [Call for feedback] did you install/update to 4.1.0?

Hi,
did you install/update to 4.1.0? Let us know your experience!
We end up knowing only when things doesn't work well, let us know it works fine 
for you :-)

If you're not planning an update to 4.1.0 in the near future, let us know why.
Maybe we can help.

Thanks!
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] get UI working throug ALIAS and real hostname

2017-01-25 Thread Andrea Ghelardi
Tested and working nice on my setup (Ovirt 4.0.5).
Thanks!
AG

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Juan Hernández
Sent: Tuesday, January 24, 2017 3:41 PM
To: emanuel.santosvar...@mahle.com; users@ovirt.org
Subject: Re: [ovirt-users] get UI working throug ALIAS and real hostname

On 01/24/2017 03:15 PM, emanuel.santosvar...@mahle.com wrote:
> If I access the UI via "ALIAS" I get the Error-Page "The client is not 
> authorized to request an authorization. It's required to access the 
> system using FQDN.
> 
> What can I do to get UI working through ALIAS and real hostname?
> 
> Thx,
> Emanuel
> 

Create a 99-whatever-you-like.conf file in /etc/ovirt-engine/engine.conf.d with 
the following content:

  SSO_ALTERNATE_ENGINE_FQDNS="thealias"

Then restart the engine:

  systemctl restart ovirt-engine

This setting is documented here:


https://github.com/oVirt/ovirt-engine/blob/master/packaging/services/ovirt-engine/ovirt-engine.conf.in#L363-L366

___
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 4.0.5 reporting dashboard not working.

2017-01-24 Thread Andrea Ghelardi
Hello all,
The issue has been resolved using the following approach:

Connect to the database:
# su – postgres
-bash-4.2$ psql -U postgres  ovirt_engine_history

### Listed table before editing ###
ovirt_engine_history=# SELECT var_datetime FROM history_configuration;
  var_datetime

2017-01-23 01:00:00+00


2016-10-03 12:43:20+00
2017-01-23 11:00:00+00

(6 rows)
###

### Editing table ###
ovirt_engine_history=# UPDATE history_configuration set var_datetime =
ovirt_engine_history-# date_trunc('hour', now())- interval '24 hour' WHERE 
var_name = 'lastHourAggr';
UPDATE 1
ovirt_engine_history=# UPDATE history_configuration set var_datetime =
ovirt_engine_history-# cast(now() as date)- interval '1 day' WHERE var_name = 
'lastDayAggr';
UPDATE 1
###

## Listing table values again (after update) ###
ovirt_engine_history=# SELECT var_datetime FROM history_configuration;
  var_datetime



2016-10-03 12:43:20+00
2017-01-22 00:00:00+00

2017-01-22 09:00:00+00
(6 rows)
###

A few hours after applying above commands, usage graphs appeared on the 
dashboard.
Thanks all
Andrea

From: Shirly Radco [mailto:sra...@redhat.com]
Sent: Tuesday, January 17, 2017 9:44 PM
To: Andrea Ghelardi 
Cc: Liron Aravot ; Tal Nisan ; users 

Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

Hi Andrea,

I believe that dwh not working is unrelated to what Liron mentioned.
Please open a bug on ovirt-dwh and attach the dwh log and ovirt_engine_dwh db 
dump, dashboard screenshot.

I will check what is the reason that data is not collected.


Best regards,

Shirly Radco

BI Software Engineer

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109

On Tue, Jan 17, 2017 at 6:21 PM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hello Liron,
Thank you for your reply.

So basically our DWH is not creating reports because vdsm is too slow in 
collecting results?
I understand the message logged in engine is informational instead of warning, 
but still DWH is not working.
Do you have any additional hint about what to check?

Cheers
AG

-Original Message-
From: Liron Aravot [mailto:lara...@redhat.com<mailto:lara...@redhat.com>]
Sent: Tuesday, January 17, 2017 2:30 PM
To: Tal Nisan mailto:tni...@redhat.com>>
Cc: Shirly Radco mailto:sra...@redhat.com>>; users 
mailto:users@ovirt.org>>; Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>
Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.
When a host is "connected" to a storage pool it monitors the active pool 
domains. When the domain monitoring results are reported back from the host, 
the first monitor run may haven't finished yet. In that case the returned 
status from vdsm is a dummy status and not an actual result - when getting such 
a status the engine logs it.
We should change that log print to INFO rather then WARN.

On Tue, Dec 20, 2016 at 12:17 PM, Tal Nisan 
mailto:tni...@redhat.com>> wrote:
> Liron, can you please check why does this "report isn't an actual
> report" is appearing in the log?
>
> On Mon, Dec 19, 2016 at 10:33 AM, Andrea Ghelardi
> mailto:a.ghela...@iontrading.com>> wrote:
>>
>> Hello Shirly,
>>
>> I restarted dwh service as per your suggestion with no success.
>>
>>
>>
>> Here a sample of DWH log:
>>
>> 2016-12-14
>> 12:31:55|kdcGa9|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not
>> updating the statistics. Please check your oVirt Engine status.|9704
>>
>> 2016-12-14
>> 12:32:20|ncjn2O|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not
>> updating the statistics. Please check your oVirt Engine status.|9704
>>
>> 2016-12-14
>> 15:52:37|Xx2zzb|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not
>> updating the statistics. Please check your oVirt Engine status.|9704
>>
>> 2016-12-16 17:39:13|ETL Service Stopped
>>
>> 2016-12-16 17:39:14|ETL Service Started
>>
>> ovirtEngineDbDriverClass|org.postgresql.Driver
>>
>>
>> ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/o
>> ovirtEngineHistoryDbJdbcConnection|virt_engine_history?sslfactory=org
>> ovirtEngineHistoryDbJdbcConnection|.postgresql.ssl.NonValidatingFacto
>> ovirtEngineHistoryDbJdbcConnection|ry
>>
>> hoursToKeepDaily|0
>>
>> hoursToKeepHourly|720
>>
>> ovirtEngineDbPassword|**
>>
>> runDeleteTime|3
>>
>>
>> ovi

Re: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 2012 R2 Standard x86-64

2017-01-18 Thread Andrea Ghelardi
My Ovirt guest services runs fine on W2012R2, but your ovirt tools is old 
compared to mine.
I would try to upgrade both ovirt tools and the engine to version 4
Since engine upgrade is advised but could impact your environment, I would try 
to download the latest ovirt tools from here 
http://resources.ovirt.org/pub/ovirt-4.0/iso/oVirt-toolsSetup/ and import its 
ISO.
You can then mount it to your guest via usual mean and “upgrade” your guest 
tools.

I do not remember if Windows 2012R2 is officially supported in Ovirt 3.6.7 
tought.

Cheers
AG

From: Julián Tete [mailto:danteconra...@gmail.com]
Sent: Wednesday, January 18, 2017 4:24 PM
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 
2012 R2 Standard x86-64

Hi Andrea

Triple Check

When the path is wrong we get this type of message:

"Windows could not start the Balloon Service on Local Computer.

Error2: The system cannot find the file specified."

But in this case, we get:

"The OVirt Guest Service on Local Computer started and then stopped. Some 
services stop automatically if they are not in use in use by other services or 
programs."

¿ Maybe a oVirt bug ?

2017-01-18 3:20 GMT-05:00 Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>:
Hello Juliàn,
Have you double checked on your guest agent that OVirtGuestService.exe is 
really found in
C:\Program Files (x86)\oVirt Guest Tools\OVirtGuestService.exe
? The configured service path must exactly match the real one.

From: Julián Tete 
[mailto:danteconra...@gmail.com<mailto:danteconra...@gmail.com>]
Sent: Tuesday, January 17, 2017 10:23 PM
To: Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>
Cc: users@ovirt.org<mailto:users@ovirt.org>
Subject: Re: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 
2012 R2 Standard x86-64

Hi Andrea
I tried with this solution:

https://www.mail-archive.com/users@ovirt.org/msg37420.html
And I input this orders:

Balloon Service oVirt 3.6:

sc config BalloonService binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\drivers\Balloon\2k12R2\amd64\blnsvr.exe" DisplayName= "Balloon Service 
oVirt 3.6" start= auto

SPICE:

sc config vdservice binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\64\vdservice.exe" DisplayName= "SPICE VDAgent" start= auto

oVirt Service:

sc config OVirtGuestService binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\OVirtGuestService.exe" DisplayName= "OVirt Guest Service" start= auto
This solution corrects the BalloonService error, but oVirt Service doesn't work 
yet:

"The OVirt Guest Service on Local Computer started and then stopped. Some 
services stop automatically if they are not in use in use by other services or 
programs."


2017-01-17 11:55 GMT-05:00 Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>:
Hello Julian
I posted a similar case last year. If you search the group you will find my 
post with the solution embedded.
You will need to edit the service changing the path of the executable
Cheers
AG

From: users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] On Behalf Of 
Julián Tete
Sent: Tuesday, January 17, 2017 5:40 PM
To: users@ovirt.org<mailto:users@ovirt.org>
Subject: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 2012 R2 
Standard x86-64

The oVirt Guest Service don't start and the Operative Systems show the 
following message:

"The OVirt Guest Service on Local Computer started and then stopped. Some 
services stop automatically if they are not in use in use by other services or 
programs."

oVirt Windows Guest Tools ISO Version used:

oVirt-toolsSetup_3.6.0_0.2_master.fc22.iso

oVirt Engine Version:

3.6.7.5-1.el7.centos
Bare Metal Software (Host)

OS Version: RHEL - 7 - 3.1611.el7.centos
Kernel Version: 4.9.0 - 1.el7.elrepo.x86_64
KVM Version: 2.3.0 - 31.el7_2.10.1
LIBVIRT Version: libvirt-2.0.0-10.el7_3.2
VDSM Version: vdsm-4.17.32-1.el7
SPICE Version: 0.12.4 - 19.el7
GlusterFS Version: [N/A]
CEPH Version: librbd1-0.94.5-1.el7
Bare Metal Hardware (Host)

Manufacturer: HP
Family: ProLiant
Product Name: ProLiant BL460c Gen8
CPU Model: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz
CPU Type: Intel SandyBridge Family
CPU Sockets: 2
CPU Cores per Socket: 8
CPU Threads per Core: 2 (SMT Enabled)

Can you help me ?

Thanks in Advance


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


Re: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 2012 R2 Standard x86-64

2017-01-18 Thread Andrea Ghelardi
Hello Juliàn,
Have you double checked on your guest agent that OVirtGuestService.exe is 
really found in
C:\Program Files (x86)\oVirt Guest Tools\OVirtGuestService.exe
? The configured service path must exactly match the real one.

From: Julián Tete [mailto:danteconra...@gmail.com]
Sent: Tuesday, January 17, 2017 10:23 PM
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 
2012 R2 Standard x86-64

Hi Andrea
I tried with this solution:

https://www.mail-archive.com/users@ovirt.org/msg37420.html
And I input this orders:

Balloon Service oVirt 3.6:

sc config BalloonService binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\drivers\Balloon\2k12R2\amd64\blnsvr.exe" DisplayName= "Balloon Service 
oVirt 3.6" start= auto

SPICE:

sc config vdservice binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\64\vdservice.exe" DisplayName= "SPICE VDAgent" start= auto

oVirt Service:

sc config OVirtGuestService binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\OVirtGuestService.exe" DisplayName= "OVirt Guest Service" start= auto
This solution corrects the BalloonService error, but oVirt Service doesn't work 
yet:

"The OVirt Guest Service on Local Computer started and then stopped. Some 
services stop automatically if they are not in use in use by other services or 
programs."


2017-01-17 11:55 GMT-05:00 Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>:
Hello Julian
I posted a similar case last year. If you search the group you will find my 
post with the solution embedded.
You will need to edit the service changing the path of the executable
Cheers
AG

From: users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] On Behalf Of 
Julián Tete
Sent: Tuesday, January 17, 2017 5:40 PM
To: users@ovirt.org<mailto:users@ovirt.org>
Subject: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 2012 R2 
Standard x86-64

The oVirt Guest Service don't start and the Operative Systems show the 
following message:

"The OVirt Guest Service on Local Computer started and then stopped. Some 
services stop automatically if they are not in use in use by other services or 
programs."

oVirt Windows Guest Tools ISO Version used:

oVirt-toolsSetup_3.6.0_0.2_master.fc22.iso

oVirt Engine Version:

3.6.7.5-1.el7.centos
Bare Metal Software (Host)

OS Version: RHEL - 7 - 3.1611.el7.centos
Kernel Version: 4.9.0 - 1.el7.elrepo.x86_64
KVM Version: 2.3.0 - 31.el7_2.10.1
LIBVIRT Version: libvirt-2.0.0-10.el7_3.2
VDSM Version: vdsm-4.17.32-1.el7
SPICE Version: 0.12.4 - 19.el7
GlusterFS Version: [N/A]
CEPH Version: librbd1-0.94.5-1.el7
Bare Metal Hardware (Host)

Manufacturer: HP
Family: ProLiant
Product Name: ProLiant BL460c Gen8
CPU Model: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz
CPU Type: Intel SandyBridge Family
CPU Sockets: 2
CPU Cores per Socket: 8
CPU Threads per Core: 2 (SMT Enabled)

Can you help me ?

Thanks in Advance

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


Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

2017-01-17 Thread Andrea Ghelardi
Hello Liron,
Thank you for your reply.

So basically our DWH is not creating reports because vdsm is too slow in 
collecting results?
I understand the message logged in engine is informational instead of warning, 
but still DWH is not working.
Do you have any additional hint about what to check?

Cheers
AG

-Original Message-
From: Liron Aravot [mailto:lara...@redhat.com] 
Sent: Tuesday, January 17, 2017 2:30 PM
To: Tal Nisan 
Cc: Shirly Radco ; users ; Andrea Ghelardi 

Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

When a host is "connected" to a storage pool it monitors the active pool 
domains. When the domain monitoring results are reported back from the host, 
the first monitor run may haven't finished yet. In that case the returned 
status from vdsm is a dummy status and not an actual result - when getting such 
a status the engine logs it.
We should change that log print to INFO rather then WARN.

On Tue, Dec 20, 2016 at 12:17 PM, Tal Nisan  wrote:
> Liron, can you please check why does this "report isn't an actual 
> report" is appearing in the log?
>
> On Mon, Dec 19, 2016 at 10:33 AM, Andrea Ghelardi 
>  wrote:
>>
>> Hello Shirly,
>>
>> I restarted dwh service as per your suggestion with no success.
>>
>>
>>
>> Here a sample of DWH log:
>>
>> 2016-12-14
>> 12:31:55|kdcGa9|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not 
>> updating the statistics. Please check your oVirt Engine status.|9704
>>
>> 2016-12-14
>> 12:32:20|ncjn2O|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not 
>> updating the statistics. Please check your oVirt Engine status.|9704
>>
>> 2016-12-14
>> 15:52:37|Xx2zzb|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|D
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not 
>> updating the statistics. Please check your oVirt Engine status.|9704
>>
>> 2016-12-16 17:39:13|ETL Service Stopped
>>
>> 2016-12-16 17:39:14|ETL Service Started
>>
>> ovirtEngineDbDriverClass|org.postgresql.Driver
>>
>>
>> ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/o
>> ovirtEngineHistoryDbJdbcConnection|virt_engine_history?sslfactory=org
>> ovirtEngineHistoryDbJdbcConnection|.postgresql.ssl.NonValidatingFacto
>> ovirtEngineHistoryDbJdbcConnection|ry
>>
>> hoursToKeepDaily|0
>>
>> hoursToKeepHourly|720
>>
>> ovirtEngineDbPassword|**
>>
>> runDeleteTime|3
>>
>>
>> ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:5432/engine?s
>> ovirtEngineDbJdbcConnection|slfactory=org.postgresql.ssl.NonValidatin
>> ovirtEngineDbJdbcConnection|gFactory
>>
>> runInterleave|20
>>
>> limitRows|limit 1000
>>
>> ovirtEngineHistoryDbUser|ovirt_engine_history
>>
>> ovirtEngineDbUser|engine
>>
>> deleteIncrement|10
>>
>> timeBetweenErrorEvents|30
>>
>> hoursToKeepSamples|24
>>
>> deleteMultiplier|1000
>>
>> lastErrorSent|2011-07-03 12:46:47.00
>>
>> etlVersion|4.0.5
>>
>> dwhAggregationDebug|false
>>
>> dwhUuid|a18846e6-d188-4170-8549-aeb1c54fa390
>>
>> ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
>>
>> ovirtEngineHistoryDbPassword|**
>>
>>
>>
>>
>>
>> And here a sample of Engine.log
>>
>>
>>
>> 2016-12-19 04:32:05,939 WARN
>> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
>> (DefaultQuartzScheduler5) [53791585] Domain 
>> '05c01989-18a1-4a45-9ed6-76c6badc728a:intel2-dstore04' report isn't 
>> an actual report
>>
>> 2016-12-19 04:32:05,939 WARN
>> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
>> (DefaultQuartzScheduler5) [53791585] Domain 
>> 'f0d8ea03-17ab-4feb-bbf8-408e0550fc29:boole2-dstore1' report isn't an 
>> actual report
>>
>>
>>
>>
>>
>> So apparently DWH is working, but that “report isn't an actual 
>> report” is quite obscure to me.
>>
>> I need to clarify that (almost) all these storages are iscsi SAN 
>> hosted and have been detached from Ovirt3 installation and IMPORTED into 
>> Ovirt4.
>>
>>
>>
>> Could you suggest for next step?
>>
>> Thanks
>>
>> Andrea
>>
>>
>>
>> From: Shirly Radco [mailto:sra...@redhat.com]
>> Sent: Thursday

Re: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 2012 R2 Standard x86-64

2017-01-17 Thread Andrea Ghelardi
Hello Julian
I posted a similar case last year. If you search the group you will find my 
post with the solution embedded.
You will need to edit the service changing the path of the executable
Cheers
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Julián Tete
Sent: Tuesday, January 17, 2017 5:40 PM
To: users@ovirt.org
Subject: [ovirt-users] oVirt Guest Agent doesn't work in Windows Server 2012 R2 
Standard x86-64

The oVirt Guest Service don't start and the Operative Systems show the 
following message:

"The OVirt Guest Service on Local Computer started and then stopped. Some 
services stop automatically if they are not in use in use by other services or 
programs."

oVirt Windows Guest Tools ISO Version used:

oVirt-toolsSetup_3.6.0_0.2_master.fc22.iso

oVirt Engine Version:

3.6.7.5-1.el7.centos
Bare Metal Software (Host)

OS Version: RHEL - 7 - 3.1611.el7.centos
Kernel Version: 4.9.0 - 1.el7.elrepo.x86_64
KVM Version: 2.3.0 - 31.el7_2.10.1
LIBVIRT Version: libvirt-2.0.0-10.el7_3.2
VDSM Version: vdsm-4.17.32-1.el7
SPICE Version: 0.12.4 - 19.el7
GlusterFS Version: [N/A]
CEPH Version: librbd1-0.94.5-1.el7
Bare Metal Hardware (Host)

Manufacturer: HP
Family: ProLiant
Product Name: ProLiant BL460c Gen8
CPU Model: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz
CPU Type: Intel SandyBridge Family
CPU Sockets: 2
CPU Cores per Socket: 8
CPU Threads per Core: 2 (SMT Enabled)

Can you help me ?

Thanks in Advance

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


Re: [ovirt-users] Lowering the bar for wiki contribution?

2017-01-04 Thread Andrea Ghelardi
I once tried to edit a broken link in current documentation and lost hope after 
10 minutes of efforts.

Being a sysadmin, I understand the fear of unknown/untrusted people accessing 
stuff and performing uncontrolled changes, but generally speaking I believe the 
majority of this community is not driven by 10y old cracker attitudes: I trust 
that the additional value provided by people will greatly overcome a few typos 
and errors.

+1
Cheers
AG

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Martin Polednik
Sent: Wednesday, January 4, 2017 9:01 AM
To: Roy Golan 
Cc: users ; devel 
Subject: Re: [ovirt-users] Lowering the bar for wiki contribution?

On 04/01/17 09:57 +0200, Roy Golan wrote:
>I'm getting the feeling I'm not alone in this, authoring and publishing 
>a wiki page isn't as used to be for long time.
>
>I want to suggest a bit lighter workflow:
>
>1.  Everyone can merge their page - (it's a wiki)
>  Same as with (public and open) code, no one has the motivation to 
>publish a badly written
>  wiki page under their name. True, it can have an impact, but not as 
>with broken code
>
>2. Use Page-Status marker
> The author first merges the draft. Its now out there and should be 
>updated as time goes and its  status is DRAFT. Maintainers will come 
>later and after review would change the status to  PUBLISH. That could 
>be a header in on the page:
> ---
> page status: DRAFT/PUBLISH
> ---
>
> Simple I think, and should work.

+1, github's contribution workflow is terrible and doesn't make any
sense for wiki pages.

>___
>Devel mailing list
>de...@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/devel

___
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] Request for oVirt Ansible modules testing feedback

2017-01-04 Thread Andrea Ghelardi
Personally I don’t think ansible and ovirt-shell are mutually exclusive.
Those who are in ansible and devops realms are not really scared by making 
python/ansible work with ovirt.
From what I gather, playbooks are quite a de-facto pre-requisite to build up a 
real SaaC “Software as a Code” environment.

On the other hand, ovirt-shell can and is a fast/easy way to perform “normal 
daily tasks”.

As long as we have good documentation about how to do things, can we have and 
support both?
Cheers
Andrea

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Nathanaël Blanchet
Sent: Tuesday, January 3, 2017 7:41 PM
To: Dan Yasny 
Cc: users 
Subject: Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

Le 30/12/2016 à 20:53, Dan Yasny a écrit :
I personally found that she'll isn't as useful as the python sdk. I usually 
open up ipython, load the sdk and interact with ovirt directly. This is faster 
and much more powerful than the shell could ever be.
okay, I suppose you to be a regular python user. Can you imagine how much time 
I spent just to understand how it works?
That is to say:

  *   installing pip and not pip3 because provided python-ovirt-engine-sdk4 is 
default installed to /usr/lib64/python2.7,
  *   installing ipython,
  *   importing the good modules,
  *   finding pertinent examples,
  *   understand differences between sdk3 and 4
  *   correcting some wrong examples
  *   adapting example to my need?
I can't see how it can be fast for the newbie.
What's the first goal of a CLI? to abstract all this stuff for the python 
newbie. If you want a easy-to-use webadmin for attracting a large public, you 
should provide easy-to-use CLI as well. Ovirt-shell was a part of my choice to 
use ovirt.
Yes we can learn to use SDK (I dit it), but I don't think a lot people who 
chose ovirt for simplicity wll use it except advanced users.
A new time, thank you for the great stuff for the great oVirt project, but I 
find there is too much distance between devs and users.
What do really think the community about this?


On Dec 30, 2016 11:22 AM, "Nathanaël Blanchet" 
mailto:blanc...@abes.fr>> wrote:

Interesting work and thank you for this stuff. I played with some modules 
(ovirt_vms_facts) to get some vms name for example.

  *   [root@acore ovirt]# ansible-playbook All_Vms_list.yml
  *   with
  - name: List vms
ovirt_vms_facts:
  auth: "{{ ovirt_auth }}"
  pattern: name=test_cloud
  fetch_nested: true
  nested_attributes: name
register: ovirt_vms

  - shell: echo "{{ ovirt_vms.name }} > vms_name" // 
doesn't work

  * - shell: echo "{{ ovirt_vms }} > vms_name // returns an unicode json 
file, that's surely why we can't parse it. Can you help me to solve this into 
the ovirt_vms_facts.py file?

  *   I have no such problem with ovirt_snaphots_module and I can easily get 
the snaphot.id variable but:

 *   I had to manually copy the ovirt_snaphsots_module because it is not 
present on the git tree. This is very curious: we can find it here 
http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm,
 but it is not available on the main ansible git tre.
 *   On the doc, return values are not described

For the moment, my opinion is that ansible can't be as much convinient as the 
current CLI, e.g. ovirt-shell -E "list vms", out of the box. Is there a really 
reason to deprecate it?

Le 02/12/2016 à 14:12, Ondra Machacek a écrit :
Hello all,

I would like to kindly ask everyone who is Ansible or oVirt user for
testing of the new Ansible oVirt modules. For everyone who is familiar
with the Ansible and oVirt, this[1] describes the steps you need to do,
to setup oVirt modules library and start using those modules (Most of those 
modules will be available in Ansible 2.3, some of them are already in 2.2).

If you have any issue setting this up, please contact me, I will do the
best to help you.

If you have an issue, which you think is a bug, please open an issue
here[2]. Please note that Ansible is merging it's repositories, so since
next week it will actually be stored here[3]. If you are missing
anything please open an issue as well, or just contact me, and I will
do fix it. You are also very welcome to sent PR with fixes.

For those who don't have testing environment which can test against,
I've created an Vagrant project which will deploy you the oVirt instance
using Ansible playbooks. You can find how to use it here[4].

The repository also contains few examples[5], so you don't have to
copy-paste them from the source.

Thanks all for reading this and any feedback,
Ondra

[1] https://github.com/machacekondra/ovirt-tests/releases/tag/0.1
[2] https://github.com/ansible/ansible-modules-extras/issues
[3] https://github.com/ansible/ansible
[4] https://github.com/machacekondra/ovirt-tests
[5] https://github.com/machacekondra/ovirt-tests/tree/master/examples
_

Re: [ovirt-users] NAS for oVirt

2016-12-23 Thread Andrea Ghelardi
Hello Alex,
Specs you provided are a little bit vague. You don’t specify storage space.
Our main storage here is a SAN Compellent, but we do have also Synology and we 
are quite happy with it
You can start searching this or comparable product 
https://www.synology.com/en-global/products/RS2416+ for your production

Cheers
Andrea


From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
rightkicktech.gmail.com
Sent: Friday, December 23, 2016 1:50 PM
To: users@ovirt.org
Subject: [ovirt-users] NAS for oVirt

Hi all,

I am thinking to setup an environment with oVirt and centralized storage using 
a NAS that supports NFS and iSCSI.

The setup will be used to host approx 20 VMs. The VMs will be running critical 
services and not for testing. I have seen several from QNAP, iXsystems (freenas 
mini), ...
What NAS would you recommend for this setup?

Thanx,
Alex
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] BUG: "interface" field empty in "attach disk" windows Ovirt 4.0.5

2016-12-22 Thread Andrea Ghelardi
Done as requested; filed https://bugzilla.redhat.com/show_bug.cgi?id=1408134

Thank you for your help!
Andrea


From: Fred Rolland [mailto:froll...@redhat.com]
Sent: Thursday, December 22, 2016 8:01 AM
To: Andrea Ghelardi 
Cc: users 
Subject: Re: [ovirt-users] BUG: "interface" field empty in "attach disk" 
windows Ovirt 4.0.5

Thanks for reporting.
Can you open a bug ?

https://www.ovirt.org/community/get-involved/report-a-bug/

On Wed, Dec 21, 2016 at 7:06 PM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hello team,
FYI there is a minor, cosmetic bug in 4.0.5 GUI


1)  Select VM -> tab DISKS

2)  Click Attach -> “Attach” window pop-ups with list of available disks  
(attach PNG01)

3)  You can click and select interface type (attach PNG02)

4)  If you select disk to attach, Interface becomes blank (PNG03 and PNG04)

5)  If you move mouse up and down, correct entry is shown  (and just that 
one) PNG05 and PNG06

6)  Once selected, filed is still blank (in this case, Virtio-scsi) PNG07

7)  Disk is attached correctly, according to option “blindly” selected PNG08

Cheers
AG


Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com<http://www.iongroup.com/> | 
a.ghela...@iontrading.com<mailto:a.ghela...@iontrading.com>
Via San Martino, 52 – 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[iON_HBlu_small]
Automation through innovation


___
Users mailing list
Users@ovirt.org<mailto: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] "Deactivating Storage Domain" error

2016-12-20 Thread Andrea Ghelardi
I remember facing a similar issue during decommissioning of my Ovirt 3 
environment.
Several tasks showed on GUI (and storage operations unavailable) but no tasks 
on command line.
Eventually restarting the engine VM cleaned up the situation and made the 
storage avail again.

Cheers
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Elad Ben Aharon
Sent: Tuesday, December 20, 2016 5:24 PM
To: Juan Pablo 
Cc: users 
Subject: Re: [ovirt-users] "Deactivating Storage Domain" error

Do you have a storage domain in the DC in status 'locked'?

On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo 
mailto:pablo.localh...@gmail.com>> wrote:
Elad, I did that and running the commands on the SPM  returned :

[root@virt01-int ~]# vdsClient -s 0 getAllTasks

[root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0 
getConnectedStoragePoolsList`
spmId = 1
spmStatus = SPM
spmLver = 8

[root@virt01-int ~]# vdsClient -s 0 getAllTasks

[root@virt01-int ~]#

thanks for your time,
JP

2016-12-20 12:55 GMT-03:00 Elad Ben Aharon 
mailto:ebena...@redhat.com>>:
It's OK, but you need to make sure you're checking it on the host which has the 
SPM role. So, first check on the host that it is the current SPM with the 
following:

vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
Look for the host that has " spmStatus = SPM"
And after you find the SPM, check for the running tasks as you did before.


On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo 
mailto:pablo.localh...@gmail.com>> wrote:
Hi,
 thanks for your reply, I did check with vdsClient -s 0 getAllTasks , returned 
nothing. is this still the correct way to check?
regards,
JP


2016-12-20 12:32 GMT-03:00 Elad Ben Aharon 
mailto:ebena...@redhat.com>>:
Hi,

Did you check for running tasks in the SPM host?


On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
mailto:pablo.localh...@gmail.com>> wrote:
Hi,
first of all , thanks to all the Ovirt/Rhev team for the outstanding work!

we are having a small issue with Ovirt 4.0.5 after testing a full end of year 
infrastructure shutdown, everything came back correctly except that we get a 
'Deactivating Storage Domain' under the tasks tab.
another dc/cluster running 3.6.7 reported no error with same maintenance 
procedure.. maybe we did something wrong?
would you please be so kind to point me on the right direction to fix it? I 
looked

vdsClient -s 0 getAllTasks , but returns nothing...
thanks for your time guys and merry christmas and happy new year if we dont 
talk again soon!
JP

___
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 4.0.5 reporting dashboard not working.

2016-12-19 Thread Andrea Ghelardi
Hello Shirly,
No, sorry, I cannot see anything on dashboard yet.
Judging from error below I can only assume that ovirt-engine is not collecting 
history data hence DWH cannot process them (but this is just mu assumption).

Thanks
AG

From: Shirly Radco [mailto:sra...@redhat.com]
Sent: Monday, December 19, 2016 12:54 PM
To: Andrea Ghelardi 
Cc: users ; Tal Nisan ; Allon Mureinik 

Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.




Best regards,

Shirly Radco

BI Software Engineer

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109

On Mon, Dec 19, 2016 at 10:33 AM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hello Shirly,
I restarted dwh service as per your suggestion with no success.

Here a sample of DWH log:
2016-12-14 
12:31:55|kdcGa9|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
2016-12-14 
12:32:20|ncjn2O|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
2016-12-14 
15:52:37|Xx2zzb|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
2016-12-16 17:39:13|ETL Service Stopped
2016-12-16 17:39:14|ETL Service Started
ovirtEngineDbDriverClass|org.postgresql.Driver
ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/ovirt_engine_history?sslfactory=org.postgresql.ssl.NonValidatingFactory
hoursToKeepDaily|0
hoursToKeepHourly|720
ovirtEngineDbPassword|**
runDeleteTime|3
ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:5432/engine?sslfactory=org.postgresql.ssl.NonValidatingFactory
runInterleave|20
limitRows|limit 1000
ovirtEngineHistoryDbUser|ovirt_engine_history
ovirtEngineDbUser|engine
deleteIncrement|10
timeBetweenErrorEvents|30
hoursToKeepSamples|24
deleteMultiplier|1000
lastErrorSent|2011-07-03 12:46:47.00
etlVersion|4.0.5
dwhAggregationDebug|false
dwhUuid|a18846e6-d188-4170-8549-aeb1c54fa390
ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
ovirtEngineHistoryDbPassword|**


And here a sample of Engine.log

2016-12-19 04:32:05,939 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData] 
(DefaultQuartzScheduler5) [53791585] Domain 
'05c01989-18a1-4a45-9ed6-76c6badc728a:intel2-dstore04' report isn't an actual 
report
2016-12-19 04:32:05,939 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData] 
(DefaultQuartzScheduler5) [53791585] Domain 
'f0d8ea03-17ab-4feb-bbf8-408e0550fc29:boole2-dstore1' report isn't an actual 
report

Tal , Allon, Can you please update on what does this engine log error mean?



So apparently DWH is working, but that “report isn't an actual report” is quite 
obscure to me.

Did you start seeing data in the dashboard?

I need to clarify that (almost) all these storages are iscsi SAN hosted and 
have been detached from Ovirt3 installation and IMPORTED into Ovirt4.

Could you suggest for next step?
Thanks
Andrea

From: Shirly Radco [mailto:sra...@redhat.com<mailto:sra...@redhat.com>]
Sent: Thursday, December 8, 2016 10:22 AM
To: Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>
Cc: users mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

Hi Andrea,

Please try to restart the dwh service.
It is the service that collects the samples data from the engine database to a 
data warehouse, ovirt_engine_history.
run:

service ovirt-engine-dwhd restart

and send me the log again.

If data is still not collected to ovirt_engine_history db I'll need you to open 
a bug so we can follow on this there.


Best regards,

Shirly Radco

BI Software Engineer

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109

On Wed, Dec 7, 2016 at 5:43 PM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hello group,
I noticed that my dashboard does not show little colored “cubes” which show 
storage CPU and RAM usage history status.
Attached an image and logs from /var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log
Here’s an extract:

Exception in component tJDBCInput_5
org.postgresql.util.PSQLException: ERROR: smallint out of range
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.ex

Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

2016-12-19 Thread Andrea Ghelardi
Hello Shirly,
I restarted dwh service as per your suggestion with no success.

Here a sample of DWH log:
2016-12-14 
12:31:55|kdcGa9|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
2016-12-14 
12:32:20|ncjn2O|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
2016-12-14 
15:52:37|Xx2zzb|GCXnuH|PIv06L|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
2016-12-16 17:39:13|ETL Service Stopped
2016-12-16 17:39:14|ETL Service Started
ovirtEngineDbDriverClass|org.postgresql.Driver
ovirtEngineHistoryDbJdbcConnection|jdbc:postgresql://localhost:5432/ovirt_engine_history?sslfactory=org.postgresql.ssl.NonValidatingFactory
hoursToKeepDaily|0
hoursToKeepHourly|720
ovirtEngineDbPassword|**
runDeleteTime|3
ovirtEngineDbJdbcConnection|jdbc:postgresql://localhost:5432/engine?sslfactory=org.postgresql.ssl.NonValidatingFactory
runInterleave|20
limitRows|limit 1000
ovirtEngineHistoryDbUser|ovirt_engine_history
ovirtEngineDbUser|engine
deleteIncrement|10
timeBetweenErrorEvents|30
hoursToKeepSamples|24
deleteMultiplier|1000
lastErrorSent|2011-07-03 12:46:47.00
etlVersion|4.0.5
dwhAggregationDebug|false
dwhUuid|a18846e6-d188-4170-8549-aeb1c54fa390
ovirtEngineHistoryDbDriverClass|org.postgresql.Driver
ovirtEngineHistoryDbPassword|**


And here a sample of Engine.log

2016-12-19 04:32:05,939 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData] 
(DefaultQuartzScheduler5) [53791585] Domain 
'05c01989-18a1-4a45-9ed6-76c6badc728a:intel2-dstore04' report isn't an actual 
report
2016-12-19 04:32:05,939 WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData] 
(DefaultQuartzScheduler5) [53791585] Domain 
'f0d8ea03-17ab-4feb-bbf8-408e0550fc29:boole2-dstore1' report isn't an actual 
report


So apparently DWH is working, but that “report isn't an actual report” is quite 
obscure to me.
I need to clarify that (almost) all these storages are iscsi SAN hosted and 
have been detached from Ovirt3 installation and IMPORTED into Ovirt4.

Could you suggest for next step?
Thanks
Andrea

From: Shirly Radco [mailto:sra...@redhat.com]
Sent: Thursday, December 8, 2016 10:22 AM
To: Andrea Ghelardi 
Cc: users 
Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

Hi Andrea,

Please try to restart the dwh service.
It is the service that collects the samples data from the engine database to a 
data warehouse, ovirt_engine_history.
run:

service ovirt-engine-dwhd restart

and send me the log again.

If data is still not collected to ovirt_engine_history db I'll need you to open 
a bug so we can follow on this there.


Best regards,

Shirly Radco

BI Software Engineer

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109

On Wed, Dec 7, 2016 at 5:43 PM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hello group,
I noticed that my dashboard does not show little colored “cubes” which show 
storage CPU and RAM usage history status.
Attached an image and logs from /var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log
Here’s an extract:

Exception in component tJDBCInput_5
org.postgresql.util.PSQLException: ERROR: smallint out of range
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
at 
ovirt_engine_dwh.statisticssync_4_0.StatisticsSync.tJDBCInput_5Process(StatisticsSync.java:4056)
at 
ovirt_engine_dwh.statisticssync_4_0.StatisticsSync$3.run(StatisticsSync.java:15979)
Exception in component tJDBCInput_8
org.postgresql.util.PSQLException: ERROR: current transaction is aborted, 
commands ignored until end of transaction block
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at 
org.postg

Re: [ovirt-users] VM config warning

2016-12-16 Thread Andrea Ghelardi
Personally, yes I do.
Attaching some screenshots from VM and ovirt panel



-Original Message-
From: Tomáš Golembiovský [mailto:tgole...@redhat.com] 
Sent: Friday, December 16, 2016 11:58 AM
To: Andrea Ghelardi 
Cc: Gary Pedretty ; users 
Subject: Re: [ovirt-users] VM config warning

Hi,

do you have Guest Agent installed on your Windows machines?

Tomas

On Mon, 5 Dec 2016 08:29:18 +
Andrea Ghelardi  wrote:

> Same issue here right after importing my VMs from Ovirt3.5.5 to 
> Ovirt4.0 All windows server report that OS differs from configuration while 
> all settings seems correct.
> Cheers
> AG
> 
> From: Gary Pedretty [mailto:g...@ravnalaska.net]
> Sent: Sunday, December 04, 2016 00:33
> To: users 
> Subject: [ovirt-users] VM config warning
> 
> When running a Windows 2012 R2 Server VM, why does it report that the OS 
> differs from the Configuration when the selected OS in the config is Windows 
> 2012R2 x64.   Also what is the correct way to do timezones in the config on 
> these VMs, no matter what I pick it reports that Actual Timezone is different 
> in the guest versus the config, when they are both the same.
> 
> 
> Gary


--
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt 4.0.5 reporting dashboard not working.

2016-12-07 Thread Andrea Ghelardi
Hello group,
I noticed that my dashboard does not show little colored "cubes" which show 
storage CPU and RAM usage history status.
Attached an image and logs from /var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log
Here's an extract:

Exception in component tJDBCInput_5
org.postgresql.util.PSQLException: ERROR: smallint out of range
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
at 
ovirt_engine_dwh.statisticssync_4_0.StatisticsSync.tJDBCInput_5Process(StatisticsSync.java:4056)
at 
ovirt_engine_dwh.statisticssync_4_0.StatisticsSync$3.run(StatisticsSync.java:15979)
Exception in component tJDBCInput_8
org.postgresql.util.PSQLException: ERROR: current transaction is aborted, 
commands ignored until end of transaction block
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:283)
at 
ovirt_engine_dwh.statisticssync_4_0.StatisticsSync.tJDBCInput_8Process(StatisticsSync.java:5991)
at 
ovirt_engine_dwh.statisticssync_4_0.StatisticsSync$4.run(StatisticsSync.java:16025)
2016-11-27 
14:27:40|tm1tT6|GCXnuH|0jajaj|OVIRT_ENGINE_DWH|StatisticsSync|Default|6|Java 
Exception|tJDBCInput_5|org.postgresql.util.PSQLException:ERROR: smallint out of 
range|1

This is a quite fresh new installation, and restarting engine VM (hosted-engine 
-vm-stop + hosted-engine -vm-start) does not fix the problem.
Ovirt is behaving normally.

Any clue?
Cheers
Andrea



ovirt-engine-dwhd.log
Description: ovirt-engine-dwhd.log
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM config warning

2016-12-05 Thread Andrea Ghelardi
Same issue here right after importing my VMs from Ovirt3.5.5 to Ovirt4.0
All windows server report that OS differs from configuration while all settings 
seems correct.
Cheers
AG

From: Gary Pedretty [mailto:g...@ravnalaska.net]
Sent: Sunday, December 04, 2016 00:33
To: users 
Subject: [ovirt-users] VM config warning

When running a Windows 2012 R2 Server VM, why does it report that the OS 
differs from the Configuration when the selected OS in the config is Windows 
2012R2 x64.   Also what is the correct way to do timezones in the config on 
these VMs, no matter what I pick it reports that Actual Timezone is different 
in the guest versus the config, when they are both the same.


Gary






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


[ovirt-users] ovirt 4.05 windows balloon service installation wrong path

2016-12-01 Thread Andrea Ghelardi
Hello team,
FYI standard installation of Guest tool on Windows server O.S. is somehow 
flawed.
It setups a windows service named "BalloonService" with path
C:\Program Files (x86)\oVirt Guest Tools\drivers\Balloon\w2k8R2\amd64\blnsvr.exe

Unfortunately, the real path created on filesystem is
C:\Program Files (x86)\oVirt Guest Tools\drivers\Balloon\2k8R2\amd64\blnsvr.exe
(please note the missing "w" after \Baloon\ )

The easy workaround is to run this command on a "run as admin" cmd shell:
sc config BalloonService binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\drivers\Balloon\2k8R2\amd64\blnsvr.exe" DisplayName= "Baloon Service 
Ovirt 4" start= auto

I suggest to fix either the command that create path during installation or the 
one which setup the service

cheers

Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com<http://www.iongroup.com/> | 
a.ghela...@iontrading.com<mailto:a.ghela...@iontrading.com>
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[iON_HBlu_small]
Automation through innovation

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


Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-21 Thread Andrea Ghelardi
Hello Nir,

Actually Ovirt3.5 host crashes even if the storage domain has been destroyed / 
removed from ovirt (hence ovirt has no knowledge of this storage and its mpath 
device and don’t bother about it). But I guess this is what you refer to when 
you write about “handling of unmapped luns”.

However, now that I caught you online, could you confirm that deleting an 
entity ( storage domain) from Ovirt should release the sanlock?
In other words: what is the supported way to delete an iscsi SAN volume?
My current approach is:

1)  Maintenance storage domain from ovirt4

2)  Detach+remove or just destroy storage domain from ovirt4

3)  Wait ~10 minutes

4)  Access SAN control panel and unmap+delete  associated volume.

5)  Eventually, access every host server and remove mpath device manually 
(multipath -f )

SAN is a DELL Compellent SC040
Cheers
AG

From: Nir Soffer [mailto:nsof...@redhat.com]
Sent: Thursday, November 17, 2016 18:59
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers 
crash ovirt

On Thu, Nov 17, 2016 at 5:48 PM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hello again,

Just to provide an update for future reference, I’ve been unable to sort this 
problem out.
However, Ovirt4 does not show this failure.

Handling of unmapped luns was fixed in 3.6.

The best way is to upgrade to 3.6, and then upgrade to 4, and I think this is 
also
the only supported upgrade path.


My current approach to move VMs from one installation to another is:
1)Shutdown VM in ovirt3.
2)Maintenance VM storage - do you mean the storage server?
3)Clone VM storage at LUN level
4)Import cloned storage in ovirt4
5)Import VM in ovirt4
If everything is ok:

You must put the storage domain to maintenance here.

Since we don't support yet removal of pv from a storage domain, you cannot
remove a lun from a storage, you must remove the entire storage domain.

6a)  detach + remove original VM storage in ovirt3
7a)  remove mappings for original VM storage LUN in ovirt3; this imply 
cluster instability (sanlock crash on hosts);
8a)  recover cluster; this implies shutting down host (and its VM) one 
by one
9a)  delete unmapped original LUN from storage manager

When Sanlock freeze on host, the only solution found so far is to reboot it. 
This has to be done on all host experiencing this problem (which basically 
means: all hosts in the cluster)

If sanlock freezed it means that you unmapped a lun that was used by sanlock.
This is not supported.


Cheers
AG


From: Andrea Ghelardi
Sent: Tuesday, November 08, 2016 16:40
To: users@ovirt.org<mailto:users@ovirt.org>
Subject: [HELP] unmapping a deleted storage domain triggers crash ovirt

Hello people,

something’s not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I’m currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath’ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  /sys/devices/virtual/block/dm-39 (

Re: [ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-17 Thread Andrea Ghelardi
Hello again,

Just to provide an update for future reference, I've been unable to sort this 
problem out.
However, Ovirt4 does not show this failure.

My current approach to move VMs from one installation to another is:
1)Shutdown VM in ovirt3.
2)Maintenance VM storage
3)Clone VM storage at LUN level
4)Import cloned storage in ovirt4
5)Import VM in ovirt4
If everything is ok:
6a)  detach + remove original VM storage in ovirt3
7a)  remove mappings for original VM storage LUN in ovirt3; this imply 
cluster instability (sanlock crash on hosts);
8a)  recover cluster; this implies shutting down host (and its VM) one 
by one
9a)  delete unmapped original LUN from storage manager

When Sanlock freeze on host, the only solution found so far is to reboot it. 
This has to be done on all host experiencing this problem (which basically 
means: all hosts in the cluster)

Cheers
AG


From: Andrea Ghelardi
Sent: Tuesday, November 08, 2016 16:40
To: users@ovirt.org
Subject: [HELP] unmapping a deleted storage domain triggers crash ovirt

Hello people,

something's not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I'm currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath'ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n  
/sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39 (8628)\n  
/sys/devices/virtual/block/dm-39 (8629)\n  /sys/devices/virtual/block/dm-39 
(8630)\n  /sys/devices/virtual/block/dm-39 (8631)\n  
/sys/devices/virtual/block/d
m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n  
/sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39 
(8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n  
/sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39 (8639)\n  
/sys/devices/virtual/block/dm-39 (8640)\n  /sys/devices/virtual/block/dm-39 
(8641)\n  /sys/devices/virtual/block/dm-39 (8642)\n  
/sys/devices/virtual/block/dm
-39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n  
/sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39 
(8646)\n  /sys/devices/virtual/block/d

I really need your help to sort this out as I'm actually blocked in my task.

Why mapping changes triggers ovirt crash on a storage which ovirt should not 
care about?
Thanks


Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com<http://www.iongroup.com/> | 
a.ghela...@iontrading.com<mailto:a.ghela...@iontrading.com>
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If 

[ovirt-users] [HELP] unmapping a deleted storage domain triggers crash ovirt

2016-11-08 Thread Andrea Ghelardi
Hello people,

something's not right in my ovirt infrastructure.
I currently have two different ovirt installation:
Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6
Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4

I'm currently moving my guests from ovirt3 to ovirt4.
Since iscsi storage is linked to both installations, my high level approach is:

1)  Shutdown VM in ovirt3.

2)  Maintenance + detach + remove VM storage in ovirt3

3)  Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4

4)  Import storage in ovirt4

5)  Import VM in ovirt4

6)  Run and cheers with high grade liquor. GOTO step 1 for different VM.

Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy 
and eventually forces me to reboot all hosts one by one.
I tried different low level approaches to unmap LUN mpath'ed from hosts with 
inconsistent results.
A notable error log extract is:
Nov  8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm 
settle - timeout of 5 seconds reached, the event queue contains:\n  
/sys/devices/virtual/block/dm-39 (8603)\n  /sys/devices/virtual/block/dm-39 
(8604)\n  /sys
/devices/virtual/block/dm-39 (8605)\n  /sys/devices/virtual/block/dm-39 
(8606)\n  /sys/devices/virtual/block/dm-39 (8607)\n  
/sys/devices/virtual/block/dm-39 (8608)\n  /sys/devices/virtual/block/dm-39 
(8609)\n  /sys/devices/virtual/block
/dm-39 (8610)\n  /sys/devices/virtual/block/dm-39 (8611)\n  
/sys/devices/virtual/block/dm-39 (8612)\n  /sys/devices/virtual/block/dm-39 
(8613)\n  /sys/devices/virtual/block/dm-39 (8614)\n  
/sys/devices/virtual/block/dm-39 (8615)\n  /sys/
devices/virtual/block/dm-39 (8616)\n  /sys/devices/virtual/block/dm-39 (8617)\n 
 /sys/devices/virtual/block/dm-39 (8618)\n  /sys/devices/virtual/block/dm-39 
(8619)\n  /sys/devices/virtual/block/dm-39 (8620)\n  /sys/devices/virtual/block/
dm-39 (8621)\n  /sys/devices/virtual/block/dm-39 (8622)\n  
/sys/devices/virtual/block/dm-39 (8623)\n  /sys/devices/virtual/block/dm-39 
(8624)\n  /sys/devices/virtual/block/dm-39 (8625)\n  
/sys/devices/virtual/block/dm-39 (8626)\n  /sys/d
evices/virtual/block/dm-39 (8627)\n  /sys/devices/virtual/block/dm-39 (8628)\n  
/sys/devices/virtual/block/dm-39 (8629)\n  /sys/devices/virtual/block/dm-39 
(8630)\n  /sys/devices/virtual/block/dm-39 (8631)\n  
/sys/devices/virtual/block/d
m-39 (8632)\n  /sys/devices/virtual/block/dm-39 (8633)\n  
/sys/devices/virtual/block/dm-39 (8634)\n  /sys/devices/virtual/block/dm-39 
(8635)\n  /sys/devices/virtual/block/dm-39 (8636)\n  
/sys/devices/virtual/block/dm-39 (8637)\n  /sys/de
vices/virtual/block/dm-39 (8638)\n  /sys/devices/virtual/block/dm-39 (8639)\n  
/sys/devices/virtual/block/dm-39 (8640)\n  /sys/devices/virtual/block/dm-39 
(8641)\n  /sys/devices/virtual/block/dm-39 (8642)\n  
/sys/devices/virtual/block/dm
-39 (8643)\n  /sys/devices/virtual/block/dm-39 (8644)\n  
/sys/devices/virtual/block/dm-39 (8645)\n  /sys/devices/virtual/block/dm-39 
(8646)\n  /sys/devices/virtual/block/d

I really need your help to sort this out as I'm actually blocked in my task.

Why mapping changes triggers ovirt crash on a storage which ovirt should not 
care about?
Thanks


Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com<http://www.iongroup.com/> | 
a.ghela...@iontrading.com<mailto:a.ghela...@iontrading.com>
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[iON_HBlu_small]
Automation through innovation

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


[ovirt-users] Ovirt 4.04 unable to umount LUNs on hosts

2016-10-04 Thread Andrea Ghelardi
Hello ovirt gurus,
I'd like to bother you with a long lasting issue I face.
My (new) test setup (not production one) is running ovirt 4.04 hosted engine on 
a Dell R510 server connected to SAN Compellent SC040 via iscsi.
All systems installed from scratch following guidelines.
Ovirt hosted engine installed using ovirt-appliance.
Everything is working "fine".
BUT
We are unable to perform a clear LUN removal.
We can perform all actions from web interface (storage add, maintenance, 
detach, delete) with no error.
However, underlying device remains mapped to server. As a result, we are unable 
to unmap the LUN otherwise multipath fails, server fails, ovirt fails etc.

Steps to reproduce:

1)  Create LUN on SAN, map it to server -> OK

2)  Log in ovirt web interface, add a new storage targeting LUN -> OK

3)  Create disk, create VM setup VM, (optional) -> OK

4)  Shutdown VM -> OK

5)  Ovirt: Put storage in maintenance -> OK

6)  Ovirt: Detach storage -> OK

7)  Ovirt: Delete storage -> OK

Expected result:
Ovirt unmaps and remove device from multipath so that it can be destroyed at 
SAN storage level.
It should be possible to perform this action even when host is not in 
maintenance.

Current result: volume remain locked in multipath (map in use).
Trying vgchange -a n  and then multipath -f  removes device, 
but then it is automatically re-added after a while (???)

Please note: this is the same behavior we always faced also with our ovirt 
production environment.
Details attached. Volume to be removed: LUN 64

Any ideas?
Thanks
AG
[root@barbera log]# multipath -ll
36000d310004edc64 dm-0 COMPELNT,Compellent Vol
size=100G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 18:0:0:2 sdk  8:160  active ready running
  |- 19:0:0:2 sdm  8:192  active ready running
  |- 22:0:0:2 sdq  65:0   active ready running
  |- 23:0:0:2 sds  65:32  active ready running
  |- 24:0:0:2 sdu  65:64  active ready running
  |- 28:0:0:2 sdaa 65:160 active ready running
  |- 29:0:0:2 sdab 65:176 active ready running
  |- 5:0:0:2  sdc  8:32   active ready running
  `- 6:0:0:2  sdg  8:96   active ready running
36000d310004edc62 dm-1 COMPELNT,Compellent Vol
size=1.0T features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 5:0:0:1  sdb  8:16   active ready running
  |- 6:0:0:1  sdd  8:48   active ready running
  |- 19:0:0:1 sdl  8:176  active ready running
  |- 18:0:0:1 sdj  8:144  active ready running
  |- 22:0:0:1 sdp  8:240  active ready running
  |- 23:0:0:1 sdr  65:16  active ready running
  |- 24:0:0:1 sdt  65:48  active ready running
  |- 29:0:0:1 sdz  65:144 active ready running
  `- 28:0:0:1 sdy  65:128 active ready running
36000d310004edc61 dm-19 COMPELNT,Compellent Vol
size=120G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 8:0:0:1  sdf  8:80   active ready running
  |- 7:0:0:1  sde  8:64   active ready running
  |- 11:0:0:1 sdh  8:112  active ready running
  |- 12:0:0:1 sdi  8:128  active ready running
  |- 20:0:0:1 sdn  8:208  active ready running
  |- 21:0:0:1 sdo  8:224  active ready running
  |- 25:0:0:1 sdv  65:80  active ready running
  |- 26:0:0:1 sdw  65:96  active ready running
  `- 27:0:0:1 sdx  65:112 active ready running
[root@barbera log]#
[root@barbera log]# lsscsi
[0:0:0:0]diskSEAGATE  ST3300657SS  ES66  -
[0:0:1:0]diskSEAGATE  ST3300657SS  ES66  -
[0:1:0:0]diskDell Virtual Disk 1028  /dev/sda
[3:0:0:0]cd/dvd  PLDS DVD+-RW DS-8A8SH KD51  /dev/sr0
[5:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sdb
[5:0:0:2]diskCOMPELNT Compellent Vol   0606  /dev/sdc
[6:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sdd
[6:0:0:2]diskCOMPELNT Compellent Vol   0606  /dev/sdg
[7:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sde
[8:0:0:1]diskCOMPELNT Compellent Vol   0606  /dev/sdf
[11:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdh
[12:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdi
[18:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdj
[18:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sdk
[19:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdl
[19:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sdm
[20:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdn
[21:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdo
[22:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdp
[22:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sdq
[23:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdr
[23:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sds
[24:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdt
[24:0:0:2]   diskCOMPELNT Compellent Vol   0606  /dev/sdu
[25:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/sdv
[26:0:0:1]   diskCOMPELNT Compellent Vol   0606  /dev/

Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-09-02 Thread Andrea Ghelardi
Ciao Sandro,
I understand your curiosity, and as said this is our production environment and 
we do not have a test one to check upgrades before going live.
Coupled with the fact that system performed reasonably well until now and that 
we have a long time (bad) habit of “not trying to fix what’s not broken”, we 
ended up in this situation.
I’m trying to fix this approach since the last few months but changing company 
habits is a rather slow process.

Cheers
AG

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Friday, September 02, 2016 10:45
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates 
unique constraint "pk_images" during import



On Thu, Sep 1, 2016 at 2:38 PM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hi Sandro,
Since this is a production environment, our upgrade project is not so quick to 
complete.
Are you asking because you think this database issue would be cleared by an 
upgrade or maybe because we could check the bug on a currently maintained 
version? ☺



No, I'm just asking because 3.5.6 has been released on 2015-12-01. You haven't 
updated to 3.6 in 3.6 life cycle and now even 3.6 is gone to end of life adn 
we're already at 3rd maintenace release for 4.0.
You're missing something like 2000 bug fixes / updates including security 
fixes, urgent and high severity fixes and lot of new features (that you may or 
may not need, but still...)
So I'm just curious about why you didn't upgrade. If something blocked the 
upgrade on a test environment or an upgrade on a new version showed regressions 
or degraded performance or maybe just a matter of "don't change what works fine"


Cheers
AG

From: Sandro Bonazzola [mailto:sbona...@redhat.com<mailto:sbona...@redhat.com>]
Sent: Thursday, September 01, 2016 14:03
To: Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>>
Cc: users@ovirt.org<mailto:users@ovirt.org>
Subject: Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates 
unique constraint "pk_images" during import

Hi Andrea, I'm a bit curious, any reason for staying on 3.5 and not upgrading 
to 3.6 / 4.0 ?

On Mon, Aug 15, 2016 at 12:47 AM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hallo all,

I’m currently unable to import/activate VM due to error above.
It has been a long series of unfortunate events.
Long story short:
- VM running on storage on iscsi failing disks
- put storage and server in maint. Shut down server
- restart server.
- server has a misconfiguration on lvm/multipath rules (not due to ovirt)
- put storage and server active
- cluster goes down. Put storage in maintenance again. Detached storage from 
cluster (ach! That was unfortunate).
- cluster now ok. Storage ok. Activate storage.
- trying to import VM. Ovirt replies with error in subject and attached.

How can I recover from this situation?
It would be great to recover the entire VM, but I’m more interested in disks 
which are in unregistered state than VM itself.

Thank you all

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



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com<http://redhat.com>
<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>


<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
 <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
-- <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at 
redhat.com<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B53f97a34-013e-4b79-966f-222f50a6de8c%7D_Red_Hat_Open_Source_Day_2_CITIES.png]<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-09-01 Thread Andrea Ghelardi
Hi Sandro,
Since this is a production environment, our upgrade project is not so quick to 
complete.
Are you asking because you think this database issue would be cleared by an 
upgrade or maybe because we could check the bug on a currently maintained 
version? ☺

Cheers
AG

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Thursday, September 01, 2016 14:03
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates 
unique constraint "pk_images" during import

Hi Andrea, I'm a bit curious, any reason for staying on 3.5 and not upgrading 
to 3.6 / 4.0 ?

On Mon, Aug 15, 2016 at 12:47 AM, Andrea Ghelardi 
mailto:a.ghela...@iontrading.com>> wrote:
Hallo all,

I’m currently unable to import/activate VM due to error above.
It has been a long series of unfortunate events.
Long story short:
- VM running on storage on iscsi failing disks
- put storage and server in maint. Shut down server
- restart server.
- server has a misconfiguration on lvm/multipath rules (not due to ovirt)
- put storage and server active
- cluster goes down. Put storage in maintenance again. Detached storage from 
cluster (ach! That was unfortunate).
- cluster now ok. Storage ok. Activate storage.
- trying to import VM. Ovirt replies with error in subject and attached.

How can I recover from this situation?
It would be great to recover the entire VM, but I’m more interested in disks 
which are in unregistered state than VM itself.

Thank you all

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



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com<http://redhat.com>
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B53f97a34-013e-4b79-966f-222f50a6de8c%7D_Red_Hat_Open_Source_Day_2_CITIES.png]<https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-09-01 Thread Andrea Ghelardi
Thank you Jakub,
I'll try first option and let you know.
Unfortunately, it will take time as it implies installing a new system...

Cheers
AG 

-Original Message-
From: Jakub Niedermertl [mailto:jnied...@redhat.com] 
Sent: Friday, August 19, 2016 00:25
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates 
unique constraint "pk_images" during import

Hi Andrea,

IIUIC the problem occurs during import VM from external domain. I can see two 
options to save data on disks:
* Export storage domain can be detached and removed from engine. Install new 
separate engine and try to import VMs into new engine.
* Alternative is to use virt-viewer to create a vm and directly attach images 
form export domain to the vm. The images have standard qcow2 format.

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


[ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-08-14 Thread Andrea Ghelardi
Hallo all,

I'm currently unable to import/activate VM due to error above.
It has been a long series of unfortunate events.
Long story short:
- VM running on storage on iscsi failing disks
- put storage and server in maint. Shut down server
- restart server.
- server has a misconfiguration on lvm/multipath rules (not due to ovirt)
- put storage and server active
- cluster goes down. Put storage in maintenance again. Detached storage from 
cluster (ach! That was unfortunate).
- cluster now ok. Storage ok. Activate storage.
- trying to import VM. Ovirt replies with error in subject and attached.

How can I recover from this situation?
It would be great to recover the entire VM, but I'm more interested in disks 
which are in unregistered state than VM itself.

Thank you all
2016-08-14 17:49:32,414 INFO  
[org.ovirt.engine.core.bll.ImportVmFromConfigurationCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] Lock Acquired to object EngineLock [exclus
iveLocks= key: Hertz value: VM_NAME
, sharedLocks= key: 49950ad2-05cd-4c5a-bde7-b702199fa250 value: REMOTE_VM
]
2016-08-14 17:49:32,446 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] START, DoesImageExistVDSCommand( s
toragePoolId = 0002-0002-0002-0002-009c, ignoreFailoverLimit = 
false, storageDomainId = 2103720d-5821-482e-a265-2152ec97eb0f, imageGroupId = 
29b97d45-e481-4
35d-a50a-f2a890a678bf, imageId = 0225fa05-be1e-44a6-9d9e-1203b8144933), log id: 
3d5b900c
2016-08-14 17:49:32,604 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] FINISH, DoesImageExistVDSCommand,
return: true, log id: 3d5b900c
2016-08-14 17:49:32,605 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] START, DoesImageExistVDSCommand( s
toragePoolId = 0002-0002-0002-0002-009c, ignoreFailoverLimit = 
false, storageDomainId = a074b2a8-0cd3-4d28-bc29-ad37587a8777, imageGroupId = 
bba3bd45-d02d-4
032-8bb0-e723b7acf23b, imageId = 20f9d5eb-b4d9-4a5d-b75e-3af013c56604), log id: 
464e234c
2016-08-14 17:49:32,792 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] FINISH, DoesImageExistVDSCommand,
return: true, log id: 464e234c
2016-08-14 17:49:32,792 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] START, DoesImageExistVDSCommand( s
toragePoolId = 0002-0002-0002-0002-009c, ignoreFailoverLimit = 
false, storageDomainId = 2103720d-5821-482e-a265-2152ec97eb0f, imageGroupId = 
6804229e-68f7-4
6a8-90d3-c065529f9624, imageId = 76b4f302-5182-478d-a7d3-cf4c8b6abe40), log id: 
254ca74a
2016-08-14 17:49:32,815 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] FINISH, DoesImageExistVDSCommand,
return: true, log id: 254ca74a
2016-08-14 17:49:32,815 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] START, DoesImageExistVDSCommand( s
toragePoolId = 0002-0002-0002-0002-009c, ignoreFailoverLimit = 
false, storageDomainId = 2103720d-5821-482e-a265-2152ec97eb0f, imageGroupId = 
217a34f9-ca8c-4a13-a2a2-9dde4c329c55, imageId = 
621c0b0c-c041-46e0-8c00-e69896fcf554), log id: 4b7afe67
2016-08-14 17:49:32,842 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] FINISH, DoesImageExistVDSCommand, return: 
true, log id: 4b7afe67
2016-08-14 17:49:32,843 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] START, DoesImageExistVDSCommand( 
storagePoolId = 0002-0002-0002-0002-009c, ignoreFailoverLimit = 
false, storageDomainId = 2103720d-5821-482e-a265-2152ec97eb0f, imageGroupId = 
efb67e0b-c592-406a-949c-121102eef796, imageId = 
44420cae-7c90-461a-bee1-7552758ecee9), log id: 77d442e7
2016-08-14 17:49:32,865 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] 
(ajp--127.0.0.1-8702-9) [446f3b0e] FINISH, DoesImageExistVDSCommand,
2016-08-14 17:49:32,908 INFO  
[org.ovirt.engine.core.bll.ImportVmFromConfigurationCommand] 
(org.ovirt.thread.pool-8-thread-42) [446f3b0e] Running command: 
ImportVmFromConfigurationCommand internal: false. Entities affected :  ID: 
a074b2a8-0cd3-4d28-bc29-ad37587a8777 Type: StorageAction group IMPORT_EXPORT_VM 
with role type ADMIN,  ID: 2103720d-5821-482e-a265-2152ec97eb0f Type: 
StorageAction group IMPORT_EXPORT_VM with role type ADMIN,  ID: 
2103720d-5821-482e-a265-2152ec97eb0f Type: StorageAction group IMPORT_EXPORT_VM 
with role type ADMIN,  ID: 2103720d-5821-482e-a265-2152ec97eb0f Type: 
StorageAction group IMPORT_EXPORT_VM with role type ADMIN,  ID: 
2103720d-5821-482e-a265-2152ec97eb0f Type: StorageAction group IMPORT_EXPORT_VM 
with role type ADMIN
2016-08-14 17:49:33,079 INFO  

Re: [ovirt-users] virt-v2v error

2015-11-16 Thread Andrea Ghelardi
-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf
Of Fernando Fuentes
Sent: Monday, November 16, 2015 5:57 AM
To: users@ovirt.org
Subject: [ovirt-users] virt-v2v error

Team,

I am trying to upload an image that I recently created under kvm and I am
getting an error:

root@darkdreams's password:
Meteohub-v4.7-4GB.raw: 100%
[==]D
0h00m46s
/tmp/r9piD51Hvb/49fcc7e8-e8e1-4cfa-8b5a-0a20165a6689/v2v.fmUdW98I/eec34b45
-f6b1-49a9-a9f0-b956ee4f8ee6/b7fbe285-6f91-4777-b478-cd484a6da9a7:
Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 549.


Apparently redhat has this posted on their Knowledge base under (Error
when running virt-v2v ("Permission denied")) with a solution but I do not
have access.

Does any body have any idea why this is happening?

TIA!

^^^
Hi Fernando,

The red hat bug id would have been appreciated, anyway this is the
resolution proposed

Resolution

Add the no_root_squash option to the NFS export (RHEV export domain -
/etc/exports):
/data/export*(rw,no_root_squash)


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


Re: [ovirt-users] upgrade path from Ovirt 3.5x to 3.6x

2015-10-12 Thread Andrea Ghelardi
Thanks Michal,

Your reply somehow answer to my question, but I still have some bits of
fuzziness

Hosted engine VM upgrade itself is almost clear (maintenance, db backup,
reformat, reinstall, db import).

However:

1.   Inter-cluster migration is somehow unsupported. Should we worried
about moving VM from EL6 cluster to EL7? You know... different vdsm etc
is ovirt migration feature atomic and reversible (if something goes wrong
during the process)?

2.   More important: the only Ovirt version that supports both EL6.6
and EL7.1 is 3.53. my real question is: what happen as soon as I finish
upgrade of my ovirt to version 3.54 (or 3.55) *while running HOSTS on EL6.6*
?



I mean, there will be a point in time when a version mismatch/overlap will
be unavoidable.

For example: how people should correctly jump from version 3.53 (EL6.6) to
3.54 (EL6.7)?



Ovirt team should support at least one or two previous version to support
overlaps...



Thanks

AG



*From:* Michal Skrivanek [mailto:michal.skriva...@redhat.com]
*Sent:* Friday, October 09, 2015 1:33 PM
*To:* Andrea Ghelardi
*Cc:* users (users@ovirt.org); Simone Tiraboschi
*Subject:* Re: [ovirt-users] upgrade path from Ovirt 3.5x to 3.6x





nono, the upgrade is live and all your VMs can keep humming. But there are
manual steps involved:



Simone can probably update about Hosted Engine which would be somewhat
special, but at least for regular VMs you can currently use:

1) create a new cluster with same settings as your existing cluster

2) remove one host from the old cluster (the one to be upgraded/reinstalled
to EL7). While moving the host to maintenance your VMs will be migrated to
other EL6 hosts in that cluster (make sure you have enough capacity to do
that beforehand, of course:)

3) upgrade/reinstall the host with EL7. If youdon't have anything custom on
the host reinstallation might be the best option

4) add it to the new cluster, installing/deploying it via UI, then it
should come up - this is your EL7-based cluster now

5) manually migrate (Migrate To button) some of your VMs from the old
cluster to the new one (there's an advanced section in the dialog, allowing
you cross-cluster migrations

6) repeat until all your hosts and VMs are on EL7-based cluster, then you
can decommission it, and perhaps rename the cluster back to its original
name



Thanks,

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


[ovirt-users] upgrade path from Ovirt 3.5x to 3.6x

2015-10-08 Thread Andrea Ghelardi
Hallo,

I needed a quick confirmation on this subject.



Our environment is Ovirt 3.511 (yes, I’ll upgrade soon, I know) running on
a Centos 6.6 hosted engine VM on a cluster of Centos 6.6 physical servers.



Since Ovirt 3.6x will be compatible with Centos 7 hypervisor only, how I’m
supposed to upgrade hosted engine, VM and HOSTs?



i.e. readme tells us the well known procedure (put hosted eng in
maintenance, upgrade, etc) but I will eventually end in a scenario where my
hosted engine 3.6 will run on centos 7 VM running (on) a lot of centos 6.6
servers...



Please tell me I have not to create a totally different datacenter and
export -> import all VMs...



Thank you!

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


Re: [ovirt-users] oVirt Instability with Dell Compellent via iSCSI/Multipath

2015-05-20 Thread Andrea Ghelardi
Hi Chris,
I have an Ovirt + Dell Compellent similar to yours (previous model, not
SC8000) and sometimes I faced issues similar to yours.
>From my experience I can advise you to
A) check links between SAN and servers, all paths, all configuration,
cabling. Everything should be setup correctly (all redundant paths green,
server mappings etc) BEFORE installing ovirt. We had a running KVM
environment before "upgrading" it to ovirt 3.5.1
B) Also check fencing is working both manually and automatically
(connections to iDRAC etc). This is a kind of pre-requisite to have HA
working.
C) I also noticed that when something is not going well on one of the
shared storage, this brings down the whole cluster (VM run, but a lot of
headaches being). First of all note that ovirt tries to stabilize the
situation itself for as long as ~15 minutes or more. It is slow in
re-fencing etc. Sometimes it enters in a loop and you have to locate the
problematic storage. You want to check the multipath on every server is
working correctly.

If you are having problems with just two nodes, I guess something is not
really ok at configuration level. I have 2 clusters, 12 hosts and several
(lots) of shared storage working and usually when something goes wrong is
because of an human error (like when I deleted the LUN on the SAN before
destroying the storage on the ovirt interface).

On the hand, I have the overall impression that the system is not
forgiving at all and that it is far from being rock solid.

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


Re: [ovirt-users] missing disk after storage domain expansion [SOLVED]

2015-05-20 Thread Andrea Ghelardi
Thanks for all your information.
I created a linux script as per details below.
Attached to this email (some info purged)

Gentlemen, we have a disk now!

I'm marking the post as solved ... even though we do not know where the disk
gone in these weeks yet.
Probably unexpected vacation @Cuba? This disk won't reclaim expenses though

I will create a test VM and perform some tests in the future with the
expansion feature
Thank you for all your support
More cats: https://www.youtube.com/watch?v=cWKmorjUzF0
AG

-Original Message-
From: Juan Hernández [mailto:jhern...@redhat.com]
Sent: Wednesday, May 20, 2015 10:37 AM
To: Maor Lipchuk; Andrea Ghelardi
Cc: users@ovirt.org
Subject: Re: [ovirt-users] missing disk after storage domain expansion

On 05/19/2015 06:23 PM, Maor Lipchuk wrote:
> Hi Andrea,
>
> I'm using "postman" chrome-extension to execute my REST requests.
>
> For firefox the rest-client add-on you can use is
> https://addons.mozilla.org/de/firefox/addon/restclient/
>
> Juan, do we have a wiki for step by step instructions of REST
>
> Regards,
> Maor
>

I'd suggest to try a command line client, as it is easier to share the
results and check what is going wrong. You can use the "curl" command, for
example. Assuming that you already know the identifiers of the storage
domain and of the disk to register it should be something like this:

---8<---
#!/bin/sh -ex

url="https://yourengine/ovirt-engine/api";
user="your user"
password="your password"
storage_domain_id="the storage domain id"
disk_id="the disk id"

curl \
--verbose \
--insecure \
--user "${user}:${password}" \
--request POST \
--header "Content-Type: application/xml" \ --header "Accept:
application/xml" \ --data "

" \
"${url}/storagedomains/${storage_domain_id}/disks;unregistered"
--->8---

>
> - Original Message -
>> From: "Andrea Ghelardi" 
>> To: "Maor Lipchuk" 
>> Cc: users@ovirt.org
>> Sent: Tuesday, May 19, 2015 4:46:09 PM
>> Subject: RE: [ovirt-users] missing disk after storage domain
>> expansion
>>
>> I got an error but I'm not 100% sure I did everything correctly Error
>> below:
>> JBoss Web/7.0.13.Final - Error
>> report<!--H1
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#52
>> 5D76;font-size:22px;}
>> H2
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#52
>> 5D76;font-size:16px;}
>> H3
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#52
>> 5D76;font-size:14px;}
>> BODY
>> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:whi
>> te;} B
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#52
>> 5D76;}
>> P
>> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;fon
>> t-size:12px;}A {color : black;}A.name {color : black;}HR {color :
>> #525D76;}--> HTTP Status 415 - Cannot
>> consume content type> noshade="noshade">type Status reportmessage
>> Cannot consume content typedescription The
>> server refused this request because the request entity is in a format
>> not supported by the requested resource for the requested method
>> (Cannot consume content type).> noshade="noshade">JBoss Web/7.0.13.Final
>>
>> Actions:
>> Used RESTclient 2.3.0 for Firefox to POST this body > id='16736ce0-a9df-410f-9f29-3a28364cdd41'>
>>
>> I think I need a step by step guide about how to use the REST client
>> to POST commands to ovirt service remotely
>>
>> Cheers
>> AG
>>
>> -Original Message-
>> From: Maor Lipchuk [mailto:mlipc...@redhat.com]
>> Sent: Monday, May 18, 2015 4:50 PM
>> To: Andrea Ghelardi
>> Subject: Re: [ovirt-users] missing disk after storage domain
>> expansion
>>
>> I've went through the logs, though I didn't noticed any special
>> information.
>> Please let me know how the registration of the disk went.
>>
>> Regards,
>> Maor
>>
>>
>>
>> - Original Message -
>>> From: "Andrea Ghelardi" 
>>> To: "Maor Lipchuk" 
>>> Sent: Monday, May 18, 2015 4:35:30 PM
>>> Subject: RE: [ovirt-users] missing disk after storage domain
>>> expansion
>>>
>>> Here the full set of logs as promised.
>>>
>>> Unfortunately, I do not think I have vdsm logs pointing to that date
>>> (logs rotated already).
>>> I tried to search for
>>> xzgrep 16736ce0-a9df-410f-9f29-3

Re: [ovirt-users] missing disk after storage domain expansion

2015-05-19 Thread Andrea Ghelardi
I got an error but I'm not 100% sure I did everything correctly
Error below:
JBoss Web/7.0.13.Final - Error
report<!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}-->
HTTP Status 415 - Cannot consume content typetype Status reportmessage
Cannot consume content typedescription The server
refused this request because the request entity is in a format not supported
by the requested resource for the requested method (Cannot consume content
type).JBoss
Web/7.0.13.Final

Actions:
Used RESTclient 2.3.0 for Firefox to POST this body


I think I need a step by step guide about how to use the REST client to POST
commands to ovirt service remotely

Cheers
AG

-Original Message-
From: Maor Lipchuk [mailto:mlipc...@redhat.com]
Sent: Monday, May 18, 2015 4:50 PM
To: Andrea Ghelardi
Subject: Re: [ovirt-users] missing disk after storage domain expansion

I've went through the logs, though I didn't noticed any special information.
Please let me know how the registration of the disk went.

Regards,
Maor



- Original Message -
> From: "Andrea Ghelardi" 
> To: "Maor Lipchuk" 
> Sent: Monday, May 18, 2015 4:35:30 PM
> Subject: RE: [ovirt-users] missing disk after storage domain expansion
>
> Here the full set of logs as promised.
>
> Unfortunately, I do not think I have vdsm logs pointing to that date
> (logs rotated already).
> I tried to search for
> xzgrep 16736ce0-a9df-410f-9f29-3a28364cdd41 /var/log/vdsm/* but
> nothing found
>
> cheers
> AG
>
> -Original Message-
> From: Andrea Ghelardi [mailto:a.ghela...@iontrading.com]
> Sent: Monday, May 18, 2015 3:30 PM
> To: 'Maor Lipchuk'
> Cc: 'users@ovirt.org'
> Subject: RE: [ovirt-users] missing disk after storage domain expansion
>
> Hi Maor,
>
> 1) disk creation: ok
> 2) no free space at the moment of creation: this is very strange! Are
> you sure? I assure you the disk was working, exported to VM which
> formatted and wrote data on it
> 3) no disk removal mention: this is the very issue I'm facing. In fact
> disk disappeared with no notification, no logs, nothing. I'm
> forwarding you full set of engine.log separately. If you need
> vdsm.logs just tell me from which server you need it as I have several
> cluster.
> 4) I have not yet tried to register using the procedure you provided
> me earlier. I'll try tomorrow.
>
> Thanks
> AG
>
>
> -Original Message-
> From: Maor Lipchuk [mailto:mlipc...@redhat.com]
> Sent: Monday, May 18, 2015 1:15 PM
> To: Andrea Ghelardi
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] missing disk after storage domain expansion
>
> Hi Andrea,
>
> I guessed I missed those logs, I found it now, thanks.
>
> I do see the disk creation in the log from 20150501, I can also see
> that the Storage Domain hertz-dstore2 has 0 GB of free space at the
> moment of
> creation:
> 2015-05-01 03:30:05,801 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (DefaultQuartzScheduler_Worker-92) Correlation ID: null, Call Stack:
> null, Custom Event ID: -1, Message: Critical, Low disk space.
> hertz-dstore2 domain has 0 GB of free space
>
> though, I don't see any indication of the removed disks from the engine.
> I have also noticed a gap from the first log which finished at
> 2015-05-01
> 03:30:05 and the other log which starts at 2015-05-04 03:22:19,879.
>
> Did you try to register the disk as described in the wiki?
>
> Regards,
> Maor
>
>
>
>
> - Original Message -
> > From: "Andrea Ghelardi" 
> > To: "Maor Lipchuk" 
> > Cc: users@ovirt.org
> > Sent: Monday, May 18, 2015 12:10:55 PM
> > Subject: RE: [ovirt-users] missing disk after storage domain
> > expansion
> >
> > Hi Maor,
> > I already added logs in my previous email, did you received them?
> > I'm sending them again, but only privately to you not to burden the
> > mailing list (or let me know if you prefer otherwise).
> >
> > Cheers
> > AG
> >
> >
> > -Original Message-
> > From: Maor Lipchuk [mailto:mlipc...@redhat.com]
> > Sent: Saturday, May 16, 2015 1

Re: [ovirt-users] missing disk after storage domain expansion

2015-05-18 Thread Andrea Ghelardi
Hi Maor,

1) disk creation: ok
2) no free space at the moment of creation: this is very strange! Are you
sure? I assure you the disk was working, exported to VM which formatted and
wrote data on it
3) no disk removal mention: this is the very issue I'm facing. In fact disk
disappeared with no notification, no logs, nothing. I'm forwarding you full
set of engine.log separately. If you need vdsm.logs just tell me from which
server you need it as I have several cluster.
4) I have not yet tried to register using the procedure you provided me
earlier. I'll try tomorrow.

Thanks
AG


-Original Message-
From: Maor Lipchuk [mailto:mlipc...@redhat.com]
Sent: Monday, May 18, 2015 1:15 PM
To: Andrea Ghelardi
Cc: users@ovirt.org
Subject: Re: [ovirt-users] missing disk after storage domain expansion

Hi Andrea,

I guessed I missed those logs, I found it now, thanks.

I do see the disk creation in the log from 20150501, I can also see that the
Storage Domain hertz-dstore2 has 0 GB of free space at the moment of
creation:
2015-05-01 03:30:05,801 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler_Worker-92) Correlation ID: null, Call Stack: null,
Custom Event ID: -1, Message: Critical, Low disk space. hertz-dstore2 domain
has 0 GB of free space

though, I don't see any indication of the removed disks from the engine.
I have also noticed a gap from the first log which finished at 2015-05-01
03:30:05 and the other log which starts at 2015-05-04 03:22:19,879.

Did you try to register the disk as described in the wiki?

Regards,
Maor




- Original Message -----
> From: "Andrea Ghelardi" 
> To: "Maor Lipchuk" 
> Cc: users@ovirt.org
> Sent: Monday, May 18, 2015 12:10:55 PM
> Subject: RE: [ovirt-users] missing disk after storage domain expansion
>
> Hi Maor,
> I already added logs in my previous email, did you received them?
> I'm sending them again, but only privately to you not to burden the
> mailing list (or let me know if you prefer otherwise).
>
> Cheers
> AG
>
>
> -Original Message-
> From: Maor Lipchuk [mailto:mlipc...@redhat.com]
> Sent: Saturday, May 16, 2015 10:03 AM
> To: Andrea Ghelardi
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] missing disk after storage domain expansion
>
> Hi Andrea,
>
> The OVF_STORE disks are disks which mainly being used internally in
> the engine to store VMs' and Templates' OVFs, you can disregard them for
> now.
>
> The behavior you mentioned, that suddenly the disk has disappeared
> from the setup, sounds very weird and I would like to investigate this a
> bit more.
> if you can please add the engine and vdsm logs, I can know what made
> the disk get removed from the setup, at the first place.
> Could it be that some one accessed the data base by any chance?
>
> Regarding the disk registration, basically it should not create any
> problems unless, if your disk was deleted manually form the DB, and
> there are still leftovers related to the disk in some of the tables.
> Once the disk is registered to the setup, you can try to attach it to
> the VM, and try to run it.
>
>
> Regards,
> Maor
>
>
>
> - Original Message -
> > From: "Andrea Ghelardi" 
> > To: "Maor Lipchuk" 
> > Cc: users@ovirt.org
> > Sent: Friday, May 15, 2015 4:54:25 PM
> > Subject: RE: [ovirt-users] missing disk after storage domain
> > expansion
> >
> > After querying the hosted engine with the suggested command
> > https://pisa-ion-ovirtm-01/ovirt-engine/api/storagedomains/7a48fe46-
> > 21 12-40a4-814f-24d74c760b2d/disks;unregistered
> >
> > Indeed shows  a (unregistered?) disk
> >
> >  
> >  > href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41"
> > id="16736ce0-a9df-410f-9f29-3a28364cdd41">
> > 
> >  > href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41/export"
> > rel="export"/>
> > 
> > hertz_disk5
> > disk for SYBASE installation, on SAN shared
> > storage  > href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41/permissions"
> > rel="permissions"/>
> >  > href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41/statistics"
> > rel="statistics"/>
> > hertz_disk5
> > 4ab070c0-fb16-452d-8521-4ff0b004aef3
> >  > href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c76

Re: [ovirt-users] missing disk after storage domain expansion

2015-05-18 Thread Andrea Ghelardi
Hi Maor,
I already added logs in my previous email, did you received them?
I'm sending them again, but only privately to you not to burden the mailing
list (or let me know if you prefer otherwise).

Cheers
AG


-Original Message-
From: Maor Lipchuk [mailto:mlipc...@redhat.com]
Sent: Saturday, May 16, 2015 10:03 AM
To: Andrea Ghelardi
Cc: users@ovirt.org
Subject: Re: [ovirt-users] missing disk after storage domain expansion

Hi Andrea,

The OVF_STORE disks are disks which mainly being used internally in the
engine to store VMs' and Templates' OVFs, you can disregard them for now.

The behavior you mentioned, that suddenly the disk has disappeared from the
setup, sounds very weird and I would like to investigate this a bit more.
if you can please add the engine and vdsm logs, I can know what made the
disk get removed from the setup, at the first place.
Could it be that some one accessed the data base by any chance?

Regarding the disk registration, basically it should not create any problems
unless, if your disk was deleted manually form the DB, and there are still
leftovers related to the disk in some of the tables.
Once the disk is registered to the setup, you can try to attach it to the
VM, and try to run it.


Regards,
Maor



- Original Message -
> From: "Andrea Ghelardi" 
> To: "Maor Lipchuk" 
> Cc: users@ovirt.org
> Sent: Friday, May 15, 2015 4:54:25 PM
> Subject: RE: [ovirt-users] missing disk after storage domain expansion
>
> After querying the hosted engine with the suggested command
> https://pisa-ion-ovirtm-01/ovirt-engine/api/storagedomains/7a48fe46-21
> 12-40a4-814f-24d74c760b2d/disks;unregistered
>
> Indeed shows  a (unregistered?) disk
>
>href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41"
> id="16736ce0-a9df-410f-9f29-3a28364cdd41">
> 
>  href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41/export"
> rel="export"/>
> 
> hertz_disk5
> disk for SYBASE installation, on SAN shared
> storage  href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41/permissions"
> rel="permissions"/>
>  href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks/16736ce0-a9df-410f-9f29-3a28364cdd41/statistics"
> rel="statistics"/>
> hertz_disk5
> 4ab070c0-fb16-452d-8521-4ff0b004aef3
>  href="/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d"
> id="7a48fe46-2112-40a4-814f-24d74c760b2d"/>
> 
> 
> 
> 225485783040
> 225485783040
> 225485783040
> 
> ok
> 
> ide
> raw
> false
> false
> false
> false
> false
> 
> 
>
> I'm waiting for any comments on the two OVF disk or any advice before
> proceeding with the registering command (test in production
> environment hm)
>
> Cheers
> AG
>
> -Original Message-
> From: Andrea Ghelardi [mailto:a.ghela...@iontrading.com]
> Sent: Friday, May 15, 2015 12:30 PM
> To: Maor Lipchuk
> Cc: users@ovirt.org
> Subject: RE: [ovirt-users] missing disk after storage domain expansion
>
> Thank you for your reply!
> I'm unsure if the disk contained any snapshots. I do not think so.
> Is the register action a safe one to do in production system? I
> wouldn't mess any of my existing running servers.
>
> Here the relevant logs from the date
> ./engine.log-20150501.gz:2015-04-29 16:10:40,868  : disk creation
> ("hertz_disk5" newImageId = 4ab070c0-fb16-452d-8521-4ff0b004aef3)
> ./engine.log-20150512.gz:2015-05-04 17:22:42,691  : last  occurrence
> of the imageid
>
> Please note from
> ./engine.log-20150512.gz  2015-05-11 12:07:16,719 : creation of two
> disk OVF store (??) on the same storage domain
> 7a48fe46-2112-40a4-814f-24d74c760b2d
> right after the volume expansion
>
> In the instructions.txt  what I did to enlarge the volume (and lose
> the
> disk) (the guides is informational only, I followed the steps on a
> different
> server)
>
> Here some cats to thank you in advance
> https://www.youtube.com/watch?v=nfTY41-zC7Y


lol :)
Nice cats

> AG
>
>
> -Original Message-
> From: Maor Lipchuk [mailto:mlipc...@redhat.com]
> Sent: Wednesday, May 13, 2015 11:02 PM
> To: Andrea Ghelardi
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] missing disk after storage domain expansion
>
> Hi Andrea,
>
> First of all, the issue sounds quite severe, can u please attach the
> engine logs so we can try to figure out how that happened.
> second, does this disk containe

Re: [ovirt-users] missing disk after storage domain expansion

2015-05-15 Thread Andrea Ghelardi
After querying the hosted engine with the suggested command
https://pisa-ion-ovirtm-01/ovirt-engine/api/storagedomains/7a48fe46-2112-40a4-814f-24d74c760b2d/disks;unregistered

Indeed shows  a (unregistered?) disk







hertz_disk5
disk for SYBASE installation, on SAN shared
storage


hertz_disk5
4ab070c0-fb16-452d-8521-4ff0b004aef3




225485783040
225485783040
225485783040

ok

ide
raw
false
false
false
false
false



I'm waiting for any comments on the two OVF disk or any advice before
proceeding with the registering command
(test in production environment hm)

Cheers
AG

-Original Message-
From: Andrea Ghelardi [mailto:a.ghela...@iontrading.com]
Sent: Friday, May 15, 2015 12:30 PM
To: Maor Lipchuk
Cc: users@ovirt.org
Subject: RE: [ovirt-users] missing disk after storage domain expansion

Thank you for your reply!
I'm unsure if the disk contained any snapshots. I do not think so.
Is the register action a safe one to do in production system? I wouldn't
mess any of my existing running servers.

Here the relevant logs from the date
./engine.log-20150501.gz:2015-04-29 16:10:40,868  : disk creation
("hertz_disk5" newImageId = 4ab070c0-fb16-452d-8521-4ff0b004aef3)
./engine.log-20150512.gz:2015-05-04 17:22:42,691  : last  occurrence of the
imageid

Please note from
./engine.log-20150512.gz  2015-05-11 12:07:16,719 : creation of two disk OVF
store (??) on the same storage domain 7a48fe46-2112-40a4-814f-24d74c760b2d
right after the volume expansion

In the instructions.txt  what I did to enlarge the volume (and lose the
disk) (the guides is informational only, I followed the steps on a different
server)

Here some cats to thank you in advance
https://www.youtube.com/watch?v=nfTY41-zC7Y
AG


-Original Message-
From: Maor Lipchuk [mailto:mlipc...@redhat.com]
Sent: Wednesday, May 13, 2015 11:02 PM
To: Andrea Ghelardi
Cc: users@ovirt.org
Subject: Re: [ovirt-users] missing disk after storage domain expansion

Hi Andrea,

First of all, the issue sounds quite severe, can u please attach the engine
logs so we can try to figure out how that happened.
second, does this disk contained any snapshots?
 If not, can you try to register it back (see
http://www.ovirt.org/Features/ImportStorageDomain#Register_an_unregistered_disk)


Regards,
Maor



- Original Message -
> From: "Andrea Ghelardi" 
> To: users@ovirt.org
> Sent: Monday, May 11, 2015 12:01:17 AM
> Subject: Re: [ovirt-users] missing disk after storage domain expansion
>
>
>
> Ok, so,
>
> After _ a lot _ of unsuccessful approach, I finally connected to
> postegre DB directly.
>
> Browsing the tables I found “unregistered_ovf_of_entities” where there
> is a reference of the missing disk
>
>
>
>
>
> @ovf:diskId:4ab070c0-fb16-452d-8521-4ff0b004aef3
>
> @ovf:size:210
>
> @ovf:actual_size:210
>
> @ovf:vm_snapshot_id:2e24b255-bb84-4284-8785-e2a042045882
>
> @ovf:fileRef:16736ce0-a9df-410f-9f29-3a28364cdd41/4ab070c0-fb16-452d-8
> 521-4ff0b004aef3
>
> @ovf:format: http://www.vmware.com/specifications/vmdk.html#sparse
>
> @ovf:volume-format:RAW
>
> @ovf:volume-type:Preallocated
>
> @ovf:disk-interface:VirtIO
>
> @ovf:boot:false
>
> @ovf:disk-alias:hertz_disk5
>
> @ovf:disk-description:disk for SYBASE installation, on SAN shared
> storage
>
> @ovf:wipe-after-delete:false
>
>
>
> However, I’ve been unable to find any other helpful details.
>
> I guess the disk is not recoverable at this point?
>
> Any guru who has a good ovirt DB kwnoledge willing to give me some advice?
>
>
>
> Thanks as usual
>
> AG
>
>
>
>
> From: Andrea Ghelardi [mailto: a.ghela...@iontrading.com ]
> Sent: Thursday, May 07, 2015 6:08 PM
> To: ' users@ovirt.org '
> Subject: missing disk after storage domain expansion
>
>
>
>
> Hi gentlemen,
>
>
>
> I recently found an error on 1 of my storages: it was complaining
> about no free space but the VM was running and disk operational.
>
> Since I needed to perform some maintenance on the VM, I shut it down
> and at restart VM couldn’t boot up properly.
>
> Checked VM via console and a disk was missing. Edited fstab (luckily
> this disk was not root but heck! It had a Sybase DB on it!) and
> restarted VM this time ok.
>
>
>
> Since the disk resides on the dstore with no space, I expanded the
> iSCSI LUN, then refreshed multipath on hosts, then resized PVs and now
> ovirt is showing the correct size (logs do not complain anymore on no
> free space).
>
>
>
> BUUUT
>
>
>
> Now disk is missing. It is not shown anymore on Disks tab nor anywhere
> else.
>
> Problem is that storage shows 214GB occupancy (size of the missing
> disk) so data is there but cannot find it anymore.
>
>
>

Re: [ovirt-users] Problems with ISCSI storagedomain

2015-05-12 Thread Andrea Ghelardi
Hi Luciano,
I suggest you to check log files which usually provide a goof indication of
what is going on usually
You want to check the engine logs (ssh into your hosted engine, then
/var/log/ovirt-engine) and vdsm logs on your hosts (/var/log/vdsm/vdsm.log)
You want also to check if you multipath is updated and ok (multipath -ll or
lsscsi)

Cheers
AG

>> BELOW QUOTED TEXT

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
Luciano Natale
Sent: Monday, May 11, 2015 7:16 AM
To: users@ovirt.org
Subject: [ovirt-users] Problems with ISCSI storagedomain

Hello everyone!

I'm running oVirt 3.5, and recently had an issue with a split brain
situation in the hosted engine's image. After solving that, I got the engine
up an running, but something went wrong with my main storage.
I have a datacenter with main storage being ISCSI, called vms-main-storage.
This storagedomain is marked as inactive. The only action I can attemp to do
to it is activate it. But it won't. It just fails and no reason is given in
the web ui. I also tried activating it through the cli, and result is status
400, reason bad request, detail internal engine error. Strange thing is that
VM's are still running with their images in this storage and they are
running with no problem at all!
How can I have this storagedomain again in a healthy state???
Thanks!


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


Re: [ovirt-users] missing disk after storage domain expansion

2015-05-10 Thread Andrea Ghelardi
Ok, so,

After _*a lot*_ of unsuccessful approach, I finally connected to postegre
DB directly.

Browsing the tables I found “unregistered_ovf_of_entities” where there is a
reference of the missing disk





@ovf:diskId:4ab070c0-fb16-452d-8521-4ff0b004aef3

@ovf:size:210

@ovf:actual_size:210

@ovf:vm_snapshot_id:2e24b255-bb84-4284-8785-e2a042045882


@ovf:fileRef:16736ce0-a9df-410f-9f29-3a28364cdd41/4ab070c0-fb16-452d-8521-4ff0b004aef3

@ovf:format:http://www.vmware.com/specifications/vmdk.html#sparse

@ovf:volume-format:RAW

@ovf:volume-type:Preallocated

@ovf:disk-interface:VirtIO

@ovf:boot:false

@ovf:disk-alias:hertz_disk5

@ovf:disk-description:disk for SYBASE installation, on SAN shared
storage

@ovf:wipe-after-delete:false



However, I’ve been unable to find any other helpful details.

I guess the disk is not recoverable at this point?

Any guru who has a good ovirt DB kwnoledge willing to give me some advice?



Thanks as usual

AG



*From:* Andrea Ghelardi [mailto:a.ghela...@iontrading.com]
*Sent:* Thursday, May 07, 2015 6:08 PM
*To:* 'users@ovirt.org'
*Subject:* missing disk after storage domain expansion



Hi gentlemen,



I recently found an error on 1 of my storages: it was complaining about no
free space but the VM was running and disk operational.

Since I needed to perform some maintenance on the VM, I shut it down and at
restart VM couldn’t boot up properly.

Checked VM via console and a disk was missing. Edited fstab (luckily this
disk was not root but heck! It had a Sybase DB on it!) and restarted VM
this time ok.



Since the disk resides on the dstore with no space, I expanded the iSCSI
LUN, then refreshed multipath on hosts, then resized PVs and now ovirt is
showing the correct size (logs do not complain anymore on no free space).



BUUUT



Now disk is missing. It is not shown anymore on Disks tab nor anywhere else.

Problem is that storage shows 214GB occupancy (size of the missing disk) so
data is there but cannot find it anymore.



Logs show original disk creation, errors from the lack of space, refresh of
the storage size and then no more references on the disk.



What can I do to find those missing ~210GBs?



Cheers

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


Re: [ovirt-users] Local Storage

2015-05-08 Thread Andrea Ghelardi
Hi Scott,
Thank you for your reply. I indeed scratched my face on the wall due to
this approach.
However, we are taking care not to mix iscsi shared and local shared LUNs
on the same datastore.
I understand this is unsupported and discouraged as well but not so
tragic?

Cheers
AG

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf
Of Scott Worthington
Sent: Thursday, May 07, 2015 8:20 PM
To: users@ovirt.org
Subject: Re: [ovirt-users] Local Storage

On 5/7/2015 12:11 PM, Andrea Ghelardi wrote:
> It is true that you cannot mix local and shared storage types.
>
> However, it is actually possible tricking local storage to be
> presented as a shared iscsi volume and then passed to ovirt
>
> There are drawbacks but we are actively using this solution.
>
> Cheers
>
> AG

Hello,

The major point that needs to be stressed again and again on this mailing
list is:

At this time, it is best practice to _NEVER_ combine the shared storage
onto the cluster hosts.

There are MANY many MANY posts from people with down oVirt environments
because they combined their shared storage on their hosted cluster
(especially gluster storage).

They do not fully understand the horrible consequences that will happen
when 1) a host cluster node gets fenced, 2) their gluster cluster becomes
split-brained because they failed to understand gluster and quorums, or 3)
a network connectivity issue of some sort breaks the storage cluster on
one (or many) node(s) and then the issue cascades to the other systems
bringing the entire shared storage + clustered hosts to a grinding halt.

As a consequence, this mailing list gets flooded with pleas for help from
a crashed oVirt setup that did not follow best practices.

In my opinion, those who combine shared-storage onto the host-nodes need
to pull the plug on one of their hosts, and then work through the numerous
issues that will result in their hyper-converged configuration.

If the SysAdmin does not have that experience of working through all of
the problems that result from hyper-converging shared storage on the host
nodes, then they certainly need to avoid combing shared storage on the
host nodes.

Good Luck!
--ScottW

___
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] Local Storage

2015-05-07 Thread Andrea Ghelardi
It is true that you cannot mix local and shared storage types.

However, it is actually possible tricking local storage to be presented as
a shared iscsi volume and then passed to ovirt

There are drawbacks but we are actively using this solution.

Cheers

AG



*From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On Behalf
Of *Aharon Canan
*Sent:* Sunday, May 03, 2015 10:54 AM
*To:* Marcin Fabiańczyk
*Cc:* users@ovirt.org
*Subject:* Re: [ovirt-users] Local Storage



you can't



Host is part of cluster which is part of DC.

DC can be shared or local only, can't be both.







Regards,
__
*Aharon Canan*
int phone - 8272036
ext phone - +97297692036
email - aca...@redhat.com


--

*From: *"Marcin Fabiańczyk" 
*To: *users@ovirt.org
*Sent: *Friday, May 1, 2015 1:48:54 PM
*Subject: *[ovirt-users] Local Storage



Hello



I have create DC with a shared storage but I would like also add my
servers local
resources. It is possible in ovirt-hypervisior?



Regards.

MF




___
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] missing disk after storage domain expansion

2015-05-07 Thread Andrea Ghelardi
Hi gentlemen,



I recently found an error on 1 of my storages: it was complaining about no
free space but the VM was running and disk operational.

Since I needed to perform some maintenance on the VM, I shut it down and at
restart VM couldn’t boot up properly.

Checked VM via console and a disk was missing. Edited fstab (luckily this
disk was not root but heck! It had a Sybase DB on it!) and restarted VM
this time ok.



Since the disk resides on the dstore with no space, I expanded the iSCSI
LUN, then refreshed multipath on hosts, then resized PVs and now ovirt is
showing the correct size (logs do not complain anymore on no free space).



BUUUT



Now disk is missing. It is not shown anymore on Disks tab nor anywhere else.

Problem is that storage shows 214GB occupancy (size of the missing disk) so
data is there but cannot find it anymore.



Logs show original disk creation, errors from the lack of space, refresh of
the storage size and then no more references on the disk.



What can I do to find those missing ~210GBs?



Cheers

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


[ovirt-users] Datacenter unresponsive: recovery procedure?

2015-04-16 Thread Andrea Ghelardi
(sorry: resending as I wasn’t part of the list, yet)



hi,

this is my first post so hallo all and thank you for reading.

I have an issue with my production Ovirt environment (3.5.1.1-1.el6).



My system consists of several datancers.

2 of them are connected to an iSCSI SAN and they were working fine.

Until the moment I had the bad idea of deleting a SAN volume from the SAN
manager before deleting the associated storage on Ovirt. From that moment,
the DC where this storage was mounted became not responsive: it cannot
attach the master storage (or any other).

I tried to

1) manually destroy the offending storage (select -> destroy) but still
cannot recover the situation.

2) right click on master storage and activate it

3) re-initialize the datacenter using a NFS storage from the working sister
DC.



All Hosts are still running even though their status is "unknown".

All VM are still running even though their status is "not responding".



I half resolved the issue by manually restarting the host where the
datastore was originally mounted. This cleared the orphaned multipath.

However, the SPM does not come up still.

This is an extract of the log

*2015-04-16 03:51:48,069 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(DefaultQuartzScheduler_Worker-14) [61a44b19] could not stop spm of pool
0002-0002-0002-0002-009c on vds
89254f23-8748-402a-afc9-08438dca0975 - reason:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
VDSGenericException: VDSNetworkException: Message timeout which can be
caused by communication issues*

*2015-04-16 03:51:48,072 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(DefaultQuartzScheduler_Worker-14) [61a44b19] FINISH, SpmStopVDSCommand,
log id: 4354cf46*

*2015-04-16 03:51:48,072 WARN
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler_Worker-14) [61a44b19] spm stop on spm failed,
stopping spm selection!*

*2015-04-16 03:51:58,223 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler_Worker-4) [4ca2d938] hostFromVds::selectedVds -
Brachetto, spmStatus Free, storage pool IRDC-INTEL*

*2015-04-16 03:51:58,225 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler_Worker-4) [4ca2d938] SPM Init: could not find
reported vds or not up - pool:IRDC-INTEL vds_spm_id: 3*

*2015-04-16 03:51:58,239 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(DefaultQuartzScheduler_Worker-4) [4ca2d938] SPM selection - vds seems as
spm sovana*

*2015-04-16 03:51:58,252 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(DefaultQuartzScheduler_Worker-4) [4ca2d938] START,
SpmStopVDSCommand(HostName = sovana, HostId =
89254f23-8748-402a-afc9-08438dca0975, storagePoolId =
0002-0002-0002-0002-009c), log id: 63a17687*



storagePoolId = 0002-0002-0002-0002-009c is (was) hertz-dstore2
which does not exists anymore on SAN adn ovirt

hostid  89254f23-8748-402a-afc9-08438dca0975 is sovana server (current SPM)









I’m thinking about

*Put the hosted engine host into Maintenance*

*Shutdown Ovirt Manager*

*Rebooted SPM server*

*Restarted Ovirt Manager*

*Took hosted engine host out of Maintenance*





any help or clue is highly welcomed with cheers and beers

thank you!

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