← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1757000] Re: keystone-saml2-federation devstack plugin only works on Ubuntu

 

Reviewed:  https://review.openstack.org/633963
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=22c08b5462e8f0385fcd7a0aae914f143321d88c
Submitter: Zuul
Branch:    master

commit 22c08b5462e8f0385fcd7a0aae914f143321d88c
Author: erus <erudyn@xxxxxxxxxxxxxx>
Date:   Wed Jan 30 11:31:17 2019 -0300

    Add experimental job for OpenSUSE
    
    Create an experimental job to test federation devstack plugin
    on OpenSUSE.
    
    Closes-bug: #1757000
    
    Depends-On: https://review.openstack.org/633949/
    Change-Id: I54985ab0a756bb48b1d378cd5ab2bfb61aa98b40


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
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/1757000

Title:
  keystone-saml2-federation devstack plugin only works on Ubuntu

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  Steps to reproduce:

  1. clone devstack, latest branch
  2. Create a local.conf with these lines at the end

  disable_all_services

  enable_plugin keystone git://git.openstack.org/openstack/keystone.git
  enable_service rabbitmq, mysql, keystone, keystone-saml2-federation

  This should only enable Keystone and its dependents, plus the
  keystone-saml2-federation plugin.

  3. then run stack.sh and let it rip. It will died at some point when Apache2 failed to start.
  4. run 'journalctl -xe --no-pager' and you'll see something like this

  Mar 19 21:11:13 vagrant-openSUSE-Leap systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE
  Mar 19 21:11:13 vagrant-openSUSE-Leap start_apache2[4395]: [Mon Mar 19 21:11:13.960371 2018] [proxy:warn] [pid 4395] AH01146: Ignoring parameter 'retry=0' for worker 'unix:/var/run/uwsgi/keystone-wsgi-admin.socket|uwsgi://uwsgi-uds-keystone-wsgi-admin/' because of worker sharing
  Mar 19 21:11:13 vagrant-openSUSE-Leap start_apache2[4395]: AH00526: Syntax error on line 9 of /etc/apache2/vhosts.d/keystone-wsgi-public.conf:
  Mar 19 21:11:13 vagrant-openSUSE-Leap start_apache2[4395]: Invalid command 'ShibRequestSetting', perhaps misspelled or defined by a module not included in the server configuration
  Mar 19 21:11:13 vagrant-openSUSE-Leap systemd[1]: apache2.service: Control process exited, code=exited status=1
  Mar 19 21:11:13 vagrant-openSUSE-Leap systemd[1]: Failed to start The Apache Webserver.

  
  This is due to the fact that the 'shibboleth-sp' package is missing. Notice that manually running 'a2enmod mod_shib' does not help either, till that package is installed. I would expect the devstack plugin to install all the required packages.

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


References