Re: [ovirt-devel] Webadmin complie time too long

2017-07-13 Thread Scott Dickerson
On Thu, Jul 13, 2017 at 6:32 AM, Tomas Jelinek  wrote:

> yes, you can try to debug it:
> https://www.ovirt.org/develop/developer-guide/debugfrontend/
>
> On Thu, Jul 13, 2017 at 10:51 AM, 紫星雨  wrote:
>
>> Hello!
>>
>>
>> Recently, I am debugging the 'Webadmin' module to add a new function. But the
>> time of compiling the 'Webadmin' module is very long, nearly eight minutes.
>> Is there any debug method that can compile quickly.
>>
>>
>>
The only way to really decrease the compile time of webadmin is to reduce
the number of GWT permutations.  There is a new GWT compile for every
permutation, and there is a permutation for every browser * every locale.
A full oVirt build will do 3 browsers (ie10, gecko/firefox and
safari/webkit/chrome) and 9 languages for a total of 27 permutations.

The debug page shows a few build commands that can reduce the number of
permutations included.

When I compile, I only compile for 1 browser (chrome), 1 language
(English), include all of the unit tests and exclude the userportal.  Here
is my build command:

  make \
clean install-dev \
PREFIX=$HOME/ovirt-engine \
BUILD_UT=1 \
BUILD_GWT=1 \
BUILD_GWT_USERPORTAL=0 \
DEV_EXTRA_BUILD_FLAGS="-Dgwt.compiler.localWorkers=1" \
DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.cssResourceStyle=pretty
-Dgwt.userAgent=safari -Dgwt.locale=en_US"

On compiles after only changing source in webadmin, I'll drop the 'clean'
and set BUILD_UT=0.

If you want more then one language, just add the extra local comma
separated.  For example, to get English and German, use
'-Dgwt.locale=en_US,de_DE'.



> (I use ovirt-engine 4.1 version)
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>
> ___
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Question about general testing

2017-07-13 Thread Greg Sheremeta
Does ovirt-system-tests meet your needs? It can leave the VMs standing when
it's done.

On Thu, Jul 13, 2017 at 10:39 AM, Marc Young <3vilpeng...@gmail.com> wrote:

> I've been trying for weeks to come up with a better (most specifically
> lighter) testing environment for external API requests (specifically
> vagrant).
>
> Right now It basically hooks into a real running oVirt to spin up and test
> VMs. It works but it's not portable or lightweight.
>
> I've been looking into the docker containers:
>https://github.com/oVirt/ovirt-container-engine (doesnt look like this
> is going to stay maintained? )
>https://github.com/oVirt/ovirt-containers (this requires openshift
> making it a giant yak to shave)
>
> Are there any thoughts on where to head from here? Im looking to purely
> launch oVirt of specific versions and run some tests against it (launching
> real VMs).
>
> I got the first docker one working, but it turned into a turtles problem
> because there was no host, and adding a host requires ssh to be running
> (which isnt), etc etc.
>
> ___
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>



-- 
Greg Sheremeta, MBA
Sr. Software Engineer
Red Hat, Inc.
gsher...@redhat.com
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] Question about general testing

2017-07-13 Thread Marc Young
I've been trying for weeks to come up with a better (most specifically
lighter) testing environment for external API requests (specifically
vagrant).

Right now It basically hooks into a real running oVirt to spin up and test
VMs. It works but it's not portable or lightweight.

I've been looking into the docker containers:
   https://github.com/oVirt/ovirt-container-engine (doesnt look like this
is going to stay maintained? )
   https://github.com/oVirt/ovirt-containers (this requires openshift
making it a giant yak to shave)

Are there any thoughts on where to head from here? Im looking to purely
launch oVirt of specific versions and run some tests against it (launching
real VMs).

I got the first docker one working, but it turned into a turtles problem
because there was no host, and adding a host requires ssh to be running
(which isnt), etc etc.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 12-07-2017 ] [ 004_basic_sanity.live_storage_migration ]

2017-07-13 Thread Evgheni Dereveanchin
Allon, thank you for the quick fix. Master is back to normal now.

