Skip to content

Instantly share code, notes, and snippets.

@kapilt
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kapilt/41552afa0eef5730c686 to your computer and use it in GitHub Desktop.
Save kapilt/41552afa0eef5730c686 to your computer and use it in GitHub Desktop.
kubernetes failure on first attempt to register minion
2014-10-26 02:33:12 INFO network-relation-changed Registering machine
2014-10-26 02:33:12 INFO network-relation-changed registration request
{'kind': 'Minion', 'id': u'10.132.218.156',
'resources': {'capacity': {'mem': '2049988 K', 'cpu': 2}}, 'hostIP': u'10.132.218.156'}
2014-10-26 02:33:12 INFO network-relation-changed registration result
{"kind":"Status","creationTimestamp":null,"selfLink":"/api/v1beta1/minions",
"apiVersion":"v1beta1","status":"Failure",
"message":"The requested resource does not exist.",
"code":500}
rerunning the registration (exact same request) and it gets success
2014-10-26 02:34:56 INFO network-relation-changed Registering machine
2014-10-26 02:34:56 INFO network-relation-changed registration request
{'kind': 'Minion', 'id': u'10.132.218.156',
'resources': {'capacity': {'mem': '2049988 K', 'cpu': 2}}, 'hostIP': u'10.132.218.156'}
2014-10-26 02:34:56 INFO network-relation-changed registered
at first i thought it timing k8s apiserver initialization dependent, but it
happens on other new minions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment