Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
| 2 | ============== |
Ales Komarek | 880f02f | 2016-01-25 13:19:23 +0100 | [diff] [blame] | 3 | Nova |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 4 | ============== |
| 5 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 6 | OpenStack Nova provides a cloud computing fabric controller, supporting a wide |
| 7 | variety of virtualization technologies, including KVM, Xen, LXC, VMware, and |
| 8 | more. In addition to its native API, it includes compatibility with the |
| 9 | commonly encountered Amazon EC2 and S3 APIs. |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 10 | |
| 11 | Sample pillars |
| 12 | ============== |
| 13 | |
| 14 | Controller nodes |
| 15 | ---------------- |
| 16 | |
| 17 | Nova services on the controller node |
| 18 | |
| 19 | .. code-block:: yaml |
| 20 | |
| 21 | nova: |
| 22 | controller: |
| 23 | version: juno |
| 24 | enabled: true |
| 25 | security_group: true |
Lachlan Evenson | b72de50 | 2016-01-20 15:34:04 -0800 | [diff] [blame] | 26 | cpu_allocation_ratio: 8.0 |
| 27 | ram_allocation_ratio: 1.0 |
Jiri Konecny | 9344a37 | 2016-03-21 19:25:48 +0100 | [diff] [blame] | 28 | disk_allocation_ratio: 1.0 |
Jiri Konecny | b5a80e4 | 2016-03-22 11:51:01 +0100 | [diff] [blame] | 29 | workers: 8 |
Jakub Pavlik | 617a896 | 2016-09-04 18:50:06 +0200 | [diff] [blame] | 30 | report_interval: 60 |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 31 | bind: |
| 32 | public_address: 10.0.0.122 |
| 33 | public_name: openstack.domain.com |
| 34 | novncproxy_port: 6080 |
| 35 | database: |
| 36 | engine: mysql |
| 37 | host: 127.0.0.1 |
| 38 | port: 3306 |
| 39 | name: nova |
| 40 | user: nova |
| 41 | password: pwd |
| 42 | identity: |
| 43 | engine: keystone |
| 44 | host: 127.0.0.1 |
| 45 | port: 35357 |
| 46 | user: nova |
| 47 | password: pwd |
| 48 | tenant: service |
| 49 | message_queue: |
| 50 | engine: rabbitmq |
| 51 | host: 127.0.0.1 |
| 52 | port: 5672 |
| 53 | user: openstack |
| 54 | password: pwd |
| 55 | virtual_host: '/openstack' |
| 56 | network: |
| 57 | engine: neutron |
| 58 | host: 127.0.0.1 |
| 59 | port: 9696 |
Jakub Pavlik | 617a896 | 2016-09-04 18:50:06 +0200 | [diff] [blame] | 60 | extension_sync_interval: 600 |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 61 | identity: |
| 62 | engine: keystone |
| 63 | host: 127.0.0.1 |
| 64 | port: 35357 |
| 65 | user: neutron |
| 66 | password: pwd |
| 67 | tenant: service |
| 68 | metadata: |
| 69 | password: password |
| 70 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 71 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 72 | Nova services from custom package repository |
| 73 | |
| 74 | .. code-block:: yaml |
| 75 | |
| 76 | nova: |
| 77 | controller: |
| 78 | version: juno |
| 79 | source: |
| 80 | engine: pkg |
| 81 | address: http://... |
| 82 | .... |
| 83 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 84 | |
| 85 | Client-side RabbitMQ HA setup |
| 86 | |
| 87 | .. code-block:: yaml |
| 88 | |
| 89 | nova: |
| 90 | controller: |
| 91 | .... |
| 92 | message_queue: |
| 93 | engine: rabbitmq |
| 94 | members: |
| 95 | - host: 10.0.16.1 |
| 96 | - host: 10.0.16.2 |
| 97 | - host: 10.0.16.3 |
| 98 | user: openstack |
| 99 | password: pwd |
| 100 | virtual_host: '/openstack' |
| 101 | .... |
| 102 | |
| 103 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 104 | Compute nodes |
| 105 | ------------- |
| 106 | |
| 107 | Nova controller services on compute node |
| 108 | |
| 109 | .. code-block:: yaml |
| 110 | |
| 111 | nova: |
| 112 | compute: |
| 113 | version: juno |
| 114 | enabled: true |
| 115 | virtualization: kvm |
| 116 | security_group: true |
| 117 | bind: |
| 118 | vnc_address: 172.20.0.100 |
| 119 | vnc_port: 6080 |
| 120 | vnc_name: openstack.domain.com |
| 121 | vnc_protocol: http |
| 122 | database: |
| 123 | engine: mysql |
| 124 | host: 127.0.0.1 |
| 125 | port: 3306 |
| 126 | name: nova |
| 127 | user: nova |
| 128 | password: pwd |
| 129 | identity: |
| 130 | engine: keystone |
| 131 | host: 127.0.0.1 |
| 132 | port: 35357 |
| 133 | user: nova |
| 134 | password: pwd |
| 135 | tenant: service |
| 136 | message_queue: |
| 137 | engine: rabbitmq |
| 138 | host: 127.0.0.1 |
| 139 | port: 5672 |
| 140 | user: openstack |
| 141 | password: pwd |
| 142 | virtual_host: '/openstack' |
| 143 | image: |
| 144 | engine: glance |
| 145 | host: 127.0.0.1 |
| 146 | port: 9292 |
| 147 | network: |
| 148 | engine: neutron |
| 149 | host: 127.0.0.1 |
| 150 | port: 9696 |
| 151 | identity: |
| 152 | engine: keystone |
| 153 | host: 127.0.0.1 |
| 154 | port: 35357 |
| 155 | user: neutron |
| 156 | password: pwd |
| 157 | tenant: service |
| 158 | qemu: |
| 159 | max_files: 4096 |
| 160 | max_processes: 4096 |
| 161 | |
| 162 | Nova services on compute node with OpenContrail |
| 163 | |
| 164 | .. code-block:: yaml |
| 165 | |
| 166 | nova: |
| 167 | compute: |
| 168 | enabled: true |
| 169 | ... |
| 170 | networking: contrail |
| 171 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 172 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 173 | Nova services on compute node with memcached caching |
| 174 | |
| 175 | .. code-block:: yaml |
| 176 | |
| 177 | nova: |
| 178 | compute: |
| 179 | enabled: true |
| 180 | ... |
| 181 | cache: |
| 182 | engine: memcached |
| 183 | members: |
| 184 | - host: 127.0.0.1 |
| 185 | port: 11211 |
| 186 | - host: 127.0.0.1 |
| 187 | port: 11211 |
| 188 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 189 | |
| 190 | Client-side RabbitMQ HA setup |
| 191 | |
| 192 | .. code-block:: yaml |
| 193 | |
| 194 | nova: |
| 195 | controller: |
| 196 | .... |
| 197 | message_queue: |
| 198 | engine: rabbitmq |
| 199 | members: |
| 200 | - host: 10.0.16.1 |
| 201 | - host: 10.0.16.2 |
| 202 | - host: 10.0.16.3 |
| 203 | user: openstack |
| 204 | password: pwd |
| 205 | virtual_host: '/openstack' |
| 206 | .... |
| 207 | |
maxstack | 39e6aca | 2016-05-04 13:50:13 +0000 | [diff] [blame] | 208 | |
| 209 | Nova with ephemeral configured with Ceph |
| 210 | |
| 211 | .. code-block:: yaml |
| 212 | |
| 213 | nova: |
| 214 | compute: |
| 215 | enabled: true |
| 216 | ... |
| 217 | ceph: |
| 218 | ephemeral: yes |
| 219 | rbd_pool: nova |
| 220 | rbd_user: nova |
| 221 | secret_uuid: 03006edd-d957-40a3-ac4c-26cd254b3731 |
| 222 | |
| 223 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 224 | Documentation and Bugs |
| 225 | ============================ |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 226 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 227 | To learn how to deploy OpenStack Salt, consult the documentation available |
| 228 | online at: |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 229 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 230 | https://wiki.openstack.org/wiki/OpenStackSalt |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 231 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 232 | In the unfortunate event that bugs are discovered, they should be reported to |
| 233 | the appropriate bug tracker. If you obtained the software from a 3rd party |
| 234 | operating system vendor, it is often wise to use their own bug tracker for |
| 235 | reporting problems. In all other cases use the master OpenStack bug tracker, |
| 236 | available at: |
| 237 | |
| 238 | http://bugs.launchpad.net/openstack-salt |
| 239 | |
| 240 | Developers wishing to work on the OpenStack Salt project should always base |
| 241 | their work on the latest formulas code, available from the master GIT |
| 242 | repository at: |
| 243 | |
| 244 | https://git.openstack.org/cgit/openstack/salt-formula-nova |
| 245 | |
| 246 | Developers should also join the discussion on the IRC list, at: |
| 247 | |
maxstack | 39e6aca | 2016-05-04 13:50:13 +0000 | [diff] [blame] | 248 | https://wiki.openstack.org/wiki/Meetings/openstack-salt |