Re: [ovirt-users] oVirt / OVN / MTU

2016-12-19 Thread Devin Acosta
Marcin,Numan,Lance:

I really appreciate all the assistance that you have given me thus far. I
wanted to circle back on this topic, even though I sense I know what the
answer will be. ;) My Networking team keeps insisting that they want to
control DHCP from their side however yet still be able to create virtual
Layer 2 networks within oVirt. I understand that it sounds like OVN was
never meant for this kind of configuration. In the setup that we currently
have going for the most part Linux boxes are working if we set the MTU to
be lower around 1400, however with the Windows boxes we are getting very
strange behavior, sometimes we have to set the MTU low to as 1000, but then
the next day 1200 works. We aren't fully sure if it's just some strange
windows issue with the driver or what.

One question that was asked of me was if OVS/OVN supports like PMTUD, MTU
Protocol discovery? Also I'm suspecting if was to configure oVIRT to use
Neutron using OVS I would encounter the same issues I have now with the MTU
if they are trying to do DHCP from a virtual appliance on the network?

Any other comments or suggestions that you can provide on this?

Thanks again.

On Mon, Dec 12, 2016 at 7:14 AM, Numan Siddique  wrote:

> Hi Devin,
>
> Below is one example of creating dhcp options and associating them with
> logical ports using ovn-nbctl commands. Please see the links shared by
> Lance for more details.
>
> Lets say you have a network with cidr - 10.0.0.0/24.
>
> One example would be
>
> $ovn-nbctl dhcp-options-create 10.0.0.0/24
>
> Run the command ovn-nbctl dhcp-options-list and store the uuid of it in
> any variable (DHCP_UUID)
> Now create the dhcp options for this DHCP_UUID just created.
> There are 4 dhcp options which needs to be defined (they are mandatory)
>   - server_id
>   - server_mac
>  -  router
>  - lease_time
>
> since you want to add mtu option as well, you can add the dhcp options as
>
> $ovn-nbctl dhcp-options-set-options $DHCP_UUID  server_id=10.0.0.1
> server_mac=00:00:00:00:00:10 router=10.0.0.1 lease_time=3600 mtu=1400
>
> The above is just an example. You can see the dhcp options set by running
> $ovn-nbctl dhcp-options-get-options $DHCP_UUID
>
>
> ​The dhcp options defined here have no value unless you associate these
> with the logical switch port.
>
> $ovn-nbctl lsp-set-dhcpv4-options $LPORT_NAME $DHCP_UUID​
>
> Suppose if you have 3 logical ports - lp1, lp2 and lp3, you can associate
> it as
> $ovn-nbctl lsp-set-dhcpv4-options lp1 $DHCP_UUID​
> $ovn-nbctl lsp-set-dhcpv4-options lp2 $DHCP_UUID​
> $ovn-nbctl lsp-set-dhcpv4-options lp3 $DHCP_UUID​
>
>
> Please let us know if you have any more questions.
>
> You can refer to this blog to get some more inner details of how native
> DHCP is supported in ovn - https://numansiddiqueblog.
> wordpress.com/2016/08/09/native-dhcp-support-in-ovn/
>
> Thanks
> Numan
>
>
> On Mon, Dec 12, 2016 at 7:28 PM, Lance Richardson 
> wrote:
>
>> Hi Devin,
>>
>> This blog posting does a good job of explaining how to configure OVN
>> DHCP support:
>>
>> http://blog.spinhirne.com/2016/09/an-introduction-to-ovn-routing.html
>>
>> The ovn-nb man page lists the DHCP options that can be provided, including
>> mtu:
>>
>> http://openvswitch.org/support/dist-docs/
>> ​​
>> ovn-
>> ​​
>> nb.5.html 
>>
>> And the ovn-nbctl man page has details about the command-line interface
>> for setting DHCP options:
>>
>> http://openvswitch.org/support/dist-docs/ovn-nbctl.8.html
>>
>> I have very little experience using OVN's DHCP support, I've copied Numan
>> in case I've left anything out.
>>
>> Lance
>> - Original Message -
>> > From: "Marcin Mirecki" 
>> > To: "Devin Acosta" 
>> > Cc: "users" , "Lance Richardson" 
>> > Sent: Monday, December 12, 2016 4:35:51 AM
>> > Subject: Re: oVirt / OVN / MTU
>> >
>> > Devin,
>> >
>> > oVirt does not currently support changing external network mtu from
>> within
>> > ovirt (it rather relies on the provider handling this internally).
>> >
>> > If you are using OVN DHCP (have subnets defined for a network), you can
>> > modify the OVN DHCP options directly in the OVN database.
>> > I have never actually tested this myself, but looking at the OVN
>> > documentation, it should do the job on the ports.
>> >
>> > The standard OVN way to do so is to use the "ovn-vsctl set DHCP_Options
>> ..."
>> > command.
>> > (Unfortunately as I am trying it now it tells me that modifying
>> DHCP_Options
>> > is not supported)
>> > Alternatively, you can use the OVS python API (let me know if you need
>> any
>> > help on this).
>> >
>> > Lance,
>> > Would changing the dhcp:options:mtu suffice?
>> > Could you please comment on how to modify the DHCP MTU using the OVN cmd
>> > line?
>> >
>> > Thanks,
>> > Marcin
>> >
>> >
>> >
>> > - Original Message -

[ovirt-users] Failed to import Hosted Engine VM

2016-12-19 Thread knarra

Hi,

I have latest master installed and i see that Hosted Engine VM 
fails to import. Below are the logs i see in the engine log. Can some 
one help me understand why does this happen?



2016-12-20 06:46:02,291Z INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] START, GetImageInfoVDSComman
d( GetImageInfoVDSCommandParameters:{runAsync='true', 
storagePoolId='0001-0001-0001-0001-0311', 
ignoreFailoverLimit='false', storageDomainId='4830f5b2-5a7d-4a89-
8fc9-8911134035e4', imageGroupId='0dec26c2-59c8-4d7f-adc0-6e4c878028ee', 
imageId='e114-9f08-4e71-9b3a-d6a93273fbd3'}), log id: 78f8a633
2016-12-20 06:46:02,291Z INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] START, GetVolumeInfoVDSComm
and(HostName = hosted_engine1, 
GetVolumeInfoVDSCommandParameters:{runAsync='true', 
hostId='4c4a3633-2c2a-49c9-be06-78a21a4a2584', 
storagePoolId='0001-0001-0001-0001-
0311', storageDomainId='4830f5b2-5a7d-4a89-8fc9-8911134035e4', 
imageGroupId='0dec26c2-59c8-4d7f-adc0-6e4c878028ee', 
imageId='e114-9f08-4e71-9b3a-d6a93273fbd3'}), log

 id: 62a0b308
2016-12-20 06:46:02,434Z ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] Failed building DiskImage:
No enum const 
org.ovirt.engine.core.common.businessentities.LeaseState.{owners=[Ljava.lang.Object;@28beccfa, 
version=2}
2016-12-20 06:46:02,434Z INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] Command 'org.ovirt.engine.c

ore.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand' return value '
VolumeInfoReturn:{status='Status [code=0, message=Done]'}
status = OK
domain = 4830f5b2-5a7d-4a89-8fc9-8911134035e4
voltype = LEAF
description = Hosted Engine Image
parent = ----
format = RAW
generation = 0
image = 0dec26c2-59c8-4d7f-adc0-6e4c878028ee
ctime = 1482153085
disktype = 2
legality = LEGAL
mtime = 0
apparentsize = 53687091200
children:
[]
pool =
capacity = 53687091200
uuid = e114-9f08-4e71-9b3a-d6a93273fbd3
truesize = 2761210368
type = SPARSE
lease:
owners:
[1]
version = 2

