Closed imvenkip closed 4 years ago
@imvenkip What is the “DevVM”? Is this an SSC VM?
2020-08-13 00:22:26: Starting Motr (phase1, mkfs)...Failed to start hare-hax.service: Unit not found.
This doesn't look like Hare was installed properly.
Did you install Hare from sources or from RPM?
Did you install Hare from sources or from RPM?
Sources. "dev" branch. Last commit ID: fdaaf3cf57385eaf34179ed3858098900d1cecd5
What is the “DevVM”? Is this an SSC VM?
SSC VM (LDR 2)
@imvenkip Can you show the installation procedure somehow?
@imvenkip Can you show the installation procedure somehow?
- Make an Asciinema recording perhaps?
- Or tell the hostname of that VM so that Hare developer can SSH there and have a look?
- Or perhaps we could have a shared screen call some time this week?
hostname: ssc-vm-0899.colo.seagate.com
Source Code Details:
-bash-4.2$ pwd /home/744290/motr-code
-bash-4.2$ ls cortx-hare cortx-motr m0trace.28584 m0trace.28641 singlenode.yaml -bash-4.2$
hctl bootstrap --debug --mkfs cfgen/examples/singlenode.yaml
commandI'm not sure this is the case this time though.
ssc-vm-0899:cortx-hare (dev *)# lctl list_nids
192.168.47.27@tcp
looks like motr state is not right,
[root@ssc-vm-0899 motr-code]# systemctl status motr-kernel
Unit motr-kernel.service could not be found.
lrwxrwxrwx 1 root root 86 Aug 12 23:48 /usr/lib/systemd/system/motr-kernel.service -> /home/744290/motr-code/motr/scripts/install/usr/lib/systemd/system/motr-kernel.service
[root@ssc-vm-0899 motr-code]# ls -l /home/744290/motr-code/motr/scripts/install/usr/lib/systemd/system/motr-kernel.service
ls: cannot access /home/744290/motr-code/motr/scripts/install/usr/lib/systemd/system/motr-kernel.service: No such file or directory
this is the right path,
/home/744290/motr-code/cortx-motr/scripts/install/usr/lib/systemd/system/motr-kernel.service
Some problem in motr installation.
I rebuilt and reinstallated cortx-motr
cd /home/744290/motr-code/cortx-motr
scripts/install-motr-service --uninstall
git clean -fdx
scripts/m0 make
scripts/install-motr-service --link
and then cortx-hare
cd /home/744290/motr-code/cortx-hare
make uninstall
make distclean
make devinstall
Cluster started successfully:
# time hctl bootstrap --mkfs cfgen/examples/singlenode.yaml
2020-08-13 16:07:46: Generating cluster configuration... OK
2020-08-13 16:07:47: Starting Consul server agent on this node............ OK
2020-08-13 16:07:56: Importing configuration into the KV store... OK
2020-08-13 16:07:56: Starting Consul agents on other cluster nodes... OK
2020-08-13 16:07:56: Updating Consul agents configs from the KV store...Error! No key exists at: m0conf/nodes/localhost/processes/12/meta_data
OK
2020-08-13 16:07:57: Installing Motr configuration files... OK
2020-08-13 16:07:57: Waiting for the RC Leader to get elected....... OK
2020-08-13 16:08:01: Starting Motr (phase1, mkfs)... OK
2020-08-13 16:08:08: Starting Motr (phase1, m0d)... OK
2020-08-13 16:08:09: Starting Motr (phase2, mkfs)... OK
2020-08-13 16:08:18: Starting Motr (phase2, m0d)... OK
2020-08-13 16:08:20: Checking health of services... OK
real 0m34.899s
user 0m4.939s
sys 0m1.515s
ssc-vm-0899:cortx-hare (dev *)# hctl status
Profile: 0x7000000000000001:0x28
Data pools:
0x6f00000000000001:0x29
Services:
localhost (RC)
[started] hax 0x7200000000000001:0x6 192.168.47.27@tcp:12345:1:1
[started] confd 0x7200000000000001:0x9 192.168.47.27@tcp:12345:2:1
[started] ioservice 0x7200000000000001:0xc 192.168.47.27@tcp:12345:2:2
[unknown] m0_client 0x7200000000000001:0x22 192.168.47.27@tcp:12345:4:1
[unknown] m0_client 0x7200000000000001:0x25 192.168.47.27@tcp:12345:4:2
Got below error while trying single node cluster setup with Motr and Hare latest branches (DevVM) (Ref: README_developers.md)
Note: created softlink for
m0confgen
.