magnum | heat stack failed as resource not found

asked 2020-04-25 14:31:11 -0500

jayeshc gravatar image

I have an Openstack queens setup. I deployed magnum(2.8.0). I do not have LBaaS deployed on my setup. Now when I try to create Kubernetes cluster in magnum, it failed in heat stack as it does not found the following resource.

heat.engine.stack [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9
697484986 f84b97c31204427293fe4d9697484986] Stack CREATE FAILED (my-cluster-fucryk53xh5e): Resource CREATE failed: resources.api_lb: raw template with id 208 not found

Here is my cluster configuration.

root@controller1:~# openstack coe cluster template show k8s-my-template
+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| insecure_registry     | -                                    |
| labels                | {}                                   |
| updated_at            | -                                    |
| floating_ip_enabled   | True                                 |
| fixed_subnet          | -                                    |
| master_flavor_id      | m1.small                             |
| uuid                  | 76438ad4-7569-4f9b-b2f1-ae52ed1e4a2f |
| no_proxy              | -                                    |
| https_proxy           | -                                    |
| tls_disabled          | True                                 |
| keypair_id            | -                                    |
| public                | False                                |
| http_proxy            | -                                    |
| docker_volume_size    | -                                    |
| server_type           | vm                                   |
| external_network_id   | public                               |
| cluster_distro        | fedora-atomic                        |
| image_id              | fedora-atomic-29-20191126.0.x86_64   |
| volume_driver         | -                                    |
| registry_enabled      | False                                |
| docker_storage_driver | devicemapper                         |
| apiserver_port        | -                                    |
| name                  | k8s-my-template                      |
| created_at            | 2020-04-24T17:34:27+00:00            |
| network_driver        | flannel                              |
| fixed_network         | -                                    |
| coe                   | kubernetes                           |
| flavor_id             | m1.small                             |
| master_lb_enabled     | False                                |
| dns_nameserver        | 8.8.8.8                              |
+-----------------------+--------------------------------------+

My heat stack log is below

2020-04-25 21:21:21.709 14960 INFO heat.engine.service [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Creating stack my-cluster-fucryk53xh5e
2020-04-25 21:21:21.855 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SecurityGroup "secgroup_kube_master"
2020-04-25 21:21:21.882 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating ServerGroup "nodes_server_group"
2020-04-25 21:21:21.965 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SecurityGroup "secgroup_kube_minion"
2020-04-25 21:21:21.991 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating TemplateResource "network"
2020-04-25 21:21:22.005 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating Net "private_network"
2020-04-25 21:21:22.008 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating Router "extrouter"
2020-04-25 21:21:22.028 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating Subnet "private_subnet"
2020-04-25 21:21:22.031 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating TemplateResource "network_switch"
2020-04-25 21:21:22.035 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating RouterInterface "extrouter_inside"
2020-04-25 21:21:22.054 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating TemplateResource "etcd_lb"
2020-04-25 21:21:22.063 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating TemplateResource "api_lb"
2020-04-25 21:21:22.072 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating ResourceGroup "kube_masters"
2020-04-25 21:21:22.091 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating TemplateResource "0"
2020-04-25 21:21:22.157 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SoftwareConfig "enable_ingress_controller"
2020-04-25 21:21:22.159 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SoftwareConfig "network_config_service"
2020-04-25 21:21:22.160 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SoftwareConfig "enable_cert_manager_api"
2020-04-25 21:21:22.160 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SoftwareConfig "write_kube_os_config"
2020-04-25 21:21:22.161 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating SoftwareConfig "configure_docker_storage"
2020-04-25 21:21:22.162 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin - f84b97c31204427293fe4d9697484986 f84b97c31204427293fe4d9697484986] Validating HeatWaitConditionHandle "master_wait_handle"
2020-04-25 21:21:22.163 14960 INFO heat.engine.resource [req-44feab44-fb22-4482-bd34-f05e60f4146d - admin ...
(more)
edit retag flag offensive close merge delete