Hi

Now I try to deplay Openstack roles in mutil node

Centos 6.5, havana GRE.

I try mysql and keystone in separate node。

I meet the error
                                                                                           [ ERROR ]

ERROR : Error appeared during Puppet run: 172.18.1.15_keystone.pp
Error: /Stage[main]/Keystone/Exec[keystone-manage db_sync]: Failed to call refresh: keystone-manage db_sync returned 1 instead of one of [0]


I check the log, show 

^[[mNotice: /Stage[main]/Keystone/Keystone_config[DEFAULT/verbose]/ensure: created^[[0m
^[[mNotice: /Stage[main]/Keystone/Exec[keystone-manage db_sync]/returns: 2014-02-18 13:17:34.335 2941 CRITICAL keystone [-] (
OperationalError) (2003, "Can't connect to MySQL server on '172.18.1.13' (113)") None None^[[0m
^[[1;31mError: /Stage[main]/Keystone/Exec[keystone-manage db_sync]: Failed to call refresh: keystone-manage db_sync returned
1 instead of one of [0]^[[0m
^[[1;31mError: /Stage[main]/Keystone/Exec[keystone-manage db_sync]: keystone-manage db_sync returned 1 instead of one of [0]^
[[0m
^[[mNotice: /Stage[main]/Keystone/Exec[keystone-manage pki_setup]: Triggered 'refresh' from 14 events^[[0m
^[[mNotice: /Stage[main]/Keystone/Service[keystone]/ensure: ensure changed 'stopped' to 'running'^[[0m
^[[1;31mError: /Stage[main]/Keystone::Roles::Admin/Keystone_role[_member_]: Could not evaluate: Execution of '/usr/bin/keysto
ne --endpoint http://127.0.0.1:35357/v2.0/ role-list' returned 1: An unexpected error prevented the server from fulfilling yo
ur request. (OperationalError) (2003, "Can't connect to MySQL server on '172.18.1.13' (113)") None None (HTTP 500)
^[[0m







--
Shake Chen