'
2016-12-20 06:46:02,434Z INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] HostName = hosted_engine1
2016-12-20 06:46:02,434Z INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] FINISH, 
GetVolumeInfoVDSCommand, log id: 62a0b308
2016-12-20 06:46:02,434Z ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] Failed to get the volume 
information, marking as FAILED
2016-12-20 06:46:02,434Z INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] FINISH, 
GetImageInfoVDSCommand, log id: 78f8a633
2016-12-20 06:46:02,434Z WARN 
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] Validation of action 
'ImportVm' failed for user SYSTEM. Reasons: 
VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IMAGE_DOES_NOT_EXIST
2016-12-20 06:46:02,435Z INFO 
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] Lock freed to object 
'EngineLock:{exclusiveLocks='[89681893-94fe-4366-be6d-15141ff2b365=, 
HostedEngine=]', 
sharedLocks='[89681893-94fe-4366-be6d-15141ff2b365=]'}'
2016-12-20 06:46:02,435Z ERROR 
[org.ovirt.engine.core.bll.HostedEngineImporter] 
(org.ovirt.thread.pool-6-thread-48) [77f83e0f] Failed importing the 
Hosted Engine VM
2016-12-20 06:46:04,436Z INFO 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] 
(DefaultQuartzScheduler4) [2d8b8a56] FINISH, 
GlusterServersListVDSCommand, return: [10.70.36.79/23:CONNECTED, 
10.70.36.80:CONNECTED, 10.70.36.81:CONNECTED], log id: 617781b7


Thanks

kasturi.

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


Re: [ovirt-users] Cumulus Switch

2016-12-19 Thread Matt Wells
Thanks Yaniv; I'll have a got and share any progress.   I appreciate the
reply.

On Sun, Dec 18, 2016 at 7:28 AM Yaniv Dary  wrote:

> You can read on the external provider design in:
>
> http://www.ovirt.org/develop/release-management/features/external-network-provider/
> You can also start a project to integrate this software to oVirt with the
> refrence in:
> https://github.com/mmirecki/ovirt-provider-mock
>
> Patches are welcome!
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306 <+972%209-769-2306>
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>
> On Thu, Dec 15, 2016 at 10:07 PM, Matt Wells 
> wrote:
>
> I've seen some of the cool stuff coming with OVN and even a co-worker has
> done some great things with it.  However I was wondering if anyone had
> experience with Cumulus as the external provider for networks.
> It's just a "weekend project" I'm picking up and thought to ask on the
> list.  I've not found other posts on it yet but will continue to look.
> I've just made a fresh lab with the latest and greatest oVirt on CentOS 7.
> Thanks to all and a happy holiday season ( if you're into the holiday
> thing ).
> :-)
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
Matt Wells
Chief Systems Architect
RHCA III, RHCVA - #110-000-353
(702) 808-0424
matt.we...@mosaic451.com
 Las Vegas | Phoenix | Portland Mosaic451.com
CONFIDENTIALITY NOTICE: This transmittal is a confidential communication or
may otherwise be privileged. If you are not intended recipient, you are
hereby notified that you have received this transmittal in error and that
any review, dissemination, distribution or copying of this transmittal is
strictly prohibited. If you have received this communication in error,
please notify this office, and immediately delete this message and all its
attachments, if any.
1*
___
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 
> 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]
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 
> 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 

[ovirt-users] Adding Disk stuck?

2016-12-19 Thread Pat Riehecky
Last Friday I started a job to add 1 new disk to each of 4 VMs - total 
of 4 disks each 100G.


It seems to still be running, but no host shows an obvious IO load.
State is

Adding Disk (hour glass)
-> Validating (green check mark)
-> Executing (hour glass)
->-> Creating Volume (green check mark)

I checked in with:
/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh

and it didn't show anything interesting.

The VMs themselves show the disks are there, but the VMs are still 
locked by the disk processes.


Ideas?

Pat

--
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org

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


Re: [ovirt-users] Adding Disk stuck?

2016-12-19 Thread Elad Ben Aharon
Hi, can you please provide engine.log?

On Mon, Dec 19, 2016 at 5:06 PM, Pat Riehecky  wrote:

> Last Friday I started a job to add 1 new disk to each of 4 VMs - total of
> 4 disks each 100G.
>
> It seems to still be running, but no host shows an obvious IO load.
> State is
>
> Adding Disk (hour glass)
> -> Validating (green check mark)
> -> Executing (hour glass)
> ->-> Creating Volume (green check mark)
>
> I checked in with:
> /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh
>
> and it didn't show anything interesting.
>
> The VMs themselves show the disks are there, but the VMs are still locked
> by the disk processes.
>
> Ideas?
>
> Pat
>
> --
> Pat Riehecky
>
> Fermi National Accelerator Laboratory
> www.fnal.gov
> www.scientificlinux.org
>
> ___
> 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] WebUI error with nightly 4.0.7

2016-12-19 Thread Alessandro De Salvo
Hi,
since a few days, after the upgrade my dev machine to the nightly repo
of 4.0.7, I'm getting these kind of errors from the WebUI after a few
minutes the ovirt-engine is up:

Error while executing action: A Request to the Server failed:
java.lang.reflect.InvocationTargetException

The errors go away if I restart the engine service, but after about 15
minutes they show up again. These errors are very annoying as I cannot
use the UI unless I restart the engine.
When I use my Mac I also get other errors like this:

ERROR: Possible problem with your *.gwt.xml module file. The compile
time user.agent (gecko1_8) does not match the runtime user.agent value
(safari). Expect more errors.

Does anyone knows if those errors will be corrected in a future release?
Thanks,

Alessandro

___
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 Yaniv Dary
Please provide full logs.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Mon, Dec 19, 2016 at 3:09 PM, Andrea Ghelardi 
wrote:

> 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 <
> 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]
> *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 
> wrote:
>
> Hello group,
>
> I noticed that my dashboard does not show little colored “cubes” which
> show storage CPU and 

Re: [ovirt-users] Python SDK .remove() does not return True?

2016-12-19 Thread Ondra Machacek
On Sun, Dec 18, 2016 at 9:34 PM, Yaniv Kaul  wrote:
>
>
> On Dec 18, 2016 8:39 PM, "Juan Hernández"  wrote:
>
> On 12/18/2016 05:32 PM, Yaniv Kaul wrote:
>> I'd expect, like other actions, add() for example, that I can ensure
>> .remove() (for clusters, DCs, etc.) will return True as a sign for
>> success.
>> Is that a bug or a design choice?
>> TIA,
>> Y.
>>
>
> It is by design. The method returns nothing, because in HTTP the DELETE
> method doesn't receive or return a body: it only returns the HTTP status
> code. In the SDK, success HTTP status code results in returning nothing,
> and failures result in throwing an exception. So, if the methods doesn't
> throw an exception then you can assume that it worked successfully.
>
>
> So I should wrap it in try-except? And catch what?

Yes, it should catch the Error[1] exception.

[1] 
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/lib/ovirtsdk4/__init__.py#L37

> TIA,
> Y.
>
>
>
>
> ___
> 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] WebUI error with nightly 4.0.7

2016-12-19 Thread Maton, Brett
Sounds very much like the issue that was recently fixed in 4.0.6

