Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.haproxy.proxy.single |
| 3 | - service.keepalived.cluster.single |
| 4 | - service.opencontrail.control.analytics |
| 5 | - system.haproxy.proxy.listen.opencontrail.analytics |
| 6 | parameters: |
| 7 | _param: |
| 8 | opencontrail_version: 4.0 |
| 9 | linux_repo_contrail_component: oc40 |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 10 | opencontrail_message_queue_node01_address: ${_param:openstack_message_queue_node01_address} |
| 11 | opencontrail_message_queue_node02_address: ${_param:openstack_message_queue_node02_address} |
| 12 | opencontrail_message_queue_node03_address: ${_param:openstack_message_queue_node03_address} |
| 13 | opencontrail_message_queue_address: ${_param:openstack_message_queue_address} |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 14 | opencontrail_analytics_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-analytics |
| 15 | opencontrail_analyticsdb_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-analyticsdb |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 16 | # Temprorary fix for MOS9 packages to pin old version of kafka |
| 17 | linux: |
| 18 | system: |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 19 | kernel: |
| 20 | modules: |
| 21 | - nf_conntrack_ipv4 |
| 22 | opencontrail: |
| 23 | common: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 24 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 25 | identity: |
| 26 | host: ${_param:openstack_control_address} |
| 27 | network: |
| 28 | host: ${_param:openstack_control_address} |
| 29 | collector: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 30 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 31 | discovery: |
| 32 | host: None |
Marek Celoud | 6d2f28c | 2017-12-01 15:09:47 +0100 | [diff] [blame] | 33 | identity: |
| 34 | host: ${_param:openstack_control_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 35 | analytics: |
| 36 | members: |
| 37 | - host: ${_param:opencontrail_analytics_node01_address} |
| 38 | - host: ${_param:opencontrail_analytics_node02_address} |
| 39 | - host: ${_param:opencontrail_analytics_node03_address} |
| 40 | message_queue: |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 41 | host: ${_param:opencontrail_message_queue_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 42 | members: |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 43 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 44 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 45 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 46 | config: |
| 47 | members: |
| 48 | - host: ${_param:opencontrail_control_node01_address} |
| 49 | - host: ${_param:opencontrail_control_node02_address} |
| 50 | - host: ${_param:opencontrail_control_node03_address} |
| 51 | database: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 52 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 53 | discovery: |
| 54 | host: None |
| 55 | analytics: |
| 56 | members: |
| 57 | - host: ${_param:opencontrail_analytics_node01_address} |
| 58 | - host: ${_param:opencontrail_analytics_node02_address} |
| 59 | - host: ${_param:opencontrail_analytics_node03_address} |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 60 | docker: |
| 61 | client: |
| 62 | compose: |
| 63 | opencontrail_api: |
| 64 | status: up |
| 65 | pull: true |
| 66 | service: |
| 67 | analytics: |
| 68 | image: ${_param:opencontrail_analytics_image} |
| 69 | network_mode: "host" |
| 70 | privileged: true |
| 71 | volumes: |
| 72 | - /etc/contrail:/etc/contrail |
| 73 | - /etc/redis/redis.conf:/etc/redis/redis.conf |
| 74 | analyticsdb: |
| 75 | image: ${_param:opencontrail_analyticsdb_image} |
| 76 | volumes: |
| 77 | - /etc/cassandra/cassandra-env-analytics.sh:/etc/cassandra/cassandra-env.sh |
| 78 | - /etc/cassandra/cassandra_analytics.yaml:/etc/cassandra/cassandra.yaml |
| 79 | - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml |
| 80 | - /etc/contrail:/etc/contrail |
| 81 | - /var/lib/analyticsdb:/var/lib/cassandra |
| 82 | - /var/lib/analyticsdb_zookeeper_data:/var/lib/zookeeper |
| 83 | - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid |
| 84 | - /usr/share/kafka/config/server.properties:/usr/share/kafka/config/server.properties |
| 85 | - /usr/share/kafka/config/consumer.properties:/usr/share/kafka/config/consumer.properties |
| 86 | - /usr/share/kafka/config/zookeeper.properties:/usr/share/kafka/config/zookeeper.properties |
| 87 | - /etc/zookeeper/conf/zoo_analytics.cfg:/etc/zookeeper/conf/zoo.cfg |
| 88 | - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties |
| 89 | network_mode: "host" |
| 90 | privileged: true |