← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1799929] [NEW] Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration

 

Public bug reported:

Trying to install Keystone version13.0.0 on Intel RedHat platform.

Before we need to start Keystone service, we need to start apache service.
While executing command /usr/bin/httpd following error occurred:
```$ sudo /usr/sbin/httpd
AH00526: Syntax error on line 5 of /etc/httpd/sites-enabled/wsgi-keystone.conf:
Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration```

Following are the contents of the file /etc/httpd/sites-enabled/wsgi-keystone.conf
 
```Listen 5000
Listen 35357

<VirtualHost *:5000>
  WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
  WSGIProcessGroup keystone-public
  WSGIScriptAlias / /usr/bin/keystone-wsgi-public
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On
  LimitRequestBody 114688
  <IfVersion >= 2.4>
	ErrorLogFormat "%{cu}t %M"
  </IfVersion>
  ErrorLog /var/log/httpd/keystone.log
  CustomLog /var/log/httpd/keystone_access.log combined

  <Directory /usr/bin>
	  <IfVersion >= 2.4>
		  Require all granted
	  </IfVersion>
	  <IfVersion < 2.4>
		  Order allow,deny
		  Allow from all
	  </IfVersion>
  </Directory>
</VirtualHost>

<VirtualHost *:35357>
  WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
  WSGIProcessGroup keystone-admin
  WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On
  LimitRequestBody 114688
  <IfVersion >= 2.4>
	ErrorLogFormat "%{cu}t %M"
  </IfVersion>
  ErrorLog /var/log/httpd/keystone.log
  CustomLog /var/log/httpd/keystone_access.log combined

  <Directory /usr/bin>
	  <IfVersion >= 2.4>
		  Require all granted
	  </IfVersion>
	  <IfVersion < 2.4>
		  Order allow,deny
		  Allow from all
	  </IfVersion>
  </Directory>
</VirtualHost>

Alias /identity /usr/bin/keystone-wsgi-public
<Location /identity>
  SetHandler wsgi-script
  Options +ExecCGI

  WSGIProcessGroup keystone-public
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On
</Location>

Alias /identity_admin /usr/bin/keystone-wsgi-admin
<Location /identity_admin>
  SetHandler wsgi-script
  Options +ExecCGI

  WSGIProcessGroup keystone-admin
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On
</Location>```

Could you please let us know if I am missing anything here.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1799929

Title:
  Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by
  a module not included in the server configuration

Status in OpenStack Identity (keystone):
  New

Bug description:
  Trying to install Keystone version13.0.0 on Intel RedHat platform.

  Before we need to start Keystone service, we need to start apache service.
  While executing command /usr/bin/httpd following error occurred:
  ```$ sudo /usr/sbin/httpd
  AH00526: Syntax error on line 5 of /etc/httpd/sites-enabled/wsgi-keystone.conf:
  Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration```

  Following are the contents of the file /etc/httpd/sites-enabled/wsgi-keystone.conf
   
  ```Listen 5000
  Listen 35357

  <VirtualHost *:5000>
    WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-public
    WSGIScriptAlias / /usr/bin/keystone-wsgi-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    LimitRequestBody 114688
    <IfVersion >= 2.4>
  	ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/httpd/keystone.log
    CustomLog /var/log/httpd/keystone_access.log combined

    <Directory /usr/bin>
  	  <IfVersion >= 2.4>
  		  Require all granted
  	  </IfVersion>
  	  <IfVersion < 2.4>
  		  Order allow,deny
  		  Allow from all
  	  </IfVersion>
    </Directory>
  </VirtualHost>

  <VirtualHost *:35357>
    WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-admin
    WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    LimitRequestBody 114688
    <IfVersion >= 2.4>
  	ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/httpd/keystone.log
    CustomLog /var/log/httpd/keystone_access.log combined

    <Directory /usr/bin>
  	  <IfVersion >= 2.4>
  		  Require all granted
  	  </IfVersion>
  	  <IfVersion < 2.4>
  		  Order allow,deny
  		  Allow from all
  	  </IfVersion>
    </Directory>
  </VirtualHost>

  Alias /identity /usr/bin/keystone-wsgi-public
  <Location /identity>
    SetHandler wsgi-script
    Options +ExecCGI

    WSGIProcessGroup keystone-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
  </Location>

  Alias /identity_admin /usr/bin/keystone-wsgi-admin
  <Location /identity_admin>
    SetHandler wsgi-script
    Options +ExecCGI

    WSGIProcessGroup keystone-admin
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
  </Location>```

  Could you please let us know if I am missing anything here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1799929/+subscriptions


Follow ups