On 19 December 2016 at 17:02, Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Hi,
> since a few days, after the upgrade my dev machine to the nightly repo
> of 4.0.7, I'm getting these kind of errors from the WebUI after a few
> minutes the ovirt-engine is up:
>
> Error while executing action: A Request to the Server failed:
> java.lang.reflect.InvocationTargetException
>
> The errors go away if I restart the engine service, but after about 15
> minutes they show up again. These errors are very annoying as I cannot
> use the UI unless I restart the engine.
> When I use my Mac I also get other errors like this:
>
> ERROR: Possible problem with your *.gwt.xml module file. The compile
> time user.agent (gecko1_8) does not match the runtime user.agent value
> (safari). Expect more errors.
>
> Does anyone knows if those errors will be corrected in a future release?
> Thanks,
>
> Alessandro
>
> ___
> 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] WebUI error with nightly 4.0.7

2016-12-19 Thread Alessandro De Salvo
Oh, that's good news, but then why it's in the nightly release of 4.0.7 
if it's fixed in 4.0.6?

Thanks,

Alessandro

Il 19/12/16 19:15, Maton, Brett ha scritto:

Sounds very much like the issue that was recently fixed in 4.0.6

On 19 December 2016 at 17:02, Alessandro De Salvo 
> wrote:


Hi,
since a few days, after the upgrade my dev machine to the nightly repo
of 4.0.7, I'm getting these kind of errors from the WebUI after a few
minutes the ovirt-engine is up:

Error while executing action: A Request to the Server failed:
java.lang.reflect.InvocationTargetException

The errors go away if I restart the engine service, but after about 15
minutes they show up again. These errors are very annoying as I cannot
use the UI unless I restart the engine.
When I use my Mac I also get other errors like this:

ERROR: Possible problem with your *.gwt.xml module file. The compile
time user.agent (gecko1_8) does not match the runtime user.agent value
(safari). Expect more errors.

Does anyone knows if those errors will be corrected in a future
release?
Thanks,

Alessandro

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





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


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


Re: [ovirt-users] 转发: about vms can't migrate automatically in HA

2016-12-19 Thread 张 余歌
Thanks,it seems that it must keep powermanager powerful to maintain HA

Get Outlook for Android



On Sun, Dec 4, 2016 at 9:30 PM +0800, "Yaniv Dary" 
> wrote:

The manager is handling the HA. Without it the HA will not work.
I suggest to use self hosted engine to give the manager HA.


Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary

On Thu, Dec 1, 2016 at 3:46 PM, 张 余歌 
> wrote:




发件人: 张 余歌 >
发送时间: 2016年12月1日 13:37
收件人: users@ovirt.org
主题: about vms can't migrate automatically in HA


hello,my enviroment :
host A : engine ,
host B : compute,host of cluster
host C : compute,host of cluster
And run a vm in host B,mount nfs on host B
i use A to provide nfs storage to host B and C as shared storage.i just want to 
realize HA without any mannul operation.

the problem is:
1,i just satified the condition of HA ,like configure power manager,vm HA 
parameters...and keep default else.
if i just maintenance host B,it works well to migrate vm,okay.

And then i power down by power manager,it seems that vm can run on host C until 
host B reboot by power manager,but it also works,it is weird ,through host B is 
down,i expect host C will mount nfs automatically ...



2, i force to power failure host B,the result is:

host B and C both turn to Non Responsive,and the storage is down,everything is 
bad ..are there some place i ignore?

it make me feel helpless.
best regard.

获取 Outlook for Android

___
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] root login using HE w/o cloud-init?

2016-12-19 Thread Simone Tiraboschi
On Sun, Dec 18, 2016 at 11:32 PM, Mark Steckel  wrote:

> Still trying to get a single server hosted engine setup running at
> Hetzner.de...
>
> If I use the HE Appliance and do not use cloud-init the VM launches but
> can not be accessed.
>
> 
> [ INFO  ] Detecting available oVirt engine appliances
>   The following appliance have been found on your system:
> [1] - The oVirt Engine Appliance image (OVA) -
> 4.0-20161210.1.el7.centos
> [2] - Directly select an OVA file
>   Please select an appliance (1, 2) [1]: 1
> [ INFO  ] Verifying its sha1sum
> [ INFO  ] Checking OVF archive content (could take a few minutes depending
> on archive size)
> [ INFO  ] Checking OVF XML content (could take a few minutes depending on
> archive size)
> [WARNING] OVF does not contain a valid image description, using default.
>   Would you like to use cloud-init to customize the appliance on
> the first boot (Yes, No)[Yes]? No
> [WARNING] The oVirt engine appliance is not configured with a default
> password, please consider configuring it via cloud-init
>
> 
>
>   Make a selection from the options below:
>   (1) Continue setup - oVirt-Engine installation is ready and
> ovirt-engine service is up
>   (2) Abort setup
>   (3) Power off and restart the VM
>   (4) Destroy VM and abort setup
>
> 
>
> At this point I can access the VM via vnc but am unable to login.
>
> Is root login possible in this situation?
>

Hi Mark,
there is no default password in the appliance so you have to configure it
via cloud-init or to manually force from the emergency mode.

If you are going to use cloud-init you could just decide to set the VM name
and the root password without automatically executing engine-setup there.
Can I ask why you want to avoid cloud-init?

thanks,
Simone


>
>
> ___
> 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] gluster command failed

2016-12-19 Thread Nathanaël Blanchet



Le 19/12/2016 à 08:28, Sahina Bose a écrit :



On Fri, Dec 16, 2016 at 11:00 PM, Nathanaël Blanchet > wrote:




Le 16/12/2016 à 16:34, Sahina Bose a écrit :

Failed to find host
'Host[guadalupe1,7a30c899-a317-479a-b07b-244bc2374485]' in
gluster peer list from
'Host[guadalupe1,7a30c899-a317-479a-b07b-244bc2374485]' on attempt 2
It looks the gluster uuid  saved in the ovirt engine db does not
match the one returned from CLI

Was this host reinstalled?
You may need to remove host from engine and add it again. If that
doesn't work you may need to manually change the uuid value in
the database (gluster_server table)

Removing host did nothing, indeed I had to go to the
gluster_server table to remove any disconnected host uuid, but it
was not enough. Then I had then to remove the host and reinstall
it as a new host.
Thank you, I've been spending a lot of time to solve this issue.


Sorry to hear that you had trouble with this. Could you explain a bit 
on how you got into this state?


