blob: 76d1f6c87af66baeb0c1a3e3269116531eb6e66c [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
70
Jiri Konecnye31f2c52016-04-14 17:16:02 +020071
Filip Pytloun4a72d792015-10-06 16:28:32 +020072Nova 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 Konecnye31f2c52016-04-14 17:16:02 +020084
85Client-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 Pytloun4a72d792015-10-06 16:28:32 +0200104Compute nodes
105-------------
106
107Nova 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
162Nova 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 Konecnye31f2c52016-04-14 17:16:02 +0200172
Filip Pytloun4a72d792015-10-06 16:28:32 +0200173Nova 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 Konecnye31f2c52016-04-14 17:16:02 +0200189
190Client-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
maxstack39e6aca2016-05-04 13:50:13 +0000208
209Nova 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 Pavlikfcf34f82016-05-20 09:35:51 +0200224Documentation and Bugs
225============================
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200226
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200227To learn how to deploy OpenStack Salt, consult the documentation available
228online at:
Jiri Konecnye31f2c52016-04-14 17:16:02 +0200229
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200230 https://wiki.openstack.org/wiki/OpenStackSalt
Filip Pytloun4a72d792015-10-06 16:28:32 +0200231
Jakub Pavlikfcf34f82016-05-20 09:35:51 +0200232In the unfortunate event that bugs are discovered, they should be reported to
233the appropriate bug tracker. If you obtained the software from a 3rd party
234operating system vendor, it is often wise to use their own bug tracker for
235reporting problems. In all other cases use the master OpenStack bug tracker,
236available at:
237
238 http://bugs.launchpad.net/openstack-salt
239
240Developers wishing to work on the OpenStack Salt project should always base
241their work on the latest formulas code, available from the master GIT
242repository at:
243
244 https://git.openstack.org/cgit/openstack/salt-formula-nova
245
246Developers should also join the discussion on the IRC list, at:
247
maxstack39e6aca2016-05-04 13:50:13 +0000248 https://wiki.openstack.org/wiki/Meetings/openstack-salt