From de6a685915bc8bd5444217bca511da35c94b4d59 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Tue, 4 Jul 2017 15:54:11 +0400 Subject: Turn on opendaylight scenario * fix formula & reclass cluster model * bring in running states Change-Id: I8e66e69045f5c745f9aa6f59f7ce6d66b5bf1c95 Signed-off-by: Michael Polenchuk --- mcp/config/states/openstack | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 mcp/config/states/openstack (limited to 'mcp/config/states/openstack') diff --git a/mcp/config/states/openstack b/mcp/config/states/openstack new file mode 100755 index 000000000..3a15c2e51 --- /dev/null +++ b/mcp/config/states/openstack @@ -0,0 +1,20 @@ +salt -C 'I@rabbitmq:server' state.sls rabbitmq +salt -C 'I@rabbitmq:server' cmd.run "rabbitmqctl status" + +salt -C 'I@mysql:server' state.sls mysql +salt -C 'I@memcached:server' state.sls memcached + +salt -C 'I@keystone:server' state.sls keystone.server +salt -C 'I@keystone:server' service.restart apache2 +salt -C 'I@keystone:server' state.sls keystone.client +salt -C 'I@keystone:server' cmd.run ". /root/keystonercv3; openstack service list" + +salt -C 'I@glance:server' state.sls glance +salt -C 'I@nova:controller' state.sls nova +salt -C 'I@heat:server' state.sls heat +salt -C 'I@cinder:controller' state.sls cinder + +salt -C 'I@neutron:server' state.sls neutron +salt -C 'I@neutron:gateway' state.sls neutron + +salt -C 'I@nova:compute' state.sls nova -- cgit 1.2.3-korg