Was it because you re-provisioned one of the gluster nodes and the 
gluster UUID was reset (without oVirt being aware of it?). Would like 
to either fix/enhance the engine to handle this if it's a common 
enough use-case
When going to the gluster_server table, I realized that there were some 
(disconnected) hosts probed with the gluster network IP. A the begining, 
I didn't use the gluster network so my hosts were probed on the 
management network and all was fine. When I decided to change the 
gluster traffic to a dedicated network (you answered to me about it 
there : https://www.mail-archive.com/users@ovirt.org/msg37742.html), I 
believed that hosts would be probed with the new network IP, but they 
didn't. So I manually probed them with the gluster IP, and I think all 
my troubles come from there. I reinstalled vdsm, and then nothing was ok 
since since this moment.





On Fri, Dec 16, 2016 at 7:00 PM, Nathanaël Blanchet
> wrote:

extract of the last engine logs, thank you


Le 16/12/2016 à 14:02, Sahina Bose a écrit :

Could you attach the engine log with this error?

On Fri, Dec 16, 2016 at 4:29 PM, Nathanaël Blanchet
> wrote:

Hi,

I used to successfully run a replica 3 gluster volume,
but since the last 4.0.5 update, they can't connect each
other with the message : gluster [gluster peer status
guadalupe1.v100.abes.fr
] command failed on
server guadalupe2.v100.abes.fr
.

So host guadalupe1 can't never be up.

When doing gluster peer probe, they are connected as
expected. I reinstalled vdsm and gluster, but it is
still the same.

I found this on guadalupe2 supervdsm.log

MainProcess|jsonrpc.Executor/6::DEBUG::2016-12-16

11:53:21,429::supervdsmServer::99::SuperVdsm.ServerCallback::(wrapper)
return peerStatus with [{'status': 'CONNECTED',
'hostname': '10.34.101.56/24 ',
'uuid': 'c259c09b-8d7c-4b12-8745-677199877583'},
{'status': 'CONNECTED', 'hostname':
'guadalupe3.v100.abes.fr
', 'uuid':
'6af67cd3-7931-446d-aaa2-ffea51325adc'}, {'status':
'CONNECTED', 'hostname': 'guadalupe1.v100.abes.fr
', 'uuid':
'8eb485cd-31c4-4c3a-a315-3dc6d3ddc0c9'}]
MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16

11:53:21,490::supervdsmServer::92::SuperVdsm.ServerCallback::(wrapper)
call peerProbe with () {}
MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16
11:53:21,491::commands::68::root::(execCmd)
/usr/bin/taskset --cpu-list 0-63 /usr/sbin/gluster
--mode=script peer probe guadalupe1.v100.abes.fr
 --xml (cwd None)
MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16
11:53:21,570::commands::86::root::(execCmd) SUCCESS:
 = '';  = 0
MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16

11:53:21,570::supervdsmServer::99::SuperVdsm.ServerCallback::(wrapper)
return peerProbe with True

We can see guadalupe2 can see guadalupe1 but taskset
still executes peer probe to guadalupe1 with message
"Host guadalupe1.v100.abes.fr
 port 24007 already in
peer list"

How can I say to guadalupe2 stop trying to probe guadalupe1?


-- 
Nathanaël Blanchet



Re: [ovirt-users] Fwd: [Call for feedback] anybody gave 4.1 beta a try?

2016-12-19 Thread Simone Tiraboschi
On Mon, Dec 19, 2016 at 10:11 AM, Maton, Brett 
wrote:

> Log from the last deploy attempt attached.
>

2016-12-18 12:52:05 DEBUG otopi.plugins.ovirt_host_mgmt.packages.update
update.verbose:94 Yum: There are unfinished transactions remaining. You
might consider running yum-complete-transaction, or
"yum-complete-transaction --cleanup-only" and "yum history redo last",
first to finish them. If those don't work you'll have to try
removing/installing packages by hand (maybe package-cleanup can help).

It seams that you have unfinished yum transactions on your host; can you
please check for that and then try redeploying the host?


>
> On 19 December 2016 at 08:30, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Sat, Dec 17, 2016 at 7:17 PM, Maton, Brett 
>> wrote:
>>
>>> I had a mac address conflict so reinstalled ( from scratch ) 4.1 this
>>> morning, CPU load issue in UI was still there.
>>>
>>
>> We already have an open bug about this: https://bugzilla.redhat.
>> com/show_bug.cgi?id=1390675
>> Thanks for the report.
>>
>>
>>>
>>> I can't deploy additional hosts now though due to SSH errors.
>>>
>>
>> Could you please attach host-deploy logs?
>>
>>
>>>
>>> Experimenting, I updated the hosted engine this afternoon and the CPU
>>> load issue seems be have either been fixed or resolved itself.
>>>
>>> However, SSH errors deploying additional hosts persists ( I had no
>>> problem with the previous install on Friday ).
>>>
>>> enging.log snippet:
>>> 2016-12-17 17:09:54,764Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>>> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
>>> SSH error running command r...@host2.example.com:'umask 0077;
>>> MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; trap
>>> "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
>>> /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
>>> "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine
>>> DIALOG/customization=bool:True': Command returned failure code 1 during
>>> SSH session 'r...@host2.example.com'
>>> 2016-12-17 17:09:54,765Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>>> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
>>> Exception: java.io.IOException: Command returned failure code 1 during SSH
>>> session 'r...@host2.example.com'
>>> at 
>>> org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:503)
>>> [uutils.jar:]
>>> at 
>>> org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
>>> [uutils.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBasae.java:563)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
>>> nd.installHost(InstallVdsInternalCommand.java:166) [bll.jar:]
>>> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
>>> nd.executeCommand(InstallVdsInternalCommand.java:87) [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1249)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.CommandBase.executeActionInTransac
>>> tionScope(CommandBase.java:1389) [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2053)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
>>> xecuteInSuppressed(TransactionSupport.java:164) [utils.jar:]
>>> at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
>>> xecuteInScope(TransactionSupport.java:103) [utils.jar:]
>>> at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1449)
>>> [bll.jar:]
>>> at 
>>> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:395)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
>>> .executeValidatedCommand(PrevalidatingMultipleActionsRunner.java:204)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
>>> .runCommands(PrevalidatingMultipleActionsRunner.java:176) [bll.jar:]
>>> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
>>> .lambda$invokeCommands$3(PrevalidatingMultipleActionsRunner.java:182)
>>> [bll.jar:]
>>> at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$Intern
>>> alWrapperRunnable.run(ThreadPoolUtil.java:92) [utils.jar:]
>>> at 
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>> [rt.jar:1.8.0_111]
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> [rt.jar:1.8.0_111]
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [rt.jar:1.8.0_111]
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [rt.jar:1.8.0_111]
>>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
>>>
>>> 2016-12-17 

Re: [ovirt-users] oVirt multiips hook

2016-12-19 Thread Dominik Holler
Hello,
to check where the hook script behaves unexpected, the hook is extended
[1] to be more verbose. What is the output in vdsm.log of the more
verbose hook script?

[1]
  https://bugzilla.redhat.com/attachment.cgi?id=1233353

On Sun, 18 Dec 2016 17:38:50 +
Bill Bill  wrote:

