Magnum - Heat - stack failed - swarm masters

asked 2018-06-14 15:38:49 -0500

diegolcf gravatar image

Dear friends, when I create the swarm cluster, the heat can not complete the stack because an error occurs in the swarm_masters stack resource (OS :: Heat :: ResourceGroup). follows the error:

-> Stack Faults as follows: AuthorizationFailure: resources[0].resources.master_wait_handle:

-> swarm_masters AuthorizationFailure: resources.swarm_masters.resources[0].resources.master_wait_handle:

-> master_wait_handle AuthorizationFailure: resources.master_wait_handle:

heat-engine.log

Stack CREATE FAILED: Resource CREATE failed: AuthorizationFailure: resources.swarm_masters.resources[0].resources.master_wait_handle:

heat.conf

[DEFAULT]
transport_url = rabbit://openstack:803a84c654fa1aa88b18@controller
stack_domain_admin = heat_domain_admin
stack_domain_admin_password = fae9ac0322bab4caa8f5
stack_user_domain_name = heat
heat_metadata_server_url = http://controller:8000
heat_waitcondition_server_url = http://controller:8000/v1/waitcondition

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = heat
password = 288db13cf28e6ef0cba5

[clients_keystone]
auth_uri = http://controller:5000

[database]
connection = mysql+pymysql://heat:318e7746e7a3c0e1e923@controller/heat

[oslo_messaging_notifications]
driver = messagingv2
transport_url = rabbit://openstack:803a84c654fa1aa88b18@controller

[trustee]
auth_type = password
auth_url = http://controller:35357
username = heat
password = 288db13cf28e6ef0cba5
user_domain_name = default

magnum.conf

[DEFAULT]
pybasedir = /var/lib/magnum/magnum/magnum
bindir = $pybasedir/bin
state_path = $pybasedir
log_dir = /var/log/magnum
transport_url = rabbit://openstack:803a84c654fa1aa88b18@controller

[api]
port = 9511
host = 10.0.0.11

[certificates]
cert_manager_type = x509keypair

[cinder]
default_docker_volume_type = SSD

[cinder_client]
region_name = RegionOne

[database]
connection = mysql+pymysql://magnum:08bbc761eb2402977342@controller/magnum

[keystone_auth]
memcached_servers = controller:11211
auth_version = v3
auth_uri = http://controller:5000/v3
project_domain_name = default
project_name = service
user_domain_name = default
password = 43d9c03d62e48b94ea1b
username = magnum
auth_url = http://controller:35357
auth_type = password

[keystone_authtoken]
memcached_servers = controller:11211
auth_version = v3
auth_uri = http://controller:5000/v3
project_domain_name = default
project_name = service
user_domain_name = default
password = 43d9c03d62e48b94ea1b
username = magnum
auth_url = http://controller:35357
auth_type = password

[oslo_concurrency]
lock_path = /var/lib/magnum/tmp

[oslo_messaging_notifications]
driver = messaging

[oslo_policy]
policy_file = /etc/magnum/policy.yaml


[trust]
trustee_domain_name = magnum
trustee_domain_admin_name = magnum_domain_admin
trustee_domain_admin_password = 4f83333933fd5bef6d8c
trustee_keystone_interface = public
edit retag flag offensive close merge delete