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

ICP 3.1.x installer ignores the user parameter if no repo was specified but the 3.2 installer takes what was passed #48

Open
damiengu opened this issue Jun 19, 2019 · 0 comments

Comments

@damiengu
Copy link

See this thread out on ICP Public Slack Channel (request access here)
https://ibm-cloud-tech.slack.com/archives/C2HQFDAET/p1559926039028500

Hi I'm getting a strange docker authentication error while installing ICP 3.2
so the installer fails on TASK [icp-registry-image-push : Docker login to registry]
and this is the command it is sending docker login -u 'null' -p 'null' <cluster_lb_address>:8500
and getting and auth error from the registry as Error response from daemon: Get https://<cluster_lb_address>:8500/v2/: unauthorized: authentication required
also I have tried logging in to the registry manually using the admin credentials set in the config.yaml but I'm getting the same error

the issue it was not related to the installer but due to the terraform template for vmware here https://github.com/ibm-cloud-architecture/terraform-icp-vmware

the issue is in these lines
https://github.com/ibm-cloud-architecture/terraform-icp-vmware/blob/master/icp-deploy.tf#L70-L71

seems like ICP 3.1.x installer ignores the user parameter if no repo was specified but the 3.2 installer takes what was passed

i doubt it is fixable on terraform side without dropping the support for custom image repo the only way i got it to work was by deleting those lines

though it does feel like an issue with the installer why would it pick-up the username, and password if there was no repo specified ?

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

1 participant