Add firewall config, and autostart VM's
diff --git a/roles/juju-setup/defaults/main.yml b/roles/juju-setup/defaults/main.yml
index d4f77a1..f98ca2a 100644
--- a/roles/juju-setup/defaults/main.yml
+++ b/roles/juju-setup/defaults/main.yml
@@ -2,20 +2,64 @@
# roles/juju-setup/defaults/main.yml
openstack_version: kilo
+
openstack_cfg_path: /usr/local/src/openstack.cfg
head_vm_list:
- - { name: "juju", cpu: "1", memMB: "2048", diskGB: "20" }
- - { name: "ceilometer", cpu: "1", memMB: "2048", diskGB: "20" }
- - { name: "glance", cpu: "2", memMB: "4096", diskGB: "160" }
- - { name: "keystone", cpu: "2", memMB: "4096", diskGB: "40" }
- - { name: "mysql", cpu: "2", memMB: "4096", diskGB: "40" }
- - { name: "nagios", cpu: "1", memMB: "2048", diskGB: "20" }
- - { name: "neutron-api", cpu: "2", memMB: "4096", diskGB: "40" }
- - { name: "neutron-gateway", cpu: "2", memMB: "4096", diskGB: "40" }
- - { name: "nova-cloud-controller", cpu: "2", memMB: "4096", diskGB: "40" }
- - { name: "openstack-dashboard", cpu: "1", memMB: "2048", diskGB: "20" }
- - { name: "rabbitmq-server", cpu: "2", memMB: "4096", diskGB: "40" }
+ - name: "juju"
+ cpu: "1"
+ memMB: "2048"
+ diskGB: "20"
+
+ - name: "ceilometer"
+ cpu: "1"
+ memMB: "2048"
+ diskGB: "20"
+
+ - name: "glance"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "160"
+
+ - name: "keystone"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "40"
+
+ - name: "mysql"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "40"
+
+ - name: "nagios"
+ cpu: "1"
+ memMB: "2048"
+ diskGB: "20"
+
+ - name: "neutron-api"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "40"
+
+ - name: "neutron-gateway"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "40"
+
+ - name: "nova-cloud-controller"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "40"
+
+ - name: "openstack-dashboard"
+ cpu: "1"
+ memMB: "2048"
+ diskGB: "20"
+
+ - name: "rabbitmq-server"
+ cpu: "2"
+ memMB: "4096"
+ diskGB: "40"
vm_service_list:
- ceilometer
@@ -38,30 +82,43 @@
service_relations:
- name: keystone
relations: [ "mysql", "nrpe", ]
+
- name: nova-cloud-controller
relations: [ "mysql", "rabbitmq-server", "glance", "keystone", "nrpe", ]
+
- name: glance
relations: [ "mysql", "keystone", "nrpe", ]
+
- name: neutron-gateway
relations: [ "neutron-api", "nova-cloud-controller", "mysql", "nrpe", ]
+
- name: "neutron-gateway:amqp"
relations: [ "rabbitmq-server:amqp", ]
+
- name: neutron-api
relations: [ "keystone", "neutron-openvswitch", "mysql", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
+
- name: neutron-openvswitch
relations: [ "rabbitmq-server", ]
+
- name: openstack-dashboard
relations: [ "keystone", "nrpe", ]
+
- name: nagios
relations: [ "nrpe", ]
+
- name: "mysql:juju-info"
relations: [ "nrpe:general-info", ]
+
- name: rabbitmq-server
relations: [ "nrpe", ]
+
- name: ceilometer
relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
+
- name: "ceilometer:identity-service"
relations: [ "keystone:identity-service", ]
+
- name: "ceilometer:ceilometer-service"
relations: [ "ceilometer-agent:ceilometer-service", ]