Change in vdsm[master]: Adding to vdsm automation lago env setup for functional tests

dcaro at redhat.com dcaro at redhat.com
Tue Nov 10 09:13:21 UTC 2015


David Caro has posted comments on this change.

Change subject: Adding to vdsm automation lago env setup for functional tests
......................................................................


Patch Set 9:

(2 comments)

https://gerrit.ovirt.org/#/c/48268/9/automation/lago-control.sh
File automation/lago-control.sh:

Line 1: #!/bin/sh
Line 2: set -e
For debugging right now, you can also add -x
Line 3: export LIBGUESTFS_BACKEND=direct
Line 4: 
Line 5: PREFIX=$PWD/vdsm_functional
Line 6: TEMPLATES_REPO=/usr/share/ovirtlago/config/stores/office.json


Line 3: export LIBGUESTFS_BACKEND=direct
Line 4: 
Line 5: PREFIX=$PWD/vdsm_functional
Line 6: TEMPLATES_REPO=/usr/share/ovirtlago/config/stores/office.json
Line 7: 
You should add here a rm -rf "$PREFIX", as lago fails if it already exists (that's what is happening I think)
Line 8: lagocli init \
Line 9:     "$PREFIX" \
Line 10:     automation/lago-env.json \
Line 11:     --template-repo-path "$TEMPLATES_REPO"


-- 
To view, visit https://gerrit.ovirt.org/48268
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I463c754bd70679449d0841caeef1b845b5709f1c
Gerrit-PatchSet: 9
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: David Caro <dcaro at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Yeela Kaplan <ykaplan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list