Ask Your Question
0

magnum coreos cluster error

asked 2018-08-07 06:21:04 -0600

anonymous user

Anonymous

Hi
I use openstack newton and install magnum and other dependencies. I want deploy a cluster by coreos. I download CoreOS and set os_distro attribute to coreos.
I create a template cluster and when deploy own cluster from template, cluster status go to Created_Field state.
below the my magnum-conductor log :

{"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "The Parameter (kube_dashboard_enabled) was not defined in template.", "traceback": null, "type": "UnknownUserParameter"}, "title": "Bad Request"}
 log_http_response /usr/lib/python2.7/dist-packages/heatclient/common/http.py:155
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server [req-d96ad159-6a15-4fa0-a673-2f7298610326 - - - - -] Exception during message handling: InvalidParameterValue: ERROR: The Parameter (kube_dashboard_enabled) was not defined in template.
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/dist-packages/magnum/conductor/handlers/cluster_conductor.py", line 176, in cluster_create
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server     raise e
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server InvalidParameterValue: ERROR: The Parameter (kube_dashboard_enabled) was not defined in template.
2018-08-07 15:30:11.881 23932 ERROR oslo_messaging.rpc.server
edit retag flag offensive close merge delete

Comments

controller os = ubuntu 16.04
I clone magnum form git (by -b newton-eol tag) and copy magnum directory to /user/lib/python2.7/dist-packages/ by below command :
cp -r magnum/magnum/ /usr/lib/python2.7/dist-packages/

hamed gravatar imagehamed ( 2018-08-07 06:26:41 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-08-07 08:43:42 -0600

Just cloning the Git repo is not enough. Instructions for Newton: https://docs.openstack.org/magnum/new....

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-08-07 06:21:04 -0600

Seen: 41 times

Last updated: Aug 07