blob: 0a9f5a12e1828e5b5178ae8a4ff7fa7087fc0496 [file] [log] [blame]
Elena Ezhovaa3a43232017-06-02 17:53:00 +04001=======
2Octavia
3=======
4
Elena Ezhova26bab1f2017-06-15 16:34:59 +04005Octavia is an open source, operator-scale load balancing solution designed to
6work with OpenStack. It accomplishes its delivery of load balancing services
7by managing a fleet of virtual machines, known as amphorae, which it spins up
8on demand.
9
10Octavia is designed to plug in to Neutron LBaaS in the same way that any
11proprietary vendor solution would: through a Neutron LBaaS version 2 driver
12interface. Octavia plans to supplant Neutron LBaaS as the load balancing
13solution for OpenStack. At that time, third-party vendor drivers that presently
14plug in to Neutron LBaaS will plug in to Octavia instead. For end-users,
15this transition should be relatively seamless, because Octavia supports
16the Neutron LBaaS v2 API and it has a similar CLI interface.
17
Elena Ezhovaa3a43232017-06-02 17:53:00 +040018
19Sample pillars
20==============
21
Elena Ezhova26bab1f2017-06-15 16:34:59 +040022Octavia API service pillar:
23
Elena Ezhovaa3a43232017-06-02 17:53:00 +040024.. code-block:: yaml
25
26 octavia:
Elena Ezhova26bab1f2017-06-15 16:34:59 +040027 api:
Elena Ezhovaa3a43232017-06-02 17:53:00 +040028 enabled: true
Elena Ezhova26bab1f2017-06-15 16:34:59 +040029 version: ocata
30 bind:
31 address: 127.0.0.1
32 port: 9876
33 database:
34 engine: mysql
35 host: 127.0.0.1
36 port: 3306
37 name: octavia
38 user: octavia
39 password: password
40 identity:
41 engine: keystone
42 region: RegionOne
43 host: 127.0.0.1
44 port: 35357
45 user: octavia
46 password: password
47 tenant: service
48 message_queue:
49 engine: rabbitmq
50 host: 127.0.0.1
51 port: 5672
52 user: openstack
53 password: password
54 virtual_host: '/openstack'
Elena Ezhova26bab1f2017-06-15 16:34:59 +040055
56
57Octavia manager service pillar:
58
59.. code-block:: yaml
60
61 octavia:
62 manager:
63 enabled: true
64 version: ocata
65 database:
66 engine: mysql
67 host: 127.0.0.1
68 port: 3306
69 name: octavia
70 user: octavia
71 password: password
72 identity:
73 engine: keystone
74 region: RegionOne
75 host: 127.0.0.1
76 port: 35357
77 user: octavia
78 password: password
79 tenant: service
80 message_queue:
81 engine: rabbitmq
82 host: 127.0.0.1
83 port: 5672
84 user: openstack
85 password: password
86 virtual_host: '/openstack'
87 certificates:
Elena Ezhova26bab1f2017-06-15 16:34:59 +040088 ca_private_key: '/etc/octavia/certs/private/cakey.pem'
89 ca_certificate: '/etc/octavia/certs/ca_01.pem'
90 controller_worker:
Elena Ezhova26bab1f2017-06-15 16:34:59 +040091 amp_flavor_id: '967972bb-ab54-4679-9f53-bf81d5e28154'
Elena Ezhova26bab1f2017-06-15 16:34:59 +040092 amp_image_tag: amphora
Elena Ezhova26bab1f2017-06-15 16:34:59 +040093 amp_ssh_key_name: octavia_ssh_key
94 loadbalancer_topology: 'SINGLE'
95 haproxy_amphora:
96 client_cert: '/etc/octavia/certs/client.pem'
Elena Ezhova9e97de72017-07-18 16:12:55 +040097 client_cert_key: '/etc/octavia/certs/client.key'
98 client_cert_all: '/etc/octavia/certs/client_all.pem'
Elena Ezhova26bab1f2017-06-15 16:34:59 +040099 server_ca: '/etc/octavia/certs/ca_01.pem'
100 health_manager:
101 bind_ip: 192.168.0.12
102 heartbeat_key: 'insecure'
103 house_keeping:
104 spare_amphora_pool_size: 0
Elena Ezhova8345de02017-08-02 17:46:52 +0400105 ssh:
106 private_key: |
107 -----BEGIN RSA PRIVATE KEY-----
108 MIIEpAIBAAKCAQEAtjnPDJsQToHBtoqIo15mdSYpfi8z6DFMi8Gbo0KCN33OUn5u
109 OctbdtjUfeuhvI6px1SCnvyWi09Ft8eWwq+KwLCGKbUxLvqKltuJ7K3LIrGXkt+m
110 qZN4O9XKeVKfZH+mQWkkxRWgX2r8RKNV3GkdNtd74VjhP+R6XSKJQ1Z8b7eHM10v
111 6IjTY/jPczjK+eyCeEj4qbSnV8eKlqLhhquuSQRmUO2DRSjLVdpdf2BB4/BdWFsD
112 YOmX7mb8kpEr9vQ+c1JKMXDwD6ehzyU8kE+1k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THSI187YI34
129 lKQPFgWb08m1NnwoWrY//yx63BqWz1vjymqNQ5GwutC8XJi5/6Xp+tGGiRuEgJGH
130 EIPUKpkCgYAjBIVMkpNiLCREZ6b+qjrPV96ed3iTUt7TqP7yGlFI/OkORFS38xqC
131 hBP6Fk8iNWuOWQD+ohM/vMMnvIhk5jwlcwn+kF0ra04gi5KBFWSh/ddWMJxUtPC1
132 2htvlEc6zQAR6QfqXHmwhg1hP81JcpqpicQzCMhkzLoR1DC6stXdLg==
133 -----END RSA PRIVATE KEY-----
134 user: octavia
135 group: octavia
Elena Ezhova26bab1f2017-06-15 16:34:59 +0400136
Elena Ezhovaa3a43232017-06-02 17:53:00 +0400137
138
139More information
140================
141
142Octavia developer documentation:
143
144 https://docs.openstack.org/developer/octavia
145
146Release notes:
147
148 https://docs.openstack.org/releasenotes/octavia
149
150
151Documentation and Bugs
152======================
153
154To learn how to install and update salt-formulas, consult the documentation
155available online at:
156
157 http://salt-formulas.readthedocs.io/
158
159In the unfortunate event that bugs are discovered, they should be reported to
160the appropriate issue tracker. Use GitHub issue tracker for specific salt
161formula:
162
163 https://github.com/salt-formulas/salt-formula-octavia/issues
164
165For feature requests, bug reports or blueprints affecting entire ecosystem,
166use Launchpad salt-formulas project:
167
168 https://launchpad.net/salt-formulas
169
170Developers wishing to work on the salt-formulas projects should always base
171their work on master branch and submit pull request against specific formula.
172
173You should also subscribe to mailing list (salt-formulas@freelists.org):
174
175 https://www.freelists.org/list/salt-formulas
176
177Any questions or feedback is always welcome so feel free to join our IRC
178channel:
179
180 #salt-formulas @ irc.freenode.net