blob: d4158711c522b7fe0e9fb299ecab21c6e8a38049 [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
Filip Pytloun4a72d792015-10-06 16:28:32 +020030 bind:
31 public_address: 10.0.0.122
32 public_name: openstack.domain.com
33 novncproxy_port: 6080
34 database:
35 engine: mysql
36 host: 127.0.0.1
37 port: 3306
38 name: nova
39 user: nova
40 password: pwd
41 identity:
42 engine: keystone
43 host: 127.0.0.1
44 port: 35357
45 user: nova
46 password: pwd
47 tenant: service
48 message_queue:
49 engine: rabbitmq
50 host: 127.0.0.1
51 port: 5672
52 user: openstack
53 password: pwd
54 virtual_host: '/openstack'
55 network:
56 engine: neutron
57 host: 127.0.0.1
58 port: 9696
59 identity:
60 engine: keystone
61 host: 127.0.0.1
62 port: 35357
63 user: neutron
64 password: pwd
65 tenant: service
66 metadata:
67 password: password
68
Jiri Konecnye31f2c52016-04-14 17:16:02 +020069
Filip Pytloun4a72d792015-10-06 16:28:32 +020070Nova services from custom package repository
71
72.. code-block:: yaml
73
74 nova:
75 controller:
76 version: juno
77 source:
78 engine: pkg
79 address: http://...
80 ....
81
Jiri Konecnye31f2c52016-04-14 17:16:02 +020082
83Client-side RabbitMQ HA setup
84
85.. code-block:: yaml
86
87 nova:
88 controller:
89 ....
90 message_queue:
91 engine: rabbitmq
92 members:
93 - host: 10.0.16.1
94 - host: 10.0.16.2
95 - host: 10.0.16.3
96 user: openstack
97 password: pwd
98 virtual_host: '/openstack'
99 ....
100
101
Filip Pytloun4a72d792015-10-06 16:28:32 +0200102Compute nodes
103-------------
104
105Nova controller services on compute node
106
107.. code-block:: yaml
108
109 nova:
110 compute:
111 version: juno
112 enabled: true
113 virtualization: kvm
114 security_group: true
115 bind:
116 vnc_address: 172.20.0.100
117 vnc_port: 6080
118 vnc_name: openstack.domain.com
119 vnc_protocol: http
120 database:
121 engine: mysql
122 host: 127.0.0.1
123 port: 3306
124 name: nova
125 user: nova
126 password: pwd
127 identity:
128 engine: keystone
129 host: 127.0.0.1
130 port: 35357
131 user: nova
132 password: pwd
133 tenant: service
134 message_queue:
135 engine: rabbitmq
136 host: 127.0.0.1
137 port: 5672
138 user: openstack
139 password: pwd
140 virtual_host: '/openstack'
141 image:
142 engine: glance
143 host: 127.0.0.1
144 port: 9292
145 network:
146 engine: neutron
147 host: 127.0.0.1
148 port: 9696
149 identity:
150 engine: keystone
151 host: 127.0.0.1
152 port: 35357
153 user: neutron
154 password: pwd
155 tenant: service
156 qemu:
157 max_files: 4096
158 max_processes: 4096
159
160Nova services on compute node with OpenContrail
161
162.. code-block:: yaml
163
164 nova:
165 compute:
166 enabled: true
167 ...
168 networking: contrail
169
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200170
Filip Pytloun4a72d792015-10-06 16:28:32 +0200171Nova services on compute node with memcached caching
172
173.. code-block:: yaml
174
175 nova:
176 compute:
177 enabled: true
178 ...
179 cache:
180 engine: memcached
181 members:
182 - host: 127.0.0.1
183 port: 11211
184 - host: 127.0.0.1
185 port: 11211
186
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200187
188Client-side RabbitMQ HA setup
189
190.. code-block:: yaml
191
192 nova:
193 controller:
194 ....
195 message_queue:
196 engine: rabbitmq
197 members:
198 - host: 10.0.16.1
199 - host: 10.0.16.2
200 - host: 10.0.16.3
201 user: openstack
202 password: pwd
203 virtual_host: '/openstack'
204 ....
205
maxstack39e6aca2016-05-04 13:50:13 +0000206
207Nova with ephemeral configured with Ceph
208
209.. code-block:: yaml
210
211 nova:
212 compute:
213 enabled: true
214 ...
215 ceph:
216 ephemeral: yes
217 rbd_pool: nova
218 rbd_user: nova
219 secret_uuid: 03006edd-d957-40a3-ac4c-26cd254b3731
220
221
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200222Documentation and Bugs
223============================
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200224
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200225To learn how to deploy OpenStack Salt, consult the documentation available
226online at:
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200227
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200228 https://wiki.openstack.org/wiki/OpenStackSalt
Filip Pytloun4a72d792015-10-06 16:28:32 +0200229
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200230In the unfortunate event that bugs are discovered, they should be reported to
231the appropriate bug tracker. If you obtained the software from a 3rd party
232operating system vendor, it is often wise to use their own bug tracker for
233reporting problems. In all other cases use the master OpenStack bug tracker,
234available at:
235
236 http://bugs.launchpad.net/openstack-salt
237
238Developers wishing to work on the OpenStack Salt project should always base
239their work on the latest formulas code, available from the master GIT
240repository at:
241
242 https://git.openstack.org/cgit/openstack/salt-formula-nova
243
244Developers should also join the discussion on the IRC list, at:
245
maxstack39e6aca2016-05-04 13:50:13 +0000246 https://wiki.openstack.org/wiki/Meetings/openstack-salt