[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: AWS Openshift setup; Could not find an allocated subnet



You need to leave your hostnames as the default ec2 hostnames (ie. ip-172-31-41-231.ap-southeast-2.compute.internal). Unfortunately that's the only way it can query the meatadata service. There was some discussion upstream about changing it since this time last year, but nothing's changed.

On Mon, 30 May 2016 at 03:39 Dean Peterson <peterson dean gmail com> wrote:
I see the following errors when I try to tart my node after installing Openshift Origin with the Ansible installer and following the extra instructions here:
https://docs.openshift.org/latest/install_config/configuring_aws.html

I was able to get openshift up, a router and registry installed, but I am not able to reach any of the routes I set on my services so I tried the intructions in the link above for "configuring_aws".  Now I am not able to start my node.  

This is the output of journalctl -xe after trying to start the node.

] Could not find an allocated subnet for node: openshift.enterprisewebservice.com, Waiting...
9 13:33:03.492737   56713 factory.go:233] Registering Docker factory
9 13:33:03.493148   56713 factory.go:97] Registering Raw factory
ime="2016-05-29T13:33:03.493363827-04:00" level=error msg="Failed to get pwuid struct: user: unknown userid 4294967295"
ime="2016-05-29T13:33:03.602117217-04:00" level=error msg="Failed to get pwuid struct: user: unknown userid 4294967295"
ime="2016-05-29T13:33:03.630607068-04:00" level=error msg="Failed to get pwuid struct: user: unknown userid 4294967295"
9 13:33:03.669887   56713 manager.go:1003] Started watching for new ooms in manager
9 13:33:03.669920   56713 oomparser.go:198] OOM parser using kernel log file: "/var/log/messages"
9 13:33:03.670596   56713 manager.go:256] Starting recovery of all containers
9 13:33:03.683354   56713 kubelet.go:1131] Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: instance not found
9 13:33:03.694014   56713 manager.go:261] Recovery completed
9 13:33:03.971330   56713 subnets.go:110] Could not find an allocated subnet for node: openshift.enterprisewebservice.com, Waiting...
9 13:33:04.131466   56713 kubelet.go:1131] Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: instance not found
ime="2016-05-29T13:33:04.320555500-04:00" level=error msg="Failed to get pwuid struct: user: unknown userid 4294967295"
9 13:33:04.472734   56713 subnets.go:110] Could not find an allocated subnet for node: openshift.enterprisewebservice.com, Waiting...

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]