*** malini has joined #openstack-zaqar | 00:01 | |
*** malini has quit IRC | 00:10 | |
*** davideagnello has quit IRC | 00:11 | |
*** kgriffs is now known as kgriffs|afk | 00:11 | |
*** diga has joined #openstack-zaqar | 00:28 | |
*** malini has joined #openstack-zaqar | 01:23 | |
*** bradjones has quit IRC | 01:52 | |
*** Yanyanhu has joined #openstack-zaqar | 01:54 | |
*** bradjones has joined #openstack-zaqar | 01:56 | |
*** csoukup has joined #openstack-zaqar | 02:01 | |
*** exploreshaifali has quit IRC | 02:02 | |
*** AAzza_ has joined #openstack-zaqar | 03:07 | |
*** AAzza- has joined #openstack-zaqar | 03:08 | |
*** davideagnello has joined #openstack-zaqar | 03:09 | |
*** AAzza has quit IRC | 03:10 | |
*** AAzza- is now known as AAzza | 03:10 | |
*** barra204 has quit IRC | 03:11 | |
*** AAzza_ has quit IRC | 03:11 | |
*** barra204 has joined #openstack-zaqar | 03:13 | |
*** davideagnello has quit IRC | 03:14 | |
*** achanda has joined #openstack-zaqar | 03:53 | |
*** malini has quit IRC | 04:01 | |
*** achanda has quit IRC | 04:05 | |
*** achanda has joined #openstack-zaqar | 04:06 | |
*** achanda has quit IRC | 04:11 | |
*** achanda has joined #openstack-zaqar | 05:05 | |
*** dynarro has joined #openstack-zaqar | 06:02 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/zaqar: Imported Translations from Transifex https://review.openstack.org/186271 | 06:03 |
---|---|---|
*** csoukup has quit IRC | 06:03 | |
*** dguerri`away is now known as dguerri | 06:41 | |
*** dguerri is now known as dguerri`away | 06:46 | |
*** dguerri`away is now known as dguerri | 07:07 | |
*** dguerri is now known as dguerri`away | 07:08 | |
*** achanda has quit IRC | 07:22 | |
*** achanda has joined #openstack-zaqar | 07:44 | |
*** dguerri`away is now known as dguerri | 08:04 | |
*** achanda has quit IRC | 08:35 | |
*** achanda has joined #openstack-zaqar | 08:48 | |
*** dynarro has quit IRC | 08:58 | |
*** achanda has quit IRC | 09:02 | |
flaper87 | zigo: just to be super clear, functional tests are the ones failing for you. Right ? | 09:03 |
flaper87 | could you share the traceback again? | 09:03 |
flaper87 | :D | 09:03 |
*** Yanyanhu has quit IRC | 09:31 | |
*** achanda has joined #openstack-zaqar | 10:28 | |
*** achanda has quit IRC | 12:07 | |
*** kgriffs|afk is now known as kgriffs | 12:53 | |
zigo | flaper87: No, unit tests. | 13:00 |
flaper87 | ok | 13:04 |
zigo | flaper87: hang on, I'm doing yet another build and will give you the result "soon" | 13:04 |
zigo | But anyway, it's mostly: cannot connect to mongodb ... | 13:05 |
*** kgriffs is now known as kgriffs|afk | 13:11 | |
zigo | flaper87: This kind of trace: http://paste.debian.net/187255/ | 13:12 |
zigo | Loads of them... | 13:12 |
zigo | Of course, because mongodb isn't binding on the port that the unit tests expect. | 13:12 |
*** sriram has joined #openstack-zaqar | 13:14 | |
flaper87 | zigo: ok, patch is coming | 13:14 |
flaper87 | thanks | 13:14 |
*** achanda has joined #openstack-zaqar | 13:14 | |
zigo | Great! :) | 13:14 |
zigo | flaper87: Eventually, will zaqar-server split into zaqar-api and zaqar-somethingelse ? | 13:15 |
flaper87 | zigo: I don't think so. zaqar-server is zaqar-api | 13:16 |
flaper87 | We didn't called API because it's a "test" server | 13:16 |
flaper87 | people should use the wsgi app | 13:17 |
zigo | flaper87: Sure, but then Zaqar only needs an API? No worker daemons? | 13:17 |
zigo | flaper87: Would you recommand using uwsgi btw, like Barbican does? | 13:17 |
flaper87 | uwsgi/httpd/gunicorn... They all work fine. I know RAX uses uwisg though | 13:20 |
flaper87 | and no, it doens't need any daemons (yet) | 13:20 |
flaper87 | :P | 13:20 |
zigo | Ok. | 13:21 |
flaper87 | I really don't know if it'll in the future | 13:21 |
zigo | I very much prefer uwsgi to a full apache, so that I can keep stuff with init sciprts and so on. | 13:21 |
zigo | that's what I did with barbican, I'm thinking about doing the same for all OpenStack API servers that already support that. | 13:21 |
flaper87 | zigo: I also prefer uwsig over httpd | 13:23 |
*** cknight has joined #openstack-zaqar | 13:29 | |
*** Yanyanhu has joined #openstack-zaqar | 13:39 | |
*** Yanyanhu has quit IRC | 13:39 | |
*** malini has joined #openstack-zaqar | 13:42 | |
*** dynarro has joined #openstack-zaqar | 13:43 | |
*** exploreshaifali has joined #openstack-zaqar | 14:09 | |
*** achanda has quit IRC | 14:10 | |
*** csoukup has joined #openstack-zaqar | 14:18 | |
exploreshaifali | flaper87, around? | 14:18 |
flaper87 | exploreshaifali: heeeeeeey | 14:20 |
flaper87 | yes, I am here | 14:20 |
flaper87 | I was looking for you earlier today | 14:20 |
flaper87 | now I don't remember why | 14:20 |
flaper87 | exploreshaifali: what can I help you with? | 14:22 |
exploreshaifali | flaper87, lol that is nice that you don't remember now :P | 14:23 |
exploreshaifali | flaper87, so I want to know do you wnat me to write specs for tests stuff? | 14:23 |
flaper87 | i need to remember, I NEED TO REMEMBER | 14:23 |
flaper87 | I needed you to do some work I was supposed to do | 14:23 |
exploreshaifali | okay, what's that work? | 14:23 |
flaper87 | i don't remember :( | 14:24 |
exploreshaifali | so till the time your robot mind remind it again, lets discuss about refactoring about tests | 14:25 |
exploreshaifali | do I need to write specs for it? | 14:25 |
flaper87 | yup | 14:25 |
exploreshaifali | great! | 14:25 |
flaper87 | it requires a spec to make sure we cover the things we talked about at the summit | 14:25 |
flaper87 | https://www.youtube.com/watch?v=EYKdmo9Rg2s | 14:26 |
openstackgerrit | Doraly Navarro proposed openstack/zaqar-specs: Add support for missing features in zaqarclient v1.1 https://review.openstack.org/185951 | 14:26 |
exploreshaifali | ok, though I don't remember much what we discussed in the summit...but writing spec will make things clear for sure | 14:26 |
flaper87 | exploreshaifali: it should be in the etherpad | 14:26 |
flaper87 | no one remembers | 14:26 |
flaper87 | :P | 14:27 |
exploreshaifali | haha okay! | 14:27 |
exploreshaifali | I will get back to you soon than | 14:27 |
exploreshaifali | I bookmarked that video to watch it, I caught it from twitter | 14:28 |
exploreshaifali | :P | 14:28 |
exploreshaifali | so first I need to watch that | 14:28 |
flaper87 | I'm waiting for the second one to be uploaded | 14:28 |
flaper87 | I gave 2 talks there and I really would like to watch the other one | 14:29 |
exploreshaifali | oh it have second part too | 14:29 |
* flaper87 is a narcisist | 14:29 | |
flaper87 | jokes apart | 14:29 |
flaper87 | I'm just curious to know how the second talk was | 14:29 |
exploreshaifali | no no I can understand! | 14:30 |
exploreshaifali | your narcissism | 14:30 |
exploreshaifali | :P | 14:30 |
exploreshaifali | flaper87, please can you put some light on " test_insert_queue_with_metadata.tags = ['negative'] #dafuq" | 14:31 |
vkmc | #dafuq lol | 14:31 |
kragniz | lol | 14:31 |
vkmc | exploreshaifali, hiiiiiiii! | 14:31 |
vkmc | kragniz, hiiiiiii! | 14:32 |
kragniz | vkmc: hiii! | 14:32 |
exploreshaifali | hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii vkmc kragniz :D | 14:32 |
* exploreshaifali was thinking hard to understand what #dafuq is, but now I got it after other devs reactions | 14:33 | |
exploreshaifali | :D | 14:33 |
flaper87 | LOL | 14:35 |
flaper87 | :D | 14:35 |
vkmc | this is hilarious | 14:35 |
flaper87 | sorry about that :P | 14:35 |
exploreshaifali | lol | 14:36 |
exploreshaifali | I should be sorry to put it here :P | 14:36 |
flaper87 | In that case, #dafuq is a hash(flaper87) that is meant to say: What is this line being used for? Ask malini and see if she remembers and whether we actually need it | 14:36 |
malini | dafuq? | 14:37 |
exploreshaifali | lol | 14:37 |
flaper87 | malini: test_insert_queue_with_metadata.tags = ['negative'] | 14:37 |
flaper87 | :D | 14:37 |
malini | u mean why we had the tags? | 14:38 |
flaper87 | is that a ddt thing? tsung ? | 14:38 |
flaper87 | yeah | 14:38 |
malini | no..tht was to selectively run a few tests | 14:38 |
malini | so u cud just run the tagged test | 14:38 |
flaper87 | ahhh gotcha | 14:38 |
malini | I dont think we ever ended up using it | 14:38 |
malini | so shud be safe to get rid of | 14:38 |
flaper87 | malini: thanks for the info :) | 14:38 |
vkmc | #notmoredafuq | 14:39 |
*** angvp has joined #openstack-zaqar | 14:39 | |
flaper87 | next time, I expect you to be able to read "dafuq" and understand what I meant | 14:39 |
malini | I am the source of all useless info :D | 14:39 |
flaper87 | :D | 14:39 |
exploreshaifali | yes, I will understand it too. | 14:39 |
flaper87 | malini: no no, you are the reason why we have most of our tests so you should be proud of yourself | 14:39 |
vkmc | malini++ | 14:39 |
malini | I missed the session abt test refactoring - is tht going to be cleaned up? | 14:39 |
flaper87 | more like merged | 14:39 |
flaper87 | zaqar/tests and zaqar/zaqar/tests | 14:39 |
malini | it'll be interesting to give tempest lib a shot | 14:40 |
flaper87 | and well, the clean up will happen as part of that | 14:40 |
exploreshaifali | malini, https://etherpad.openstack.org/p/zaqar-liberty-testsuite | 14:40 |
vkmc | exploreshaifali, you are going to work on the test refactoring, right? | 14:40 |
exploreshaifali | vkmc, yes | 14:40 |
vkmc | sweet | 14:40 |
exploreshaifali | :D | 14:41 |
malini | exploreshaifali: ping me if you need help. I am good at telling other ppl what to do ;) | 14:41 |
exploreshaifali | malini, yes I will need guidance of few more intelligent people | 14:41 |
vkmc | btw, we have a new contributor lurking | 14:41 |
exploreshaifali | :P | 14:41 |
vkmc | angvp, say hi! | 14:41 |
flaper87 | angvp: dafuq ? | 14:42 |
vkmc | don't be shy | 14:42 |
exploreshaifali | angvp, hiiiiiiiiiii :) | 14:42 |
* angvp blushes | 14:42 | |
* flaper87 saw the nicks list grow but had no iea who joined | 14:42 | |
angvp | hi o/ | 14:42 |
kragniz | hi angvp! | 14:42 |
vkmc | flaper87, I'm bringing hobos to the channel | 14:42 |
angvp | sebasmagri: dafuq?! | 14:42 |
angvp | hobos? hodor! | 14:43 |
* kragniz offers angvp a sandwich | 14:43 | |
flaper87 | angvp: sebasmagri has been lurking here for ages | 14:43 |
flaper87 | kragniz: dafuq ? | 14:43 |
flaper87 | you've NEVER offered me ANYTHING | 14:43 |
vkmc | flaper87, now kragniz is feeding the hobos | 14:44 |
kragniz | flaper87: don't let the hobos starve | 14:44 |
kragniz | what sort of cruel man are you? | 14:44 |
flaper87 | the worst kind | 14:44 |
kragniz | I thought as much | 14:44 |
flaper87 | Darwin would agree with me | 14:44 |
flaper87 | if only he was here :( | 14:44 |
* exploreshaifali offers pizza to flaper87 | 14:45 | |
exploreshaifali | :P | 14:45 |
flaper87 | exploreshaifali: thank you! | 14:45 |
* flaper87 eats it all in one bite | 14:45 | |
exploreshaifali | :D | 14:45 |
flaper87 | now, stop distracting me. I gotta get zigo's patch out there | 14:45 |
vkmc | angvp, so welcome to -zaqar! | 14:46 |
angvp | :) thanks for the warm welcome ;D | 14:47 |
*** mpanetta has joined #openstack-zaqar | 14:55 | |
*** achanda has joined #openstack-zaqar | 15:00 | |
flaper87 | zigo: around? it's actually not as straightforward as I'd have hoped | 15:03 |
flaper87 | zigo: crazy idea but don't kill me | 15:03 |
flaper87 | what if your patch instead of changing zaqar seds over `zaqar/tests/etc/` and replaces all uris ? | 15:04 |
flaper87 | :) | 15:04 |
flaper87 | At least until we refactor tests properly | 15:04 |
flaper87 | not even sure if that'll work for all the cases | 15:11 |
flaper87 | this thing that we require mongodb for the unittests is not good.... not good | 15:12 |
flaper87 | but anyway, you still need it for functional tests | 15:12 |
flaper87 | ok, I'll literally hack something | 15:16 |
*** exploreshaifali has quit IRC | 15:29 | |
*** amitgandhinz has joined #openstack-zaqar | 15:34 | |
flaper87 | zigo: think I found a way around it | 15:34 |
flaper87 | ungly but ... | 15:35 |
flaper87 | I'm just adding more thing that shaifali will have to clean up | 15:35 |
flaper87 | mmh, not sure if what I'm doing actually works | 15:42 |
therve | flaper87, I guess the issue is that we're using config files in the tests, no? | 15:47 |
therve | The port seems to be all over the place | 15:47 |
flaper87 | therve: yeah, I'm hacking it really bad to then do a proper refactor | 15:50 |
flaper87 | I don't think the conf files themselves are bad | 15:50 |
flaper87 | it's more like there are several URLs all over the place | 15:50 |
angvp | flaper87: can I ask why do you need mongo for running the tests? i mean having a factory that returns json is not enough to "simulate" mongo ? | 15:51 |
angvp | (asking from my ignorance on the topic) | 15:52 |
flaper87 | that'd be enough. There's actually something called mockmongo but we haven't had time to adopt it. This happened because we used to have sqlite but when we removed it we simply switched to running tests assuming there was a mongodb installed | 15:53 |
flaper87 | ultimatedly, I think we need to get mock mongo once and for all | 15:53 |
flaper87 | or just keep assuming there's a mongodb installed but we gotta split these unittests better | 15:56 |
*** davideagnello has joined #openstack-zaqar | 15:56 | |
*** dynarro has quit IRC | 15:57 | |
angvp | flaper87: this? https://github.com/vmalloc/mongomock | 15:58 |
flaper87 | yup | 15:58 |
flaper87 | angvp: ^ | 15:58 |
flaper87 | these tests are bad :( | 15:59 |
angvp | flaper87: yeah i was asking if that something called is mongomock :P | 15:59 |
*** kgriffs|afk is now known as kgriffs | 15:59 | |
angvp | flaper87: how hard is it to refactor the tests? | 15:59 |
flaper87 | there are several things to do. We have to merge zaqar/tests into zaqar/zaqar/tests - longer term task - then we need to get rid of all these mongodb:// URIs we have everywhere | 16:01 |
flaper87 | and we need to stop depending on a running mongodb instance | 16:01 |
flaper87 | or at least, we need to be able to easily switch between them | 16:01 |
flaper87 | I don't think it's hard, it's more like tedious but quite urgent | 16:02 |
flaper87 | I guess one step forward would be to have placeholders in the tests configs and replace those values | 16:04 |
angvp | if you invite me ten pizzas next time i'll go to italy i offer to help | 16:06 |
angvp | XD | 16:06 |
angvp | btw brb food | 16:07 |
flaper87 | lol, I'll be happy to | 16:12 |
vkmc | I claim 4 pizzas please | 16:12 |
vkmc | thanks | 16:12 |
* flaper87 should really catch up with email | 16:12 | |
*** amitgandhinz has quit IRC | 16:48 | |
*** amitgandhinz has joined #openstack-zaqar | 16:49 | |
*** dguerri is now known as dguerri`away | 16:58 | |
*** achanda has quit IRC | 17:10 | |
*** achanda_ has joined #openstack-zaqar | 17:10 | |
*** barra204 has quit IRC | 17:26 | |
*** achanda_ has quit IRC | 17:32 | |
*** achanda has joined #openstack-zaqar | 17:33 | |
*** AAzza_ has joined #openstack-zaqar | 17:57 | |
*** AAzza- has joined #openstack-zaqar | 17:58 | |
*** AAzza has quit IRC | 18:00 | |
*** AAzza- is now known as AAzza | 18:00 | |
*** achanda_ has joined #openstack-zaqar | 18:00 | |
*** AAzza_ has quit IRC | 18:02 | |
*** achanda has quit IRC | 18:02 | |
*** malini has quit IRC | 18:04 | |
*** barra204 has joined #openstack-zaqar | 18:08 | |
*** malini has joined #openstack-zaqar | 18:10 | |
*** barra204 has quit IRC | 18:15 | |
*** barra204 has joined #openstack-zaqar | 18:19 | |
*** barra204_ has joined #openstack-zaqar | 18:27 | |
*** barra204 has quit IRC | 18:31 | |
*** malini has quit IRC | 18:39 | |
*** malini has joined #openstack-zaqar | 18:41 | |
*** barra204_ is now known as shakamunyi | 18:52 | |
*** malini has quit IRC | 19:06 | |
*** malini has joined #openstack-zaqar | 19:08 | |
*** malini has quit IRC | 19:12 | |
*** malini has joined #openstack-zaqar | 19:15 | |
*** cknight has quit IRC | 19:15 | |
*** cknight has joined #openstack-zaqar | 19:19 | |
*** achanda_ has quit IRC | 19:23 | |
*** exploreshaifali has joined #openstack-zaqar | 19:25 | |
*** exploreshaifali has quit IRC | 19:37 | |
*** malini has quit IRC | 20:03 | |
*** openstack has joined #openstack-zaqar | 20:05 | |
kfox1111 | I have some prototype code working too. | 20:06 |
kfox1111 | this should help with the Zaqar guest agent use case. | 20:06 |
flaper87 | kfox1111: hey there! | 20:06 |
flaper87 | awesome, will read :) | 20:06 |
flaper87 | thanks for putting time on this | 20:06 |
kfox1111 | thanks for having a look. :) | 20:07 |
kfox1111 | np. glad to help. :) | 20:07 |
kfox1111 | If zaqar could add a per queue acl like barbican is doing, then it might be easy to glue it all together. | 20:08 |
flaper87 | kfox1111: I've been thinking about for a bit. As in, how to implement it | 20:09 |
flaper87 | I think I've an idea but I gotta write it down | 20:09 |
flaper87 | It's more like a per-queue policy | 20:09 |
kfox1111 | yeah. | 20:11 |
kfox1111 | been talking through the api with the barbican folks. they implemented it as a json doc per secret. | 20:12 |
kfox1111 | problematic though with heat. | 20:12 |
kfox1111 | heat really wants resources to be atomic. | 20:12 |
kfox1111 | with the single doc, replace api, then if two vm's are booting and wanting to gain access to the same resource, they race, and one might get dropped. | 20:13 |
kfox1111 | so we're talking about an Put/Delete /resource/<uuid>/acl/<userid> kind of api. | 20:13 |
*** openstack has joined #openstack-zaqar | 20:30 | |
kfox1111 | therve: alive? | 20:39 |
therve | kfox1111, Somewhat! | 20:40 |
kfox1111 | hehe. | 20:40 |
kfox1111 | so.. I asked the nova folks and didn't get a response. | 20:40 |
kfox1111 | I'm thinking there is maybe a second blueprint, or not, for solving the race. | 20:40 |
kfox1111 | an api extention to server create that creates the instance shutdown, | 20:40 |
kfox1111 | and optionally precreates the instance user. | 20:40 |
therve | "creates the instance shutdown" ? | 20:41 |
kfox1111 | that would allow you to create a heat template that creates the instance, gets the userid, registers it with barbican, then starts the instance. | 20:41 |
therve | Oh I see what you mean | 20:41 |
kfox1111 | like virsh create --paused or something. | 20:42 |
therve | Well yeah I wasn't even thinking about the race, just the user retrieval from heat is painful in the current proposal | 20:42 |
kfox1111 | yeah. could be done with wait conditions, but yeah. I was thinking about alternate ways to implement that. | 20:42 |
therve | kfox1111, It seems passing the user would be easier | 20:42 |
kfox1111 | I was hoping they aready had a create stopped, but they dont. | 20:43 |
therve | Although I guess it would mean passing the password which is annoying | 20:43 |
kfox1111 | for policy reasons, I think organizations would be much happier if users didn't get direct access to the instance users credentials. | 20:43 |
kfox1111 | exactly. | 20:43 |
kfox1111 | its more secure in that, any user can't just take the instance user and use it themselves elsewhere. They can login to the vm and get a fresh token, but it wont last forever. | 20:44 |
kfox1111 | I'm thinking of the user that leaves the project use case. | 20:44 |
kfox1111 | do you think I should put these details in the existing spec, or do a follow on spec? I'm worried if Iput it all in one spec, it will seem overly complicated and people won't read it. :/ | 20:45 |
therve | I don't know... As it stands I don't think the solution is really viable. | 20:46 |
kfox1111 | yeah... It could be made to work, but its a lot more work. Ok. I'll amend the spec. | 20:46 |
*** dguerri`away is now known as dguerri | 20:56 | |
*** openstackgerrit has quit IRC | 20:59 | |
*** openstackgerrit has joined #openstack-zaqar | 20:59 | |
kfox1111 | ok. just about done with the new spec updates... | 21:07 |
kfox1111 | anyone know how the spec history stuff at the bottom is intended to work? | 21:08 |
*** mpanetta has quit IRC | 21:13 | |
*** sriram has quit IRC | 21:13 | |
kfox1111 | well, I took a stab at it. :) | 21:16 |
*** amitgandhinz has quit IRC | 21:22 | |
*** shakamunyi has quit IRC | 21:26 | |
*** openstack has joined #openstack-zaqar | 21:32 | |
*** csoukup has quit IRC | 21:32 | |
*** openstackstatus has joined #openstack-zaqar | 21:32 | |
*** ChanServ sets mode: +v openstackstatus | 21:32 | |
*** cknight has quit IRC | 22:17 | |
*** boris-42 has quit IRC | 22:48 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-zaqarclient: Updated from global requirements https://review.openstack.org/135991 | 22:53 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/zaqar: Updated from global requirements https://review.openstack.org/176855 | 22:54 |
*** kfox1111 has quit IRC | 23:09 | |
*** kfox1111 has joined #openstack-zaqar | 23:09 | |
*** exploreshaifali has joined #openstack-zaqar | 23:30 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!