> Hi Dan,
> 
> Thanks for getting back to me & for your help. The script is 755
> permissions and oVirt sees it under the host hooks as well. The dump
> is below:
> 
> (I replaced our node IP with “mynodeIP” for privacy) I don’t see the
> IP’s from the custom property listed in the dump and I also don’t see
> any errors in the vdsm log. If I grep multiips in the vdsm log I can
> see entries, but none appear to be errors.
> 
> Grep vdsm log for before_vm_start shows:
> 
> Thread-79534::DEBUG::2016-12-18
> 12:24:45,006::commands::68::root::(execCmd) /usr/bin/taskset
> --cpu-list 0-23 /usr/libexec/vdsm/hooks/before_vm_start/multiips (cwd
> None)
> 
> Then if I grep the path:
> 
> cat /var/log/vdsm/vdsm.log
> | /usr/libexec/vdsm/hooks/before_vm_start/multiips Traceback (most
> recent call last): File
> "/usr/libexec/vdsm/hooks/before_vm_start/multiips", line 6, in
>  import hooking ImportError: No module named hooking
> 
> 
> ///
> ///
> 
> 
>   vpsclass1vm-user2-3
>   84100056-5bb7-4904-aff6-ef0a51ffd7b1
>   http://ovirt.org/vm/tune/1.0;>
> 
>   
>   4294967296
>   1048576
>   1048576
>   16
>   
> 1020
>   
>   
> /machine
>   
>   
> 
>   oVirt
>   oVirt Node
>   7-0.1406.el7.centos.2.3
>name='serial'>----0CC47A7ED960  name='uuid'>84100056-5bb7-4904-aff6-ef0a51ffd7b1 
>   
>   
> hvm
> 
> 
>   
>   
> 
>   
>   
> Haswell-noTSX
> 
> 
>   
> 
>   
>   
> 
> 
> 
>   
>   destroy
>   restart
>   destroy
>   
> /usr/libexec/qemu-kvm
> 
>   
>   
>   
>   
>   
>   
>unit='0'/> 
> 
>error_policy='stop' io='threads'/>  file='/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610a/d8a0172e-837f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cdedd039dc/bab16012-9bd5-4005-bee4-2512a8c6c6a3'>
>  
>   
> 
>  file='/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610a/d8a0172e-837f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cdedd039dc/8c053bcf-c1cc-4c7d-80e1-7bd937785fc4'/>
>  
>   
>   f64b31f1-1e28-4067-9776-c8cdedd039dc
>   
>function='0x0'/> 
> 
>   
>function='0x0'/> 
> 
>   
>function='0x0'/> 
> 
>   
>function='0x2'/> 
> 
>   
> 
> 
>   
>function='0x1'/> 
> 
>   
>   
>   
>   
>   
>   
>   
>function='0x0'/> 
> 
>path='/var/lib/libvirt/qemu/channels/84100056-5bb7-4904-aff6-ef0a51ffd7b1.com.redhat.rhevm.vdsm'/>
>  state='connected'/>   type='virtio-serial' controller='0' bus='0' port='1'/> 
> 
>path='/var/lib/libvirt/qemu/channels/84100056-5bb7-4904-aff6-ef0a51ffd7b1.org.qemu.guest_agent.0'/>
>  state='connected'/>   type='virtio-serial' controller='0' bus='0' port='2'/> 
> 
>state='disconnected'/> 
>   
> 
> 
>   
> 
> 
>   
> 
>  keymap='en-us' passwdValidTo='1970-01-01T00:00:01'>  type='network' address='mynodeIP' network='vdsm-Public'/> 
>  listen='mynodeIP' keymap='en-us' defaultMode='secure'
> passwdValidTo='1970-01-01T00:00:01'>  address='mynodeIP' network='vdsm-Public'/>  mode='secure'/>   name='inputs' mode='secure'/> 
>   
>   
>   
>   
> 
> 
>heads='1' primary='yes'/> 
>function='0x0'/> 
> 
>   
>function='0x0'/> 
>   
>   
> system_u:system_r:svirt_t:s0:c310,c350
> system_u:object_r:svirt_image_t:s0:c310,c350
>   
>   
> +107:+107
> +107:+107
>   
> 
> 
> ///
> ///
> 
> Sent from Mail for
> Windows 10
> 
> From: Dan Kenigsberg
> Sent: Sunday, December 18, 2016 10:59 AM
> To: Bill Bill
> Cc: users; Dominik
> Holler Subject: Re: oVirt multiips hook
> 
> 
> 
> On Dec 15, 2016 22:40, "Bill Bill"
> > wrote: Hello,
> 
> Following up on the users list as opposed to Bugzilla.
> 
> Thanks for helping out with this, much appreciated. I was able to get
> the custom property added in the engine & I can select the property,
> then enter in the IP’s.
> 
> I’m not sure if I created the hook correctly, as it doesn’t appear to
> have made any changes so far, only one IP communicates.
> 
> I created a file called “multiips” in
> the /usr/libexec/vdsm/hooks/before_vm_start/ directory containing the
> info from the Bugzilla thread.
> 
> Is there another step I should 

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

Re: [ovirt-users] template issues

2016-12-19 Thread Stefan Wandl
One Disk is initially a qcow2 disk, but is converted during the Make Template 
to RAW. The others are raw Disks 


Von: "Nir Soffer"  
An: "Fred Rolland" , "Michal Skrivanek" 
 
CC: "Stefan Wandl" , "users"  
Gesendet: Samstag, 17. Dezember 2016 21:08:41 
Betreff: Re: [ovirt-users] template issues 

On Sat, Dec 17, 2016 at 9:25 PM, Fred Rolland < froll...@redhat.com > wrote: 



Hi, 
What is the storage type ? 
Thanks, 
Fred 



BQ_BEGIN


On Dec 16, 2016 3:43 PM, "Stefan Wandl" < swa...@ubimet.com > wrote: 

BQ_BEGIN

Hi, 

i have currently two issues with templates: 

1) I cannot create VMs from Templates with Pre-Allocated Disks. I have a VM 
with 2 Preallocated and one Thin Provisioned Disk. 
Whenever i create a new template from this Machine all Disks are changed to 
Thin Provisoned inside of the Template. 

BQ_END


BQ_END

When you create a template you can create the type of te disk, maybe you chose 
cow? 

BQ_BEGIN


BQ_BEGIN

During the VM create in the resource tab i can only choose between Thin and 
Clone, 

BQ_END


BQ_END

If you created raw disk, you will have a raw disk after cloning the template. 

BQ_BEGIN


BQ_BEGIN

since the disks are all changed to Thin Provisioned it is impossible to create 
Pre-Allocated Disks with the Template. 

Can the behavior of the "Make Template" somehow be changed? 


3) I use cloud-init with a couple of settings in the "Intital Run" for the 
installation of the machines. Whenever i create a new VM from template inside 
of the Admin GUI the "Use Cloud-Init/Sysprep" is enabled and prefilled. Thats 
fine. 
When i use the same template inside of the User GUI the "Use 
Cloud-Init/Sysprep" is disabled and all the Cloud-Init settings are empty. 

Should it work that way or is it a bug? 

BQ_END


BQ_END

It sounds like a bug, adding Michal. 

BQ_BEGIN


BQ_BEGIN






 
UBIMET GmbH - weather matters 
Stefan Wandl 
Information & Process Management 

A-1220 Wien • Donau-City-Straße 11 • Tel +43 1 263 11 22 479 
swandl @ubimet.com • www.ubimet.com 

 

The information contained in this message (including any attachments) is 
confidential and may be legally privileged or otherwise protected from 
disclosure. This message is intended solely for the addressee(s). If you are 
not the intended recipient, please notify the sender by return e-mail and 
delete this message from your system. Any unauthorized use, reproduction, or 
dissemination of this message is strictly prohibited. Please note that e-mails 
are susceptible to change. UBIMET GmbH shall not be liable for the improper or 
incomplete transmission of the information contained in this communication, nor 
shall it be liable for any delay in its receipt. UBIMET GmbH accepts no 
liability for loss or damage caused by software viruses and you are advised to 
carry out a virus check on any attachments contained in this message. 

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


BQ_END


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


BQ_END


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


Re: [ovirt-users] Hosted Engine won't deploy

2016-12-19 Thread Nir Soffer
On Thu, Dec 15, 2016 at 5:36 PM, Martin Sivak  wrote:

> Hi,
>
> Thanks for the info. The hosted engine domain should not be the master one
> indeed. I will add some people that know the storage aspect better to the
> thread to figure out how this can be solved.
>
> Simone, Nir: Is there a way to force another domain to take over the
> master role? I think the current situation is not how it should work, the
> hosted engine storage should have never gotten the master storage duties.
>

Yes, this is a bad bug on engine side, similar to the bug that let engine
deactivate
this domain.