On Thu, Jul 13, 2017 at 12:32 PM, Allon Mureinik 
wrote:

>
>
> On Thu, Jul 13, 2017 at 1:24 PM, Eyal Edri  wrote:
>
>>
>>
>> On Thu, Jul 13, 2017 at 12:50 PM, Allon Mureinik 
>> wrote:
>>
>>> https://gerrit.ovirt.org/#/c/79381/ should solve this.
>>>
>>> I'm waiting for the "regular" CI to complete before merging.
>>>
>>
>> Did you try running the manual job with it? [1]
>>
>> [1] http://jenkins.ovirt.org/view/oVirt%20system%20tests/job
>> /ovirt-system-tests_manual/
>>
>
> ​I reproduced the error on my own system, and verified the fix there.
> If the fix is fine the manual job is great. If it isn't, and you need to
> debug, it's much less comfortable.
>
>
> Regardless - the patch is merged now, so the next OST run should be OK.
>
>
> Sorry for the noise.​
>
>>
>>
>>>
>>> On Thu, Jul 13, 2017 at 11:35 AM, Allon Mureinik 
>>> wrote:
>>>
 Definitely looks like it's related to that patch series.

 I'm on it.

 On Thu, Jul 13, 2017 at 11:18 AM, Evgheni Dereveanchin <
 edere...@redhat.com> wrote:

> Hi, we have OST failing on Master
>
> Test failed: [ 004_basic_sanity.live_storage_migration ]
> Link to suspected patches: https://gerrit.ovirt.org/#/c/79246/
> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experiment
> al_master/7555/
> Error snippet from the log: http://jenkins.ovirt.org/
> job/test-repo_ovirt_experimental_master/7555/artifact/export
> ed-artifacts/basic-suit-master-el7/test_logs/basic-suite-mas
> ter/post-004_basic_sanity.py/
>
> 
>
> [Cannot move Virtual Disk. The disk vm0_disk0 is plugged to non-Down VMs: 
> vm0]
>
> 
>
> 
>
> 2017-07-12 12:19:32,547-04 INFO  
> [org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default 
> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Running command: 
> MoveDisksCommand internal: false. Entities affected :  ID: 
> eb4127a6-cc05-4aea-9250-9792447e77e8 Type: DiskAction group 
> CONFIGURE_DISK_STORAGE with role type USER
> 2017-07-12 12:19:32,552-04 INFO  
> [org.ovirt.engine.core.bll.AddDeprecatedApiEventCommand] (default task-4) 
> [5cb4e759] Running command: AddDeprecatedApiEventCommand internal: false.
> 2017-07-12 12:19:32,616-04 INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Lock Acquired to 
> object 
> 'EngineLock:{exclusiveLocks='[f66c92f3-474f-4b89-8ba3-56a583ddad89=VM]', 
> sharedLocks=''}'
> 2017-07-12 12:19:32,642-04 INFO  
> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] 
> (default task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock Acquired to 
> object 
> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]',
>  sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
> 2017-07-12 12:19:32,658-04 INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
> CreateAllSnapshotsFromVmCommand internal: false. Entities affected :  ID: 
> f66c92f3-474f-4b89-8ba3-56a583ddad89 Type: VMAction group 
> MANIPULATE_VM_SNAPSHOTS with role type USER
> 2017-07-12 12:19:32,681-04 INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default 
> task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
> CreateSnapshotCommand internal: true. Entities affected :  ID: 
> ---- Type: Storage
> 2017-07-12 12:19:32,691-04 WARN  
> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] 
> (default task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Validation of 
> action 'LiveMigrateVmDisks' failed for user admin@internal-authz. 
> Reasons: 
> VAR__ACTION__MOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_DISK_PLUGGED_TO_NON_DOWN_VMS,$DiskName
>  vm0_disk0,$VmList vm0
> 2017-07-12 12:19:32,692-04 INFO  
> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] 
> (default task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock freed to 
> object 
> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]',
>  sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
> 2017-07-12 12:19:32,701-04 ERROR 
> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
> task-2) [] Operation Failed: [Cannot move Virtual Disk. The disk 
> vm0_disk0 is plugged to non-Down VMs: vm0]
>
> 
>
> --
> Regards,
> Evgheni Dereveanchin
>


>>>
>>> ___
>>> Devel mailing list
>>> Devel@ovirt.org
>>> 

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 12-07-2017 ] [ 004_basic_sanity.live_storage_migration ]

2017-07-13 Thread Allon Mureinik
On Thu, Jul 13, 2017 at 1:24 PM, Eyal Edri  wrote:

>
>
> On Thu, Jul 13, 2017 at 12:50 PM, Allon Mureinik 
> wrote:
>
>> https://gerrit.ovirt.org/#/c/79381/ should solve this.
>>
>> I'm waiting for the "regular" CI to complete before merging.
>>
>
> Did you try running the manual job with it? [1]
>
> [1] http://jenkins.ovirt.org/view/oVirt%20system%20tests/
> job/ovirt-system-tests_manual/
>

​I reproduced the error on my own system, and verified the fix there.
If the fix is fine the manual job is great. If it isn't, and you need to
debug, it's much less comfortable.


Regardless - the patch is merged now, so the next OST run should be OK.


Sorry for the noise.​

>
>
>>
>> On Thu, Jul 13, 2017 at 11:35 AM, Allon Mureinik 
>> wrote:
>>
>>> Definitely looks like it's related to that patch series.
>>>
>>> I'm on it.
>>>
>>> On Thu, Jul 13, 2017 at 11:18 AM, Evgheni Dereveanchin <
>>> edere...@redhat.com> wrote:
>>>
 Hi, we have OST failing on Master

 Test failed: [ 004_basic_sanity.live_storage_migration ]
 Link to suspected patches: https://gerrit.ovirt.org/#/c/79246/
 Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experiment
 al_master/7555/
 Error snippet from the log: http://jenkins.ovirt.org/
 job/test-repo_ovirt_experimental_master/7555/artifact/export
 ed-artifacts/basic-suit-master-el7/test_logs/basic-suite-mas
 ter/post-004_basic_sanity.py/

 

 [Cannot move Virtual Disk. The disk vm0_disk0 is plugged to non-Down VMs: 
 vm0]

 

 

 2017-07-12 12:19:32,547-04 INFO  
 [org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default task-2) 
 [4cbc2554-837c-4f76-94db-3e9312eee9d9] Running command: MoveDisksCommand 
 internal: false. Entities affected :  ID: 
 eb4127a6-cc05-4aea-9250-9792447e77e8 Type: DiskAction group 
 CONFIGURE_DISK_STORAGE with role type USER
 2017-07-12 12:19:32,552-04 INFO  
 [org.ovirt.engine.core.bll.AddDeprecatedApiEventCommand] (default task-4) 
 [5cb4e759] Running command: AddDeprecatedApiEventCommand internal: false.
 2017-07-12 12:19:32,616-04 INFO  
 [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
 (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Lock Acquired to 
 object 
 'EngineLock:{exclusiveLocks='[f66c92f3-474f-4b89-8ba3-56a583ddad89=VM]', 
 sharedLocks=''}'
 2017-07-12 12:19:32,642-04 INFO  
 [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
 task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock Acquired to object 
 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
 sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
 2017-07-12 12:19:32,658-04 INFO  
 [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
 (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
 CreateAllSnapshotsFromVmCommand internal: false. Entities affected :  ID: 
 f66c92f3-474f-4b89-8ba3-56a583ddad89 Type: VMAction group 
 MANIPULATE_VM_SNAPSHOTS with role type USER
 2017-07-12 12:19:32,681-04 INFO  
 [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default 
 task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
 CreateSnapshotCommand internal: true. Entities affected :  ID: 
 ---- Type: Storage
 2017-07-12 12:19:32,691-04 WARN  
 [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
 task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Validation of action 
 'LiveMigrateVmDisks' failed for user admin@internal-authz. Reasons: 
 VAR__ACTION__MOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_DISK_PLUGGED_TO_NON_DOWN_VMS,$DiskName
  vm0_disk0,$VmList vm0
 2017-07-12 12:19:32,692-04 INFO  
 [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
 task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock freed to object 
 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
 sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
 2017-07-12 12:19:32,701-04 ERROR 
 [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
 task-2) [] Operation Failed: [Cannot move Virtual Disk. The disk vm0_disk0 
 is plugged to non-Down VMs: vm0]

 

 --
 Regards,
 Evgheni Dereveanchin

>>>
>>>
>>
>> ___
>> Devel mailing list
>> Devel@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>
>
> --
>
> Eyal edri
>
>
> ASSOCIATE MANAGER
>
> RHV DevOps
>
> EMEA VIRTUALIZATION R
>
>
> Red Hat EMEA 
>  TRIED. TESTED. TRUSTED. 
> phone: +972-9-7692018 <+972%209-769-2018>
> irc: eedri (on #tlv #rhev-dev 

Re: [ovirt-devel] Webadmin complie time too long

2017-07-13 Thread Tomas Jelinek
yes, you can try to debug it:
https://www.ovirt.org/develop/developer-guide/debugfrontend/

On Thu, Jul 13, 2017 at 10:51 AM, 紫星雨  wrote:

> Hello!
>
>
> Recently, I am debugging the 'Webadmin' module to add a new function. But the
> time of compiling the 'Webadmin' module is very long, nearly eight minutes.
> Is there any debug method that can compile quickly.
>
>
> (I use ovirt-engine 4.1 version)
>
>
>
>
>
>
>
> ___
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>


3003F602@DDE23B6A.A7346759
Description: Binary data
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 12-07-2017 ] [ 004_basic_sanity.live_storage_migration ]

2017-07-13 Thread Eyal Edri
On Thu, Jul 13, 2017 at 12:50 PM, Allon Mureinik 
wrote:

> https://gerrit.ovirt.org/#/c/79381/ should solve this.
>
> I'm waiting for the "regular" CI to complete before merging.
>

Did you try running the manual job with it? [1]

[1]
http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_manual/


>
> On Thu, Jul 13, 2017 at 11:35 AM, Allon Mureinik 
> wrote:
>
>> Definitely looks like it's related to that patch series.
>>
>> I'm on it.
>>
>> On Thu, Jul 13, 2017 at 11:18 AM, Evgheni Dereveanchin <
>> edere...@redhat.com> wrote:
>>
>>> Hi, we have OST failing on Master
>>>
>>> Test failed: [ 004_basic_sanity.live_storage_migration ]
>>> Link to suspected patches: https://gerrit.ovirt.org/#/c/79246/
>>> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experiment
>>> al_master/7555/
>>> Error snippet from the log: http://jenkins.ovirt.org/
>>> job/test-repo_ovirt_experimental_master/7555/artifact/export
>>> ed-artifacts/basic-suit-master-el7/test_logs/basic-suite-mas
>>> ter/post-004_basic_sanity.py/
>>>
>>> 
>>>
>>> [Cannot move Virtual Disk. The disk vm0_disk0 is plugged to non-Down VMs: 
>>> vm0]
>>>
>>> 
>>>
>>> 
>>>
>>> 2017-07-12 12:19:32,547-04 INFO  
>>> [org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default task-2) 
>>> [4cbc2554-837c-4f76-94db-3e9312eee9d9] Running command: MoveDisksCommand 
>>> internal: false. Entities affected :  ID: 
>>> eb4127a6-cc05-4aea-9250-9792447e77e8 Type: DiskAction group 
>>> CONFIGURE_DISK_STORAGE with role type USER
>>> 2017-07-12 12:19:32,552-04 INFO  
>>> [org.ovirt.engine.core.bll.AddDeprecatedApiEventCommand] (default task-4) 
>>> [5cb4e759] Running command: AddDeprecatedApiEventCommand internal: false.
>>> 2017-07-12 12:19:32,616-04 INFO  
>>> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
>>> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Lock Acquired to 
>>> object 
>>> 'EngineLock:{exclusiveLocks='[f66c92f3-474f-4b89-8ba3-56a583ddad89=VM]', 
>>> sharedLocks=''}'
>>> 2017-07-12 12:19:32,642-04 INFO  
>>> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
>>> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock Acquired to object 
>>> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
>>> sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
>>> 2017-07-12 12:19:32,658-04 INFO  
>>> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
>>> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
>>> CreateAllSnapshotsFromVmCommand internal: false. Entities affected :  ID: 
>>> f66c92f3-474f-4b89-8ba3-56a583ddad89 Type: VMAction group 
>>> MANIPULATE_VM_SNAPSHOTS with role type USER
>>> 2017-07-12 12:19:32,681-04 INFO  
>>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default 
>>> task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
>>> CreateSnapshotCommand internal: true. Entities affected :  ID: 
>>> ---- Type: Storage
>>> 2017-07-12 12:19:32,691-04 WARN  
>>> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
>>> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Validation of action 
>>> 'LiveMigrateVmDisks' failed for user admin@internal-authz. Reasons: 
>>> VAR__ACTION__MOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_DISK_PLUGGED_TO_NON_DOWN_VMS,$DiskName
>>>  vm0_disk0,$VmList vm0
>>> 2017-07-12 12:19:32,692-04 INFO  
>>> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
>>> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock freed to object 
>>> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
>>> sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
>>> 2017-07-12 12:19:32,701-04 ERROR 
>>> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
>>> task-2) [] Operation Failed: [Cannot move Virtual Disk. The disk vm0_disk0 
>>> is plugged to non-Down VMs: vm0]
>>>
>>> 
>>>
>>> --
>>> Regards,
>>> Evgheni Dereveanchin
>>>
>>
>>
>
> ___
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>



-- 

Eyal edri


ASSOCIATE MANAGER

RHV DevOps

EMEA VIRTUALIZATION R


Red Hat EMEA 
 TRIED. TESTED. TRUSTED. 
phone: +972-9-7692018 <+972%209-769-2018>
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 12-07-2017 ] [ 004_basic_sanity.live_storage_migration ]

2017-07-13 Thread Allon Mureinik
https://gerrit.ovirt.org/#/c/79381/ should solve this.

I'm waiting for the "regular" CI to complete before merging.

On Thu, Jul 13, 2017 at 11:35 AM, Allon Mureinik 
wrote:

> Definitely looks like it's related to that patch series.
>
> I'm on it.
>
> On Thu, Jul 13, 2017 at 11:18 AM, Evgheni Dereveanchin <
> edere...@redhat.com> wrote:
>
>> Hi, we have OST failing on Master
>>
>> Test failed: [ 004_basic_sanity.live_storage_migration ]
>> Link to suspected patches: https://gerrit.ovirt.org/#/c/79246/
>> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_experiment
>> al_master/7555/
>> Error snippet from the log: http://jenkins.ovirt.org/
>> job/test-repo_ovirt_experimental_master/7555/artifact/
>> exported-artifacts/basic-suit-master-el7/test_logs/basic-
>> suite-master/post-004_basic_sanity.py/
>>
>> 
>>
>> [Cannot move Virtual Disk. The disk vm0_disk0 is plugged to non-Down VMs: 
>> vm0]
>>
>> 
>>
>> 
>>
>> 2017-07-12 12:19:32,547-04 INFO  
>> [org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default task-2) 
>> [4cbc2554-837c-4f76-94db-3e9312eee9d9] Running command: MoveDisksCommand 
>> internal: false. Entities affected :  ID: 
>> eb4127a6-cc05-4aea-9250-9792447e77e8 Type: DiskAction group 
>> CONFIGURE_DISK_STORAGE with role type USER
>> 2017-07-12 12:19:32,552-04 INFO  
>> [org.ovirt.engine.core.bll.AddDeprecatedApiEventCommand] (default task-4) 
>> [5cb4e759] Running command: AddDeprecatedApiEventCommand internal: false.
>> 2017-07-12 12:19:32,616-04 INFO  
>> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
>> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Lock Acquired to 
>> object 
>> 'EngineLock:{exclusiveLocks='[f66c92f3-474f-4b89-8ba3-56a583ddad89=VM]', 
>> sharedLocks=''}'
>> 2017-07-12 12:19:32,642-04 INFO  
>> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
>> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock Acquired to object 
>> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
>> sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
>> 2017-07-12 12:19:32,658-04 INFO  
>> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
>> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
>> CreateAllSnapshotsFromVmCommand internal: false. Entities affected :  ID: 
>> f66c92f3-474f-4b89-8ba3-56a583ddad89 Type: VMAction group 
>> MANIPULATE_VM_SNAPSHOTS with role type USER
>> 2017-07-12 12:19:32,681-04 INFO  
>> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default task-4) 
>> [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
>> CreateSnapshotCommand internal: true. Entities affected :  ID: 
>> ---- Type: Storage
>> 2017-07-12 12:19:32,691-04 WARN  
>> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
>> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Validation of action 
>> 'LiveMigrateVmDisks' failed for user admin@internal-authz. Reasons: 
>> VAR__ACTION__MOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_DISK_PLUGGED_TO_NON_DOWN_VMS,$DiskName
>>  vm0_disk0,$VmList vm0
>> 2017-07-12 12:19:32,692-04 INFO  
>> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
>> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock freed to object 
>> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
>> sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
>> 2017-07-12 12:19:32,701-04 ERROR 
>> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
>> task-2) [] Operation Failed: [Cannot move Virtual Disk. The disk vm0_disk0 
>> is plugged to non-Down VMs: vm0]
>>
>> 
>>
>> --
>> Regards,
>> Evgheni Dereveanchin
>>
>
>
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] Webadmin complie time too long

2017-07-13 Thread ??????
Hello!
 

Recently, I am debugging the 'Webadmin' module to add a new function. But the 
time of compiling the 'Webadmin' module is very long, nearly eight minutes. 
Is there any debug method that can compile quickly.  



??I use ovirt-engine 4.1 version??

3003F602@DDE23B6A.A7346759
Description: Binary data
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 12-07-2017 ] [ 004_basic_sanity.live_storage_migration ]

