No module named kubernetes
Bug #1738096 reported by
Beh teik Hooi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi, I have managed to create an all-in-one kolla-ansible openstack with cinder and magnum enabled. When I try to use magnum to create a kubernetes cluster with fedora-atomic I get the above.
Notice that the templates folder is not found in the magnum-api container.
To post a comment you must log in.
This is the message when I use debug mode on magnum - parse(' token_endpoint = openstackclient .api.auth_ plugin: TokenEndpoint' ) parse(' noauth = cinderclient. contrib. noauth: CinderNoAuthLoa der') parse(' v2token = keystoneauth1. loading. _plugins. identity. v2:Token' ) parse(' none = keystoneauth1. loading. _plugins. noauth: NoAuth' ) parse(' v3oauth1 = keystoneauth1. extras. oauth1. _loading: V3OAuth1' ) parse(' admin_token = keystoneauth1. loading. _plugins. admin_token: AdminToken' ) parse(' v3oidcauthcode = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tAuthorizationC ode') parse(' v2password = keystoneauth1. loading. _plugins. identity. v2:Password' ) parse(' v3samlpassword = keystoneauth1. extras. _saml2. _loading: Saml2Password' ) parse(' v3password = keystoneauth1. loading. _plugins. identity. v3:Password' ) parse(' v3adfspassword = keystoneauth1. extras. _saml2. _loading: ADFSPassword' ) parse(' v3oidcaccesstok en = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tAccessToken' ) parse(' v3oidcpassword = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tPassword' ) parse(' v3kerberos = keystoneauth1. extras. kerberos. _loading: Kerberos' ) parse(' token = keystoneauth1. loading. _plugins. identity. generic: Token') parse(' v3oidcclientcre dentials = keystoneauth1. loading. _plugins. identity. v3:OpenIDConnec tClientCredenti als') parse(' v3tokenlessauth = keystoneauth1. loading. _plugins. identity. v3:TokenlessAut h') parse(' v3token = keystoneauth1. loading. _plugins. identity. v3:Token' ) parse(' v3totp = keystoneauth1. loading. _plugins. identity. v3:TOTP' ) parse(' password = keystoneauth1. loading. _plugins. identity. generic: Password' ) parse(' v3fedkerb = keystoneauth1. extras. kerberos. _loading: MappedKerberos' ) 192.168. 20.81:35357/ v3 -H "Accept: application/json" -H "User-Agent: magnum keystoneauth1/3.3.0 python- requests/ 2.18.4 CPython/2.7.12" :208) Starting new HTTP connection (1): 192.168.20.81 :396) http:// 192.168. 20.81:35357 "GET /v3 HTTP/1.1" 200 253
thbeh@ubuntu:~$ magnum --debug cluster-create --name k8s_cluster --cluster-template k8s_template --master-count 1 --node-count 2
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (extension:189) found extension EntryPoint.
DEBUG (session:372) REQ: curl -g -i -X GET http://
DEBUG (connectionpool
DEBUG (connectionpool
DEBUG (session:419) RESP: [20...