Description of problem:
Undercloud install does NOT implement any logic behind setting the number of processes and threads for keystone as can be seen below.
This can cause failures during deployment.
Version-Release number of selected component (if applicable):
[root@undercloud ~]# rpm -qa | grep instack
instack-undercloud-5.3.2-2.el7ost.noarch
instack-5.0.0-1.el7ost.noarch
How reproducible:
[root@undercloud ~]# cat /etc/httpd/conf.d/10-keystone_wsgi_admin.conf
# ************************************
# Vhost template in module puppetlabs-apache
# Managed by Puppet
# ************************************
<VirtualHost 192.168.24.1:35357>
ServerName undercloud-0.redhat.local
## Vhost docroot
DocumentRoot "/var/www/cgi-bin/keystone"
## Directories, there should at least be a declaration for /var/www/cgi-bin/keystone
<Directory "/var/www/cgi-bin/keystone">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
## Logging
ErrorLog "/var/log/httpd/keystone_wsgi_admin_error.log"
ServerSignature Off
CustomLog "/var/log/httpd/keystone_wsgi_admin_access.log" combined
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess keystone_admin display-name=keystone-admin group=keystone processes=1 threads=2 user=keystone
WSGIProcessGroup keystone_admin
WSGIScriptAlias / "/var/www/cgi-bin/keystone/keystone-admin"
WSGIPassAuthorization On
</VirtualHost>
Steps to Reproduce:
1.
2.
3.
Actual results:
Deployment fails, processes and threads are not configured per CPU etc.
Expected results:
Deployment fails, processes and threads are configured the same way as they are in overcloud.
Additional info:
Description of problem: Undercloud install does NOT implement any logic behind setting the number of processes and threads for keystone as can be seen below. This can cause failures during deployment. Version-Release number of selected component (if applicable): [root@undercloud ~]# rpm -qa | grep instack instack-undercloud-5.3.2-2.el7ost.noarch instack-5.0.0-1.el7ost.noarch How reproducible: [root@undercloud ~]# cat /etc/httpd/conf.d/10-keystone_wsgi_admin.conf # ************************************ # Vhost template in module puppetlabs-apache # Managed by Puppet # ************************************ <VirtualHost 192.168.24.1:35357> ServerName undercloud-0.redhat.local ## Vhost docroot DocumentRoot "/var/www/cgi-bin/keystone" ## Directories, there should at least be a declaration for /var/www/cgi-bin/keystone <Directory "/var/www/cgi-bin/keystone"> Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted </Directory> ## Logging ErrorLog "/var/log/httpd/keystone_wsgi_admin_error.log" ServerSignature Off CustomLog "/var/log/httpd/keystone_wsgi_admin_access.log" combined WSGIApplicationGroup %{GLOBAL} WSGIDaemonProcess keystone_admin display-name=keystone-admin group=keystone processes=1 threads=2 user=keystone WSGIProcessGroup keystone_admin WSGIScriptAlias / "/var/www/cgi-bin/keystone/keystone-admin" WSGIPassAuthorization On </VirtualHost> Steps to Reproduce: 1. 2. 3. Actual results: Deployment fails, processes and threads are not configured per CPU etc. Expected results: Deployment fails, processes and threads are configured the same way as they are in overcloud. Additional info: