Re: [ovirt-devel] Storage in VDSM questions

2016-06-27 Thread Shmuel Melamud
Hi!

On Thu, Jun 23, 2016 at 9:51 AM, Liron Aravot  wrote:

>
> 3. What hsm.spmSchedule() method does?
>>
> Schedules a task to be executed as SPM (used to perform operation that
> alter
> the shared storage or data operations currently).
>

​But SPM is a particular host.​ What does this method do, if it is called
not on SPM host? Returns error? Or somehow transfers the task to the SPM
host?



> 7. Why in HSM we are using vars.task.getSharedLock(STORAGE, sdUUID)
>> sometimes instead of domain lock?
>>
> The task lock (which uses the resource manager) is used to acquire in
> memory logical lock within the current host.
> Theoretical example- you wouldn't want to attempt to delete a domain while
> you create a volume on it.
>

​But this lock works only inside the host. So, if some other host will try
to create a volume, this lock will not help. So what's​

11. What methods dom.linkBCImage(imgPath, imgUUID) and
> dom.unlinkBCImage(imgUUID) do?
>
Creates/Removes a symlink to a given image.

​Where this symlink is located? What is its purpose?​

​​

> ​
> ​
> ​
> ​> ​
> 12. What methods dom.activateVolumes(imgUUID, imgVolumes) and
> dom.deactivateImage(imgUUID) do?
>
> ​
​
​
Can you be a bit more specific in the question? I don't have much to add
> ​
​
​
over the method names.

​I understand that it activates/deactivates volumes. But what does it mean?
What is an "active" volume and how does it differ from "inactive"?​

​Shmuel​
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] Weekly bug status for ovirt-system-tests (using Lago) [ 27/06/16 ]

2016-06-27 Thread Eyal Edri
*Open bugs:*
https://goo.gl/eUaPUY

*Fixed/Closed bugs:*
Bug 1298646  [Lago] -
hosted engine setup causes kernel panic
Bug 1280361  Create
the jenkins jobs to check the ovirt-system-tests patches
Bug 1282691   Make the
ovirt lago tests run for master code

*Open issues:*
 - add Lago & test logs to check-patch job (bug opened)
 - add install cockpit-ovirt-dashboard to 4.0/master (now its taking in 500
pkg)
 - move master and 4.0 tests to use API V4 (bug opened)
 - hosted engine 4.0 tests are in progress

*Open patches:*  (reviews are welcome)
https://gerrit.ovirt.org/#/q/project:ovirt-system-tests+status:open

*Jenkins jobs:*
http://jenkins.ovirt.org/view/oVirt%20system%20tests/


*Recently merged patches:*
https://gerrit.ovirt.org/#/q/project:ovirt-system-tests+status:merged+since:2016-06-20

*A lot of new stuff went in during last week! here are some of the
highlights:*

   1. New per patch 'check-patch' job added, now jenkins will automatically
   verify your patches to ovirt-system-tests
   2. New 'install cockpit-ovirt-dashboard' test added to 3.6
   3. New 'remove default DC & cluster' test added
   4. New 'add VM from Glance template' test added
   5. New basic 'network add' tests added
   6. Compatibility version updated to 4.0 & 4.1 to 4.0 & master
   respectively



Keep those tests coming...


-- 
Eyal Edri
Associate Manager
RHEV DevOps
EMEA ENG Virtualization R
Red Hat Israel

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [lago-devel] ovirt tests failing on missing libxml2-python

2016-06-27 Thread Barak Korren
>
>
> It means that packages will be fetched EVERY time from outside, which may be
> slow(er).
> Y.
>

We can (and mostly already have) setup simple caches to prevent that.
AFAIK CI slaves are cleaned every time anyway, so in practice there
wouldn`t be much difference except we will have less hard-coding and
perhaps be more efficient (are we certain we only download what we
need atm?)

The existing solution looks more like premature optimization gone badly IMO.

-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel