Constraints aren't applied to pysaml2 installing os_keystone

Bug #1636547 reported by Lance Bragstad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Lance Bragstad

Bug Description

I'm using the os_keystone role at commit b141222a4797ddfb920b156992b81cc3d53097e7 and I get the following errors when installing keystone.

Ansible output: http://cdn.pasteraw.com/ehy3v4qjv2jecbznyfd4y4m06t5wc0r
Keystone Apache logs: http://cdn.pasteraw.com/37pg9l2acsfoark6u98it0r86nxcq4l

The issue is the kesytoneauth attempts to connect to keystone buts receives a 500. The keystone apache logs show that the PySAML2 package has a version difference from what is required in the project constraints [0]. Keystone caps PySAML2 at 4.0.3 but for some reason 4.3.0 is getting installed despite --constraint being invoked on the command line. Kevin Carter (irc: cloudnull) was able to verify this using http://cdn.pasteraw.com/4ud8fqwp0owvjy041d9tj0djvhcchh3.

As a workaround - removing PySAML2 from keystone_pip_packages installs the correct version and the play finishes without error - https://github.com/openstack/openstack-ansible-os_keystone/blob/b141222a4797ddfb920b156992b81cc3d53097e7/defaults/main.yml#L429

[0] https://github.com/openstack/keystone/blob/b8435cc15259a0ca07003792e33a7b4a8363ffe3/requirements.txt#L36

summary: - Constraints aren't applied to pysaml2 when using os_keystone
+ Constraints aren't applied to pysaml2 installing os_keystone
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/390587

Changed in openstack-ansible:
assignee: nobody → Lance Bragstad (lbragstad)
status: New → In Progress
Revision history for this message
Lance Bragstad (lbragstad) wrote :
Changed in openstack-ansible:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-os_keystone (master)

Change abandoned by Lance Bragstad (<email address hidden>) on branch: master
Review: https://review.openstack.org/390587
Reason: I don't think this is needed for reason described in bug 1636547 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.