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

Vijay Bhaskar Reddy Avuthu vavuthu at redhat.com
Wed Jul 4 11:34:07 UTC 2018


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 ?

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


More information about the automated-testing mailing list