2017-07-13 Thread Allon Mureinik
Definitely looks like it's related to that patch series.

I'm on it.

On Thu, Jul 13, 2017 at 11:18 AM, Evgheni Dereveanchin 
wrote:

> Hi, we have OST failing on Master
>
> Test failed: [ 004_basic_sanity.live_storage_migration ]
> Link to suspected patches: https://gerrit.ovirt.org/#/c/79246/
> Link to Job: http://jenkins.ovirt.org/job/test-repo_ovirt_
> experimental_master/7555/
> Error snippet from the log: http://jenkins.ovirt.org/job/test-repo_ovirt_
> experimental_master/7555/artifact/exported-artifacts/
> basic-suit-master-el7/test_logs/basic-suite-master/post-
> 004_basic_sanity.py/
>
> 
>
> [Cannot move Virtual Disk. The disk vm0_disk0 is plugged to non-Down VMs: vm0]
>
> 
>
> 
>
> 2017-07-12 12:19:32,547-04 INFO  
> [org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default task-2) 
> [4cbc2554-837c-4f76-94db-3e9312eee9d9] Running command: MoveDisksCommand 
> internal: false. Entities affected :  ID: 
> eb4127a6-cc05-4aea-9250-9792447e77e8 Type: DiskAction group 
> CONFIGURE_DISK_STORAGE with role type USER
> 2017-07-12 12:19:32,552-04 INFO  
> [org.ovirt.engine.core.bll.AddDeprecatedApiEventCommand] (default task-4) 
> [5cb4e759] Running command: AddDeprecatedApiEventCommand internal: false.
> 2017-07-12 12:19:32,616-04 INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Lock Acquired to 
> object 
> 'EngineLock:{exclusiveLocks='[f66c92f3-474f-4b89-8ba3-56a583ddad89=VM]', 
> sharedLocks=''}'
> 2017-07-12 12:19:32,642-04 INFO  
> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock Acquired to object 
> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
> sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
> 2017-07-12 12:19:32,658-04 INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] 
> (default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: 
> CreateAllSnapshotsFromVmCommand internal: false. Entities affected :  ID: 
> f66c92f3-474f-4b89-8ba3-56a583ddad89 Type: VMAction group 
> MANIPULATE_VM_SNAPSHOTS with role type USER
> 2017-07-12 12:19:32,681-04 INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default task-4) 
> [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command: CreateSnapshotCommand 
> internal: true. Entities affected :  ID: ---- 
> Type: Storage
> 2017-07-12 12:19:32,691-04 WARN  
> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Validation of action 
> 'LiveMigrateVmDisks' failed for user admin@internal-authz. Reasons: 
> VAR__ACTION__MOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_DISK_PLUGGED_TO_NON_DOWN_VMS,$DiskName
>  vm0_disk0,$VmList vm0
> 2017-07-12 12:19:32,692-04 INFO  
> [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default 
> task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock freed to object 
> 'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]', 
> sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
> 2017-07-12 12:19:32,701-04 ERROR 
> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
> task-2) [] Operation Failed: [Cannot move Virtual Disk. The disk vm0_disk0 is 
> plugged to non-Down VMs: vm0]
>
> 
>
> --
> Regards,
> Evgheni Dereveanchin
>
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 12-07-2017 ] [ 004_basic_sanity.live_storage_migration ]

