Hello, I'm trying to deploy MOSIP 1.1.2 but getting below error on terraform apply step. Following https://github.com/mosip/mosip-infra/tree/1.1.2/deployment/sandbox-v2/terraform/aws/sandbox this doc

aws_instance.kube[“mzworker8.sb”] (remote-exec): sudo: unable to execute /tmp/kube_auth.sh: No such file or directory

│ Error: remote-exec provisioner error

│ with aws_instance.console,
│ on console.tf line 60, in resource “aws_instance” “console”:
│ 60: provisioner “remote-exec” {

│ error executing “/tmp/terraform_2095291073.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker7.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_525213741.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker5.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_616028230.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker3.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_187690548.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“dmzmaster.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_69649558.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzmaster.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1117019967.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker6.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1936113525.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker0.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1238074540.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“dmzworker0.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1750641637.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker2.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1421212137.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker1.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1459086911.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker8.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1958054092.sh”: Process exited with status 1


│ Error: remote-exec provisioner error

│ with aws_instance.kube[“mzworker4.sb”],
│ on kube.tf line 41, in resource “aws_instance” “kube”:
│ 41: provisioner “remote-exec” {

│ error executing “/tmp/terraform_1007413685.sh”: Process exited with status 1

Hi Shubham,

Thanks for sharing the issue you are facing while deploying.

Our team will get back with a resolution asap.

Best Regards,
MOSIP Team

@Shubham_Anand 1.1.2 version of mosip-infra is very old and depricated version.
In case you want to try out MOSIP deployment go though 1.2.0.1-B3 as it is latest stable release.
You will find the steps mentioned in below mentioned docs:

1 Like

Hi @Shubham_Anand

Did you try out the MOSIP deployment 1.2.0.1-B3 and followed the steps given in the documentations shared by @ckm007 ?

Do let us know if you are facing any issue in this , we will try to resolve asap.

Best Regards,
MOSIP Team.

Okay, @ckm007 thank you. I’ll try to deploy latest stable MOSIP release.

@sanchi-singh24 if I’ll face any issue I’ll ping here. I’m trying now to deploy MOSIP latest release. thank you.

Sure @Shubham_Anand you can let us know if you are facing any issue with the latest MOSIP release.

Hello,

Is it compulsory to match the hardware requirement of 32 GB RAM on prem installation for MOSIP Cluster nodes purpose mentioned in documentation?

NOTE: I’ve a Windows 11 with 16 GB RAM system and I’ve also Ubuntu subsystem installed.

MOSIP is deployed in a kubernetes cluster with all its multiple modules like kernel, prereg, regproc etc. Find complete list here: https://github.com/mosip/mosip-infra/tree/release-1.2.0.1/deployment/v3/mosip#readme
Also Will need the externa services for supporting the same, find list here: https://github.com/mosip/mosip-infra/blob/release-1.2.0.1/deployment/v3/external/README.md.
So, deploying all these together in one box with given configuration will not work. Hence we will need the set of VM’s mentioned in docs for full fledge setup.

1 Like

Hello @Shubham_Anand

Were you able to follow the resolution shared by our team member, in case of any issues you can reach back to us on the same channel.

Best Regards,
Team MOSIP

@ckm007 Do we need to get separate instances (3 in this case) or a single instance with 8 vCPUs and 32 GB of RAM would work?

In the same doc… please scroll towards right the no of VM’s are also mentioned:
image
It is more than 3 , mentioned in same table.

Hi @Shubham_Anand

The solution provided by @ckm007 for instances were helpful to get you to the end goal and in case if you require something more let us know we will be happy to guide you.

Best Regards,
Team MOSIP