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

exceptions.AttributeError: 'schedulerName, tolerations' are not among the specified fields for v1.PodSpec #47

Closed
ahmetb opened this issue Jul 10, 2017 · 1 comment

Comments

@ahmetb
Copy link

ahmetb commented Jul 10, 2017

I got this from my Google Container Engine 1.6.4 cluster:

$ kubetop
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.defer.FirstError'>: FirstError[#1, [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'schedulerName, tolerations' are not among the specified fields for v1.PodSpec
/usr/local/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
/usr/local/lib/python2.7/site-packages/twisted/web/client.py:2152:connectionLost
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/local/lib/python2.7/site-packages/eliot/twisted.py:82:callbackWithContext
/usr/local/lib/python2.7/site-packages/eliot/_action.py:389:run
/usr/local/lib/python2.7/site-packages/txkube/_network.py:311:<lambda>
/usr/local/lib/python2.7/site-packages/pyrsistent/_helpers.py:80:inner_f
/usr/local/lib/python2.7/site-packages/txkube/_model.py:94:iobject_from_raw
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:756:discard_constant_fields
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:754:ctor
/usr/local/lib/python2.7/site-packages/txkube/_model.py:260:__new__
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:52:__new__
/usr/local/lib/python2.7/site-packages/pyrsistent/_checked_types.py:221:_checked_type_create
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:756:discard_constant_fields
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:754:ctor
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:52:__new__
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:347:optional
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:756:discard_constant_fields
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:754:ctor
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:67:__new__
]]
]]

(kubetop 17.4.17.1)

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.6", GitCommit:"7fa1c1756d8bc963f1a389f4a6937dc71f08ada2", GitTreeState:"clean", BuildDate:"2017-06-16T18:34:20Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T18:33:17Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
@exarkun
Copy link
Contributor

exarkun commented Jul 10, 2017

Thanks. I think this is the same issue as #33. There's a PR, #44, which probably fixes it. I've been unable to make progress on getting that PR merged because my 1.6.x cluster seems to behave differently from others with respect to stats collection (ie, I can't collect any stats from it).

@exarkun exarkun closed this as completed Jul 10, 2017
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