Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 1 | ======= |
| 2 | Octavia |
| 3 | ======= |
| 4 | |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 5 | Octavia is an open source, operator-scale load balancing solution designed to |
| 6 | work with OpenStack. It accomplishes its delivery of load balancing services |
| 7 | by managing a fleet of virtual machines, known as amphorae, which it spins up |
| 8 | on demand. |
| 9 | |
| 10 | Octavia is designed to “plug in” to Neutron LBaaS in the same way that any |
| 11 | proprietary vendor solution would: through a Neutron LBaaS version 2 driver |
| 12 | interface. Octavia plans to supplant Neutron LBaaS as the load balancing |
| 13 | solution for OpenStack. At that time, third-party vendor drivers that presently |
| 14 | “plug in” to Neutron LBaaS will plug in to Octavia instead. For end-users, |
| 15 | this transition should be relatively seamless, because Octavia supports |
| 16 | the Neutron LBaaS v2 API and it has a similar CLI interface. |
| 17 | |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 18 | |
| 19 | Sample pillars |
| 20 | ============== |
| 21 | |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 22 | Octavia API service pillar: |
| 23 | |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 24 | .. code-block:: yaml |
| 25 | |
| 26 | octavia: |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 27 | api: |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 28 | enabled: true |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 29 | 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' |
| 55 | haproxy_amphora: |
| 56 | client_cert: '/etc/octavia/certs/client.pem' |
| 57 | server_ca: '/etc/octavia/certs/ca_01.pem' |
| 58 | |
| 59 | |
| 60 | Octavia manager service pillar: |
| 61 | |
| 62 | .. code-block:: yaml |
| 63 | |
| 64 | octavia: |
| 65 | manager: |
| 66 | enabled: true |
| 67 | version: ocata |
| 68 | database: |
| 69 | engine: mysql |
| 70 | host: 127.0.0.1 |
| 71 | port: 3306 |
| 72 | name: octavia |
| 73 | user: octavia |
| 74 | password: password |
| 75 | identity: |
| 76 | engine: keystone |
| 77 | region: RegionOne |
| 78 | host: 127.0.0.1 |
| 79 | port: 35357 |
| 80 | user: octavia |
| 81 | password: password |
| 82 | tenant: service |
| 83 | message_queue: |
| 84 | engine: rabbitmq |
| 85 | host: 127.0.0.1 |
| 86 | port: 5672 |
| 87 | user: openstack |
| 88 | password: password |
| 89 | virtual_host: '/openstack' |
| 90 | certificates: |
| 91 | ca_private_key_passphrase: foobar |
| 92 | ca_private_key: '/etc/octavia/certs/private/cakey.pem' |
| 93 | ca_certificate: '/etc/octavia/certs/ca_01.pem' |
| 94 | controller_worker: |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 95 | amp_flavor_id: '967972bb-ab54-4679-9f53-bf81d5e28154' |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 96 | amp_image_tag: amphora |
Elena Ezhova | 26bab1f | 2017-06-15 16:34:59 +0400 | [diff] [blame] | 97 | amp_ssh_key_name: octavia_ssh_key |
| 98 | loadbalancer_topology: 'SINGLE' |
| 99 | haproxy_amphora: |
| 100 | client_cert: '/etc/octavia/certs/client.pem' |
| 101 | server_ca: '/etc/octavia/certs/ca_01.pem' |
| 102 | health_manager: |
| 103 | bind_ip: 192.168.0.12 |
| 104 | heartbeat_key: 'insecure' |
| 105 | house_keeping: |
| 106 | spare_amphora_pool_size: 0 |
| 107 | |
Elena Ezhova | a3a4323 | 2017-06-02 17:53:00 +0400 | [diff] [blame] | 108 | |
| 109 | |
| 110 | More information |
| 111 | ================ |
| 112 | |
| 113 | Octavia developer documentation: |
| 114 | |
| 115 | https://docs.openstack.org/developer/octavia |
| 116 | |
| 117 | Release notes: |
| 118 | |
| 119 | https://docs.openstack.org/releasenotes/octavia |
| 120 | |
| 121 | |
| 122 | Documentation and Bugs |
| 123 | ====================== |
| 124 | |
| 125 | To learn how to install and update salt-formulas, consult the documentation |
| 126 | available online at: |
| 127 | |
| 128 | http://salt-formulas.readthedocs.io/ |
| 129 | |
| 130 | In the unfortunate event that bugs are discovered, they should be reported to |
| 131 | the appropriate issue tracker. Use GitHub issue tracker for specific salt |
| 132 | formula: |
| 133 | |
| 134 | https://github.com/salt-formulas/salt-formula-octavia/issues |
| 135 | |
| 136 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 137 | use Launchpad salt-formulas project: |
| 138 | |
| 139 | https://launchpad.net/salt-formulas |
| 140 | |
| 141 | Developers wishing to work on the salt-formulas projects should always base |
| 142 | their work on master branch and submit pull request against specific formula. |
| 143 | |
| 144 | You should also subscribe to mailing list (salt-formulas@freelists.org): |
| 145 | |
| 146 | https://www.freelists.org/list/salt-formulas |
| 147 | |
| 148 | Any questions or feedback is always welcome so feel free to join our IRC |
| 149 | channel: |
| 150 | |
| 151 | #salt-formulas @ irc.freenode.net |