Setup a new Rancher from latest Docker. Added GitHub authentication.
Trying to setup an initial host. Chose Amzaon EC2. Entered my credentials. Pressed ‘Next’. Received this error:
TypeError: Cannot read property ‘name’ of undefined
Rancher v0.38.1
Cattle v0.94.0
User Interface v0.50.0
Rancher Compose beta/latest
Thanks for the quick turnaround. Unfortunately the ‘latest’ did not solve my problem. I stopped all running containers and deleted the images. Just in case.
I have verified that I am running:
Rancher v0.39.0
Cattle v0.95.0
User Interface v0.50.0
Rancher Compose beta/latest
Also, the upgrade instructions did not work particularly well, so I had to jump though a few hoops to re-authorize with GitHub and generate new API keys for rancher-compose.
It is certainly possible I am doing something wrong, but the error is the same.
What rancher versions did you upgrade from and to? Particularly what one was before v0.38.0?
I want to see what happened on the authentication side because it sounds like your authentication (access control) changed a bit between releases, so I would like to test.
On a fresh install, I know adding ec2 was tested but will need to check if it was verified with an upgrade. I want to try it after upgrading and uaing the same versions you did.
I was unable to reproduce the error after a fresh upgrade. If you’re still hitting it, I’d recommend a fresh install unless you want me to investigate further with you. But since I’m unable to reproduce, it’s hard for me to debug.