File tree Expand file tree Collapse file tree 3 files changed +7
-18
lines changed
playbooks/roles/bifrost-keystone-install Expand file tree Collapse file tree 3 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 22
22
--network-interface argument to "bifrost-cli install".
23
23
when : ('ansible_' + ans_network_interface) not in hostvars[inventory_hostname]
24
24
25
- - name : " Get keystone-wsgi-public location"
26
- shell : echo $(dirname $(which keystone-wsgi-public))
27
- register : keystone_install_prefix
28
- environment : " {{ bifrost_venv_env }}"
29
-
30
25
# NOTE(sean-k-mooney) only the MySQL db is started during bootstrapping.
31
26
# all other services are started in the Start phase.
32
27
- name : " Start database service"
195
190
group : " {{ nginx_user }}" # TODO(TheJulia): Split webserver user/group.
196
191
mode : " 0755"
197
192
198
- # Note(ashestakov): "copy" module in ansible doesn't support recursive
199
- # copying on remote host. "cp" command used instead.
200
- - name : " Copy keystone-wsgi-public to /var/www/keystone/public"
201
- command : cp -r "{{ keystone_install_prefix.stdout }}/keystone-wsgi-public" /var/www/keystone/public
202
-
203
- - name : " Ensure owner and mode of keystone-wsgi-public"
204
- file :
205
- path : /var/www/keystone/public
206
- owner : " keystone"
207
- group : " {{ nginx_user }}"
208
- mode : " 0754"
209
-
210
193
- name : " Bootstrap uWSGI"
211
194
include_role :
212
195
name : bifrost-uwsgi-install
Original file line number Diff line number Diff line change 1
1
# {{ ansible_managed }}
2
2
[uwsgi]
3
+ module = keystone.wsgi.api:application
4
+ plugins = python
5
+
3
6
master = true
4
7
processes = 2
5
8
threads = 2
@@ -18,4 +21,3 @@ uid = keystone
18
21
gid = {{ nginx_user }}
19
22
20
23
chdir = /var/www/keystone/
21
- wsgi-file = /var/www/keystone/public
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Fixes Keystone start-up by providing the correct WSGI entry point.
You can’t perform that action at this time.
0 commit comments