Please open urgent bug for this.


>
> Martin
>
> On Thu, Dec 15, 2016 at 4:18 PM, Gervais de Montbrun <
> gerv...@demontbrun.com> wrote:
>
>> Hi Martin,
>>
>> I do see the hosted_engine storage domain. Should it be listed as
>> (Master)? If not, how can I force my "proper" Data domain to take over as
>> master?
>>
>> I also see my hosted engine showing up:
>>
>> At some point I renamed it to match the name I am using for it, but now
>> when I try to change settings on it, I get an error:
>>
>>
>> It's great that there will be GUI ability to setup a hosted engine.
>> That's not great for me if they are not working -- which seems to be the
>> case right now :-( and doubly so if the ability to make it work goes away
>> on the command line.
>>
>> I truly appreciate the help and hope there are more good suggestions
>> coming my way.
>>
>> Cheers,
>> Gervais
>>
>>
>>
>> On Dec 15, 2016, at 4:30 AM, Martin Sivak  wrote:
>>
>> I am running oVirt 4.0.5 and have a hosted engine and Cluster and Data
>> Center say that they are running in 4.0 compatibility mode, so I don't
>> understand this error.
>>
>>
>> Do you see the hosted engine storage domain and the hosted engine VM
>> in the webadmin? Both should be imported automatically on 3.6+
>> compatibility level when a master storage domain is added to the
>> system.
>>
>> Alarmingly, I was
>> warned that this is deprecated and will not be possible in oVirt 4.1.
>>
>>
>> We have a nice UI that allows to control the hosted engine deployment
>> to additional hosts directly from the webadmin. You will be able to
>> add a hosted engine capable host by just marking it as such in the Add
>> host dialog.
>>
>> --
>> Martin Sivak
>> SLA / oVirt
>>
>> On Wed, Dec 14, 2016 at 11:05 PM, Gervais de Montbrun
>>  wrote:
>>
>> Hi all,
>>
>> I had to reinstall one of my hosts today and I noticed an issue. The error
>> message was:
>>
>> Ovirt2:
>>
>> Cannot edit Host. You are using an unmanaged hosted engine VM. Please
>> upgrade the cluster level to 3.6 and wait for the hosted engine storage
>> domain to be properly imported.
>>
>> I am running oVirt 4.0.5 and have a hosted engine and Cluster and Data
>> Center say that they are running in 4.0 compatibility mode, so I don't
>> understand this error. I did get the host setup by running `hosted-engine
>> --deploy` and walking through the command line options. Alarmingly, I was
>> warned that this is deprecated and will not be possible in oVirt 4.1.
>>
>> Any suggestions as to what I should do to sort out my issue?
>>
>> Cheers,
>> Gervais
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine won't deploy

2016-12-19 Thread Gervais de Montbrun
Hi All,

Any ideas what is going on with this and thoughts on what I can do to correct 
this situation?

All help is appreciated!

Cheers,
Gervais



> On Dec 15, 2016, at 11:36 AM, Martin Sivak  wrote:
> 
> Hi,
> 
> Thanks for the info. The hosted engine domain should not be the master one 
> indeed. I will add some people that know the storage aspect better to the 
> thread to figure out how this can be solved.
> 
> Simone, Nir: Is there a way to force another domain to take over the master 
> role? I think the current situation is not how it should work, the hosted 
> engine storage should have never gotten the master storage duties.
> 
> Martin
> 
> On Thu, Dec 15, 2016 at 4:18 PM, Gervais de Montbrun  > wrote:
> Hi Martin,
> 
> I do see the hosted_engine storage domain. Should it be listed as (Master)? 
> If not, how can I force my "proper" Data domain to take over as master?
> 
> 
> I also see my hosted engine showing up:
> 
> 
> At some point I renamed it to match the name I am using for it, but now when 
> I try to change settings on it, I get an error:
> 
> 
> 
> It's great that there will be GUI ability to setup a hosted engine. That's 
> not great for me if they are not working -- which seems to be the case right 
> now :-( and doubly so if the ability to make it work goes away on the command 
> line.
> 
> I truly appreciate the help and hope there are more good suggestions coming 
> my way.
> 
> Cheers,
> Gervais
> 
> 
> 
>> On Dec 15, 2016, at 4:30 AM, Martin Sivak > > wrote:
>> 
>>> I am running oVirt 4.0.5 and have a hosted engine and Cluster and Data
>>> Center say that they are running in 4.0 compatibility mode, so I don't
>>> understand this error.
>> 
>> Do you see the hosted engine storage domain and the hosted engine VM
>> in the webadmin? Both should be imported automatically on 3.6+
>> compatibility level when a master storage domain is added to the
>> system.
>> 
>>> Alarmingly, I was
>>> warned that this is deprecated and will not be possible in oVirt 4.1.
>> 
>> We have a nice UI that allows to control the hosted engine deployment
>> to additional hosts directly from the webadmin. You will be able to
>> add a hosted engine capable host by just marking it as such in the Add
>> host dialog.
>> 
>> --
>> Martin Sivak
>> SLA / oVirt
>> 
>> On Wed, Dec 14, 2016 at 11:05 PM, Gervais de Montbrun
>> > wrote:
>>> Hi all,
>>> 
>>> I had to reinstall one of my hosts today and I noticed an issue. The error
>>> message was:
>>> 
>>> Ovirt2:
>>> 
>>> Cannot edit Host. You are using an unmanaged hosted engine VM. Please
>>> upgrade the cluster level to 3.6 and wait for the hosted engine storage
>>> domain to be properly imported.
>>> 
>>> I am running oVirt 4.0.5 and have a hosted engine and Cluster and Data
>>> Center say that they are running in 4.0 compatibility mode, so I don't
>>> understand this error. I did get the host setup by running `hosted-engine
>>> --deploy` and walking through the command line options. Alarmingly, I was
>>> warned that this is deprecated and will not be possible in oVirt 4.1.
>>> 
>>> Any suggestions as to what I should do to sort out my issue?
>>> 
>>> Cheers,
>>> Gervais
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org 
>>> http://lists.phx.ovirt.org/mailman/listinfo/users 
>>> 
>>> 
> 
> 

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


Re: [ovirt-users] Python stack trace for VDSM while monitoring GlusterFS volumes in HC HE oVirt 3.6.7 / GlusterFS 3.7.17

2016-12-19 Thread Giuseppe Ragusa
On Fri, Dec 16, 2016, at 05:44, Ramesh Nachimuthu wrote:
> - Original Message -
> > From: "Giuseppe Ragusa" 
> > To: "Ramesh Nachimuthu" 
> > Cc: users@ovirt.org
> > Sent: Friday, December 16, 2016 2:42:18 AM
> > Subject: Re: [ovirt-users] Python stack trace for VDSM while monitoring 
> > GlusterFS volumes in HC HE oVirt 3.6.7 /
> > GlusterFS 3.7.17
> > 
> > Giuseppe Ragusa ha condiviso un file di OneDrive. Per visualizzarlo, fare
> > clic sul collegamento seguente.
> > 
> > 
> > 
> > [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]
> > 
> > vols.tar.gz
> > 
> > 
> > 
> > Da: Ramesh Nachimuthu 
> > Inviato: lunedì 12 dicembre 2016 09.32
> > A: Giuseppe Ragusa
> > Cc: users@ovirt.org
> > Oggetto: Re: [ovirt-users] Python stack trace for VDSM while monitoring
> > GlusterFS volumes in HC HE oVirt 3.6.7 / GlusterFS 3.7.17
> > 
> > On 12/09/2016 08:50 PM, Giuseppe Ragusa wrote:
> > > Hi all,
> > >
> > > I'm writing to ask about the following problem (in a HC HE oVirt 3.6.7
> > > GlusterFS 3.7.17 3-hosts-replica-with-arbiter sharded-volumes setup all on
> > > CentOS 7.2):
> > >
> > >  From /var/log/messages:
> > >
> > > Dec  9 15:27:46 shockley journal: vdsm jsonrpc.JsonRpcServer ERROR 
> > > Internal
> > > server error#012Traceback (most recent call last):#012  File
> > > "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 533, in
> > > _serveRequest#012res = method(**params)#012  File
> > > "/usr/share/vdsm/rpc/Bridge.py", line 275, in _dynamicMethod#012result
> > > = fn(*methodArgs)#012  File "/usr/share/vdsm/gluster/apiwrapper.py", line
> > > 117, in status#012return self._gluster.volumeStatus(volumeName, brick,
> > > statusOption)#012  File "/usr/share/vdsm/gluster/api.py", line 86, in
> > > wrapper#012rv = func(*args, **kwargs)#012  File
> > > "/usr/share/vdsm/gluster/api.py", line 407, in volumeStatus#012
> > > statusOption)#012  File "/usr/share/vdsm/supervdsm.py", line 50, in
> > > __call__#012return callMethod()#012  File
> > > "/usr/share/vdsm/supervdsm.py", line 48, in #012**kwargs)#012
> > > File "", line 2, in glusterVolumeStatus#012  File
> > > "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _ca
> > >   llmethod#012raise convert_to_error(kind, result)#012KeyError:
> > >   'device'
> > > Dec  9 15:27:47 shockley ovirt-ha-agent:
> > > INFO:ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore:Extracting Engine
> > > VM OVF from the OVF_STORE
> > > Dec  9 15:27:47 shockley ovirt-ha-agent:
> > > INFO:ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore:OVF_STORE volume
> > > path:
> > > /rhev/data-center/mnt/glusterSD/shockley.gluster.private:_enginedomain/1d60fd45-507d-4a78-8294-d642b3178ea3/images/22a172de-698e-4cc5-bff0-082882fb3347/8738287c-8a25-4a2a-a53a-65c366a972a1
> > > Dec  9 15:27:47 shockley ovirt-ha-agent:
> > > INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Found
> > > an OVF for HE VM, trying to convert
> > > Dec  9 15:27:47 shockley ovirt-ha-agent:
> > > INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Got
> > > vm.conf from OVF_STORE
> > > Dec  9 15:27:47 shockley ovirt-ha-agent:
> > > INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Current state
> > > EngineUp (score: 3400)
> > > Dec  9 15:27:47 shockley ovirt-ha-agent:
> > > INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Best remote
> > > host read.mgmt.private (id: 2, score: 3400)
> > > Dec  9 15:27:48 shockley journal: vdsm jsonrpc.JsonRpcServer ERROR 
> > > Internal
> > > server error#012Traceback (most recent call last):#012  File
> > > "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 533, in
> > > _serveRequest#012res = method(**params)#012  File
> > > "/usr/share/vdsm/rpc/Bridge.py", line 275, in _dynamicMethod#012result
> > > = fn(*methodArgs)#012  File "/usr/share/vdsm/gluster/apiwrapper.py", line
> > > 117, in status#012return self._gluster.volumeStatus(volumeName, brick,
> > > statusOption)#012  File "/usr/share/vdsm/gluster/api.py", line 86, in
> > > wrapper#012rv = func(*args, **kwargs)#012  File
> > > "/usr/share/vdsm/gluster/api.py", line 407, in volumeStatus#012
> > > statusOption)#012  File "/usr/share/vdsm/supervdsm.py", line 50, in
> > > __call__#012return callMethod()#012  File
> > > "/usr/share/vdsm/supervdsm.py", line 48, in #012**kwargs)#012
> > > File "", line 2, in glusterVolumeStatus#012  File
> > > "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _ca
> > >   llmethod#012raise convert_to_error(kind, result)#012KeyError:
> > >   'device'
> > > Dec  9 15:27:48 shockley ovirt-ha-broker:
> > > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
> > > established
> > > Dec  9 15:27:48 

