Monday, 2019-11-25

*** rcernin has quit IRC00:17
*** rcernin has joined #openstack-keystone00:17
*** jamesmcarthur has joined #openstack-keystone02:07
*** jamesmcarthur has quit IRC02:11
*** jamesmcarthur has joined #openstack-keystone02:38
*** jamesmcarthur has quit IRC02:44
*** jamesmcarthur has joined #openstack-keystone03:07
*** jamesmcarthur has quit IRC03:11
*** jamesmcarthur has joined #openstack-keystone03:21
*** jamesmcarthur has quit IRC03:34
*** cp has quit IRC03:35
*** vesper11 has quit IRC03:45
*** vesper11 has joined #openstack-keystone03:47
*** Ben78 has joined #openstack-keystone03:52
*** cp has joined #openstack-keystone04:20
*** jistr has quit IRC05:51
*** Abhishek has joined #openstack-keystone05:51
Abhishekvishakha: Hi.. reg MFA.. http://paste.openstack.org/show/786480/.. I am getting 403 unauthorized error (in keystone's policy.json admin has access to identity:update_user).. I am running the call as an admin.. the user_id is of different user to whom I want to configure MFA..05:55
Abhishekany idea what more permission is needed!05:55
*** jistr has joined #openstack-keystone05:56
*** jistr has quit IRC06:06
*** jistr has joined #openstack-keystone06:06
*** cp has quit IRC06:21
*** cp has joined #openstack-keystone06:34
*** cp has quit IRC06:42
*** cp- has joined #openstack-keystone06:49
*** rcernin has quit IRC07:09
*** awalende has joined #openstack-keystone07:16
*** awalende has quit IRC07:21
*** tkajinam has quit IRC08:06
BlinkizHi. What is the different between the role "_member_" and "member"?08:10
openstackgerritMerged openstack/keystone master: Start README.rst with a better title  https://review.opendev.org/69502908:11
*** tesseract has joined #openstack-keystone08:16
*** awalende has joined #openstack-keystone08:30
*** awalende has quit IRC08:34
*** awalende has joined #openstack-keystone08:43
*** amoralej|off is now known as amoralej08:43
*** brinzhang has joined #openstack-keystone09:06
brinzhangHi folks, while run stack.sh, raised:/home/devstack/lib/keystone: line 447: /usr/local/bin/keystone-manage: No such file or directory09:07
brinzhanghow to resolve? On master branch09:07
vishakha@brinzhang : Can you try to locate keystone-manage in your openstack environment?09:16
brinzhangHow to do ?09:18
brinzhangvishakha: This is the generate keystone.conf http://paste.openstack.org/show/786646/09:20
vishakhabrinzhang: Could you share the error logs?09:24
brinzhangvishakha: few error info: http://paste.openstack.org/show/786647/09:26
vishakhabrinzhang: Let me take a look09:27
brinzhangvishakha: Thank you09:27
vishakhaAbhishek: An admin has the permission to update the user.  But as per the error the user trying to update isn't the admin.  Could you please cross verify that the update call API is called by admin only?09:30
Abhishekvishakha: I am using ldap backend. The user running the api & the user for whom we are setting mfa are both admins. I confirm that.09:39
Abhishekthe error i am getting is 403 forbidden: You are not authorized to perform the requested action. It doesn't say which policy fails. In the logs also, there is not much info other than warning message.09:40
*** jistr is now known as jistr|afk09:58
*** takamatsu has quit IRC10:05
*** takamatsu has joined #openstack-keystone10:06
*** Abhishek has quit IRC10:13
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: Fetch limits from keystone  https://review.opendev.org/69572410:14
*** jistr|afk is now known as jistr10:22
*** brinzhang_ has joined #openstack-keystone10:44
vishakhaBlinkiz: Keystone used to set default_role as _member_  in old releases. Now we have the new default roles  reader, member admin specific to API's.10:44
*** brinzhang has quit IRC10:47
*** brinzhang has joined #openstack-keystone10:49
*** brinzhang_ has quit IRC10:53
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: Add flat enforcer  https://review.opendev.org/69531010:55
*** awalende_ has joined #openstack-keystone10:59
*** awalende has quit IRC11:02
*** awalende_ has quit IRC11:03
*** awalende has joined #openstack-keystone11:04
vishakhabrinzhang: Could you try command locate keystone-manage under your stack user and share the output?11:07
brinzhangvishakha: Maybe the master branch cannot support on centos7, and the master already removed the Cetnos7's job. you can see the talk on #openstack-qa channel http://paste.openstack.org/show/786655/11:09
vishakhabrinzhang: Ohh I wasnt aware of the OS you was using.11:09
brinzhangvishakha: thanks. I will use ubuntu18.04, and than try again to deploy the openstack11:10
vishakhabrinzhang: sure.11:10
*** awalende has quit IRC11:11
vishakhaAbhishek: let me look if there is any change for user in external identity provider.11:12
*** brinzhang_ has joined #openstack-keystone11:13
*** pcaruana has joined #openstack-keystone11:14
*** brinzhang has quit IRC11:16
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: Add flat enforcer  https://review.opendev.org/69531011:29
*** openstack has joined #openstack-keystone11:40
*** ChanServ sets mode: +o openstack11:40
*** openstack has joined #openstack-keystone11:52
*** ChanServ sets mode: +o openstack11:52
*** irclogbot_2 has joined #openstack-keystone11:53
*** awalende has joined #openstack-keystone11:56
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: WIP: Two level limit enforcer  https://review.opendev.org/69552711:57
*** amoralej is now known as amoralej|lunch12:06
*** brinzhang has joined #openstack-keystone12:14
*** raildo has joined #openstack-keystone12:15
*** brinzhang_ has quit IRC12:17
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: Add flat enforcer  https://review.opendev.org/69531012:23
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: WIP: Two level limit enforcer  https://review.opendev.org/69552712:23
*** brinzhang_ has joined #openstack-keystone12:29
*** dave-mccowan has joined #openstack-keystone12:30
*** brinzhang has quit IRC12:32
*** dave-mccowan has quit IRC12:35
*** brinzhang has joined #openstack-keystone12:43
*** brinzhang_ has quit IRC12:46
*** brinzhang_ has joined #openstack-keystone12:47
*** brinzhang has quit IRC12:48
*** brinzhang has joined #openstack-keystone13:14
*** brinzhang_ has quit IRC13:16
*** mvkr has quit IRC13:19
*** amoralej|lunch is now known as amoralej13:24
*** jaosorior has joined #openstack-keystone13:47
*** brinzhang_ has joined #openstack-keystone14:02
*** brinzhang has quit IRC14:04
*** brinzhang_ has quit IRC14:07
*** redrobot has joined #openstack-keystone14:35
*** jamesmcarthur has joined #openstack-keystone14:43
*** jamesmcarthur has quit IRC14:44
*** jamesmcarthur has joined #openstack-keystone14:44
*** vishakha has quit IRC14:59
*** mvkr has joined #openstack-keystone15:06
*** awalende has quit IRC15:11
*** awalende has joined #openstack-keystone15:16
*** awalende has quit IRC15:17
*** spatel has joined #openstack-keystone15:35
spatelGood morning15:35
spatelI am using Keystone with LDAP and to hide my password i have create application creds but that token also not working, am i missing something here?15:36
*** jaosorior has quit IRC15:45
spatelmethods = password,token15:47
spateloh wait i need to enable app_creds in keystone.conf file i think15:47
*** jaosorior has joined #openstack-keystone16:04
*** jamesmcarthur has quit IRC16:07
*** openstackstatus has joined #openstack-keystone16:15
*** ChanServ sets mode: +v openstackstatus16:15
*** jamesmcarthur has joined #openstack-keystone16:21
lbragstadspatel yep16:27
knikollao/16:28
spatelknikolla: i did add in keystone.conf and restarted keystone services and then i have created creds from GUI horizon and download RC sh script and load on bash but getting error16:30
-spatel- # openstack token issue16:30
-spatel- Error authenticating with application credential: Application credentials cannot request a scope. (HTTP 401) (Request-ID: req-bfa30e00-28bb-4294-a63d-ef76461f325d)16:30
spatelknikolla: lbragstad any idea ?16:31
lbragstadthat's an issue in the RC file i think...16:32
lbragstadwhich is probably a documentation bug or a bug in horizon?16:32
lbragstadyou should be able to make a copy of the rc file and debug it by removing any envs that are attempting to set scope (e.g., project)16:33
lbragstadapplication credentials currently require a project, so the scope is implied16:33
-spatel- #!/usr/bin/env bash16:33
-spatel- export OS_AUTH_TYPE=v3applicationcredential16:33
-spatel- export OS_AUTH_URL=https://openstack.example.com:5000/v316:33
-spatel- export OS_IDENTITY_API_VERSION=316:33
-spatel- export OS_REGION_NAME="RegionOne"16:33
-spatel- export OS_INTERFACE=public16:33
-spatel- export OS_APPLICATION_CREDENTIAL_ID=fee1a39148234d139ce9782fa9f3d42616:33
-spatel- export OS_APPLICATION_CREDENTIAL_SECRET=jJfEMQ6cuJW9VY5U^Ehb^E%$E16:33
*** aloga has quit IRC16:33
spatelThis is the file i downloaded16:33
*** aloga has joined #openstack-keystone16:33
spatelI took these variables and added in my original openrc file and adjust16:35
spatelLike project, domain etc..16:35
lbragstaddo you have OS_PROJECT* set already?16:35
lbragstadfrom a left over rc file or something?16:35
spatelYes i did16:36
knikollahmmm, i haven't played around much with application credentials16:36
spatellet me post full RC file.. hang on16:36
knikollatry unsetting OS_PROJECT* variables16:36
knikollabecause AFAIK the scope is implied by the app cred16:36
knikollaoh, lbragstad already mentioned that :)16:37
spatelhere is the full rc file which include app creds - http://paste.openstack.org/show/786678/16:38
lbragstadfor key in $( set | awk -F= '/^OS_/ {print $1}' ); do unset "${key}" ; done16:38
lbragstad# Clear any old environment that may conflict.16:38
lbragstadline 28 might be throwing you off16:38
spatelif i removed "export OS_PROJECT_NAME=eng"16:40
-spatel- # openstack token issue16:40
-spatel- The request you have made requires authentication. (HTTP 401) (Request-ID: req-c6e13a87-ba47-48aa-9fed-b408f766a103)16:40
spatelstill no luck16:40
lbragstadspatel but is it still set?16:41
lbragstadenv | grep OS_PRO*16:41
spatelOS_PROJECT_DOMAIN_NAME=eng16:41
spatellet me remove that if you think that could be problem16:42
spatellbragstad: still getting same error - The request you have made requires authentication. (HTTP 401)16:42
lbragstadare you using openstack client?16:43
lbragstadcan you --debug the request?16:43
spatelyes openstack client from command line16:43
lbragstadand look at the request and response?16:43
*** jamesmcarthur has quit IRC16:43
spatellbragstad: here you go - http://paste.openstack.org/show/786679/16:45
lbragstaddoes your user have access to the project you created the application credential for?16:46
spatelis this the same username which i am login using Horizon GUI? in my case its LDAP account16:46
lbragstadso 'spatel' is your ldap user name?16:48
spatelThis is what i am trying to do, we are using LDAP for identity and now i want to hide my ldap password so i need token to do all cli stuff16:48
lbragstadsure16:48
spatellbragstad: yes "spatel" is my LDAP account which i am using to login in GUI16:49
lbragstadyour application credentials references a project, right?16:49
lbragstadfee1a39148234d139ce9782fa9f3d42616:49
lbragstad^ that's your application credential ID16:49
spatelall i did in GUI create application creds and it gave me project_ID and ID both16:50
spatellet me give you screenshot16:50
lbragstadwhat release are you using?16:50
spatelhttps://imgur.com/a/HcpVgjS16:51
spatelstein release16:51
lbragstadif you're using ldap - you probably need this... https://review.opendev.org/#/c/676200/16:51
spatelThat is what i get in GUI16:51
spatellbragstad: i am using ldap for identity and all role assignment are still in SQL16:52
lbragstadyep - that makes sense16:52
*** jamesmcarthur has joined #openstack-keystone16:52
lbragstadif you use `openstack role assignment list --names`16:52
lbragstaddoes your spatel user have a role assignment on project 286b16:52
spatelI create users in LDAP and then come to openstack and add that user in X project with _member_ role16:52
*** dklyle has quit IRC16:53
spatelspatel already has access of eng project ( so you are saying i need to add spatel in 286b project ? )16:54
*** dklyle has joined #openstack-keystone16:54
lbragstadis 286b your engineering project?16:54
spatelYes yes..16:55
lbragstadok16:55
lbragstadis there anything useful in keystone.og?16:55
lbragstadkeystone.log?16:55
spateli thought its very simple to setup so didn't look at logs.. look like time to go deeper now..16:56
spatelI thought i am doing something stupid but as you also verify look like something else going on16:56
lbragstadspatel yeah - it seems straight forward16:56
lbragstadcmorpheus or knikolla might catch something i may have missed though..16:56
spatelI was following this doc and looks simple - http://daybydaylinux.blogspot.com/2019/01/how-to-create-and-use-application.html16:57
spatellbragstad: let me dig into looks meantime and i will get back to you..16:57
lbragstadrequests should look like this https://docs.openstack.org/api-ref/identity/v3/index.html?expanded=authenticating-with-an-application-credential-detail#authenticating-with-an-application-credential16:58
lbragstadwe have upstream documentation here, too https://docs.openstack.org/keystone/latest/user/application_credentials.html16:59
knikollaspatel: did you add application_credential to methods in keystone.conf?17:03
spatelknikolla: yes i have added application_credential in keystone.conf under [auth]17:06
spatelkeystone_auth_methods: "password,token,application_credential"17:06
knikollaI can't see anything that points to a possible culprit. Maybe debug logs from keystone might be more descriptive about the issue here.17:10
*** awalende has joined #openstack-keystone17:12
*** jaosorior has quit IRC17:16
*** awalende has quit IRC17:17
*** amoralej is now known as amoralej|off17:20
*** takamatsu has quit IRC17:27
*** FlorianFa has quit IRC17:29
*** takamatsu has joined #openstack-keystone17:32
johnthetubaguygmann is doing some great policy work over in Nova, if someone could take a look at these first two patches for admin api changes, that would be awesome: https://review.opendev.org/#/c/64542717:50
*** tesseract has quit IRC17:57
*** jaosorior has joined #openstack-keystone17:59
spatelknikolla: & lbragstad ^^18:04
spatelif i add this in terraform then its letting me create machine - http://paste.openstack.org/show/786680/18:04
spatelso applicate creds working but not working in command line :(18:04
spatelbut terrafrom understand it..18:05
spatelwhat do you think of that?18:05
lbragstadso you still can't get things to work with the RC file18:07
lbragstadmaybe you should try removing the username and user_domain_name18:07
johnthetubaguyFWIW, I had issues with a stale environment, in the end I just logged out, and everything worked18:08
lbragstadjohnthetubaguy those changes look good18:17
lbragstadjohnthetubaguy i'm not sure if you're going to be around next week18:17
lbragstadbut we plan to discuss testing during keystone office hours on december 3rd18:17
spatellbragstad: yes RC command line doesn't work.. but terraform works18:18
lbragstadspatel try removing the user information from the RC file, i don't think you need it18:19
spatelok18:19
lbragstadbecause you're using the application credential ID18:19
lbragstadso it's globally unique18:19
lbragstadyou shouldn't need to namespace it with the user18:19
spatelI have removed username/domain and still getting same error18:20
-spatel- # openstack token issue18:20
-spatel- The request you have made requires authentication. (HTTP 401) (Request-ID: req-818ec56e-6030-4e1a-a8a9-2f0c4b45088b)18:20
lbragstaddid you unset it, too?18:21
*** rafaelweingartne has joined #openstack-keystone18:21
spateli kill terminal and re-login18:21
rafaelweingartneHey guys, we have implemented a fix for ephemeral users in Keystone (a.k.a federated users). The fix is proposed via https://review.opendev.org/#/c/687990/18:21
rafaelweingartnecould somebody provide us some feedback there? Do we need to change something else?18:22
lbragstadrafaelweingartne i added it to our review requests for next meeting18:23
lbragstadhttps://etherpad.openstack.org/p/keystone-weekly-meeting18:23
rafaelweingartneAwesome18:23
rafaelweingartnethanks!18:23
rafaelweingartneThere is also something quite important, which is a documentation issue: https://review.opendev.org/#/c/693838/18:25
rafaelweingartneit is a part of the documentation that address the federated configurations in Keystone that were a bit misleading, and that would not support CLI18:26
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: Fetch unified limits from keystone  https://review.opendev.org/69572418:31
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: Add flat enforcer  https://review.opendev.org/69531018:31
openstackgerritJohn Garbutt proposed openstack/oslo.limit master: WIP: Two level limit enforcer  https://review.opendev.org/69552718:31
*** rafaelweingartne has quit IRC18:35
johnthetubaguylbragstad: actually, its my wedding anniversary, I must go book that day off actually :)18:38
lbragstadjohnthetubaguy nice! congrats :)18:39
*** cmorpheus is now known as cmurphy18:50
spatellbragstad: now i understand why app creds wan't working with command line18:56
spatelwhen you create application credential on horizon it gives you two option, download RC file or download cloud.yml file.. this time i have download cloud.yml and copy it inside18:57
spatel~/.config/openstack/clouds.yaml18:57
spateland ran this command "openstack --os-cloud openstack token issue"  and it works18:57
spatelstill don't know why RC env variable doesn't work but anyway cloud.yml works so i am good to go18:58
spatelcmurphy: hey :)18:58
spateli was just watching your youtube video about "application credential" and got hit from there :)18:59
*** jamesmcarthur has quit IRC19:26
*** jamesmcarthur has joined #openstack-keystone19:27
*** jamesmcarthur has quit IRC19:32
knikollai really like the clouds.yaml approach. i have "alias kaizen=openstack --os-cloud kaizen", so I can talk to multiple clouds just by using their names.19:37
*** jamesmcarthur has joined #openstack-keystone19:48
spatelknikolla: true..19:54
*** spatel has quit IRC20:14
*** jamesmcarthur has quit IRC20:15
*** jamesmcarthur has joined #openstack-keystone20:15
*** jamesmcarthur has quit IRC20:20
*** cmart has joined #openstack-keystone20:25
*** jamesmcarthur has joined #openstack-keystone20:28
*** cmart has quit IRC20:45
*** jamesmcarthur has quit IRC20:51
*** jamesmcarthur has joined #openstack-keystone20:52
*** jamesmcarthur has quit IRC20:57
*** spatel has joined #openstack-keystone21:15
*** jamesmcarthur has joined #openstack-keystone21:23
*** spatel has quit IRC21:26
*** rcernin has joined #openstack-keystone21:31
*** pcaruana has quit IRC21:38
*** raildo has quit IRC21:59
*** jamesmcarthur has quit IRC22:02
openstackgerritPedro Henrique Pereira Martins proposed openstack/keystone master: Update OIDC documentation to handle bearer access token flow  https://review.opendev.org/69383822:22
*** cmart has joined #openstack-keystone22:45
*** jamesmcarthur has joined #openstack-keystone23:01
*** jamesmcarthur has quit IRC23:07
*** tkajinam has joined #openstack-keystone23:09
*** jaosorior has quit IRC23:33

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!