blob: c5080b72377415a8cc2af21a694e6a66426eb157 [file] [log] [blame]
Filip Pytloun4a72d792015-10-06 16:28:32 +02001
2==============
Ales Komarek880f02f2016-01-25 13:19:23 +01003Nova
Filip Pytloun4a72d792015-10-06 16:28:32 +02004==============
5
Jakub Pavlikfcf34f82016-05-20 09:35:51 +02006OpenStack Nova provides a cloud computing fabric controller, supporting a wide
7variety of virtualization technologies, including KVM, Xen, LXC, VMware, and
8more. In addition to its native API, it includes compatibility with the
9commonly encountered Amazon EC2 and S3 APIs.
Filip Pytloun4a72d792015-10-06 16:28:32 +020010
11Sample pillars
12==============
13
14Controller nodes
15----------------
16
17Nova 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 Evensonb72de502016-01-20 15:34:04 -080026 cpu_allocation_ratio: 8.0
27 ram_allocation_ratio: 1.0
Jiri Konecny9344a372016-03-21 19:25:48 +010028 disk_allocation_ratio: 1.0
Jiri Konecnyb5a80e42016-03-22 11:51:01 +010029 workers: 8
Jakub Pavlik617a8962016-09-04 18:50:06 +020030 report_interval: 60
Filip Pytloun4a72d792015-10-06 16:28:32 +020031 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 Pavlik617a8962016-09-04 18:50:06 +020060 extension_sync_interval: 600
Filip Pytloun4a72d792015-10-06 16:28:32 +020061 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 Michalecaa23dc02016-11-29 16:30:25 +010070 audit:
71 enabled: false
Simon Pasquier8683b7a2017-02-03 16:00:16 +010072 osapi_max_limit: 500
Filip Pytloun4a72d792015-10-06 16:28:32 +020073
Jiri Konecnye31f2c52016-04-14 17:16:02 +020074
Filip Pytloun4a72d792015-10-06 16:28:32 +020075Nova 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 Konecnye31f2c52016-04-14 17:16:02 +020087
88Client-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 Michalecaa23dc02016-11-29 16:30:25 +0100107Enable auditing filter, ie: CADF
108
109.. code-block:: yaml
110
111 nova:
112 controller:
Simon Pasquier6a3c8f72016-12-19 15:37:24 +0100113 audit:
Petr Michalecaa23dc02016-11-29 16:30:25 +0100114 enabled: true
115 ....
116 filter_factory: 'keystonemiddleware.audit:filter_factory'
117 map_file: '/etc/pycadf/nova_api_audit_map.conf'
118 ....
119
120
Filip Pytloun4a72d792015-10-06 16:28:32 +0200121Compute nodes
122-------------
123
124Nova 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
179Nova 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 Konecnye31f2c52016-04-14 17:16:02 +0200189
Filip Pytloun4a72d792015-10-06 16:28:32 +0200190Nova 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 Konecnye31f2c52016-04-14 17:16:02 +0200206
207Client-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
maxstack39e6aca2016-05-04 13:50:13 +0000225
226Nova 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 Broulik0ce9fc92017-02-01 23:10:40 +0100241Client role
242-----------
243
244Nova 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
263
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200264Documentation and Bugs
265============================
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200266
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200267To learn how to deploy OpenStack Salt, consult the documentation available
268online at:
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200269
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200270 https://wiki.openstack.org/wiki/OpenStackSalt
Filip Pytloun4a72d792015-10-06 16:28:32 +0200271
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200272In the unfortunate event that bugs are discovered, they should be reported to
273the appropriate bug tracker. If you obtained the software from a 3rd party
274operating system vendor, it is often wise to use their own bug tracker for
275reporting problems. In all other cases use the master OpenStack bug tracker,
276available at:
277
278 http://bugs.launchpad.net/openstack-salt
279
280Developers wishing to work on the OpenStack Salt project should always base
281their work on the latest formulas code, available from the master GIT
282repository at:
283
284 https://git.openstack.org/cgit/openstack/salt-formula-nova
285
286Developers should also join the discussion on the IRC list, at:
287
maxstack39e6aca2016-05-04 13:50:13 +0000288 https://wiki.openstack.org/wiki/Meetings/openstack-salt
Filip Pytloun5bc9e9f2017-02-02 13:05:40 +0100289
290Documentation and Bugs
291======================
292
293To learn how to install and update salt-formulas, consult the documentation
294available online at:
295
296 http://salt-formulas.readthedocs.io/
297
298In the unfortunate event that bugs are discovered, they should be reported to
299the appropriate issue tracker. Use Github issue tracker for specific salt
300formula:
301
302 https://github.com/salt-formulas/salt-formula-nova/issues
303
304For feature requests, bug reports or blueprints affecting entire ecosystem,
305use Launchpad salt-formulas project:
306
307 https://launchpad.net/salt-formulas
308
309You can also join salt-formulas-users team and subscribe to mailing list:
310
311 https://launchpad.net/~salt-formulas-users
312
313Developers wishing to work on the salt-formulas projects should always base
314their work on master branch and submit pull request against specific formula.
315
316 https://github.com/salt-formulas/salt-formula-nova
317
318Any questions or feedback is always welcome so feel free to join our IRC
319channel:
320
321 #salt-formulas @ irc.freenode.net