Tuesday, 2022-05-17

*** dviroel|out is now known as dviroel11:28
*** blarnath is now known as d34dh0r5313:13
*** dasm|off is now known as dasm13:56
dmendiza[m]Apologies, but I am double booked today for this time slot15:01
dmendiza[m]And I kinda have to pay attention to the other thing. 😅15:01
dmendiza[m]Anyone want to chair the meeting?  If not we can skip this week.15:01
knikollai'm ok with skipping15:02
dmendiza[m]knikolla: ack, sounds good15:07
dmendiza[m]knikolla: also, sorry I missed your PM the other day.  Hopefully you're at H4 with ous.15:08
dmendiza[m]*us15:08
knikollayeah, that's what i booked too. :) 15:16
admiyoflake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin "DOC" due to cannot import name 'Set' from 'collections' (/usr/lib/python3.10/collections/__init__.py)15:57
admiyoFedora 35.  Python 3.1015:58
admiyotox -e pep815:58
admiyowiping /opt/openstack/keystone/.tox/pep8  and trying again same fail15:58
admiyodod pep8 not specify the pythong version?15:59
*** dviroel is now known as dviroel|lunch16:02
*** ricolin_ is now known as ricolin16:29
shubjer0Does anyone have any guides for integrating openstack keystone cli + horizon with azure ad? 16:33
shubjer0I am trying to digest the docs at https://docs.openstack.org/keystone/latest/admin/federation/configure_federation.html#federation-openidc but I need a bit more handholding 16:34
*** dviroel_ is now known as dviroel16:52
*** dansmith_ is now known as dansmith16:55
admiyoshubjer0, yes17:29
admiyoshubjer0, for Azuer AD, what actual protocl do you want to use?17:30
shubjer0admiyo: OIDC17:30
admiyoOK, so you are doing an OIDC configureation.  You are going to end up having to create 3 objest, and to configuyre your web server to do ODIC.  Make sense?17:30
admiyoTHe three objects are the idp, the mapping, and the protocol.17:31
shubjer0admiyo: yes17:31
admiyoso, the idp will be something like azure17:31
shubjer0admiyo: right off the back im supposed to make a identity provider and provide a url but i am not sure what url should be used17:31
shubjer0*right off the bat17:31
shubjer0the doc example is "openstack identity provider create --remote-id https://samltest.id/saml/idp samltest"17:32
admiyoWhen I start messing with something like this, I usually do something simplified, like a wsge  app that just dumps the environment17:32
admiyoyeah.  I don't eeven know who added remote-id, but I remember it being important, but maybe only if you have multiple providers17:33
admiyolets kip it for now and come back...this stuff is in deep cryo storage in my brain17:33
admiyodoes it let you skip or is it required?17:34
admiyoshubjer0, pretty sure that is a SAML2 requirement, not sure how it maps to OIDCS, I think you can disregard it17:38
admiyoAh wait....17:39
admiyo"For an OpenID Connect IdP, it is the Identity Provider's Issuer Identifier. A remote ID must be globally unique: two identity providers cannot be associated with the same remote ID. The remote ID will usually appear as a URN but need not be a resolvable URL."17:41
admiyohttps://opendev.org/openstack/keystone/src/branch/master/doc/source/admin/federation/configure_federation.rst17:41
admiyoshubjer0, do you have that value?17:42
admiyohttps://opendev.org/openstack/keystone/commit/8e0723200640c340e755790b3d4f5a53a1778902  has a beter blurb17:42
admiyoFor example, if our identity provider is ``google``, the mapping used is17:43
admiyo    ``google_mapping`` and the protocol is ``oidc``. The identity provider's17:43
admiyo    remote IDs  would be: [``accounts.google.com``].17:43
admiyo    The `remote_id_attribute` value may be set to ``HTTP_OIDC_ISS``, since17:43
admiyo    this value will always be ``accounts.google.com``.17:43
shubjer0admiyo: yeah i mean i have no idea what to put for remote_id because instructions are not clear17:43
shubjer0there's like a dozen 'endpoints' when using azure ad17:43
shubjer0maybe it should just be login.microsoftonline.com17:44
admiyoprobably17:44
admiyo" Issuer Identifier"17:44
admiyolets see...17:44
admiyoMicrosoft usually finds a way to break standards...17:44
admiyoIssuer identifier17:47
admiyo    Verifiable identifier for an issuer. An issuer identifier is a case-sensitive URL that uses the HTTPS scheme that contains scheme, host, and optionally, port number and path components and no query or fragment components.17:47
admiyocourtesy of IBM17:47
admiyohttps://www.ibm.com/docs/en/sva/10.0.1?topic=concepts-openid-connect17:47
admiyoalso in that docuement it states that in a claim you will see an iss field17:48
admiyoshubjer0, you are close.  Do you have Azure OIDC working outside of Keystone anywhere?  If so, see if you can pull a clain from an existing flow17:49
shubjer0admiyo: yeah our kubernetes side of our devops team hooked it in pretty easily17:49
shubjer0keystone seems a bit more involved17:50
*** melwitt_ is now known as melwitt18:08
admiyonah...just happened first.  Kube got to learn from our mistakes18:11
*** ianw_ is now known as ianw19:11
admiyoungknikolla, ERROR: could not install deps [.[bandit], -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/keystone/test-requirements.txt, .[ldap,memcache,mongodb]]; v = InvocationError("/opt/stack/keystone/.tox/pep8/bin/python -m pip install '.[bandit]' -chttps://releases.openstack.org/constraints/upper/master -r/opt/stack/keystone/test-requirements.txt '.[ldap,memcache,mongodb]'", 1)  running pep8.  Been 19:22
admiyounghappending for a while.  Fedora 35.  Any idea?19:22
admiyoungpg_config needed...20:47
admiyoungsudo dnf  install libpq-devel20:47
*** dasm is now known as dasm|off21:49
*** dviroel is now known as dviroe|out22:12

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!