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 |
Petr Michalec | aa23dc0 | 2016-11-29 16:30:25 +0100 | [diff] [blame] | 70 | audit: |
| 71 | enabled: false |
Simon Pasquier | 8683b7a | 2017-02-03 16:00:16 +0100 | [diff] [blame] | 72 | osapi_max_limit: 500 |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 73 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 74 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 75 | Nova services from custom package repository |
| 76 | |
| 77 | .. code-block:: yaml |
| 78 | |
| 79 | nova: |
| 80 | controller: |
| 81 | version: juno |
| 82 | source: |
| 83 | engine: pkg |
| 84 | address: http://... |
| 85 | .... |
| 86 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 87 | |
| 88 | Client-side RabbitMQ HA setup |
| 89 | |
| 90 | .. code-block:: yaml |
| 91 | |
| 92 | nova: |
| 93 | controller: |
| 94 | .... |
| 95 | message_queue: |
| 96 | engine: rabbitmq |
| 97 | members: |
| 98 | - host: 10.0.16.1 |
| 99 | - host: 10.0.16.2 |
| 100 | - host: 10.0.16.3 |
| 101 | user: openstack |
| 102 | password: pwd |
| 103 | virtual_host: '/openstack' |
| 104 | .... |
| 105 | |
| 106 | |
Petr Michalec | aa23dc0 | 2016-11-29 16:30:25 +0100 | [diff] [blame] | 107 | Enable auditing filter, ie: CADF |
| 108 | |
| 109 | .. code-block:: yaml |
| 110 | |
| 111 | nova: |
| 112 | controller: |
Simon Pasquier | 6a3c8f7 | 2016-12-19 15:37:24 +0100 | [diff] [blame] | 113 | audit: |
Petr Michalec | aa23dc0 | 2016-11-29 16:30:25 +0100 | [diff] [blame] | 114 | enabled: true |
| 115 | .... |
| 116 | filter_factory: 'keystonemiddleware.audit:filter_factory' |
| 117 | map_file: '/etc/pycadf/nova_api_audit_map.conf' |
| 118 | .... |
| 119 | |
| 120 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 121 | Compute nodes |
| 122 | ------------- |
| 123 | |
| 124 | Nova controller services on compute node |
| 125 | |
| 126 | .. code-block:: yaml |
| 127 | |
| 128 | nova: |
| 129 | compute: |
| 130 | version: juno |
| 131 | enabled: true |
| 132 | virtualization: kvm |
| 133 | security_group: true |
| 134 | bind: |
| 135 | vnc_address: 172.20.0.100 |
| 136 | vnc_port: 6080 |
| 137 | vnc_name: openstack.domain.com |
| 138 | vnc_protocol: http |
| 139 | database: |
| 140 | engine: mysql |
| 141 | host: 127.0.0.1 |
| 142 | port: 3306 |
| 143 | name: nova |
| 144 | user: nova |
| 145 | password: pwd |
| 146 | identity: |
| 147 | engine: keystone |
| 148 | host: 127.0.0.1 |
| 149 | port: 35357 |
| 150 | user: nova |
| 151 | password: pwd |
| 152 | tenant: service |
| 153 | message_queue: |
| 154 | engine: rabbitmq |
| 155 | host: 127.0.0.1 |
| 156 | port: 5672 |
| 157 | user: openstack |
| 158 | password: pwd |
| 159 | virtual_host: '/openstack' |
| 160 | image: |
| 161 | engine: glance |
| 162 | host: 127.0.0.1 |
| 163 | port: 9292 |
| 164 | network: |
| 165 | engine: neutron |
| 166 | host: 127.0.0.1 |
| 167 | port: 9696 |
| 168 | identity: |
| 169 | engine: keystone |
| 170 | host: 127.0.0.1 |
| 171 | port: 35357 |
| 172 | user: neutron |
| 173 | password: pwd |
| 174 | tenant: service |
| 175 | qemu: |
| 176 | max_files: 4096 |
| 177 | max_processes: 4096 |
| 178 | |
| 179 | Nova services on compute node with OpenContrail |
| 180 | |
| 181 | .. code-block:: yaml |
| 182 | |
| 183 | nova: |
| 184 | compute: |
| 185 | enabled: true |
| 186 | ... |
| 187 | networking: contrail |
| 188 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 189 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 190 | Nova services on compute node with memcached caching |
| 191 | |
| 192 | .. code-block:: yaml |
| 193 | |
| 194 | nova: |
| 195 | compute: |
| 196 | enabled: true |
| 197 | ... |
| 198 | cache: |
| 199 | engine: memcached |
| 200 | members: |
| 201 | - host: 127.0.0.1 |
| 202 | port: 11211 |
| 203 | - host: 127.0.0.1 |
| 204 | port: 11211 |
| 205 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 206 | |
| 207 | Client-side RabbitMQ HA setup |
| 208 | |
| 209 | .. code-block:: yaml |
| 210 | |
| 211 | nova: |
| 212 | controller: |
| 213 | .... |
| 214 | message_queue: |
| 215 | engine: rabbitmq |
| 216 | members: |
| 217 | - host: 10.0.16.1 |
| 218 | - host: 10.0.16.2 |
| 219 | - host: 10.0.16.3 |
| 220 | user: openstack |
| 221 | password: pwd |
| 222 | virtual_host: '/openstack' |
| 223 | .... |
| 224 | |
maxstack | 39e6aca | 2016-05-04 13:50:13 +0000 | [diff] [blame] | 225 | |
| 226 | Nova with ephemeral configured with Ceph |
| 227 | |
| 228 | .. code-block:: yaml |
| 229 | |
| 230 | nova: |
| 231 | compute: |
| 232 | enabled: true |
| 233 | ... |
| 234 | ceph: |
| 235 | ephemeral: yes |
| 236 | rbd_pool: nova |
| 237 | rbd_user: nova |
| 238 | secret_uuid: 03006edd-d957-40a3-ac4c-26cd254b3731 |
| 239 | |
| 240 | |
Jiri Broulik | 0ce9fc9 | 2017-02-01 23:10:40 +0100 | [diff] [blame] | 241 | Client role |
| 242 | ----------- |
| 243 | |
| 244 | Nova flavors |
| 245 | |
| 246 | .. code-block:: yaml |
| 247 | |
| 248 | nova: |
| 249 | client: |
| 250 | enabled: true |
| 251 | server: |
| 252 | identity: |
| 253 | flavor: |
| 254 | jirka-flavor1: |
| 255 | flavor_id: 10 |
| 256 | ram: 4096 |
| 257 | disk: 10 |
| 258 | vcpus: 1 |
| 259 | identity1: |
| 260 | flavor: |
| 261 | ... |
| 262 | |
Jakub Pavlik | 39a0594 | 2017-02-13 23:03:08 +0100 | [diff] [blame^] | 263 | SRIOV |
| 264 | ------ |
| 265 | |
| 266 | Add PciPassthroughFilter into scheduler filters and NICs on specific compute nodes. |
| 267 | |
| 268 | .. code-block:: yaml |
| 269 | |
| 270 | nova: |
| 271 | controller: |
| 272 | sriov: true |
| 273 | scheduler_default_filters: "DifferentHostFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,CoreFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter" |
| 274 | |
| 275 | nova: |
| 276 | compute: |
| 277 | sriov: |
| 278 | nic_one: |
| 279 | devname: eth1 |
| 280 | physical_network: physnet1 |
| 281 | |
Jiri Broulik | 0ce9fc9 | 2017-02-01 23:10:40 +0100 | [diff] [blame] | 282 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 283 | Documentation and Bugs |
| 284 | ============================ |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 285 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 286 | To learn how to deploy OpenStack Salt, consult the documentation available |
| 287 | online at: |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 288 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 289 | https://wiki.openstack.org/wiki/OpenStackSalt |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 290 | |
Jakub Pavlik | fcf34f8 | 2016-05-20 09:35:51 +0200 | [diff] [blame] | 291 | In the unfortunate event that bugs are discovered, they should be reported to |
| 292 | the appropriate bug tracker. If you obtained the software from a 3rd party |
| 293 | operating system vendor, it is often wise to use their own bug tracker for |
| 294 | reporting problems. In all other cases use the master OpenStack bug tracker, |
| 295 | available at: |
| 296 | |
| 297 | http://bugs.launchpad.net/openstack-salt |
| 298 | |
| 299 | Developers wishing to work on the OpenStack Salt project should always base |
| 300 | their work on the latest formulas code, available from the master GIT |
| 301 | repository at: |
| 302 | |
| 303 | https://git.openstack.org/cgit/openstack/salt-formula-nova |
| 304 | |
| 305 | Developers should also join the discussion on the IRC list, at: |
| 306 | |
maxstack | 39e6aca | 2016-05-04 13:50:13 +0000 | [diff] [blame] | 307 | https://wiki.openstack.org/wiki/Meetings/openstack-salt |
Filip Pytloun | 5bc9e9f | 2017-02-02 13:05:40 +0100 | [diff] [blame] | 308 | |
| 309 | Documentation and Bugs |
| 310 | ====================== |
| 311 | |
| 312 | To learn how to install and update salt-formulas, consult the documentation |
| 313 | available online at: |
| 314 | |
| 315 | http://salt-formulas.readthedocs.io/ |
| 316 | |
| 317 | In the unfortunate event that bugs are discovered, they should be reported to |
| 318 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 319 | formula: |
| 320 | |
| 321 | https://github.com/salt-formulas/salt-formula-nova/issues |
| 322 | |
| 323 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 324 | use Launchpad salt-formulas project: |
| 325 | |
| 326 | https://launchpad.net/salt-formulas |
| 327 | |
| 328 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 329 | |
| 330 | https://launchpad.net/~salt-formulas-users |
| 331 | |
| 332 | Developers wishing to work on the salt-formulas projects should always base |
| 333 | their work on master branch and submit pull request against specific formula. |
| 334 | |
| 335 | https://github.com/salt-formulas/salt-formula-nova |
| 336 | |
| 337 | Any questions or feedback is always welcome so feel free to join our IRC |
| 338 | channel: |
| 339 | |
| 340 | #salt-formulas @ irc.freenode.net |