Re: [ovirt-users] Fwd: [Call for feedback] anybody gave 4.1 beta a try?

2016-12-19 Thread Maton, Brett
I'll give that ago this evening, although that might be related to trying
to deploy to the host multiple times

On 19 December 2016 at 09:54, Simone Tiraboschi  wrote:

>
>
> On Mon, Dec 19, 2016 at 10:11 AM, Maton, Brett 
> wrote:
>
>> Log from the last deploy attempt attached.
>>
>
> 2016-12-18 12:52:05 DEBUG otopi.plugins.ovirt_host_mgmt.packages.update
> update.verbose:94 Yum: There are unfinished transactions remaining. You
> might consider running yum-complete-transaction, or
> "yum-complete-transaction --cleanup-only" and "yum history redo last",
> first to finish them. If those don't work you'll have to try
> removing/installing packages by hand (maybe package-cleanup can help).
>
> It seams that you have unfinished yum transactions on your host; can you
> please check for that and then try redeploying the host?
>
>
>>
>> On 19 December 2016 at 08:30, Simone Tiraboschi 
>> wrote:
>>
>>>
>>>
>>> On Sat, Dec 17, 2016 at 7:17 PM, Maton, Brett 
>>> wrote:
>>>
 I had a mac address conflict so reinstalled ( from scratch ) 4.1 this
 morning, CPU load issue in UI was still there.

>>>
>>> We already have an open bug about this: https://bugzilla.redhat.
>>> com/show_bug.cgi?id=1390675
>>> Thanks for the report.
>>>
>>>

 I can't deploy additional hosts now though due to SSH errors.

>>>
>>> Could you please attach host-deploy logs?
>>>
>>>

 Experimenting, I updated the hosted engine this afternoon and the CPU
 load issue seems be have either been fixed or resolved itself.

 However, SSH errors deploying additional hosts persists ( I had no
 problem with the previous install on Friday ).

 enging.log snippet:
 2016-12-17 17:09:54,764Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
 (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
 SSH error running command r...@host2.example.com:'umask 0077;
 MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)";
 trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
 /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
 "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine
 DIALOG/customization=bool:True': Command returned failure code 1
 during SSH session 'r...@host2.example.com'
 2016-12-17 17:09:54,765Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
 (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
 Exception: java.io.IOException: Command returned failure code 1 during SSH
 session 'r...@host2.example.com'
 at 
 org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:503)
 [uutils.jar:]
 at 
 org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
 [uutils.jar:]
 at 
 org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBasae.java:563)
 [bll.jar:]
 at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
 nd.installHost(InstallVdsInternalCommand.java:166) [bll.jar:]
 at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
 nd.executeCommand(InstallVdsInternalCommand.java:87) [bll.jar:]
 at 
 org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1249)
 [bll.jar:]
 at org.ovirt.engine.core.bll.CommandBase.executeActionInTransac
 tionScope(CommandBase.java:1389) [bll.jar:]
 at 
 org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2053)
 [bll.jar:]
 at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
 xecuteInSuppressed(TransactionSupport.java:164) [utils.jar:]
 at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
 xecuteInScope(TransactionSupport.java:103) [utils.jar:]
 at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1449)
 [bll.jar:]
 at 
 org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:395)
 [bll.jar:]
 at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
 .executeValidatedCommand(PrevalidatingMultipleActionsRunner.java:204)
 [bll.jar:]
 at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
 .runCommands(PrevalidatingMultipleActionsRunner.java:176) [bll.jar:]
 at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
 .lambda$invokeCommands$3(PrevalidatingMultipleActionsRunner.java:182)
 [bll.jar:]
 at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$Intern
 alWrapperRunnable.run(ThreadPoolUtil.java:92) [utils.jar:]
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 [rt.jar:1.8.0_111]
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 [rt.jar:1.8.0_111]
 at 
 

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

