Tuesday, 2014-01-28

*** openstack has joined #storyboard00:02
*** drdee has joined #storyboard00:13
krotscheckmordred: I don't really understand the context for those changes :/00:26
krotschecktDyNjK1sx0D5x4bJDuw+LzcXN5hbJLPuXBMAMAr3Ik4gVzbnhhebRslVsGueX2K4v0T67oaoRZqj8cV0/IFVhGMlzrvVcnMY5WiR/eoOvuuep0KfVPA0IaHtAD4welqlhlqOmTrt4u00:31
krotscheckQ+bQWth0mg7oEDUxD6mEwr1VcfAuAZ5ClX2P2hhH9VecmG9QvmWYDWeEqfTHcSS3mFY39t2SJ2EHctzJ3LhCQGRQ/rHlHlRVmMcppC/x krotscheck@Superego00:31
mordredkrotscheck: ok. no worries - just in case you saw something stupid00:43
mordredkrotscheck: you might want to pastebin that ... paste.openstack.org00:44
krotscheckmordred: I sent it to you via email, seemed smarter00:45
mordrednod00:46
mordredkrotscheck: krotscheck@23.253.90.20900:52
mordredkrotscheck: it doesn't have dns, beacause it's not real00:52
mordredkrotscheck: SOMETHING seems to be doing SOMETHING00:53
krotscheckmordred: That's an old version of the webclient00:54
krotscheckmordred: Checking the API now00:54
krotscheckFeels like the wsgi mapping isn't getting picked up...00:58
krotscheckOh, nevermind01:00
krotscheckwrong path.01:00
krotscheckmordred: All the pieces are there, they're just A) Out of date, and B) misconfigured.01:03
mordredkrotscheck: awesome01:03
mordredis that because we haven't downloaded the right thing?01:03
krotscheckAnd the only reason I say B is because in a developer runtime, the services are at /v1/foo, while on this box they're at /api/v1/foo01:04
krotscheckmordred: No, I think it's because a bunch of my patches haven't been code reviewed yet.01:04
mordredkrotscheck: config? or storyboard/webclient?01:05
mordredbecause I can fix this01:05
krotscheckI just approved https://review.openstack.org/#/c/68528/01:05
krotscheckThat one's dependent on another one though.... sec01:06
krotscheckhttps://review.openstack.org/#/c/68540/01:06
krotscheckWhich nikita's not happy with01:06
mordredwell, I approved it anyway01:06
krotscheckThat was easy01:07
mordredI agree with your response to his question01:07
mordredalthough I do think that most of the time we'll just manage projects via a local script :)01:07
krotscheckYes, well, that local script should consume the API, so that it can be local anywhere.01:08
mordredI agree01:08
krotscheckOk, so the last question is: How do we get the client pointed at the right API path. Alternatively, how do we tell the storyboard-api to always run at /api/v101:09
openstackgerritA change was merged to openstack-infra/storyboard: Update ProjectGroups API to consume ID's rather than names.  https://review.openstack.org/6854001:09
krotscheckDigging into storyboard to see if I can do something there, rather than injecting it into the js.01:10
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Simple round trip API integration with storyboard-api  https://review.openstack.org/6852801:14
mordredkrotscheck: those are both excellent questions01:16
mordredkrotscheck: what if we wont' run the api at /api/v1 ?01:16
mordredkrotscheck: what if we just run it at /v1 and we do different apache rewrite rules?01:16
*** _ruhe is now known as ruhe01:16
mordredkrotscheck: look at the vhost config for graphite01:17
krotschecklookign01:18
mordred./modules/graphite/templates/graphite.vhost.erb01:18
mordredfwiw01:18
mordredkrotscheck: now - I don't like their model either01:19
mordredcome to think of it01:19
krotscheckmordred: I'm not certain in what order the request is going to be routed though - if I ask for index.html, will it go to the static files or immediately route to the API?01:19
mordredyeah. I think we need to figure out how to root the api differently for dev01:20
krotscheckmordred: I agree.01:20
krotscheckmordred: I'm about to send up a patch that fixes the path in the webclient.01:20
mordredcool01:21
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Changed default API base to match WSGI module  https://review.openstack.org/6952501:21
krotscheckOk, so there's that01:21
mordred+A01:22
krotscheckThanks01:22
krotscheckWaiting for tox to spin up the venv....01:23
mordredkrotscheck: btw - so - I recommend turning git review's autorebase off01:24
krotscheckmordred: IS that what happened to that thing?01:24
mordredyeah01:24
mordredkrotscheck: git config --global gireview.rebase false01:25
mordredwill be your friend01:25
mordredgitreview.rebase01:25
krotscheckHuhn.01:25
krotscheckThere's a bug "Autorebase should die in a fier"01:25
krotscheck*fire01:25
mordredyeah01:25
ruhemordred: krotscheck: re https://review.openstack.org/#/c/69516/  - could some of us from the eastern hemisphere get access to storyboar-dev.o.o too? or is it something restricted to core team?01:30
mordredruhe: absolutely. can you paste me your key/01:31
mordred?01:31
ruhemordred: one second01:33
ruhemordred: http://paste.openstack.org/show/61977/01:33
ruhethis one is better http://paste.openstack.org/raw/61977/01:33
ruhemordred: thank you01:35
mordredruhe: done01:35
mordredruhe: you should also be able to log in01:35
mordredI do not have a way for either of you to update the puppet - it's too tied in to our puppetmaster setup which is kinda secure and whatnot01:36
mordredbut also puppet cron/agent is off - so feel free to poke at whatever you need to01:36
krotscheckmordred: ruhe: I can't seem to find any documentation on the wsgi simple server to prepend a custom context root.01:36
mordredand I fully plan on deleting and recreating this server once we have storyboard.o.o happily running from trunk01:36
krotscheckmordred: ruhe: Our only option might be to have a custom controller _just_ for dev.01:37
mordredkrotscheck: that's lame01:38
ruhemordred: i can't resolve storyboard-dev.openstack.org, probably it hasn't propagated yet01:38
mordredruhe: it has no dns01:39
mordred23.253.90.20901:39
mordredyou'll need to put it in a hosts file01:39
ruhekrotscheck: why do we need to prepend a custom context root?01:40
mordredok. I have to go eat dinner and then watch people play loud instruments01:40
krotscheckruhe: When we run storyboard-api as a dev, it hosts the API at /v1/foo01:40
krotscheckruhe: the apache wsgi however hosts the api at /api/v1/foo01:40
ruhemordred: i've logged on, thank you01:42
mordredsure nuff! enjoy!01:42
krotscheckruhe: So, somehow, we have to get the two pieces talking to each other.01:42
mordredkrotscheck: you _can_ trigger a deploy of new thigns in storyboard*01:42
mordredsudo su -01:42
mordredpuppet agent --test --environment=mordred01:42
krotscheckOh, ffff.... my unit tests failed.01:44
krotscheckGo figure.01:44
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Changed default API base to match WSGI module  https://review.openstack.org/6952501:46
ruhekrotscheck: so for production you solved it with https://review.openstack.org/#/c/69525/ , but now we need some way to run it in development mode. this is the problem, right?01:46
krotscheckruhe: Correct01:48
mordredkrotscheck: your "local dev controller" thing ...01:50
mordredmight not be ridiculous01:50
mordredbut I'm really going out now  :)01:50
krotscheckmordred: go :)01:50
ruhemaybe some magic with https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Hosting_Of_Static_Files could resolve this problem01:52
ruhemaybe01:52
krotscheckI don't like either solution01:53
ruheif we could just tell apache to route all requests to static files by default, and if nothing found route to api service also mapped at /01:56
*** drdee has quit IRC01:56
ruhethen everything would be nice and easy01:56
krotscheckruhe: I suppose we can do something with mod_rewrite.01:57
*** drdee has joined #storyboard01:59
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Changed default API base to match WSGI module  https://review.openstack.org/6952502:00
cody-somervilleall static files should just be under a single (or group of) directories that don't get mapped to the wsgi app, that's pretty standard no?02:01
krotscheckWait a sec, we only need this for dev, right?02:01
krotscheckI think I know how to fix this.02:01
ruheok. i'm going away now. you can post your notes/questions here, if you'll need some help from my side02:02
*** ruhe is now known as _ruhe02:03
krotscheckkk02:03
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Updated grunt proxy server to rewrite to WSGI in dev  https://review.openstack.org/6952902:08
krotscheckThere, that does it.02:08
krotscheck...our tarball hasn't been updated since the 21st.02:21
krotscheckthis might be a problem02:21
krotscheckcody-somerville, can you see http://23.253.90.209/ ?02:39
krotscheckBoom: http://23.253.90.209/#!/project_groups/list02:53
krotscheckOk, so the outstanding issue I found was that the tarball hasn't actually been updated in forever. We'll have to check our builds to see what's going on there.02:54
krotscheckI built it manually and updated.02:55
krotscheckAnd now it works.02:55
krotscheckFair warning, running puppet again will blow away the most recent client.02:56
*** krotscheck has quit IRC02:56
*** drdee has quit IRC03:43
*** drdee has joined #storyboard03:45
*** AaronGr is now known as AaronGr_Zzz03:57
*** AaronGr_Zzz is now known as AaronGr04:24
*** david-lyle has joined #storyboard04:34
*** NikitaKonovalov_ is now known as NikitaKonovalov06:43
*** drdee has quit IRC06:49
*** david-lyle has quit IRC08:27
*** _ruhe is now known as ruhe08:51
*** SergeyLukjanov_ is now known as SergeyLukjanov09:08
*** NikitaKonovalov is now known as NikitaKonovalov_09:15
*** ruhe is now known as _ruhe09:20
*** NikitaKonovalov_ is now known as NikitaKonovalov09:58
openstackgerritA change was merged to openstack-infra/storyboard: Update documentation  https://review.openstack.org/6921111:02
openstackgerritA change was merged to openstack-infra/storyboard: API tests for rest  https://review.openstack.org/6744711:04
*** NikitaKonovalov is now known as NikitaKonovalov_11:04
*** NikitaKonovalov_ is now known as NikitaKonovalov11:06
*** SergeyLukjanov is now known as SergeyLukjanov_a11:19
*** SergeyLukjanov_a is now known as SergeyLukjanov11:19
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Database fixture added  https://review.openstack.org/6938411:20
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Load projects from yaml file  https://review.openstack.org/6628011:21
*** NikitaKonovalov is now known as NikitaKonovalov_11:53
*** NikitaKonovalov_ is now known as NikitaKonovalov12:02
openstackgerritRuslan Kamaldinov proposed a change to openstack-infra/storyboard: Added documentation for REST API layer.  https://review.openstack.org/6921212:43
*** _ruhe is now known as ruhe12:51
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Database fixture added  https://review.openstack.org/6938413:02
*** miqui has joined #storyboard13:40
*** drdee has joined #storyboard14:06
*** NikitaKonovalov is now known as NikitaKonovalov_14:25
*** RelayChatInfo has joined #storyboard14:25
*** RelayChatInfo has left #storyboard14:25
*** NikitaKonovalov_ is now known as NikitaKonovalov14:46
*** ruhe is now known as _ruhe14:56
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Database fixture added  https://review.openstack.org/6938415:10
*** _ruhe is now known as ruhe15:30
*** david-lyle has joined #storyboard15:41
*** NikitaKonovalov is now known as NikitaKonovalov_15:48
*** SergeyLukjanov is now known as SergeyLukjanov_16:09
*** ruhe is now known as _ruhe16:31
*** NikitaKonovalov_ is now known as NikitaKonovalov17:02
*** NikitaKonovalov is now known as NikitaKonovalov_17:11
*** _ruhe is now known as ruhe17:15
*** ruhe is now known as _ruhe17:28
*** SergeyLukjanov_ is now known as SergeyLukjanov17:36
*** drdee has quit IRC18:29
*** krotscheck has joined #storyboard18:40
*** drdee has joined #storyboard18:47
krotscheckSergeyLukjanov, any word on the visas?18:49
SergeyLukjanovkrotscheck, hey18:50
SergeyLukjanovkrotscheck, we should receive our IDs tomorrow I hope18:50
mordredw00t!18:50
krotscheckSergeyLukjanov: AWESOME!18:50
* mordred crosses fingers18:50
SergeyLukjanovbut we don't know about visa in them...18:50
krotscheckSergeyLukjanov: It'll work out, I'm pretty sure.18:51
krotscheckmordred, did you get my comments about how it's working yesterday?18:51
SergeyLukjanovkrotscheck, I hope too18:51
mordredkrotscheck: yes! then it went away18:51
mordredand also, we need to fix tarball publication apparently18:51
krotscheckmordred: Yeah - seems like your puppet agent blows away the iptables.18:51
krotscheckI turn it on, 15 minutes later: gone.18:52
SergeyLukjanovkrotscheck, and I hope that will receive them tomorrow, not Thu :)18:52
krotscheckSergeyLukjanov: That. Would. SUCK.18:52
krotscheckSergeyLukjanov, talk about an off-by-one error.18:52
krotscheckmordred: Where are you right now?18:52
mordredkrotscheck: I thought I had puppet turned off18:52
krotscheckmordred: Is there something else running that's fiddling with the firewall?18:53
mordredoh18:53
mordredthere's a cron18:53
mordredcrontab -l as root18:53
mordredduh18:54
mordredkrotscheck: I have now turned off puppet18:55
mordredkrotscheck: what is it that needed to be changed with iptables?18:55
krotscheckmordred: http was blocked18:56
mordredoh. well, we shoudl add that to the thing18:56
krotscheckmordred: The storyboard build would always clear it though18:56
krotscheckmordred: It's on the thing. There was just another thing that was disagreeing with the thing.18:57
mordredoh yeah? what else? (/me trying to come up fully to speed)18:57
krotscheckmordred: It went like this. I run puppet agent --test --environment=mordred. Everything works! I wait 15 minutes. Something else runs, firewall goes back up.18:58
krotscheckSomething else == other puppet I'm guessing18:58
krotscheckGimme a sec, going to manually deploy the client.18:59
gothicmindfoodSergeyLukjanov: YAY!19:00
krotscheckmordred: There. Give this a shot - http://23.253.90.209/#!/project_groups/list19:00
mordredwoot!19:00
krotscheckFor extra fun, shrink the window.19:01
krotscheckmordred: How about we land the tox changes before we fix tarball upload.19:03
krotscheckmordred: I'm hoping this patch will fix tarballs, but I'm not certain why it's broken in the first place.19:04
krotscheckhttps://review.openstack.org/#/c/67520/3/modules/openstack_project/files/jenkins_job_builder/config/javascript.yaml19:04
krotscheckCan I get a review on https://review.openstack.org/#/c/69529/ ?19:14
ttxSergeyLukjanov: I suspect others asked you hat question already... but did you hear from your visas ?19:28
ttxok, found it19:28
SergeyLukjanovttx, we should receive our IDs tomorrow or Thu, but embassy doesn't report the actual status of visas :(19:29
ttxso you get your IDs back, open them and see ? Nice.19:29
SergeyLukjanovyup19:29
SergeyLukjanovthat's very nice19:29
krotscheckttx: Present for you: http://23.253.90.209/#!/project_groups/list19:30
ttxI like how European embassies inflict pain on other countries. reminds me of how I'm treated every time I come to the US19:30
SergeyLukjanovso, I think that we should meet at least on FOSDEM beer party19:30
ttxkrotscheck: kewl19:31
krotscheckttx: That's puppet, api/client, the works.19:31
ttxSergeyLukjanov: if you get the visas tomorrow, can you still join ?19:31
ttxkrotscheck: the real deal19:31
SergeyLukjanovttx, I've absolutely no problem with making Czech visa several years ago, it was really surprising that Belgium visa is much more difficult to receive19:31
ttxYeah. I heard Belgium is the most painful.19:32
SergeyLukjanovttx, it looks like that we need +1d to commute ;)19:32
ttx(not counting UK in Europe obviously)19:32
SergeyLukjanovI hope that we'll be able to join at least the second day19:32
ttxhope so too19:33
SergeyLukjanovI'll share info right after I see my ID :)19:33
SergeyLukjanovheh, and I hope that I'll receive it at least :)19:33
ttxgothicmindfood: we might rearrange agenda a bit depending on when Russians fly19:33
gothicmindfoodttx: np19:33
gothicmindfoodthat's a very loosely organized one anyways19:34
ttxgothicmindfood: don't print them out just yet.19:34
* gothicmindfood likes "The Russians Fly" as a code word for something19:34
*** _ruhe is now known as ruhe19:34
krotscheckruhe: Thanks for the review19:34
ttxyes, will be my new way of saying "when stars align"19:34
krotscheckSergeyLukjanov: Are you guys flying or taking a train?19:35
ttxkrotscheck: Europe is small. But not THAT small.19:35
SergeyLukjanovkrotscheck, fly19:35
ruhekrotscheck: np19:35
gothicmindfoodkrotscheck: I think a train ride from Russia would be like 12 hours or something.19:35
* krotscheck points at his austrian passport.19:35
krotscheckHey, sleeper trains exist.19:35
ttxkrotscheck: but then Austria is in the middle of it19:35
ruhekrotscheck: gothicmindfood: it's 16 hours train from our city to Moscow :)19:36
ttxand then 38 hours from Moscow to Brussels.19:36
krotscheckWhoa19:36
krotscheckOk, that's a bit bigger than expected.19:36
SergeyLukjanov:)19:36
ttxRussia is big.19:36
SergeyLukjanovI've already tried the Moscow-Prague train and it was quite long trip :)19:37
ruhekrotscheck: what's the status of puppet thing? do we have everything we need to deploy storyboard.o.o?19:37
krotscheckruhe: 23.253.90.209/#!/project_groups/list19:38
krotscheckThat's with the puppet script, sight unseen.19:38
krotscheckThere's a problem with our build tarball upload, for some reason it's not triggering.19:38
krotscheckBut other than that all the pieces are there.19:38
krotscheckNow all we have to do is get infra to approve it.19:38
krotscheckruhe: Though clark did patch it this morning.19:39
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Updated grunt proxy server to rewrite to WSGI in dev  https://review.openstack.org/6952919:40
ruhekrotscheck: my laptop was so excited about this, that it decided to reboot itself :)19:41
krotscheckruhe: Oh dear.19:41
*** david-lyle has quit IRC19:42
krotschecksadtrombone.com19:42
ruhe:)19:43
* krotscheck is twiddling his thumbs while the infra meeting is going on.19:48
SergeyLukjanovkrotscheck, awesome19:50
ruhekrotscheck: are you going to discuss webclient-tarball-upload issue on infra meeting?19:54
krotscheckruhe: Not in the meeting, no. I'm going to push them to land the tox changes.19:55
krotscheckruhe: That's been waiting forever.19:55
* gothicmindfood has a dying laptop battery.20:03
gothicmindfoodbe back when I land/get plugged in20:04
krotscheckgothicmindfood: kk.20:04
ruhekrotscheck: i look at jobs definitions and can't understand why storyboard-webclient-release-branch is not executed20:06
krotscheckruhe: Yeah, I can't either. Maybe having a variable name with a dash?20:06
krotscheckruhe: Either way, it's an outdated build method.20:06
krotscheckruhe: And I don't think we need to waste time trying to fix something that's deprecated20:06
ruhekrotscheck: you expect this to be fixed with https://review.openstack.org/#/c/67731/ ?20:07
krotscheckruhe: Actually, I'm hoping this one: https://review.openstack.org/#/c/67520/20:09
*** NikitaKonovalov_ is now known as NikitaKonovalov20:37
ruhekrotscheck: jfyi - https://review.openstack.org/#/c/69204/ this patch will build and upload storyboard docs to ci.openstack.org/storyboard20:39
krotscheckruhe: Saw that :)20:39
ruhethere will be auto-generated docs for REST API20:39
*** ruhe is now known as _ruhe20:54
*** _ruhe is now known as ruhe21:00
ruhekrotscheck: i just realized you left comment on that patch and i discussed it with you yesterday :)21:01
krotscheckruhe: :)21:01
* ruhe might have bad sectors in brain hdd21:01
krotscheckFirst tox patch is in...21:01
*** drdee has quit IRC21:02
*** drdee has joined #storyboard21:03
*** NikitaKonovalov is now known as NikitaKonovalov_21:24
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Update colors, header  https://review.openstack.org/6972321:27
*** cody-somerville has quit IRC21:33
ruhekrotscheck: i wanted to see how storyboard look like with ^^, but got error from tox -e node -> "Local Npm module "grunt-cli" not found. Is it installed?"21:38
*** drdee has quit IRC21:52
*** SergeyLukjanov is now known as SergeyLukjanov_21:59
* ruhe testing if it is reproduced on ubuntu22:00
krotscheckruhe: That's an error in the current version of grunt, and should be ignored. Was there any other output?22:07
krotscheckruhe: Sorry, was busy getting painted.22:08
ruhekrotscheck: here are logs are get when i run tox -enode http://paste.openstack.org/raw/62046/22:10
ruhe* i get22:10
krotscheckruhe: Looks like node was never installed.22:14
ruhebut it says " * Install node.js (0.10.24... done."22:15
krotscheckhrm22:15
ruhei did run this command successfully just a couple of days before22:16
krotscheckruhe: That seems odd.22:16
krotscheckruhe: Lemme rebase this on top of the node env22:17
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Added no_api env  https://review.openstack.org/6861022:19
krotscheckOk, first thing first - rebased this.22:20
krotscheckruhe: I've got something od dhere, "could not find any downloads that satisfy the requirement nodeenv"22:21
ruhekrotscheck: the only reason i could imagine is some of the packages we use got updated and broke something22:31
krotscheckruhe: I think this might be a pypi mirror thing22:31
*** openstack has joined #storyboard23:04
*** ruhe is now known as _ruhe23:10
*** drdee has joined #storyboard23:25
*** drdee has quit IRC23:58

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