*** hoonetorg has quit IRC | 00:05 | |
*** markvoelker has joined #openstack-keystone | 00:17 | |
*** markvoelker has quit IRC | 00:24 | |
openstackgerrit | zhangzhaoshan proposed openstack/keystoneauth master: Fix a spelling error https://review.openstack.org/541949 | 00:36 |
---|---|---|
*** gyee has quit IRC | 00:47 | |
*** zhurong has joined #openstack-keystone | 00:52 | |
*** edmondsw has joined #openstack-keystone | 00:53 | |
*** edmondsw has quit IRC | 00:58 | |
*** brad[] has quit IRC | 01:15 | |
*** annp has joined #openstack-keystone | 01:58 | |
*** nicolasbock has quit IRC | 02:10 | |
*** edmondsw has joined #openstack-keystone | 02:41 | |
*** edmondsw has quit IRC | 02:46 | |
*** gongysh has joined #openstack-keystone | 03:16 | |
*** gongysh has quit IRC | 03:33 | |
*** dave-mccowan has quit IRC | 03:39 | |
openstackgerrit | baiwenteng proposed openstack/keystone-specs master: Fix typos in keystone-specs https://review.openstack.org/542010 | 03:49 |
*** gongysh has joined #openstack-keystone | 04:03 | |
*** ayoung has quit IRC | 04:06 | |
openstackgerrit | wangxiyuan proposed openstack/keystone-specs master: [WIP] Hierarchical Unified Limits https://review.openstack.org/540803 | 04:10 |
*** edmondsw has joined #openstack-keystone | 04:30 | |
*** edmondsw has quit IRC | 04:34 | |
*** zhurong has quit IRC | 04:56 | |
*** lbragstad has quit IRC | 05:37 | |
*** zhurong has joined #openstack-keystone | 05:49 | |
*** threestrands has quit IRC | 05:57 | |
*** errr has quit IRC | 06:01 | |
*** edmondsw has joined #openstack-keystone | 06:18 | |
*** edmondsw has quit IRC | 06:22 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/keystone master: Imported Translations from Zanata https://review.openstack.org/541567 | 06:36 |
*** hoonetorg has joined #openstack-keystone | 06:44 | |
*** itlinux has quit IRC | 07:06 | |
*** hoonetorg has quit IRC | 07:06 | |
*** vish_18 has quit IRC | 07:08 | |
openstackgerrit | wangxiyuan proposed openstack/keystone-specs master: Hierarchical Unified Limits https://review.openstack.org/540803 | 07:10 |
*** vish_18_ has quit IRC | 07:10 | |
*** rcernin has quit IRC | 07:16 | |
*** AlexeyAbashkin has joined #openstack-keystone | 07:20 | |
*** bhagyashris has quit IRC | 07:21 | |
*** hoonetorg has joined #openstack-keystone | 07:23 | |
*** pcaruana has joined #openstack-keystone | 07:31 | |
*** martinus__ has joined #openstack-keystone | 07:37 | |
*** AlexeyAbashkin has quit IRC | 07:38 | |
*** AlexeyAbashkin has joined #openstack-keystone | 07:43 | |
*** AlexeyAbashkin has quit IRC | 07:47 | |
*** AlexeyAbashkin has joined #openstack-keystone | 07:52 | |
*** bhagyashris has joined #openstack-keystone | 07:53 | |
*** edmondsw has joined #openstack-keystone | 08:06 | |
*** edmondsw has quit IRC | 08:11 | |
*** mnaser has quit IRC | 08:17 | |
*** kmalloc has quit IRC | 08:17 | |
*** kmalloc has joined #openstack-keystone | 08:18 | |
*** robcresswell has quit IRC | 08:18 | |
*** mnaser has joined #openstack-keystone | 08:18 | |
*** gmann_ has quit IRC | 08:18 | |
*** tesseract has joined #openstack-keystone | 08:26 | |
*** gmann_ has joined #openstack-keystone | 08:27 | |
*** robcresswell has joined #openstack-keystone | 08:49 | |
*** daidv_ has quit IRC | 08:56 | |
*** annp has quit IRC | 08:56 | |
*** daidv_ has joined #openstack-keystone | 09:02 | |
*** annp has joined #openstack-keystone | 09:02 | |
openstackgerrit | Suramya proposed openstack/keystone master: Reorganize api-ref: v3-ext oauth.inc https://review.openstack.org/531719 | 09:20 |
*** Suramya_ has joined #openstack-keystone | 09:22 | |
*** Suramya has joined #openstack-keystone | 09:23 | |
*** sapd has quit IRC | 09:29 | |
*** sapd has joined #openstack-keystone | 09:33 | |
*** gongysh has quit IRC | 09:36 | |
*** sambetts|afk is now known as sambetts | 09:51 | |
*** edmondsw has joined #openstack-keystone | 09:55 | |
*** edmondsw has quit IRC | 09:59 | |
*** zhurong has quit IRC | 10:04 | |
*** annp has quit IRC | 10:08 | |
*** annp has joined #openstack-keystone | 10:08 | |
*** sticker has joined #openstack-keystone | 10:29 | |
*** annp has quit IRC | 10:31 | |
*** StefanPaetowJisc has joined #openstack-keystone | 10:41 | |
*** links has joined #openstack-keystone | 10:51 | |
*** sticker has quit IRC | 10:56 | |
*** sticker has joined #openstack-keystone | 10:56 | |
*** StefanPaetowJisc has quit IRC | 10:58 | |
openstackgerrit | wangxiyuan proposed openstack/keystonemiddleware master: Add arguments for MemcacheClientPool init https://review.openstack.org/542133 | 11:04 |
*** panbalag has joined #openstack-keystone | 11:10 | |
*** panbalag has left #openstack-keystone | 11:10 | |
openstackgerrit | wangxiyuan proposed openstack/keystonemiddleware master: Fix the AttributeError: __exit__ error https://review.openstack.org/542134 | 11:12 |
*** zhurong has joined #openstack-keystone | 11:29 | |
*** links has quit IRC | 11:44 | |
*** nicolasbock has joined #openstack-keystone | 11:50 | |
openstackgerrit | Suramya proposed openstack/keystone master: Reorganize api-ref: v3-ext federation service-provider https://review.openstack.org/533419 | 11:51 |
*** links has joined #openstack-keystone | 11:57 | |
*** dave-mccowan has joined #openstack-keystone | 12:10 | |
*** raildo has joined #openstack-keystone | 12:16 | |
*** links has quit IRC | 12:21 | |
*** belmoreira has joined #openstack-keystone | 12:40 | |
*** jaosorior has quit IRC | 12:56 | |
*** jaosorior has joined #openstack-keystone | 12:56 | |
*** links has joined #openstack-keystone | 13:02 | |
*** AlexeyAbashkin has quit IRC | 13:03 | |
*** AlexeyAbashkin has joined #openstack-keystone | 13:04 | |
*** edmondsw has joined #openstack-keystone | 13:11 | |
*** zhurong has quit IRC | 13:27 | |
*** d0ugal has quit IRC | 13:36 | |
*** Supun has joined #openstack-keystone | 13:37 | |
*** d0ugal has joined #openstack-keystone | 13:43 | |
*** AlexeyAbashkin has quit IRC | 13:56 | |
*** AlexeyAbashkin has joined #openstack-keystone | 13:56 | |
*** McClymontS has joined #openstack-keystone | 13:57 | |
*** magicboiz has joined #openstack-keystone | 14:08 | |
*** magicboiz has quit IRC | 14:23 | |
*** rmcall has joined #openstack-keystone | 14:36 | |
*** lbragstad has joined #openstack-keystone | 14:37 | |
*** ChanServ sets mode: +o lbragstad | 14:37 | |
*** McClymontS has quit IRC | 14:49 | |
*** magicboiz has joined #openstack-keystone | 14:49 | |
*** links has quit IRC | 14:50 | |
openstackgerrit | Colleen Murphy proposed openstack/keystone master: Update OBS install docs for v2 removal https://review.openstack.org/542244 | 14:51 |
cmurphy | lbragstad: ^ turns out i didn't need to update the suse package | 14:51 |
*** Supun has quit IRC | 14:52 | |
lbragstad | cmurphy: oh - nice! | 14:53 |
*** r-daneel has joined #openstack-keystone | 14:56 | |
*** itlinux has joined #openstack-keystone | 15:02 | |
*** StefanPaetowJisc has joined #openstack-keystone | 15:03 | |
*** links has joined #openstack-keystone | 15:03 | |
*** StefanPaetowJisc has quit IRC | 15:12 | |
*** magicboiz has quit IRC | 15:13 | |
knikolla | o/ | 15:20 |
knikolla | i won't be able to find the time to write up the tests for https://review.openstack.org/#/c/487579/ | 15:21 |
knikolla | anyone wants to take over? | 15:21 |
*** rmcall has quit IRC | 15:23 | |
*** Suramya_ has quit IRC | 15:25 | |
*** Suramya has quit IRC | 15:25 | |
*** links has quit IRC | 15:28 | |
*** brad[] has joined #openstack-keystone | 15:34 | |
lbragstad | I can try and take a look at it | 15:39 |
lbragstad | knikolla: ^ | 15:39 |
knikolla | lbragstad: thanks! | 15:40 |
knikolla | and sorry | 15:40 |
*** itlinux has quit IRC | 15:42 | |
lbragstad | knikolla: no worries - it happens | 15:50 |
*** links has joined #openstack-keystone | 15:52 | |
*** gongysh has joined #openstack-keystone | 16:00 | |
*** pcaruana has quit IRC | 16:02 | |
*** mvk_ has quit IRC | 16:05 | |
*** gongysh has quit IRC | 16:13 | |
*** belmoreira has quit IRC | 16:17 | |
*** tesseract has quit IRC | 16:29 | |
*** tesseract has joined #openstack-keystone | 16:29 | |
*** itlinux has joined #openstack-keystone | 16:36 | |
*** sticker has quit IRC | 16:39 | |
*** openstackgerrit has quit IRC | 16:48 | |
*** openstackgerrit has joined #openstack-keystone | 16:56 | |
openstackgerrit | Suramya proposed openstack/keystone master: Reorganize api-ref: v3-ext federation mapping.inc https://review.openstack.org/532885 | 16:56 |
*** Suramya has joined #openstack-keystone | 16:57 | |
*** itlinux has quit IRC | 17:00 | |
openstackgerrit | Merged openstack/keystone master: Reorganize api-ref: v3-ext federation identity-provider https://review.openstack.org/533414 | 17:09 |
*** AlexeyAbashkin has quit IRC | 17:19 | |
*** sambetts is now known as sambetts|af | 17:20 | |
*** sambetts|af is now known as sambetts|afk | 17:20 | |
*** AlexeyAbashkin has joined #openstack-keystone | 17:23 | |
*** AlexeyAbashkin has quit IRC | 17:28 | |
openstackgerrit | Merged openstack/keystone master: Reorganize api-ref: v3-ext federation service-provider https://review.openstack.org/533419 | 17:32 |
*** AlexeyAbashkin has joined #openstack-keystone | 17:33 | |
*** AlexeyAbashkin has quit IRC | 17:37 | |
*** mvk_ has joined #openstack-keystone | 17:50 | |
*** ayoung has joined #openstack-keystone | 17:51 | |
*** itlinux has joined #openstack-keystone | 17:59 | |
*** spiette has quit IRC | 18:11 | |
openstackgerrit | Kam Nasim proposed openstack/keystoneauth master: Ignore unexpected arguments to token auth plugin https://review.openstack.org/542355 | 18:11 |
*** spiette_ has joined #openstack-keystone | 18:12 | |
lbragstad | i think this is the last of the doc consistency reviews https://review.openstack.org/#/c/532885/4 | 18:16 |
cmurphy | awesome job Suramya ! | 18:17 |
lbragstad | ++ | 18:19 |
*** tesseract has quit IRC | 18:37 | |
Suramya | cmurphy: lbragstad: o/ :D | 18:41 |
*** links has quit IRC | 18:42 | |
*** Exhar has quit IRC | 19:06 | |
*** sjmc7 has left #openstack-keystone | 19:12 | |
*** Exhar has joined #openstack-keystone | 19:16 | |
gagehugo | nice | 19:24 |
*** kong has quit IRC | 19:26 | |
*** kong has joined #openstack-keystone | 19:27 | |
cmurphy | kmalloc: any new thoughts on https://review.openstack.org/#/c/539347 ? | 19:30 |
cmurphy | lbragstad: i haven't heard from rderose on ^ yet :/ | 19:30 |
*** lbragstad has quit IRC | 19:31 | |
*** lbragstad has joined #openstack-keystone | 19:32 | |
*** ChanServ sets mode: +o lbragstad | 19:32 | |
lbragstad | cmurphy: me either.. | 19:32 |
lbragstad | cmurphy: this is a work around for it, right? | 19:32 |
lbragstad | which is to manually delete the contents of the domain before deleting the domain | 19:32 |
cmurphy | i wouldn't call it a workaround, it's a fix | 19:33 |
cmurphy | a workaround is what i had on ps5 | 19:33 |
cmurphy | lbragstad: oh did you mean "there is a work around"? | 19:33 |
cmurphy | then yes the workaround is manually delete | 19:34 |
lbragstad | ack - yeah that's what i meant | 19:34 |
cmurphy | i'd like to get it fixed though, it's being pushed for internally | 19:34 |
lbragstad | i see henry had a concern | 19:37 |
*** AlexeyAbashkin has joined #openstack-keystone | 19:37 | |
lbragstad | it sounded the henry's main concern was that it shouldn't be an issue if you use a non-sql resource backend, right? | 19:38 |
cmurphy | wish he was in the channel | 19:39 |
lbragstad | yeah - me too | 19:40 |
lbragstad | same with rderose | 19:40 |
lbragstad | so handle that user.domain_id -> domain_id relationship in the app, don't we? | 19:41 |
openstackgerrit | Merged openstack/keystone master: Reorganize api-ref: v3-ext federation mapping.inc https://review.openstack.org/532885 | 19:47 |
openstackgerrit | Merged openstack/keystone master: Reorganize api-ref: v3-ext oauth.inc https://review.openstack.org/531719 | 19:47 |
cmurphy | there's no foreign key in the sqlalchemy model but in core.py we have resource_api.get_domain to make sure there's an associated domain when creating users/groups | 19:49 |
*** knasim-wrs has joined #openstack-keystone | 19:49 | |
lbragstad | ahh | 19:49 |
knasim-wrs | do we support any file based caching backends? | 19:49 |
knasim-wrs | trying to get dogpile.cache.dbm to work | 19:49 |
knasim-wrs | ConfigFileValueError: Value for option backend is not valid: Valid values are [oslo_cache.memcache_pool, oslo_cache.dict, dogpile.cache.memcached, dogpile.cache.redis, dogpile.cache.memory, dogpile.cache.null], but found 'dogpile.cache.dbm' | 19:49 |
lbragstad | knasim-wrs: not that i am aware of | 19:49 |
lbragstad | cc kmalloc ^ | 19:50 |
knasim-wrs | I would STRONGLY discourage anybody to not enable inprocess memory caching with gunicorn. I had lots of services failing since the cache for gunicorn worker processes cannot be shared b/w each other | 19:51 |
knasim-wrs | I tried dogpile.cache.memory and oslo_cache.dict | 19:52 |
knasim-wrs | lbragstad: thanks for confirming | 19:54 |
lbragstad | cmurphy: if that relationship was already enforced in the application, i wonder why we introduced a FK? | 19:55 |
*** jmlowe has quit IRC | 19:59 | |
*** mvk_ has quit IRC | 19:59 | |
cmurphy | lbragstad: it probably seemed like the correct thing to do from a database management perspective at the time since they're clearly linked entities, i think we've not always done a good job of separating our application logic from our db logic | 19:59 |
lbragstad | true | 20:00 |
lbragstad | i think that's becoming more and more apparent | 20:00 |
lbragstad | so - we'll need to de-couple this relationship as long as it's possible to have a non-sql resource backend and a sql identity backend... | 20:01 |
cmurphy | well it's not possible any more, kmalloc retroactively declared the resource backend to be sql-only https://review.openstack.org/#/c/493621/ | 20:02 |
cmurphy | but with this change we could undo that | 20:02 |
kmalloc | right, i think we did that because it wasn't easy to undo the FK | 20:02 |
kmalloc | some behavior issues | 20:02 |
kmalloc | there was some edge case I ran into that make it incompat to remove the FK | 20:03 |
kmalloc | i have been wrakcing my brain to try and figure it out | 20:03 |
kmalloc | knasim-wrs: gunicorn is incompat with keystone's CLI processor | 20:03 |
kmalloc | knasim-wrs: ftr, it never worked right | 20:03 |
cmurphy | kmalloc: did it have to do with the fk not having a name? i think i've figured that out | 20:03 |
kmalloc | cmurphy: i think it was the forward rolling no-dwntime migrations honestly | 20:04 |
kmalloc | and no FK name makes it a nightmare... AND we can't assume folks have run contract phase for runtime | 20:04 |
kmalloc | so, decoupling the FK was basically a "well, someone might or might not have the FK and we can't be sure" | 20:04 |
kmalloc | i *think* that was the long and the short of the issue | 20:05 |
kmalloc | knasim-wrs: that is the issue with the in-process cache, it basically doesn't work well. | 20:05 |
cmurphy | well - i *think* i figured out the issue with the name, and it only removes the FK if it doesn't exist, and if people are still having this bug we can tell them they need to go run contract | 20:06 |
lbragstad | right | 20:07 |
cmurphy | i guess if we're all still uneasy about this, i'll revert to what i had in ps5 which adds a new notification so that users get deleted first, we can have an rc with the bug fixed, and later in rocky when the ansible rolling upgrade job is working we can revisit this | 20:09 |
*** jmlowe has joined #openstack-keystone | 20:10 | |
lbragstad | that's a possibility - are you happy with that cmurphy? | 20:11 |
cmurphy | lbragstad: i can be satisfied with that | 20:11 |
lbragstad | can suse? | 20:11 |
cmurphy | yes | 20:11 |
lbragstad | cool | 20:12 |
cmurphy | they just want keystone to stop 500ing it's not important how | 20:12 |
lbragstad | let's roll with that since we have a couple people who are still uneasy with it | 20:12 |
cmurphy | ++ | 20:12 |
lbragstad | i think we need to revisit this though, especially with the db troubles we hit with system assignments and unified limits | 20:12 |
lbragstad | i completely agree that out drivers do *way* too much | 20:13 |
lbragstad | s/our/out/ | 20:14 |
lbragstad | then we're just left with two bugs for RC https://goo.gl/A5Wz4Z | 20:15 |
lbragstad | https://bugs.launchpad.net/keystone/+bug/1714937 has a workaroudn | 20:16 |
openstack | Launchpad bug 1714937 in OpenStack Identity (keystone) "keystone returns 500 on password change" [Low,In progress] - Assigned to Vishakha Agarwal (vishakha.agarwal) | 20:16 |
lbragstad | if we do another rc | 20:16 |
lbragstad | we can include that fix if it lands | 20:16 |
*** knasim-wrs has quit IRC | 20:17 | |
*** raildo has quit IRC | 20:17 | |
*** knasim-wrs has joined #openstack-keystone | 20:18 | |
openstackgerrit | Colleen Murphy proposed openstack/keystone master: Delete SQL users before deleting domain https://review.openstack.org/539347 | 20:19 |
lbragstad | https://bugs.launchpad.net/keystone/+bug/1658641 would be nice to have fixed but i don't think it's a release stopper | 20:19 |
openstack | Launchpad bug 1658641 in OpenStack Identity (keystone) "Moving/disabling LDAP users break Keystone queries depending on role ID" [Medium,In progress] - Assigned to Kristi Nikolla (knikolla) | 20:19 |
lbragstad | cmurphy: lgtm | 20:22 |
edmondsw | is there a way for an admin to reset a user's password? | 20:30 |
edmondsw | all I've found is https://developer.openstack.org/api-ref/identity/v3/#change-password-for-user and that requires knowing the original password | 20:31 |
cmurphy | edmondsw: `openstack user set --password <password> <user>` has always worked for me | 20:31 |
edmondsw | cmurphy so then the API docs are wrong about the orig password being required? | 20:32 |
kmalloc | lbragstad: ++ | 20:33 |
cmurphy | edmondsw: i think the admin command is doing a PATCH /v3/users/id | 20:33 |
kmalloc | i am uneasy with it, but fixing the 500 error is important | 20:33 |
edmondsw | should have an (optional) there, and a comment about when it's required (wich I assume it is for non-admins) | 20:33 |
edmondsw | cmurphy oh... interesting | 20:33 |
edmondsw | cmurphy still seems to warrant better API documentation here | 20:34 |
cmurphy | edmondsw: always :) | 20:34 |
kmalloc | yah the admin command is patching user, vs using the change password workflow | 20:34 |
lbragstad | right - two separate APis | 20:36 |
openstackgerrit | Colleen Murphy proposed openstack/keystone master: Add placeholder migrations for Queens https://review.openstack.org/542419 | 20:41 |
lbragstad | cmurphy: good call | 20:45 |
cmurphy | o7 | 20:45 |
lbragstad | i'll wait to rc until we get that in | 20:46 |
lbragstad | and your fix | 20:46 |
lbragstad | then we should be goo d | 20:46 |
edmondsw | cmurphy 7 is the perfect number after all :) | 20:47 |
cmurphy | lol i think i meant to do 6 | 20:48 |
cmurphy | oh well | 20:48 |
kmalloc | lol | 20:49 |
kmalloc | the correct number of placements would be any number in this list 1, 2, 3, 5, 8, 13 | 20:49 |
*** ayoung has quit IRC | 20:52 | |
*** andy_wrs has joined #openstack-keystone | 20:52 | |
*** jmlowe has quit IRC | 20:56 | |
*** ChanServ has quit IRC | 20:57 | |
lbragstad | d.) all of the above? | 21:03 |
kmalloc | lbragstad, cmurphy: inline comment https://review.openstack.org/#/c/539347/15 but +2/+A | 21:06 |
cmurphy | kmalloc: yeah agree | 21:07 |
lbragstad | https://review.openstack.org/#/c/539347/3/keystone/identity/core.py | 21:08 |
lbragstad | i had that comment too | 21:08 |
*** Suramya has quit IRC | 21:12 | |
*** dave-mccowan has quit IRC | 21:30 | |
*** ChanServ has joined #openstack-keystone | 21:31 | |
*** barjavel.freenode.net sets mode: +o ChanServ | 21:31 | |
*** jmlowe has joined #openstack-keystone | 21:33 | |
*** martinus__ has quit IRC | 21:36 | |
*** edmondsw has quit IRC | 21:38 | |
*** dave-mccowan has joined #openstack-keystone | 21:47 | |
* lbragstad stands in the queue for lenovo support | 21:47 | |
lbragstad | baha - | 22:06 |
lbragstad | https://imgur.com/a/RB423 | 22:06 |
lbragstad | lol yes! | 22:07 |
lbragstad | http://paste.openstack.org/show/666833/ | 22:07 |
gagehugo | 114 seconds | 22:08 |
gagehugo | slacking | 22:08 |
lbragstad | just gettin' warmed up | 22:09 |
lbragstad | gagehugo: have you tried calling lenovo yet? i forget, was your system affected? | 22:10 |
gagehugo | lbragstad it was according to the site, but I took a quick look and the screws were fine | 22:11 |
gagehugo | there's a guide somewhere to check | 22:11 |
lbragstad | oh nice - i should look for that | 22:12 |
*** itlinux has quit IRC | 22:12 | |
gagehugo | Pop off the back cover, remove screws keeping in battery, remove battery, inspect all screws under battery and tighten loose screws, inspect battery for any damages | 22:14 |
gagehugo | https://download.lenovo.com/consumer/hnt/x1carbon5thgen_inspectionforunfastened_screw.mp4 | 22:14 |
gagehugo | link is dead now though | 22:14 |
lbragstad | i wonder how many batteries have been replaced | 22:21 |
*** knasim-wrs has quit IRC | 22:23 | |
*** AlexeyAbashkin has quit IRC | 22:23 | |
*** rcernin has joined #openstack-keystone | 22:31 | |
*** andy_wrs has left #openstack-keystone | 22:33 | |
*** adriant has quit IRC | 22:38 | |
*** adriant has joined #openstack-keystone | 22:38 | |
*** mr_snuf has joined #openstack-keystone | 22:58 | |
*** mvk_ has joined #openstack-keystone | 22:59 | |
mr_snuf | hi. im trying to use the identity api through curl running some examples from the official docs. i can get a token but i can't seem to use that token to make other requests by storing it on an environment variable. for example, this command doesn't work | 23:00 |
mr_snuf | curl -i -H "X-Auth-Token: $TOKEN" "<url>:5000/v3/domains" | 23:00 |
mr_snuf | but if i copy and paste the token there manually it works | 23:00 |
mr_snuf | tried some variations of that command but nothing so far | 23:01 |
lbragstad | mr_snuf: are you exporting the token as an env? | 23:01 |
mr_snuf | yeah | 23:01 |
mr_snuf | just a sec | 23:01 |
mr_snuf | export TOKEN=`curl -i -H "Content-Type: application/json" -d @token-request.json "http://<url>:5000/v3/auth/tokens" | awk '/X-Subject-Token/ {print $2}'` | 23:02 |
lbragstad | when you echo the env, do you see the token? | 23:02 |
mr_snuf | yep, i see it | 23:02 |
lbragstad | does it contain a newline after the token? | 23:02 |
mr_snuf | i put another grep at the end of that export with | xargs to trim the token in case there were newlines or spaces | 23:03 |
mr_snuf | it didnt work | 23:03 |
mr_snuf | i'll double check if | xargs removes newlines | 23:03 |
lbragstad | if you export the env with the token and not the newline, does it work? | 23:03 |
mr_snuf | it did... thanks. i guess im screwing it up when using awk to get the token | 23:05 |
lbragstad | that's been reported before | 23:05 |
lbragstad | the workaround would be to trim newlines from the token before sourcing the env | 23:06 |
lbragstad | mr_snuf: can you string tr on the end of your awk statement? | 23:08 |
mr_snuf | i see... i tried tr -d "\n" but still doesn't work. if you have any suggestions on how to trim this token id appreciate it | 23:08 |
mr_snuf | yeah | 23:08 |
mr_snuf | interesting. "\n\r" works | 23:09 |
lbragstad | oh - when you pipe the result to tr? | 23:10 |
mr_snuf | yeah | 23:10 |
lbragstad | tr -d "\n\r" | 23:10 |
mr_snuf | yeah that solves the problem :) thanks a lot! | 23:10 |
lbragstad | no problem - not sure how much help i was :) | 23:11 |
*** dave-mccowan has quit IRC | 23:12 | |
openstackgerrit | Merged openstack/keystone master: Delete SQL users before deleting domain https://review.openstack.org/539347 | 23:15 |
openstackgerrit | Merged openstack/pycadf master: Updated from global requirements https://review.openstack.org/523791 | 23:15 |
*** mr_snuf has quit IRC | 23:29 | |
openstackgerrit | Merged openstack/keystone master: Add placeholder migrations for Queens https://review.openstack.org/542419 | 23:37 |
*** kong has left #openstack-keystone | 23:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!