*** kkup_ has quit IRC | 00:03 | |
kkup | I install storyboard on one host, and I login from another host. It encounters an error. | 00:07 |
---|---|---|
kkup | Error Code: unauthorized_client | 00:08 |
kkup | Error Description: You+did+not+provide+a+valid+client_id. | 00:08 |
kkup | console output from server: "GET /v1/openid/authorize?response_type=code&client_id=192.168.1.101&redirect_uri=http%3A%2F%2F192.168.1.101%3A9000%2F%23!%2Fauth%2Ftoken&scope=user&state=svnLMfnNsL7XaEj1rYx2 HTTP/1.1" 302 435 | 00:09 |
*** openstackgerrit has quit IRC | 01:33 | |
*** openstackgerrit has joined #storyboard | 01:34 | |
*** jtomasek has quit IRC | 04:41 | |
*** jamesmcarthur has quit IRC | 06:50 | |
*** jamesmcarthur has joined #storyboard | 06:51 | |
*** fay has joined #storyboard | 07:31 | |
*** fay is now known as Guest80619 | 07:32 | |
*** perryl has quit IRC | 07:37 | |
*** perryl has joined #storyboard | 07:38 | |
*** jtomasek has joined #storyboard | 07:50 | |
pedroalvarez | kkup: I've seen that before | 08:04 |
* pedroalvarez digs a bit | 08:05 | |
pedroalvarez | kkup: I believe that the problem is that in storyboard.conf you have to set "valid_oauth_clients" variable | 08:16 |
pedroalvarez | and I believe that the variable is a list of FQDNs for stoyboard | 08:17 |
pedroalvarez | for example: "valid_oauth_clients = storyboard.openstack.org" | 08:17 |
Zara | yeah, mine lists 127.0.0.1 among other things | 10:43 |
kkup | how to set the variable so that let any hosts login? | 11:09 |
Zara | I think a * should work | 11:09 |
Zara | hopefully someone can correct me on that if I'm wrong; will check | 11:10 |
pedroalvarez | kkup: put the public ip of the storyboard host? | 11:11 |
kkup | yes | 11:11 |
pedroalvarez | I mean, the ip or fqdn thay you use to access to it from other hosts | 11:11 |
Zara | (hm, * does not work; that seems a bit odd) | 11:12 |
kkup | * does not work. | 11:14 |
pedroalvarez | nope, the code doesn't look like that option is supported | 11:14 |
pedroalvarez | please, check my suggestion | 11:15 |
Zara | yeah, sorry, I think 192.168.1.101 might work for you. | 11:16 |
kkup | how can anybody from any hosts login https://storyboard.openstack.org? | 11:19 |
Zara | I'm not actually sure; it's configured via puppet so I'm looking at the puppet-storyboard repo now https://github.com/openstack-infra/puppet-storyboard/blob/dc490e0e31eb6157f9f08ba6aa64c38ced7ad35a/vagrant.pp is all I've found so far | 11:22 |
Zara | actually, https://github.com/openstack-infra/puppet-storyboard/search?utf8=%E2%9C%93&q=oauth is a better search | 11:23 |
Zara | so there it's getting set to a list of FQDNs, as pedroalvarez said, but I'm not sure how it gets those (https://github.com/openstack-infra/puppet-storyboard/search?utf8=%E2%9C%93&q=fqdn is also a handy search) | 11:25 |
Zara | my guess is it's probably in the system-config repo or something like that | 11:26 |
SotK | http://git.openstack.org/cgit/openstack-infra/system-config/tree/manifests/site.pp#n600 | 11:27 |
SotK | pedroalvarez's suggestion should work | 11:27 |
*** Guest80619 has quit IRC | 11:29 | |
Zara | kkup: has any of that helped? | 11:35 |
kkup | I see, thanks a lot. | 11:36 |
Zara | \o/ | 11:41 |
*** fay has joined #storyboard | 11:45 | |
*** fay is now known as Guest46763 | 11:45 | |
Zara | milestones stuff seems to work fine in python client | 12:26 |
Zara | though it doesn't let me associate milestones with other branches (seems like the branch_id might be hidden?) and I don't know the format for the expiration date (might also be hidden?) | 12:29 |
Zara | I tried using the same format as the created_at date and got told I couldn't change it. | 12:31 |
Zara | if anyone's curious about the specifics, http://paste.openstack.org/show/542557/ | 12:33 |
Zara | seems it's possible to *create* a milestone with a specific branch ID, you just can't change it afterward. PUTs for names work, so I don't think it's a problem with the python client | 12:34 |
Zara | huh, and if I try to create one with an expiration date in the future, it tells me I can't create an expired milestone | 12:36 |
* Zara finds https://github.com/openstack-infra/storyboard/blob/fea6d308591b687078dad90ff523616eb818e206/storyboard/api/v1/milestones.py#L119 | 12:39 | |
Zara | well I guess that's it | 12:39 |
Zara | I think that code looks for 'there exists an expiration date' when it should be checking if that date has passed | 12:40 |
Zara | maybe the expiration date is meant to be set elsewhere, and only when a milestone expires | 12:41 |
* Zara tries creating a new milestone and expiring it to see what happens | 12:42 | |
Zara | aha, yeah, the expiration date is automatically set when you expire the milestone | 12:44 |
Zara | maybe everyone already knew that but I didn't. | 12:44 |
Zara | (it does say that just below in the code anyway, but I figure if I do it via testing it, I catch things I might miss otherwise) | 12:46 |
Zara | it's too warm and I'm sleepy | 12:49 |
Zara | anyway, yup, api prevents changing milestone branch IDs https://github.com/openstack-infra/storyboard/blob/fea6d308591b687078dad90ff523616eb818e206/storyboard/api/v1/milestones.py#L146 | 12:51 |
Zara | hm, the 'restricted' field is missing for branches. we don't use it but I guess it should be included for completeness | 12:53 |
openstackgerrit | Zara proposed openstack-infra/python-storyboardclient: Add 'restricted' field to branches https://review.openstack.org/347809 | 12:55 |
Zara | what a patch. | 12:56 |
* Zara narrows eyes at pep8 | 12:58 | |
Zara | at some point I inserted a rogue 'i' in the license text (vimmmm) so it doesn't know what a licensei is | 13:00 |
openstackgerrit | Zara proposed openstack-infra/python-storyboardclient: Add system info https://review.openstack.org/347405 | 13:01 |
anteaya | there is a strong possiblity I won't make the meeting today | 13:18 |
anteaya | which is okay since I don't have anything to report anyway | 13:18 |
Zara | okay, thanks for letting us know :) | 13:21 |
Zara | I think it'll be a quiet meeting anyway, it's kinda snuck up | 13:24 |
Zara | I get a 500 when I try to create a board via the client | 13:29 |
Zara | GETs work | 13:30 |
Zara | PUTs work | 13:31 |
Zara | curiouser and curiouser | 13:31 |
Zara | this is the post that doesn't work: `storyboard.boards.create(title="pythonclientboard")` | 13:36 |
Zara | and the errors: http://paste.openstack.org/show/542583/ | 13:38 |
Zara | oh, so it wants lanes | 13:39 |
Zara | just noticed that... | 13:39 |
Zara | oh huh, and I thought the put worked but now I can't find the board it updated | 13:40 |
Zara | gahhh | 13:40 |
Zara | okay, so browsing to api/v1/boards/3 doesn't show it but it's still visible in the web ui and the python client can get it. | 13:44 |
Zara | so #!/board/3 works! | 13:44 |
Zara | what is going on | 13:44 |
Zara | apparently it's private; I wonder if that's it | 13:45 |
Zara | yup | 13:45 |
Zara | there we go | 13:45 |
Zara | panic over | 13:45 |
Zara | I still don't know why POSTs aren't working but at least the PUT didn't do anything weird | 13:46 |
Zara | or rather, I think it's the lack of lanes, but not sure how to add them yet | 13:50 |
-openstackstatus- NOTICE: Gerrit is being restarted now to relieve performance degradation | 13:54 | |
Zara | well, passing it an empty string worked for now | 13:54 |
Zara | of course, adding lanes to boards is kind of the interesting bit... | 13:55 |
*** aswadr_ has joined #storyboard | 14:11 | |
Zara | I've updated our meeting agenda a little; anyone else who wants to, feel free | 14:27 |
Zara | and a reminder to all that the storyboard meeting is happening in half an hour in #openstack-meeting! :D | 14:29 |
Zara | 6 minutes.... | 14:54 |
Zara | thanks, everyone! | 15:28 |
Zara | I'm so sleepy | 15:53 |
*** kkup has quit IRC | 15:59 | |
*** jtomasek has quit IRC | 16:22 | |
*** Guest46763 is now known as faybrocklebank | 16:36 | |
Zara | I'm running away for the evening; 'night, all! | 17:04 |
*** faybrocklebank has quit IRC | 18:55 | |
*** aswadr_ has quit IRC | 20:31 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!