(Train) Magnum Resource Failure: resources.kube_masters.resources[0].resources.master_config_deployment

asked 2020-03-16 14:19:45 -0500

FarnazZ gravatar image

Hi, I tried to run k8s cluster on openstack Train, but unfortunately I faced below error and my k8s cluster create_failed due to time out Resource_Failure:resources.kube_masters.resources[0].resources.master_config_deployment.

Another problem that I faced in openstack train version is that worker(minion)'s intsance does not create while in Stein version even the time that cluster creation failed because of time out, minion instances were created.

Status Reason: default-master failed ,default-worker failed

I don't have any error on magnum-conducter.log . The failure just showed up in heat-engine.log:

2020-03-16 22:01:47.138 38660 INFO heat.engine.resource [req-105c3381-f958-4a5a-bcbe-95b770cb4a4a - - - - -] CREATE: TemplateResource "0" [d5fcd13b-c0ae-4b18-aa21-e493e4e341b3] Stack "test4-buwt3mmxhnze-kube_masters-byhq7gmvi5ui" [16b82b4c-aea4-41e0-9f25-24afd26b6cbe]
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource Traceback (most recent call last):
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 917, in _action_recorder
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource     yield
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 1030, in _do_action
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource     yield self.action_handler_task(action, args=handler_args)
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 346, in wrapper
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource     step = next(subtask)
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 979, in action_handler_task
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource     done = check(handler_data)
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/stack_resource.py", line 409, in check_create_complete
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource     return self._check_status_complete(self.CREATE)
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource   File "/usr/lib/python2.7/site-packages/heat/engine/resources/stack_resource.py", line 463, in _check_status_complete
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource     action=action)
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource ResourceFailure: resources[0]: Stack CREATE cancelled
2020-03-16 22:01:47.138 38660 ERROR heat.engine.resource
2020-03-16 22:01:47.177 38660 INFO heat.engine.stack [req-105c3381-f958-4a5a-bcbe-95b770cb4a4a - - - - -] Stack CREATE FAILED (test4-buwt3mmxhnze-kube_masters-byhq7gmvi5ui): Resource CREATE failed: resources[0]: Stack CREATE cancelled
2020-03-16 22:01:47.183 38660 DEBUG heat.engine.stack [req-105c3381-f958-4a5a-bcbe-95b770cb4a4a - - - - -] Persisting stack test4-buwt3mmxhnze-kube_masters-byhq7gmvi5ui status CREATE FAILED _send_notification_and_add_event /usr/lib/python2.7/site-packages/heat/engine/stack.py:1052
2020-03-16 22:01:47.212 38660 DEBUG heat.db.sqlalchemy.api [req-105c3381-f958-4a5a-bcbe-95b770cb4a4a - - - - -] Did not set stack state with values {'action': u'CREATE', 'status': 'FAILED', 'status_reason': u'Resource CREATE failed: resources[0]: Stack CREATE cancelled'}, stack id: 16b82b4c-aea4-41e0-9f25-24afd26b6cbe with expected traversal: c940c50e-8e2a-4725-b187-b11a3087d121 stack_update /usr/lib/python2.7/site-packages/heat/db/sqlalchemy/api.py:784
2020-03-16 22:01:47.217 38660 INFO heat.engine.stack [req-105c3381-f958-4a5a-bcbe-95b770cb4a4a - - - - -] Stack test4-buwt3mmxhnze-kube_masters-byhq7gmvi5ui traversal c940c50e-8e2a-4725-b187-b11a3087d121 no longer active; not ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-06-05 03:25:26 -0500

Deepa gravatar image

Was this fixed ..I am also facing same error as @FarnazZ..

edit flag offensive delete link more
0

answered 2020-04-14 06:51:09 -0500

adados gravatar image

Have the same issue but with kube master failing to be create but i have the "authorization failed" issue :(

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-03-16 14:19:45 -0500

Seen: 109 times

Last updated: Jun 05