| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding the code for the following:
1.Adding function setup_master_and_slave_volumes() to geo_rep_libs.
2.Adding variables for master_mounts, slave_mounts, master_volume
and slave_volume to gluster_base_class.py
3.Adding class class method
setup_and_mount_geo_rep_master_and_slave_volumes to
gluster_base_class.py.
Change-Id: Ic8ae1cb1c8b5719d4774996c3e9e978551414b44
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adding the following check functions:
1. is_passwordless_ssh_configured() - To check if passwordless
ssh is configured or not between given nodes with a given user.
2. is_group_exists() - To check if group is present on servers
or not.
3. is_user_exists() - To check if a given user is present on
servers or not.
- Adding functionality to support both sync methods.
- Adding nonrootpass parameter to georep_prerequisites() as in
the previous logic the password for the non-root and the root
user were the same which might not always be the case.
- Fixing georep_config_get() and georep_config_set() to take
non-root user as well.
Change-Id: I8a42d48d56690040dd7f78d1fb919029c0d6e61d
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At present there are 2 different functions for prerequisites
and create session merging them and adding checks to make the
functions more effective when called from a conftest.py file.
By doing so we also avoid the possibility of running the same
function twice which might lead to problems.
For example when commands like:
$ gluster system:: execute gsec_create
it would make 2 entries in authorized keys files leading
to workers getting into faulty state.
Note:
This patch should only be merged after
merging the below mentioned patches:
[1] https://review.gluster.org/#/c/glusto-tests/+/23291/
[2] https://review.gluster.org/#/c/glusto-tests/+/23293/
Change-Id: I3f8cda7b589c86de4dab8c66d033b364dd495b9b
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
THIS PATCH IS DEPENDENT ON THE BELOW PATCH:
https://review.gluster.org/#/c/glusto-tests/+/23291/
Removing the below functions as a more generic function
is added in lib_utils:
georep_ssh_keygen
georep_ssh_copyid
georep_groupadd
georep_geoaccount
georep_geoaccount_setpasswd
Adding georep_mountbroker_remove_user to
remove users from mountbroker which
will be needed in teardown.
Change-Id: I5b484b93cbc1660cdf223cfa4bac2a32acc8fc77
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
| |
Change-Id: I0f32dc73d960f8bfeb662643e736291ffb74cb81
Signed-off-by: Roch-elle <rallan@redhat.com>
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Added:
1. georep_root_prerequisites
2. georep_create_root_session
Change-Id: Iac026322bc387c6b54bcd81a734785eb9d5cae9d
Signed-off-by: rallan <rallan@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Also updated following.
1. API name of 'setup_mountbroker_prerequisites'
to 'georep_nonroot_prerequisites'
2. Added setting up of passwordless SSH to slave node
in prerequisites
Change-Id: I15e567100750d88d7e9e698308c852ad6afbf082
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
Change-Id: Icd529b26c66f7fc8e39f620276d9fb7053cd7547
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|