2017-07-13 Thread Evgheni Dereveanchin
Hi, we have OST failing on Master

Test failed: [ 004_basic_sanity.live_storage_migration ]
Link to suspected patches: https://gerrit.ovirt.org/#/c/79246/
Link to Job:
http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7555/
Error snippet from the log:
http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/7555/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-004_basic_sanity.py/



[Cannot move Virtual Disk. The disk vm0_disk0 is plugged to non-Down VMs: vm0]





2017-07-12 12:19:32,547-04 INFO
[org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default
task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Running command:
MoveDisksCommand internal: false. Entities affected :  ID:
eb4127a6-cc05-4aea-9250-9792447e77e8 Type: DiskAction group
CONFIGURE_DISK_STORAGE with role type USER
2017-07-12 12:19:32,552-04 INFO
[org.ovirt.engine.core.bll.AddDeprecatedApiEventCommand] (default
task-4) [5cb4e759] Running command: AddDeprecatedApiEventCommand
internal: false.
2017-07-12 12:19:32,616-04 INFO
[org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand]
(default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Lock Acquired
to object 
'EngineLock:{exclusiveLocks='[f66c92f3-474f-4b89-8ba3-56a583ddad89=VM]',
sharedLocks=''}'
2017-07-12 12:19:32,642-04 INFO
[org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand]
(default task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock Acquired
to object 
'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]',
sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
2017-07-12 12:19:32,658-04 INFO
[org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand]
(default task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running
command: CreateAllSnapshotsFromVmCommand internal: false. Entities
affected :  ID: f66c92f3-474f-4b89-8ba3-56a583ddad89 Type: VMAction
group MANIPULATE_VM_SNAPSHOTS with role type USER
2017-07-12 12:19:32,681-04 INFO
[org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (default
task-4) [568e6d7d-3a5f-4f97-bb39-8b4d2d4ae1da] Running command:
CreateSnapshotCommand internal: true. Entities affected :  ID:
---- Type: Storage
2017-07-12 12:19:32,691-04 WARN
[org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand]
(default task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Validation of
action 'LiveMigrateVmDisks' failed for user admin@internal-authz.
Reasons: 
VAR__ACTION__MOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_DISK_PLUGGED_TO_NON_DOWN_VMS,$DiskName
vm0_disk0,$VmList vm0
2017-07-12 12:19:32,692-04 INFO
[org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand]
(default task-2) [4cbc2554-837c-4f76-94db-3e9312eee9d9] Lock freed to
object 
'EngineLock:{exclusiveLocks='[eb4127a6-cc05-4aea-9250-9792447e77e8=DISK]',
sharedLocks='[4c13d9f7-faf7-4b43-90f7-5ac7438efb80=VM]'}'
2017-07-12 12:19:32,701-04 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
(default task-2) [] Operation Failed: [Cannot move Virtual Disk. The
disk vm0_disk0 is plugged to non-Down VMs: vm0]



-- 
Regards,
Evgheni Dereveanchin
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel