Wednesday, 2016-07-27

*** kkup_ has quit IRC00:03
kkupI install storyboard on one host, and I login from another host. It encounters  an error.00:07
kkupError Code: unauthorized_client00:08
kkupError Description: You+did+not+provide+a+valid+client_id.00:08
kkupconsole 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 43500:09
*** openstackgerrit has quit IRC01:33
*** openstackgerrit has joined #storyboard01:34
*** jtomasek has quit IRC04:41
*** jamesmcarthur has quit IRC06:50
*** jamesmcarthur has joined #storyboard06:51
*** fay has joined #storyboard07:31
*** fay is now known as Guest8061907:32
*** perryl has quit IRC07:37
*** perryl has joined #storyboard07:38
*** jtomasek has joined #storyboard07:50
pedroalvarezkkup: I've seen that before08:04
* pedroalvarez digs a bit08:05
pedroalvarezkkup: I believe that the problem is that in storyboard.conf you have to set "valid_oauth_clients" variable08:16
pedroalvarezand I believe that the variable is a list of FQDNs for stoyboard08:17
pedroalvarezfor example: "valid_oauth_clients = storyboard.openstack.org"08:17
Zarayeah, mine lists 127.0.0.1 among other things10:43
kkuphow to set the variable so that let any hosts login?11:09
ZaraI think a * should work11:09
Zarahopefully someone can correct me on that if I'm wrong; will check11:10
pedroalvarezkkup: put the public ip of the storyboard host?11:11
kkupyes11:11
pedroalvarezI mean, the ip or fqdn thay you use to access to it from other hosts11:11
Zara(hm, * does not work; that seems a bit odd)11:12
kkup* does not work.11:14
pedroalvareznope, the code doesn't look like that option is supported11:14
pedroalvarezplease, check my suggestion11:15
Zarayeah, sorry, I think 192.168.1.101 might work for you.11:16
kkuphow can anybody from any hosts login https://storyboard.openstack.org?11:19
ZaraI'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 far11:22
Zaraactually, https://github.com/openstack-infra/puppet-storyboard/search?utf8=%E2%9C%93&q=oauth is a better search11:23
Zaraso 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
Zaramy guess is it's probably in the system-config repo or something like that11:26
SotKhttp://git.openstack.org/cgit/openstack-infra/system-config/tree/manifests/site.pp#n60011:27
SotKpedroalvarez's suggestion should work11:27
*** Guest80619 has quit IRC11:29
Zarakkup: has any of that helped?11:35
kkupI see, thanks a lot.11:36
Zara\o/11:41
*** fay has joined #storyboard11:45
*** fay is now known as Guest4676311:45
Zaramilestones stuff seems to work fine in python client12:26
Zarathough 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
ZaraI tried using the same format as the created_at date and got told I couldn't change it.12:31
Zaraif anyone's curious about the specifics, http://paste.openstack.org/show/542557/12:33
Zaraseems 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 client12:34
Zarahuh, and if I try to create one with an expiration date in the future, it tells me I can't create an expired milestone12:36
* Zara finds https://github.com/openstack-infra/storyboard/blob/fea6d308591b687078dad90ff523616eb818e206/storyboard/api/v1/milestones.py#L11912:39
Zarawell I guess that's it12:39
ZaraI think that code looks for 'there exists an expiration date' when it should be checking if that date has passed12:40
Zaramaybe the expiration date is meant to be set elsewhere, and only when a milestone expires12:41
* Zara tries creating a new milestone and expiring it to see what happens12:42
Zaraaha, yeah, the expiration date is automatically set when you expire the milestone12:44
Zaramaybe 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
Zarait's too warm and I'm sleepy12:49
Zaraanyway, yup, api prevents changing milestone branch IDs https://github.com/openstack-infra/storyboard/blob/fea6d308591b687078dad90ff523616eb818e206/storyboard/api/v1/milestones.py#L14612:51
Zarahm, the 'restricted' field is missing for branches. we don't use it but I guess it should be included for completeness12:53
openstackgerritZara proposed openstack-infra/python-storyboardclient: Add 'restricted' field to branches  https://review.openstack.org/34780912:55
Zarawhat a patch.12:56
* Zara narrows eyes at pep812:58
Zaraat some point I inserted a rogue 'i' in the license text (vimmmm) so it doesn't know what a licensei is13:00
openstackgerritZara proposed openstack-infra/python-storyboardclient: Add system info  https://review.openstack.org/34740513:01
anteayathere is a strong possiblity I won't make the meeting today13:18
anteayawhich is okay since I don't have anything to report anyway13:18
Zaraokay, thanks for letting us know :)13:21
ZaraI think it'll be a quiet meeting anyway, it's kinda snuck up13:24
ZaraI get a 500 when I try to create a board via the client13:29
ZaraGETs work13:30
ZaraPUTs work13:31
Zaracuriouser and curiouser13:31
Zarathis is the post that doesn't work: `storyboard.boards.create(title="pythonclientboard")`13:36
Zaraand the errors: http://paste.openstack.org/show/542583/13:38
Zaraoh, so it wants lanes13:39
Zarajust noticed that...13:39
Zaraoh huh, and I thought the put worked but now I can't find the board it updated13:40
Zaragahhh13:40
Zaraokay, 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
Zaraso #!/board/3 works!13:44
Zarawhat is going on13:44
Zaraapparently it's private; I wonder if that's it13:45
Zarayup13:45
Zarathere we go13:45
Zarapanic over13:45
ZaraI still don't know why POSTs aren't working but at least the PUT didn't do anything weird13:46
Zaraor rather, I think it's the lack of lanes, but not sure how to add them yet13:50
-openstackstatus- NOTICE: Gerrit is being restarted now to relieve performance degradation13:54
Zarawell, passing it an empty string worked for now13:54
Zaraof course, adding lanes to boards is kind of the interesting bit...13:55
*** aswadr_ has joined #storyboard14:11
ZaraI've updated our meeting agenda a little; anyone else who wants to, feel free14:27
Zaraand a reminder to all that the storyboard meeting is happening in half an hour in #openstack-meeting! :D14:29
Zara6 minutes....14:54
Zarathanks, everyone!15:28
ZaraI'm so sleepy15:53
*** kkup has quit IRC15:59
*** jtomasek has quit IRC16:22
*** Guest46763 is now known as faybrocklebank16:36
ZaraI'm running away for the evening; 'night, all!17:04
*** faybrocklebank has quit IRC18:55
*** aswadr_ has quit IRC20:31

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