Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem trying to install into a single AZ #2

Open
arnoldst opened this issue Sep 6, 2018 · 3 comments
Open

Problem trying to install into a single AZ #2

arnoldst opened this issue Sep 6, 2018 · 3 comments

Comments

@arnoldst
Copy link

arnoldst commented Sep 6, 2018

Hi

I'm trying to install into a single AZ - but I get this error
Error: Error applying plan:

4 error(s) occurred:

  • aws_efs_mount_target.icp-registry[0]: 1 error(s) occurred:

  • aws_efs_mount_target.icp-registry.0: MountTargetConflict: mount target already exists in this AZ
    status code: 409, request id: 3afd04d5-b1b4-11e8-bc84-ad3cfcd0fd63

  • aws_efs_mount_target.icp-audit[1]: 1 error(s) occurred:

  • aws_efs_mount_target.icp-audit.1: MountTargetConflict: mount target already exists in this AZ
    status code: 409, request id: 4fa60564-b1b4-11e8-982f-47849fbf15e4

  • aws_efs_mount_target.icp-registry[1]: 1 error(s) occurred:

  • aws_efs_mount_target.icp-registry.1: MountTargetConflict: mount target already exists in this AZ
    status code: 409, request id: 3ad1126e-b1b4-11e8-ae1b-77ef2ec71548

  • aws_efs_mount_target.icp-audit[0]: 1 error(s) occurred:

  • aws_efs_mount_target.icp-audit.0: MountTargetConflict: mount target already exists in this AZ
    status code: 409, request id: 4fd552c9-b1b4-11e8-982f-47849fbf15e4

Any ideas what I'm doing wrong ? Here's my terraform.tfvars....
aws_region = "eu-west-1"
key_name = "ICP-shared-ire"
image_location = "s3://icpmedia/ibm-cloud-private-x86_64-2.1.0.3.tar.gz"
icp_inception_image = "ibmcom/icp-inception:2.1.0.3-ee"
azs = ["c"]

also change the bastion node count as below in the variables.tf file as below

EC2 instances

no bastion host by default. set to 1 if you want to debug

variable "bastion" {
type = "map"
default = {
nodes = "1"
type = "t2.micro"
ami = "" // Leave blank to let terraform search for Ubuntu 16.04 ami. NOT RECOMMENDED FOR PRODUCTION
disk = "10" //GB
}
}

Any help much appreciated.

Thanks

Steve

@jkwong888
Copy link

did you leave the number of masters to 3? the script doesnt' really support installing 3 masters to the same AZ ... we could support this case, but I am not sure why that would be desired. If you drop the number of masters to 1, it will not provision EFS at all and you can avoid this error.

@arnoldst
Copy link
Author

arnoldst commented Sep 6, 2018 via email

@jkwong888
Copy link

this is actually a bug in ICP 2.1.0.3 and you will need to apply fixpack 1, which you can download from fixcentral.

https://www-945.ibm.com/support/fixcentral/

There's a patched installer image you can use that addresses installation when using a public loadbalancer.

here is some documentation on fixpack 1:
https://www.ibm.com/support/knowledgecenter/SSBS6K_2.1.0.3/getting_started/fix_pack1.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants