-
Notifications
You must be signed in to change notification settings - Fork 80
CORTX-32348: Add log device entries in motr sysconfig file from CDF.yaml #2144
Conversation
@d-nayak Sanity check is failing, please check. |
retest this please |
1 similar comment
retest this please |
Thanks to @pavankrishnat, we were able to deploy this code changeset on to 3N setup: hostname=ssc-vm-rhev4-2515.colo.seagate.com,user=root,pass=seagate Results:
Log device details added to cluster.yaml file in data pod :
Log devices also visible in motr config file: [root@cortx-data-g0-0 7ba8990a85d38508ca9bac4ff516d3ea]# pwd |
Signed-off-by: Deepak Nayak <deepak.nayak@seagate.com>
Signed-off-by: Deepak Nayak <deepak.nayak@seagate.com>
Signed-off-by: Deepak Nayak <deepak.nayak@seagate.com>
Signed-off-by: Deepak Nayak <deepak.nayak@seagate.com>
Signed-off-by: Deepak Nayak <deepak.nayak@seagate.com>
Created custom build at https://eos-jenkins.colo.seagate.com/job/GitHub-custom-ci-builds/job/generic/job/custom-ci/7408/ and deployed 6N setup at https://eos-jenkins.colo.seagate.com/job/Cortx-Automation/job/RGW/job/setup-cortx-rgw-cluster/10231/ Tests:
After redeployment, log devices were added to the generated cluster.yaml file:
and for cvg-02
Log devices are also visible in motr config file:
Checked validation checks to ensure uniqueness of disks between log, metadata and data sections:
cc. @vaibhavparatwar, @d-nayak |
@d-nayak, can you please reword the commit message, may be squash them into one?
few points for commit message,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the commit message as mentioned, no more reviews required.
Hare configures motr and most of the configuration is provided as an input via
motr
confd.xc
. Some parameters are passed via a/etc/sysconfig
file, e.g.[@ssc-vm-g4-rhev4-0554:cortx-cc] cat /etc/sysconfig/m0d-0x7200000000000001:0x1
MOTR_M0D_EP='inet:tcp:10.230.240.235@21002'
MOTR_HA_EP='inet:tcp:10.230.240.235@22001'
MOTR_PROCESS_FID='0x7200000000000001:0x1'
MOTR_CONF_XC='/etc/motr/confd.xc'
MOTR_NODE_UUID='b86b7254-11c4-11ed-987d-566fcce40625'
Hare takes the log device from CDF.yaml and the same needs to be added to the
corresponding motr ioservice's
/etc/sysconfig
file.Solution:
update-consul-conf (creates the motr sysconfig file)