[automated-testing] Supporting GD2 & GD1 in glusto-tests

Rahul Hinduja rhinduja at redhat.com
Wed Jul 4 11:37:57 UTC 2018


On Wed 4 Jul, 2018, 5:04 PM Vijay Bhaskar Reddy Avuthu, <vavuthu at redhat.com>
wrote:

> Hi All,
>
> This thread is regarding the support of GD2 with "glusto-tests".
>
> Since we are fastly moving towards GCS/RHOCS which mainly build on GD2, we
> need to work towards supporting both GD2 and GD1.
>
> Here are few thoughts:
>
> 1) Identify GD2 is running or not, then according we need modify
> libraries/tests to support latest command
>
> eg:
>
> new cmd :
>
> glustercli volume start <testvol>
> or
> curl -X POST http://192.168.56.101:24007/v1/volumes/testvol/start
>
>
> In lib below is the modification snippet:
>
> if glusterd2_enable():
>     glustercli volume start <testvol>
> else:
>     gluster volume start <testvol>
>
> For above approach, needs lot of re-work.
>
> 2) Versioning ?
>
> not sure how versioning works
>
> Any other thoughts whats is the best way to support both GD2 and GD1 ?
>

Gil had suggested branching and I echo that.


> Regards,
> Vijay A
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/automated-testing/attachments/20180704/e66bac64/attachment.html>


More information about the automated-testing mailing list