2016-12-19 Thread Shirly Radco
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  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]
> *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 
> 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_
> 

Re: [ovirt-users] Hosted Engine won't deploy

2016-12-19 Thread Gervais de Montbrun
done
https://bugzilla.redhat.com/show_bug.cgi?id=1406169

Cheers,
Gervais



> On Dec 19, 2016, at 4:07 PM, Nir Soffer  wrote:
> 
> On Thu, Dec 15, 2016 at 5:36 PM, Martin Sivak  > wrote:
> Hi,
> 
> Thanks for the info. The hosted engine domain should not be the master one 
> indeed. I will add some people that know the storage aspect better to the 
> thread to figure out how this can be solved.
> 
> Simone, Nir: Is there a way to force another domain to take over the master 
> role? I think the current situation is not how it should work, the hosted 
> engine storage should have never gotten the master storage duties.
> 
> Yes, this is a bad bug on engine side, similar to the bug that let engine 
> deactivate
> this domain.
> 
> Please open urgent bug for this.
>  
> 
> Martin
> 
> On Thu, Dec 15, 2016 at 4:18 PM, Gervais de Montbrun  > wrote:
> Hi Martin,
> 
> I do see the hosted_engine storage domain. Should it be listed as (Master)? 
> If not, how can I force my "proper" Data domain to take over as master?
> 
> 
> I also see my hosted engine showing up:
> 
> 
> At some point I renamed it to match the name I am using for it, but now when 
> I try to change settings on it, I get an error:
> 
> 
> 
> It's great that there will be GUI ability to setup a hosted engine. That's 
> not great for me if they are not working -- which seems to be the case right 
> now :-( and doubly so if the ability to make it work goes away on the command 
> line.
> 
> I truly appreciate the help and hope there are more good suggestions coming 
> my way.
> 
> Cheers,
> Gervais
> 
> 
> 
>> On Dec 15, 2016, at 4:30 AM, Martin Sivak > > wrote:
>> 
>>> I am running oVirt 4.0.5 and have a hosted engine and Cluster and Data
>>> Center say that they are running in 4.0 compatibility mode, so I don't
>>> understand this error.
>> 
>> Do you see the hosted engine storage domain and the hosted engine VM
>> in the webadmin? Both should be imported automatically on 3.6+
>> compatibility level when a master storage domain is added to the
>> system.
>> 
>>> Alarmingly, I was
>>> warned that this is deprecated and will not be possible in oVirt 4.1.
>> 
>> We have a nice UI that allows to control the hosted engine deployment
>> to additional hosts directly from the webadmin. You will be able to
>> add a hosted engine capable host by just marking it as such in the Add
>> host dialog.
>> 
>> --
>> Martin Sivak
>> SLA / oVirt
>> 
>> On Wed, Dec 14, 2016 at 11:05 PM, Gervais de Montbrun
>> > wrote:
>>> Hi all,
>>> 
>>> I had to reinstall one of my hosts today and I noticed an issue. The error
>>> message was:
>>> 
>>> Ovirt2:
>>> 
>>> Cannot edit Host. You are using an unmanaged hosted engine VM. Please
>>> upgrade the cluster level to 3.6 and wait for the hosted engine storage
>>> domain to be properly imported.
>>> 
>>> I am running oVirt 4.0.5 and have a hosted engine and Cluster and Data
>>> Center say that they are running in 4.0 compatibility mode, so I don't
>>> understand this error. I did get the host setup by running `hosted-engine
>>> --deploy` and walking through the command line options. Alarmingly, I was
>>> warned that this is deprecated and will not be possible in oVirt 4.1.
>>> 
>>> Any suggestions as to what I should do to sort out my issue?
>>> 
>>> Cheers,
>>> Gervais
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org 
>>> http://lists.phx.ovirt.org/mailman/listinfo/users 
>>> 
>>> 
> 
> 
> 

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


Re: [ovirt-users] Fwd: [Call for feedback] anybody gave 4.1 beta a try?

2016-12-19 Thread Simone Tiraboschi
On Sat, Dec 17, 2016 at 7:17 PM, Maton, Brett 
wrote:

> I had a mac address conflict so reinstalled ( from scratch ) 4.1 this
> morning, CPU load issue in UI was still there.
>

We already have an open bug about this:
https://bugzilla.redhat.com/show_bug.cgi?id=1390675
Thanks for the report.


>
> I can't deploy additional hosts now though due to SSH errors.
>

Could you please attach host-deploy logs?


>
> Experimenting, I updated the hosted engine this afternoon and the CPU load
> issue seems be have either been fixed or resolved itself.
>
> However, SSH errors deploying additional hosts persists ( I had no problem
> with the previous install on Friday ).
>
> enging.log snippet:
> 2016-12-17 17:09:54,764Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
> SSH error running command r...@host2.example.com:'umask 0077;
> MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; trap
> "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
> /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
> "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine
> DIALOG/customization=bool:True': Command returned failure code 1 during
> SSH session 'r...@host2.example.com'
> 2016-12-17 17:09:54,765Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
> Exception: java.io.IOException: Command returned failure code 1 during SSH
> session 'r...@host2.example.com'
> at 
> org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:503)
> [uutils.jar:]
> at 
> org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
> [uutils.jar:]
> at 
> org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBasae.java:563)
> [bll.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
> nd.installHost(InstallVdsInternalCommand.java:166) [bll.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
> nd.executeCommand(InstallVdsInternalCommand.java:87) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1249)
> [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.executeActionInTransac
> tionScope(CommandBase.java:1389) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2053)
> [bll.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
> xecuteInSuppressed(TransactionSupport.java:164) [utils.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
> xecuteInScope(TransactionSupport.java:103) [utils.jar:]
> at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1449)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:395)
> [bll.jar:]
> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
> .executeValidatedCommand(PrevalidatingMultipleActionsRunner.java:204)
> [bll.jar:]
> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
> .runCommands(PrevalidatingMultipleActionsRunner.java:176) [bll.jar:]
> at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner
> .lambda$invokeCommands$3(PrevalidatingMultipleActionsRunner.java:182)
> [bll.jar:]
> at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$Intern
> alWrapperRunnable.run(ThreadPoolUtil.java:92) [utils.jar:]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [rt.jar:1.8.0_111]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [rt.jar:1.8.0_111]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [rt.jar:1.8.0_111]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [rt.jar:1.8.0_111]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
>
> 2016-12-17 17:09:54,765Z ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
> Error during host host2.example.com install: java.io.IOException: Command
> returned failure code 1 during SSH session 'r...@host2.example.com'
> at 
> org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:503)
> [uutils.jar:]
> at 
> org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
> [uutils.jar:]
> at 
> org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBase.java:563)
> [bll.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
> nd.installHost(InstallVdsInternalCommand.java:166) [bll.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
> nd.executeCommand(InstallVdsInternalCommand.java:87) [bll.jar:]
> at 
>