*** rongze has joined #openstack-ironic | 00:51 | |
*** rongze has quit IRC | 00:55 | |
*** yongli has joined #openstack-ironic | 00:57 | |
*** nosnos has joined #openstack-ironic | 01:12 | |
*** nosnos_ has joined #openstack-ironic | 01:21 | |
*** nosnos_ has quit IRC | 01:21 | |
*** nosnos has quit IRC | 01:22 | |
*** nosnos_ has joined #openstack-ironic | 01:22 | |
*** dkehn__ has quit IRC | 01:24 | |
*** dkehn__ has joined #openstack-ironic | 01:25 | |
*** Haomeng has joined #openstack-ironic | 01:37 | |
*** derekh has quit IRC | 01:41 | |
*** rongze has joined #openstack-ironic | 01:51 | |
*** rongze has quit IRC | 01:56 | |
*** yongli has quit IRC | 02:31 | |
*** dkehn__ is now known as dkehn_ | 02:45 | |
openstackgerrit | Jeremy Stanley proposed a change to openstack/ironic: Remove tox locale overrides https://review.openstack.org/72222 | 03:03 |
---|---|---|
openstackgerrit | Jeremy Stanley proposed a change to openstack/python-ironicclient: Remove tox locale overrides https://review.openstack.org/72237 | 03:10 |
*** jbjohnso has quit IRC | 03:20 | |
*** jbjohnso has joined #openstack-ironic | 03:20 | |
*** bearhands is now known as comstud | 03:29 | |
*** harlowja is now known as harlowja_away | 03:30 | |
*** rongze has joined #openstack-ironic | 03:41 | |
*** rongze has quit IRC | 04:50 | |
*** rongze has joined #openstack-ironic | 04:50 | |
*** rongze has quit IRC | 04:55 | |
*** rongze has joined #openstack-ironic | 05:22 | |
*** rongze has quit IRC | 05:27 | |
*** coolsvap has joined #openstack-ironic | 05:38 | |
*** shawal has joined #openstack-ironic | 05:55 | |
*** nosnos has joined #openstack-ironic | 05:56 | |
*** rongze has joined #openstack-ironic | 05:56 | |
*** nosnos has quit IRC | 05:57 | |
*** nosnos has joined #openstack-ironic | 05:58 | |
*** nosnos has quit IRC | 05:58 | |
*** nosnos has joined #openstack-ironic | 05:59 | |
*** nosnos_ has quit IRC | 05:59 | |
openstackgerrit | Jenkins proposed a change to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/71192 | 06:06 |
*** shawal has quit IRC | 06:37 | |
*** shawal has joined #openstack-ironic | 06:43 | |
*** shawal has quit IRC | 06:44 | |
*** shawal has joined #openstack-ironic | 06:45 | |
*** nosnos has quit IRC | 06:47 | |
*** nosnos_ has joined #openstack-ironic | 06:48 | |
*** saju_m has joined #openstack-ironic | 06:53 | |
*** saju_m has quit IRC | 07:00 | |
*** killer_prince has quit IRC | 07:03 | |
*** saju_m has joined #openstack-ironic | 07:16 | |
*** loki_ has joined #openstack-ironic | 07:16 | |
*** igor has joined #openstack-ironic | 07:16 | |
*** igor has quit IRC | 07:20 | |
*** igor has joined #openstack-ironic | 07:21 | |
GheRivero | morning all | 07:33 |
Haomeng | GheRivero: morning:) | 07:37 |
*** aignatov_ is now known as aignatov | 07:37 | |
*** ifarkas has joined #openstack-ironic | 07:44 | |
*** nosnos_ has quit IRC | 08:02 | |
*** nosnos has joined #openstack-ironic | 08:02 | |
*** ekarlso has quit IRC | 08:04 | |
*** lsmola has joined #openstack-ironic | 08:05 | |
*** ekarlso has joined #openstack-ironic | 08:05 | |
*** mdurnosvistov_ has joined #openstack-ironic | 08:09 | |
*** ekarlso has quit IRC | 08:12 | |
*** coolsvap1 has joined #openstack-ironic | 08:13 | |
*** ekarlso has joined #openstack-ironic | 08:13 | |
*** coolsvap has quit IRC | 08:17 | |
*** pleia2 has quit IRC | 08:21 | |
*** romcheg1 has joined #openstack-ironic | 08:22 | |
*** pleia2 has joined #openstack-ironic | 08:23 | |
*** mdurnosvistov_ has quit IRC | 08:26 | |
*** coolsvap1 has quit IRC | 08:33 | |
*** dshulyak has joined #openstack-ironic | 08:48 | |
*** jistr has joined #openstack-ironic | 08:49 | |
*** yuriyz has joined #openstack-ironic | 08:54 | |
*** shawal has quit IRC | 09:06 | |
*** coolsvap has joined #openstack-ironic | 09:08 | |
*** derekh has joined #openstack-ironic | 09:08 | |
*** shawal has joined #openstack-ironic | 09:09 | |
*** mdurnosvistov has quit IRC | 09:18 | |
*** mdurnosvistov has joined #openstack-ironic | 09:18 | |
*** athomas has joined #openstack-ironic | 09:20 | |
*** lucasagomes has joined #openstack-ironic | 09:22 | |
*** coolsvap1 has joined #openstack-ironic | 09:32 | |
*** coolsvap has quit IRC | 09:35 | |
*** pradipta` has joined #openstack-ironic | 09:50 | |
*** pradipta has quit IRC | 09:54 | |
*** mdurnosvistov has quit IRC | 10:02 | |
*** mdurnosvistov has joined #openstack-ironic | 10:03 | |
*** rongze has quit IRC | 10:22 | |
*** aignatov is now known as aignatov_ | 10:22 | |
*** aignatov_ is now known as aignatov | 10:23 | |
*** jrist has quit IRC | 10:24 | |
*** ifarkas has quit IRC | 10:34 | |
*** ifarkas has joined #openstack-ironic | 10:35 | |
*** jrist has joined #openstack-ironic | 10:35 | |
*** coolsvap_ has joined #openstack-ironic | 10:43 | |
*** rongze has joined #openstack-ironic | 10:46 | |
*** coolsvap1 has quit IRC | 10:46 | |
*** coolsvap1 has joined #openstack-ironic | 10:48 | |
*** coolsvap_ has quit IRC | 10:51 | |
*** coolsvap has joined #openstack-ironic | 10:52 | |
*** coolsvap1 has quit IRC | 10:53 | |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic: Rename and update ironic-deploy-helper rootwrap https://review.openstack.org/68340 | 10:57 |
*** loki_ has quit IRC | 11:31 | |
*** ifarkas_ has joined #openstack-ironic | 11:47 | |
*** ifarkas has quit IRC | 11:51 | |
*** pradipta` is now known as pradipta | 11:55 | |
*** pleia2 has quit IRC | 12:01 | |
*** pleia2 has joined #openstack-ironic | 12:02 | |
*** pleia2 has quit IRC | 12:07 | |
*** pleia2 has joined #openstack-ironic | 12:08 | |
*** athomas has quit IRC | 12:37 | |
*** athomas has joined #openstack-ironic | 12:39 | |
*** coolsvap has quit IRC | 12:50 | |
*** mgoddard has joined #openstack-ironic | 12:52 | |
*** dshulyak has quit IRC | 12:53 | |
*** nosnos_ has joined #openstack-ironic | 12:58 | |
*** killer_prince has joined #openstack-ironic | 12:59 | |
*** nosnos has quit IRC | 13:01 | |
*** romcheg1 has quit IRC | 13:02 | |
*** lucasagomes is now known as lucas-hungry | 13:02 | |
*** max_lobur_afk is now known as max_lobur | 13:03 | |
*** nosnos_ has quit IRC | 13:03 | |
*** dshulyak has joined #openstack-ironic | 13:07 | |
*** nosnos has joined #openstack-ironic | 13:07 | |
*** ndipanov has joined #openstack-ironic | 13:11 | |
*** saju_m has quit IRC | 13:12 | |
*** jdob has joined #openstack-ironic | 13:20 | |
*** Alexei_987 has joined #openstack-ironic | 13:25 | |
*** romcheg1 has joined #openstack-ironic | 13:30 | |
openstackgerrit | Andrey Kurilin proposed a change to openstack/python-ironicclient: Reuse exceptions from common code https://review.openstack.org/71500 | 13:33 |
max_lobur | good afternoon lucas-hungry | 13:38 |
max_lobur | FYI https://bugs.launchpad.net/ironic/+bug/1278441 | 13:38 |
max_lobur | RFC says that add op on existing property should silently replace the old value :) | 13:38 |
max_lobur | looks not very handy to me, but we have to follow RFC :) | 13:39 |
*** romcheg has quit IRC | 13:46 | |
*** max_lobur is now known as max_lobur_afk | 13:47 | |
*** romcheg has joined #openstack-ironic | 13:48 | |
*** rongze has quit IRC | 13:52 | |
*** shawal has quit IRC | 13:53 | |
*** aignatov is now known as aignatov_ | 13:56 | |
lucas-hungry | max_lobur_afk, afternoon :) | 14:01 |
lucas-hungry | max_lobur_afk, +1, we need to change that | 14:01 |
*** lucas-hungry is now known as lucasagomes | 14:01 | |
*** romcheg1 has quit IRC | 14:07 | |
*** max_lobur_afk is now known as max_lobur | 14:27 | |
romcheg | Hi folks! | 14:28 |
GheRivero | max_lobur: nice! although not very intuitive | 14:29 |
*** rongze has joined #openstack-ironic | 14:29 | |
romcheg | I tried to run unit tests on the latest master with a fresh venv but some of them fail | 14:29 |
romcheg | Does anyone have the same problem? | 14:29 |
GheRivero | romcheg: not this morning | 14:29 |
*** jistr has quit IRC | 14:29 | |
max_lobur | morning/afternoon all | 14:30 |
romcheg | Maybe the problem is that I launch tests using nose | 14:30 |
max_lobur | romcheg, I had problems last friday, tox was not able to rebuild env | 14:30 |
max_lobur | today I started it again, didn't finish yet | 14:31 |
GheRivero | rebuilding again... just in case | 14:32 |
*** aignatov_ is now known as aignatov | 14:33 | |
*** sirushti has left #openstack-ironic | 14:35 | |
lucasagomes | morning GheRivero romcheg max_lobur :) | 14:37 |
lucasagomes | or afternoon ^^ | 14:37 |
romcheg | Morning lucasagomes | 14:37 |
romcheg | How are you? | 14:37 |
max_lobur | is jenkins currently starts another round of checking after each comment to the patch? | 14:37 |
lucasagomes | romcheg, all is well, no more jetlag :D urself? | 14:38 |
lucasagomes | max_lobur, yea I kinda noticed that as well, weird isn't it? | 14:38 |
romcheg | Looking forward for my vacation next week :) | 14:38 |
lucasagomes | idk why it's doing that | 14:38 |
lucasagomes | romcheg, oh niiice! | 14:39 |
lucasagomes | romcheg, r u going to travel? | 14:39 |
romcheg | lucasagomes: Yes, this time it will be Poland | 14:39 |
*** jistr has joined #openstack-ironic | 14:39 | |
lucasagomes | romcheg, awesome! (only being to krakow but really liked it) | 14:40 |
romcheg | Although it's close to Ukraine and we have a lot of common things in culture and language I've never seriously been there | 14:40 |
max_lobur | lucasagomes, yep, looks not very optimal :) | 14:40 |
lucasagomes | romcheg, heh I was close to ask about the lang heh | 14:41 |
romcheg | lucasagomes: I mostly understand written and spoken Polish but can say nothing :) | 14:42 |
lucasagomes | the only thing I remember in polish is piwo (beer) | 14:42 |
max_lobur | lol | 14:42 |
lucasagomes | romcheg, I see :D | 14:43 |
romcheg | lucasagomes: Just like I do with German. I can only order "two more beers" and then ask where the restroom is :) | 14:44 |
max_lobur | in russian / ukrainian it's pivo, so you can count to have a beer once you're here :) | 14:44 |
lucasagomes | max_lobur, hah thanks for that, I think I'm ready to survive in ukraine/russia now :D | 14:46 |
*** ndipanov has quit IRC | 14:47 | |
NobodyCam | Good morning Ironic | 14:47 |
lucasagomes | NobodyCam, morning! how was the weekend? loads of pivo? | 14:47 |
max_lobur | :D | 14:47 |
NobodyCam | :-p | 14:47 |
romcheg | Morning NobodyCam | 14:47 |
NobodyCam | was noce and slow | 14:47 |
NobodyCam | morning lucasagomes and romcheg | 14:48 |
NobodyCam | nice even | 14:48 |
GheRivero | pivo? Same in crotatian | 14:48 |
romcheg | I think it's the same in the most of Eastern Europe | 14:49 |
max_lobur | lucasagomes, how about to film a series of shows surviving in various counties of the world ? | 14:49 |
max_lobur | Beer Grylls | 14:49 |
max_lobur | :D | 14:49 |
lucasagomes | lol | 14:49 |
romcheg | Beer + Grills | 14:49 |
*** matsuhashi has joined #openstack-ironic | 14:49 | |
*** shortstop has joined #openstack-ironic | 14:49 | |
max_lobur | hah, indeed :D | 14:49 |
max_lobur | morning NobodyCam | 14:50 |
romcheg | max_lobur, lucasagomes: someone has done that already http://www.feorag.com/assets_c/2013/07/Eurobeer-map-919.html | 14:51 |
max_lobur | lol | 14:51 |
GheRivero | nice! I want the android app for it :) | 14:52 |
max_lobur | :D | 14:52 |
lucasagomes | cool! | 14:53 |
lucasagomes | GheRivero, http://ukdataexplorer.com/european-translator/?word=beer | 14:54 |
GheRivero | romcheg: just tested with a fresh env and no problem with the tests | 15:00 |
*** saju_m has joined #openstack-ironic | 15:02 | |
*** saju_m has quit IRC | 15:03 | |
*** saju_m has joined #openstack-ironic | 15:04 | |
openstackgerrit | Eugeniya Kudryashova proposed a change to openstack/python-ironicclient: Use HTTPClient from common Oslo code https://review.openstack.org/64286 | 15:06 |
*** max_lobur is now known as max_lobur_afk | 15:07 | |
*** rwsu has joined #openstack-ironic | 15:17 | |
*** max_lobur_afk is now known as max_lobur | 15:18 | |
romcheg | GheRivero: I tried it with testr and it worked | 15:19 |
romcheg | nose failed | 15:19 |
max_lobur | yep, my tox -e py26 just passed too | 15:20 |
*** matty_dubs|gone is now known as matty_dubs | 15:23 | |
*** rongze has quit IRC | 15:25 | |
openstackgerrit | Andrey Kurilin proposed a change to openstack/python-ironicclient: Sync latest code and reuse exceptions from oslo https://review.openstack.org/71500 | 15:27 |
openstackgerrit | Yuriy Zveryanskyy proposed a change to openstack/ironic: Add timeout for waiting callback in PXE driver https://review.openstack.org/72395 | 15:32 |
*** rloo has joined #openstack-ironic | 15:32 | |
*** matsuhashi has quit IRC | 15:37 | |
*** nosnos has quit IRC | 15:37 | |
*** nosnos has joined #openstack-ironic | 15:37 | |
*** matsuhashi has joined #openstack-ironic | 15:37 | |
*** saju_m has quit IRC | 15:37 | |
*** saju_m has joined #openstack-ironic | 15:39 | |
NobodyCam | lucasagomes: I failed when I pushed up the new patch for 71026.. I tried to set dependency on 72007 but seems it do what I thought | 15:51 |
NobodyCam | anyhow have you seen https://review.openstack.org/#/c/72007/ | 15:51 |
NobodyCam | :-p | 15:51 |
lucasagomes | NobodyCam, lemme take a look :D | 15:52 |
lucasagomes | nice! | 15:53 |
lucasagomes | NobodyCam, I can try to set the dependency | 15:53 |
NobodyCam | :-p | 15:53 |
lucasagomes | ahh | 15:53 |
lucasagomes | the problem is, the driver would need to depend on that | 15:54 |
NobodyCam | not sure what I did wrong | 15:54 |
NobodyCam | ahh | 15:54 |
lucasagomes | or not hmm (thinking) | 15:54 |
lucasagomes | the driver also should depend on the host manager patch no? | 15:54 |
NobodyCam | I know there are issues with multi dependencies | 15:55 |
lucasagomes | yup | 15:55 |
NobodyCam | brb .. mak'n second cup of joe | 15:55 |
*** rsacharya has joined #openstack-ironic | 15:56 | |
*** rongze has joined #openstack-ironic | 15:56 | |
openstackgerrit | Rohan Kanade proposed a change to openstack/ironic: Implement the SeaMicro Power driver https://review.openstack.org/70719 | 15:58 |
openstackgerrit | Rohan Kanade proposed a change to openstack/ironic: Implements SeaMicro VendorPassThru functionality https://review.openstack.org/70720 | 15:58 |
*** aignatov is now known as aignatov_ | 16:02 | |
*** rongze has quit IRC | 16:06 | |
*** nosnos has quit IRC | 16:06 | |
*** matsuhashi has quit IRC | 16:07 | |
*** ifarkas_ has quit IRC | 16:12 | |
*** aignatov_ is now known as aignatov | 16:16 | |
*** thedodd has joined #openstack-ironic | 16:19 | |
*** mrda_away is now known as mrda | 16:22 | |
NobodyCam | walkies time...bbiafm | 16:30 |
*** jdob has quit IRC | 16:32 | |
*** jdob_ has joined #openstack-ironic | 16:32 | |
*** ndipanov has joined #openstack-ironic | 16:33 | |
*** jistr has quit IRC | 16:33 | |
*** jistr has joined #openstack-ironic | 16:34 | |
openstackgerrit | Andrey Kurilin proposed a change to openstack/python-ironicclient: Sync cliutils from oslo https://review.openstack.org/72417 | 16:44 |
openstackgerrit | Andrey Kurilin proposed a change to openstack/python-ironicclient: Reuse cliutils from common code https://review.openstack.org/72418 | 16:45 |
*** igor has quit IRC | 16:47 | |
*** igor has joined #openstack-ironic | 16:47 | |
lucasagomes | NobodyCam, have you seem it? http://paste.openstack.org/show/63930/ | 16:48 |
* NobodyCam looks | 16:49 | |
lucasagomes | trying to generate a new sample conf for nova | 16:49 |
lucasagomes | so it won't fail on the gate | 16:50 |
NobodyCam | lucasagomes: no I have not seen that one | 16:50 |
lucasagomes | NobodyCam, hmm when you generated ur config file | 16:50 |
lucasagomes | it just worked? | 16:50 |
lucasagomes | wondering if I need to be inside a venv somehow | 16:50 |
NobodyCam | last time ya.. | 16:50 |
NobodyCam | oh did you try source .tox/blah/blah/actavate | 16:51 |
*** igor has quit IRC | 16:52 | |
lucasagomes | I think that's what I'm missing | 16:53 |
devananda | morning, all! | 16:58 |
* devananda reads scrollback while making second cup of coffee | 16:58 | |
*** rongze has joined #openstack-ironic | 16:58 | |
*** saju_m has quit IRC | 16:59 | |
NobodyCam | good morning devananda :) | 17:00 |
lucasagomes | morning devananda | 17:02 |
mrda | morning! | 17:03 |
NobodyCam | morning mrda :) | 17:03 |
*** rongze has quit IRC | 17:04 | |
*** saju_m has joined #openstack-ironic | 17:04 | |
lucasagomes | morning mrda | 17:04 |
max_lobur | morning mrda and devananda | 17:10 |
*** rsacharya has quit IRC | 17:11 | |
devananda | lucasagomes, max_lobur - did you see my patch to add our API to apache? | 17:12 |
devananda | i had to do that in order to test mutlithreaded conductor | 17:12 |
lucasagomes | devananda, oh haven't seem that yet | 17:13 |
lucasagomes | will take a look | 17:13 |
devananda | afaict, ironic-api is single-threaded because it's based on wsgiref. i was not able to finda way to make wsgiref multithread | 17:13 |
devananda | and other services' APIs are typicallyd eployed under Apache in production environments anyway | 17:13 |
*** coolsvap has joined #openstack-ironic | 17:14 | |
devananda | https://review.openstack.org/#/c/72069/ | 17:15 |
*** ifarkas_ has joined #openstack-ironic | 17:15 | |
*** matty_dubs is now known as matty_dubs|lunch | 17:16 | |
max_lobur | devananda, I haven't yet too | 17:18 |
max_lobur | will take a look today | 17:18 |
max_lobur | single threaded doesn't mean single-greenthreaded right? | 17:19 |
*** saju_m has quit IRC | 17:19 | |
devananda | max_lobur: in all my testing, the API was serializing requests | 17:20 |
devananda | if I put a time.sleep() inside of the ConductorManager, the API will block | 17:20 |
devananda | this poses a problem for testing your patch 69135 | 17:21 |
max_lobur | in other words - currently it's queues requests instead of serving parallel, right? | 17:21 |
devananda | yes | 17:21 |
devananda | ironic-api seems to be queing incoming requests and waiting (blocking) on RPC calls | 17:21 |
*** digambar has joined #openstack-ironic | 17:22 | |
NobodyCam | open question, Anyone have any thing that needs to go on the agenda? | 17:22 |
devananda | even with greenthreads, it probably shouldn't be doing that, but for taking advantage of multi-CPU servers in production, folks will want to use Apache anyway | 17:22 |
max_lobur | yea, looks not good | 17:22 |
max_lobur | devananda, + | 17:22 |
devananda | NobodyCam: I'd like us to talk about I3, feature freeze, what work / reviews we need to prioritize, and what folks think we can realistically land when | 17:24 |
*** Alexei_987 has quit IRC | 17:24 | |
NobodyCam | devananda: ack | 17:24 |
*** aignatov is now known as aignatov_ | 17:27 | |
* mrda needs to schedule coming to the meeting | 17:30 | |
*** martyntaylor has joined #openstack-ironic | 17:30 | |
NobodyCam | mrda: We aould love to have you there | 17:31 |
NobodyCam | mrda: agenda can always be found at : https://wiki.openstack.org/wiki/Meetings/Ironic#Agenda_for_next_meeting | 17:32 |
*** saju_m has joined #openstack-ironic | 17:32 | |
*** romcheg1 has joined #openstack-ironic | 17:33 | |
NobodyCam | gitt'n mo coffee | 17:33 |
* mrda it's ok this week (am in Utah) but going forward it's 5:30am for me (home town is ADL) | 17:33 | |
mrda | but I'll try and make it :) | 17:34 |
devananda | max_lobur: on 69135, let's extrapolate this to all the other async operations we do today | 17:34 |
devananda | max_lobur: and let's think, what is the cost & the benefit to calling validate() in each of them? | 17:34 |
*** jistr has quit IRC | 17:34 | |
devananda | max_lobur: eg, just to turn the power on/off, do we really need to tickle the node first? with SSHPower, this will make an SSH connection and close it, just to test connectivity | 17:35 |
devananda | max_lobur: but we'd know about that failure during the change_power_staet anyway, and log it in node.last_error | 17:35 |
*** jistr has joined #openstack-ironic | 17:35 | |
lucasagomes | devananda, on ur apache patch, I see ceilometer has something similar to that, and they also have a documentation teaching hw to install the api behind mod_wsgi (https://github.com/openstack/ceilometer/blob/master/doc/source/install/mod_wsgi.rst) | 17:36 |
*** romcheg1 has quit IRC | 17:37 | |
devananda | max_lobur: and same for IPMI power drivers. we're putting several TCP RTTs in the synchronous part of "tell the conductor to start this async work" | 17:37 |
devananda | max_lobur: and i dont think we're gaining anything from it | 17:37 |
lucasagomes | devananda, also the name apache2, it's debianism (on redhat systems it would be called httpd, /etc/httpd/...) | 17:37 |
devananda | max_lobur: L45 of https://review.openstack.org/#/c/69135/4/ironic/conductor/utils.py | 17:38 |
max_lobur | devananda, I agree, I was going to start refactoring other ones once we agreed that 69135 is good | 17:38 |
* max_lobur looking | 17:38 | |
devananda | lucasagomes: yep, and yep | 17:39 |
mrda | Here's an easy review for some +2's :-) https://review.openstack.org/#/c/71486/ | 17:39 |
lucasagomes | devananda, heh mind copying there doc to our doc? | 17:39 |
lucasagomes | on that patch I think it's quite useful | 17:40 |
max_lobur | devananda, when we discussed this the last time | 17:40 |
max_lobur | I think our main point for synchronous validation was https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L121-L128 | 17:40 |
devananda | max_lobur: yep | 17:41 |
max_lobur | so this should still be done synchronously right? | 17:42 |
max_lobur | I was going to move these lines to validation as well | 17:42 |
devananda | max_lobur: if we remove that check from the API side, and DONT add it anywhere else, what happens ... | 17:42 |
max_lobur | (If we don't have them there yet) | 17:42 |
devananda | max_lobur: i think all we need is user to get synchronous feedback as to whether the task_manager lock was acquired or not | 17:43 |
devananda | "did my request get received and started? if not, retry" | 17:43 |
max_lobur | well, partially | 17:44 |
max_lobur | failed validation doesn't mean started.. | 17:44 |
max_lobur | or it does :) | 17:44 |
devananda | there's multiple "validation" that we could be referring to here, so lets clarify | 17:44 |
max_lobur | need to decide what meaning do we want | 17:44 |
devananda | driver.power.validate --> can this node be controlled. if this is going to fail during driver.power.change_power_state, it should definitely go in last_error | 17:45 |
max_lobur | k, so driver.power.validate should be async | 17:45 |
devananda | because we may lose that ability at any point in time, even if driver.power.validate() passed 1 second ago, due to network failure, etc | 17:45 |
devananda | "is the input correct?" --> API should still enforce input validation, eg. for the requested power state, etc | 17:46 |
max_lobur | hmm true | 17:46 |
lucasagomes | I think the only validation that _really_ needs to be sync is the vendor interface | 17:46 |
max_lobur | devananda, + | 17:46 |
lucasagomes | the others can be async | 17:46 |
lucasagomes | we were thinking about making that sync because it's more convinient (better feedback for the client) | 17:47 |
max_lobur | RE because we may lose that ability at any point in time, even if driver.power.validate() passed 1 second ago, due to network failure, etc | 17:47 |
lucasagomes | but they could be async and use the last error (both power and provision) | 17:47 |
max_lobur | this may be applied to both sync and async validation | 17:47 |
NobodyCam | another easy one looking for a +a https://review.openstack.org/#/c/70789 | 17:48 |
*** mdurnosvistov_ has joined #openstack-ironic | 17:48 | |
max_lobur | never possible to guarantee that if server says it has started a task then it will definitely finish it. Anything can happen | 17:48 |
devananda | lucasagomes: i agree that vendor interface needs to do a degree of synchronous validation -- is the request a known method, with the appropriate args, etc | 17:49 |
devananda | lucasagomes: eg. the stuff I added in the multiplex example | 17:49 |
max_lobur | lucasagomes, devananda + | 17:49 |
lucasagomes | devananda, yes | 17:49 |
devananda | lucasagomes: but I don't think any of the driver interfaces should, while holding a lock, reach out and tickle the machine to validate that it can perform something, then in the same lock, go do it | 17:49 |
lucasagomes | but if we make power + provision async | 17:49 |
devananda | we should just do it -- and handle the error reasonably | 17:50 |
lucasagomes | do you we need to use the greenthreads approach at all? or just use cast()? | 17:50 |
devananda | because ultimately, there's no guarantee that, even in the same lock, between validate() and do() it's still going to work | 17:50 |
*** jistr has quit IRC | 17:50 | |
devananda | max_lobur: right - can't guarantee it will finish | 17:50 |
devananda | max_lobur: the point of using threadpool is to guarantee to user that work *started* | 17:51 |
devananda | user should check return code | 17:51 |
devananda | 202 = ok, work started | 17:51 |
lucasagomes | NobodyCam, I think u can go ahead and +a that :) | 17:51 |
lucasagomes | NobodyCam, there's 2 +2 now | 17:52 |
NobodyCam | YA just wanted the newbees to have a chance :-p | 17:52 |
max_lobur | :) | 17:52 |
lucasagomes | NobodyCam, ah, fair enough :) | 17:52 |
devananda | 409 - temporary conflict. please retry | 17:53 |
max_lobur | 3rd +2 landed | 17:53 |
devananda | max_lobur: so this way, clients like the nova driver can handle when there is a temporary conflict with eg. a periodic_task | 17:53 |
NobodyCam | max_lobur: feel the power :-p lol.... | 17:53 |
max_lobur | :D | 17:54 |
max_lobur | devananda, so, anyway we still have some parts of validation for sync right? | 17:54 |
max_lobur | like if rpc_node.target_power_state is not None: | 17:55 |
max_lobur | or vendor methods | 17:55 |
devananda | yep | 17:55 |
max_lobur | maybe to have have two-stage validation in conductor | 17:55 |
lucasagomes | NobodyCam, Ironic driver has a new patch-set #20, with all tests and some refactors | 17:57 |
mrda | NobodyCam and lucasagomes: you guys are aweseome! \o/ | 17:57 |
lucasagomes | NobodyCam, tested here and it's working, so I'll leave it open for reviews | 17:58 |
NobodyCam | lucasagomes: AWESOME!!!!! | 17:58 |
mrda | and you too devananda :) | 17:58 |
*** igor_ has joined #openstack-ironic | 17:58 | |
*** matty_dubs|lunch is now known as matty_dubs | 17:58 | |
*** harlowja_away is now known as harlowja | 17:58 | |
*** martyntaylor has quit IRC | 17:59 | |
max_lobur | devananda, lucasagomes so for change_power_state: | 17:59 |
lucasagomes | mrda, :D thank u for fixing that! | 17:59 |
max_lobur | 1. if rpc_node.target_power_state is not None: - sync | 17:59 |
max_lobur | 2. Anything else - async | 17:59 |
max_lobur | makes sense? | 17:59 |
lucasagomes | makes sense... just wondering about the complexity we are adding in order to make a simply check like that (checking whether the target_power_state is None) | 18:00 |
max_lobur | the main point of CALL is lock tracking | 18:00 |
max_lobur | that's why we agree on that complexity | 18:01 |
max_lobur | or trying to agree :) | 18:01 |
devananda | yep | 18:01 |
lucasagomes | yup yea I understand and agree as well | 18:01 |
devananda | main point for me is: return 202 to user when a conductor has actually started the work | 18:01 |
lucasagomes | but makes me wonder whether we would find a simpler solution | 18:02 |
max_lobur | yup | 18:02 |
*** derekh has quit IRC | 18:02 | |
devananda | FWIW, this isn't a permanent solution | 18:02 |
lucasagomes | devananda, yea there's also that, because in cast() u dunno if the message was delivered | 18:02 |
*** igor_ has quit IRC | 18:02 | |
lucasagomes | devananda, +1 | 18:02 |
max_lobur | devananda, + | 18:02 |
devananda | it solves the problem we have today where a client doesn't know if their requested action got dropped completely | 18:02 |
devananda | cast + oh-noes-i-couldnt-get-taskmanager-lock | 18:03 |
devananda | == lost requests | 18:03 |
max_lobur | :) | 18:03 |
lucasagomes | heh yea, well it can be tracked by looking at the states | 18:03 |
lucasagomes | I mean cast() pool the states for a while | 18:03 |
lucasagomes | check if the target_*_state is now set with the state requested | 18:03 |
lucasagomes | but it's a lot on the clients back | 18:03 |
max_lobur | yea, doubles workload | 18:04 |
lucasagomes | yea | 18:04 |
devananda | that is not a functional API | 18:04 |
devananda | i mean, dropping requests silently on a regular basis is not a functional service | 18:05 |
max_lobur | so, the final verdict for change node power state: | 18:05 |
max_lobur | 1. if rpc_node.target_power_state is not None: - sync 2. Anything else - async | 18:05 |
lucasagomes | ack for me | 18:06 |
devananda | max_lobur: so, when will (1) ever be true inside of a task_manager lock? | 18:06 |
max_lobur | we can do it outside of lock | 18:07 |
lucasagomes | call() -> check the target_power_state -> spawn the greenthread -> return | 18:07 |
max_lobur | it doesn't require lock | 18:07 |
devananda | actually, nvm -- someone could implement a driver differently. yea, do that outside of lock and ++ from me | 18:07 |
max_lobur | but.. | 18:07 |
max_lobur | another race :) | 18:07 |
devananda | right. that's why i asked | 18:07 |
max_lobur | yep, should be inside of lock | 18:07 |
max_lobur | currently I don't see other way to prevent race with target_power_state | 18:08 |
max_lobur | maybe db transaction - but it's the same | 18:08 |
max_lobur | just more complex to read | 18:08 |
lucasagomes | yea I was thinking about testing after the lock | 18:09 |
devananda | max_lobur: https://github.com/openstack/ironic/blob/master/ironic/conductor/utils.py#L87 | 18:09 |
lucasagomes | the sync will do 2 things: test if we can get a lock and if the target_node_state is already set... both would return 409 | 18:09 |
lucasagomes | rest async | 18:09 |
devananda | max_lobur: so target_power_state should always be set to None before lock is released, regardless of success or failure of the power driver | 18:09 |
*** romcheg1 has joined #openstack-ironic | 18:10 | |
*** ifarkas_ has quit IRC | 18:10 | |
devananda | max_lobur: so checking it inside of lock is not going to do anything -- if we got the lock, and target_power_state is not none -- it means we hit a bug or a conductor has crashed somewhere else and left a lock open | 18:10 |
devananda | s/and left a lock open// | 18:10 |
devananda | we hit a bug | 18:10 |
max_lobur | hmm | 18:10 |
max_lobur | you're right | 18:10 |
max_lobur | very true | 18:10 |
max_lobur | so how do you guys think | 18:11 |
max_lobur | what should we do if we have node dropped in the middle of power change | 18:11 |
max_lobur | let's assume it remain powered on | 18:12 |
max_lobur | but targed_power_state is off | 18:12 |
*** saju_m has quit IRC | 18:12 | |
max_lobur | how should we process f.e. reboot request for that? | 18:12 |
devananda | max_lobur: so, in that case, node.reservation is not None | 18:12 |
devananda | lock is left open | 18:12 |
max_lobur | true | 18:12 |
devananda | what should happen is, when taht conductor's heartbeat times out | 18:12 |
devananda | the node is remapped onto the ring, another cdr takes over | 18:13 |
*** martyntaylor has joined #openstack-ironic | 18:13 | |
devananda | and triggers the "take over" code path | 18:13 |
devananda | which hasn't been written yet -- but that code will recognize a power operation was in progress | 18:13 |
devananda | target_power_state != None && target_power_state != current_power_state | 18:13 |
devananda | and so it will try to finish the task | 18:13 |
max_lobur | cool | 18:14 |
lucasagomes | hmm that also makes me think if breaking the lock also would need to restart the target_*states | 18:14 |
lucasagomes | restart I mean set to None | 18:14 |
max_lobur | so, for change power state - nothing left for async validation | 18:14 |
devananda | lucasagomes: so this is where automatic lock breaking during takeover makes a lot of sense | 18:14 |
devananda | lucasagomes: and where exposing it in API gets really awkward | 18:14 |
max_lobur | * for sync | 18:14 |
devananda | max_lobur: right. just take the lock sync, then start all work asycn | 18:15 |
max_lobur | devananda, + | 18:15 |
lucasagomes | devananda, yea | 18:15 |
devananda | max_lobur: and log any errors in node.last_error | 18:15 |
max_lobur | yup | 18:15 |
max_lobur | call() -> acquire lock -> spawn the greenthread -> return 202 | 18:15 |
devananda | max_lobur: for deploy, i think it is the same. only vendor_passthru is really going to need sync request validation to determine if the requested method even exists | 18:16 |
devananda | that part of API is undefined, so we should let users know when they make unsupported requests | 18:16 |
devananda | rather than just 202 and drop them on the back end... | 18:16 |
devananda | max_lobur: yes | 18:16 |
*** athomas has quit IRC | 18:16 | |
max_lobur | k, I'll update my patch | 18:17 |
max_lobur | lucasagomes, call() -> acquire lock -> spawn the greenthread -> return 202 | 18:17 |
max_lobur | makes sense to you? | 18:17 |
lucasagomes | yup makes sense | 18:17 |
max_lobur | cool :) | 18:17 |
lucasagomes | if node is already locked make sure it does return 409 | 18:17 |
max_lobur | yup, Node locked exception is a child of Conflict | 18:18 |
max_lobur | which is 409 | 18:18 |
lucasagomes | :) | 18:18 |
max_lobur | k guys, I'll join meeting from home | 18:19 |
max_lobur | will back in ~40 minutes | 18:19 |
NobodyCam | :) | 18:20 |
max_lobur | will back just in time :D | 18:20 |
devananda | bbiab as well | 18:22 |
*** rloo has quit IRC | 18:22 | |
*** max_lobur is now known as max_lobur_afk | 18:23 | |
*** lucasagomes is now known as lucas-afk | 18:26 | |
*** saju_m has joined #openstack-ironic | 18:29 | |
*** wusWWW has joined #openstack-ironic | 18:29 | |
NobodyCam | t minus 30 | 18:30 |
*** rwsu has quit IRC | 18:36 | |
*** jdob_ has quit IRC | 18:37 | |
*** jdob has joined #openstack-ironic | 18:37 | |
*** zigo has quit IRC | 18:45 | |
*** aignatov_ is now known as aignatov | 18:46 | |
NobodyCam | t minus 14 | 18:46 |
romcheg1 | *is trying to get home in time* | 18:48 |
NobodyCam | heehe | 18:49 |
*** zigo has joined #openstack-ironic | 18:49 | |
*** rwsu has joined #openstack-ironic | 18:51 | |
*** JoshNang has joined #openstack-ironic | 18:51 | |
*** saju_m has quit IRC | 18:51 | |
*** saju_m has joined #openstack-ironic | 18:52 | |
*** rloo has joined #openstack-ironic | 18:53 | |
*** haomeng2 has joined #openstack-ironic | 18:54 | |
NobodyCam | t - 5 | 18:55 |
matty_dubs | openstack-meeting-alt? | 18:55 |
* matty_dubs can never remember which meetings are in -alt and which aren't | 18:55 | |
NobodyCam | - #openstack-meeting | 18:56 |
matty_dubs | Ah, thanks | 18:56 |
NobodyCam | :) | 18:56 |
jroll | NobodyCam: this meeting is on goals for I3 etc, right? | 18:56 |
NobodyCam | jroll: https://wiki.openstack.org/wiki/Meetings/Ironic#Agenda_for_next_meeting | 18:56 |
jroll | thanks | 18:56 |
NobodyCam | ^^ is full agenda | 18:56 |
NobodyCam | i3 is on there | 18:57 |
jroll | yep | 18:57 |
devananda | lucas-afk: re: 70863, do you feel it needs another iteration, or just add tests in a second patch? If so, can you give some feedback on the review about what tests you feel are missing? | 18:57 |
*** saju_m has quit IRC | 18:58 | |
*** max_lobur_cell has joined #openstack-ironic | 18:58 | |
*** lucas-afk is now known as lucasagomes | 18:59 | |
NobodyCam | t - 1 | 18:59 |
NobodyCam | wb lucasagomes / devananda | 18:59 |
max_lobur_cell | Still on road :-/ | 18:59 |
NobodyCam | :-P | 18:59 |
max_lobur_cell | But here :) | 18:59 |
* NobodyCam heads over to other channel | 19:00 | |
lucasagomes | devananda, will do | 19:00 |
lucasagomes | going to the meeting | 19:00 |
*** max_lobur_cell has quit IRC | 19:12 | |
*** digambar has quit IRC | 19:19 | |
*** martyntaylor has quit IRC | 19:24 | |
*** epim has joined #openstack-ironic | 19:25 | |
*** thedodd has quit IRC | 19:30 | |
openstackgerrit | A change was merged to openstack/python-ironicclient: Fix node-create help requiring chassis uuid https://review.openstack.org/70789 | 19:32 |
openstackgerrit | A change was merged to openstack/ironic: Ensure parameter order of assertEqual correct https://review.openstack.org/71486 | 19:33 |
*** saju_m has joined #openstack-ironic | 19:38 | |
*** haomeng2 has quit IRC | 19:46 | |
*** zigo has quit IRC | 19:48 | |
*** Haomeng has left #openstack-ironic | 19:54 | |
*** Haomeng has joined #openstack-ironic | 19:55 | |
*** rongze has joined #openstack-ironic | 19:59 | |
NobodyCam | Great meeting all | 20:00 |
*** max_lobur has joined #openstack-ironic | 20:00 | |
Haomeng | :) | 20:00 |
*** Wanyen has joined #openstack-ironic | 20:00 | |
lucasagomes | thanks all | 20:00 |
max_lobur | so | 20:00 |
lucasagomes | so devananda max_lobur | 20:00 |
max_lobur | get rid of dict interface | 20:00 |
devananda | Wanyen: welcome! :) | 20:01 |
Wanyen | Thanks! | 20:01 |
lucasagomes | it's not that we need it, but I think it would be nice to modify the objects/base.py for preventing other people from using the dict-like behavior for e.g | 20:01 |
*** saju_m has quit IRC | 20:01 | |
max_lobur | IIRC we agreed that we will merge them | 20:01 |
lucasagomes | ack | 20:01 |
max_lobur | except last | 20:01 |
max_lobur | which removes dict interface | 20:01 |
*** openstack has joined #openstack-ironic | 21:32 | |
* devananda heads out to a dentist appt.... bbl | 21:32 | |
NobodyCam | i'd say enjoy but.... | 21:33 |
NobodyCam | :-p | 21:33 |
devananda | :p | 21:34 |
*** martyntaylor has joined #openstack-ironic | 21:37 | |
max_lobur | :D | 21:40 |
*** martyntaylor has left #openstack-ironic | 21:42 | |
*** jrist has quit IRC | 21:44 | |
*** aignatov is now known as aignatov_ | 21:50 | |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic: Move _set_boot_device to VendorPassthru class https://review.openstack.org/71585 | 21:56 |
*** aignatov_ is now known as aignatov | 21:57 | |
*** jrist has joined #openstack-ironic | 21:58 | |
*** jrist has quit IRC | 22:09 | |
*** jdob has quit IRC | 22:18 | |
*** aignatov is now known as aignatov_ | 22:34 | |
*** lucas-dinner has quit IRC | 22:40 | |
NobodyCam | brb | 22:41 |
*** max_lobur1 has joined #openstack-ironic | 22:44 | |
*** max_lobur has quit IRC | 22:46 | |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic: Move ipminative _set_boot_device to VendorPassthru https://review.openstack.org/72495 | 22:46 |
*** mdurnosvistov_ has quit IRC | 22:52 | |
*** rongze has joined #openstack-ironic | 22:57 | |
*** pquerna has joined #openstack-ironic | 22:59 | |
*** rongze has quit IRC | 23:02 | |
*** romcheg1 has quit IRC | 23:04 | |
NobodyCam | walkies time | 23:07 |
NobodyCam | bbiafm | 23:07 |
*** thedodd has quit IRC | 23:13 | |
*** matty_dubs is now known as matty_dubs|gone | 23:22 | |
*** jog0 has joined #openstack-ironic | 23:38 | |
jog0 | devananda: https://review.openstack.org/#/c/58940/ | 23:38 |
*** max_lobur1 has quit IRC | 23:39 | |
jog0 | hoping to get a +1 from one of the ironic cores | 23:39 |
NobodyCam | lol it had one from me :-p | 23:46 |
NobodyCam | but I don't have a esxi test env atm | 23:47 |
*** rloo has quit IRC | 23:47 | |
*** mrda is now known as mrda_away | 23:50 | |
mrda_away | time to go, ttyall tomorrow | 23:51 |
NobodyCam | night mrda_away | 23:51 |
NobodyCam | :) | 23:51 |
*** ndipanov has quit IRC | 23:57 | |
NobodyCam | jog0: do you happen to know if vim-cmd is installed by default | 23:57 |
*** rongze has joined #openstack-ironic | 23:57 | |
devananda | jog0: i can't speak to the VMware specific commands therein, but the approach looks sound and he's fixed my earlier -1 | 23:59 |
devananda | jog0: also, i thought ya'll were moving away from using \ to extend lines? | 23:59 |
devananda | there's several of those | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!