*** hemna has quit IRC | 00:27 | |
*** matsuhashi has joined #openstack-ironic | 00:28 | |
openstackgerrit | Chris Krelle proposed a change to openstack/ironic: Let ipmitool natively retry commands https://review.openstack.org/96902 | 00:44 |
---|---|---|
openstackgerrit | A change was merged to openstack/ironic: TaskManager: Only support single node locking https://review.openstack.org/91419 | 01:05 |
openstackgerrit | A change was merged to openstack/ironic: Remove 'node' parameter from the Console and Rescue interfaces https://review.openstack.org/91097 | 01:05 |
*** ellenh has quit IRC | 01:07 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/ironic: Updated from global requirements https://review.openstack.org/96228 | 01:32 |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/ironic-python-agent: Updated from global requirements https://review.openstack.org/88722 | 01:32 |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/python-ironicclient: Updated from global requirements https://review.openstack.org/96263 | 01:37 |
*** nosnos has joined #openstack-ironic | 01:46 | |
openstackgerrit | A change was merged to openstack/ironic: Mock seamicroclient lib in unit tests if not present https://review.openstack.org/90174 | 02:21 |
openstackgerrit | A change was merged to openstack/ironic: Skip migrations test_walk_versions instead of pass https://review.openstack.org/98504 | 02:21 |
*** pcrews has joined #openstack-ironic | 02:37 | |
*** klindgren_ is now known as klindgren | 02:43 | |
*** gcb has joined #openstack-ironic | 02:44 | |
*** radsy_ has joined #openstack-ironic | 03:08 | |
*** radsy has quit IRC | 03:11 | |
*** gcb has quit IRC | 03:12 | |
*** radsy_ is now known as radsy | 03:13 | |
*** vinbs has joined #openstack-ironic | 03:14 | |
*** radsy has quit IRC | 03:15 | |
*** radsy has joined #openstack-ironic | 03:15 | |
*** gcb has joined #openstack-ironic | 03:24 | |
*** harlowja is now known as harlowja_away | 03:24 | |
*** nosnos has quit IRC | 03:33 | |
*** nosnos has joined #openstack-ironic | 04:15 | |
*** matsuhashi has quit IRC | 04:19 | |
*** matsuhashi has joined #openstack-ironic | 04:19 | |
openstackgerrit | A change was merged to openstack/ironic: Add retry logic to iscsiadm commands https://review.openstack.org/98510 | 04:22 |
*** matsuhashi has quit IRC | 04:23 | |
*** ramineni has joined #openstack-ironic | 04:24 | |
*** Mikhail_D_ltp has joined #openstack-ironic | 04:24 | |
*** Haomeng has quit IRC | 04:26 | |
*** dwalleck has joined #openstack-ironic | 04:27 | |
*** matsuhashi has joined #openstack-ironic | 04:27 | |
*** dwalleck has quit IRC | 04:28 | |
*** dwalleck has joined #openstack-ironic | 04:29 | |
*** coolsvap|afk is now known as coolsvap | 04:36 | |
*** coolsvap is now known as coolsvap|afk | 04:46 | |
*** coolsvap|afk is now known as coolsvap | 04:53 | |
*** Mikhail_D_ltp has quit IRC | 05:03 | |
*** lazy_prince has joined #openstack-ironic | 05:06 | |
*** Haomeng has joined #openstack-ironic | 05:08 | |
openstackgerrit | Michael Davies proposed a change to openstack/ironic: Improving unit tests for _do_sync_power_state https://review.openstack.org/99271 | 05:13 |
*** dwalleck_ has joined #openstack-ironic | 05:14 | |
*** dwalleck has quit IRC | 05:14 | |
*** rakesh_hs has joined #openstack-ironic | 05:20 | |
*** dwalleck_ has quit IRC | 05:40 | |
*** radsy has quit IRC | 05:41 | |
*** lazy_prince has quit IRC | 05:43 | |
*** lazy_prince has joined #openstack-ironic | 05:46 | |
*** sysexit has joined #openstack-ironic | 05:47 | |
*** lazy_prince has quit IRC | 05:49 | |
*** dwalleck has joined #openstack-ironic | 05:49 | |
*** lazy_prince has joined #openstack-ironic | 05:51 | |
openstackgerrit | Michael Davies proposed a change to openstack/ironic: Improving unit tests for _do_sync_power_state https://review.openstack.org/99271 | 05:54 |
*** k4n0 has joined #openstack-ironic | 05:59 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/ironic: Imported Translations from Transifex https://review.openstack.org/96063 | 06:01 |
k4n0 | Hi Ironic | 06:02 |
*** lazy_prince has quit IRC | 06:04 | |
*** lazy_prince has joined #openstack-ironic | 06:18 | |
*** Mikhail_D_ltp has joined #openstack-ironic | 06:20 | |
Mikhail_D_ltp | Good morning Ironic! :) | 06:42 |
*** matsuhashi has quit IRC | 06:42 | |
GheRivero | morning all | 06:43 |
*** matsuhashi has joined #openstack-ironic | 06:43 | |
openstackgerrit | A change was merged to openstack/ironic: Remove 'fake' and 'ssh' drivers from default enabled list https://review.openstack.org/88711 | 06:44 |
*** matsuhashi has quit IRC | 06:47 | |
mrda | hi GheRivero and Mikhail_D_ltp | 06:48 |
*** matsuhashi has joined #openstack-ironic | 06:50 | |
*** dwalleck has quit IRC | 06:50 | |
*** jcoufal has joined #openstack-ironic | 06:51 | |
*** Poornima has joined #openstack-ironic | 06:56 | |
*** jistr has joined #openstack-ironic | 07:00 | |
*** derekh_ has joined #openstack-ironic | 07:01 | |
*** matsuhashi has quit IRC | 07:02 | |
*** matsuhashi has joined #openstack-ironic | 07:03 | |
*** viktors|afk is now known as viktors | 07:03 | |
*** athomas has joined #openstack-ironic | 07:03 | |
*** matsuhashi has quit IRC | 07:04 | |
*** matsuhashi has joined #openstack-ironic | 07:04 | |
*** romcheg has joined #openstack-ironic | 07:20 | |
*** sysexit has quit IRC | 07:42 | |
mrda | 'night all - see you tomorrow | 07:42 |
*** mrda is now known as mrda-away | 07:42 | |
*** sysexit has joined #openstack-ironic | 07:45 | |
*** max_lobur has joined #openstack-ironic | 08:04 | |
*** pcrews has quit IRC | 08:05 | |
*** pelix has joined #openstack-ironic | 08:19 | |
*** lucasagomes has joined #openstack-ironic | 08:26 | |
*** gcb has quit IRC | 08:38 | |
*** romcheg has quit IRC | 08:45 | |
*** igordcard has joined #openstack-ironic | 08:47 | |
*** gcb has joined #openstack-ironic | 08:52 | |
*** romcheg has joined #openstack-ironic | 08:56 | |
*** athomas has quit IRC | 08:59 | |
*** matsuhashi has quit IRC | 09:00 | |
*** matsuhashi has joined #openstack-ironic | 09:01 | |
*** martyntaylor has joined #openstack-ironic | 09:02 | |
*** SpamapS has quit IRC | 09:10 | |
*** SpamapS has joined #openstack-ironic | 09:11 | |
*** SpamapS has joined #openstack-ironic | 09:11 | |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic-python-agent: Improve cache_image testing https://review.openstack.org/99301 | 09:17 |
*** max_lobur1 has joined #openstack-ironic | 09:33 | |
*** max_lobur has quit IRC | 09:36 | |
*** romcheg has quit IRC | 09:46 | |
*** coolsvap is now known as coolsvap|afk | 09:50 | |
*** jistr has quit IRC | 09:52 | |
*** gcb has quit IRC | 09:54 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Add iPXE support for Ironic https://review.openstack.org/99318 | 09:56 |
lucasagomes | JoshNang, 90233 needs rebase (again) :/ | 09:57 |
*** matsuhashi has quit IRC | 10:05 | |
*** matsuhashi has joined #openstack-ironic | 10:06 | |
*** matsuhashi has quit IRC | 10:06 | |
*** matsuhashi has joined #openstack-ironic | 10:06 | |
*** jistr has joined #openstack-ironic | 10:08 | |
*** sysexit has quit IRC | 10:19 | |
*** pradipta_away is now known as pradipta | 10:20 | |
*** matsuhashi has quit IRC | 10:45 | |
*** ramineni has left #openstack-ironic | 10:59 | |
*** Poornima has quit IRC | 10:59 | |
*** Poornima has joined #openstack-ironic | 11:00 | |
*** rwsu_ has joined #openstack-ironic | 11:13 | |
*** rwsu has quit IRC | 11:14 | |
*** devananda has quit IRC | 11:17 | |
*** devananda has joined #openstack-ironic | 11:17 | |
*** JayF has quit IRC | 11:19 | |
*** slamont has quit IRC | 11:19 | |
*** JayF has joined #openstack-ironic | 11:19 | |
*** JayF has quit IRC | 11:19 | |
*** JayF has joined #openstack-ironic | 11:19 | |
*** slamont has joined #openstack-ironic | 11:20 | |
*** yuriyz has quit IRC | 11:21 | |
vinbs | Hello Ironic :) | 11:22 |
GheRivero | hi | 11:23 |
*** yuriyz has joined #openstack-ironic | 11:24 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Add iPXE support for Ironic https://review.openstack.org/99318 | 11:37 |
openstackgerrit | Ghe Rivero proposed a change to openstack/ironic: Imporve cache_image tests https://review.openstack.org/99343 | 11:38 |
*** lucasagomes is now known as lucas-hungry | 11:39 | |
*** reaper has joined #openstack-ironic | 11:53 | |
*** jgrimm has quit IRC | 11:55 | |
*** romcheg has joined #openstack-ironic | 11:55 | |
*** anteaya has quit IRC | 11:58 | |
*** Poornima has quit IRC | 12:07 | |
*** vinbs has quit IRC | 12:11 | |
*** vinbs has joined #openstack-ironic | 12:15 | |
*** Shrews has quit IRC | 12:16 | |
*** jdob has joined #openstack-ironic | 12:16 | |
*** Shrews has joined #openstack-ironic | 12:16 | |
*** vinbs has quit IRC | 12:25 | |
*** Shrews has quit IRC | 12:28 | |
openstackgerrit | Imre Farkas proposed a change to openstack/ironic-specs: DRAC power driver https://review.openstack.org/99352 | 12:28 |
*** Shrews has joined #openstack-ironic | 12:29 | |
*** Alexei_9871 has joined #openstack-ironic | 12:36 | |
*** nosnos has quit IRC | 12:36 | |
*** anteaya has joined #openstack-ironic | 12:39 | |
*** yuriyz has quit IRC | 12:40 | |
*** yuriyz has joined #openstack-ironic | 12:41 | |
*** pradipta is now known as pradipta_away | 12:41 | |
*** nosnos has joined #openstack-ironic | 12:43 | |
*** martyntaylor1 has joined #openstack-ironic | 12:44 | |
*** martyntaylor has quit IRC | 12:45 | |
*** nosnos has quit IRC | 12:47 | |
*** martyntaylor has joined #openstack-ironic | 12:50 | |
*** martyntaylor1 has quit IRC | 12:50 | |
*** adam_g has quit IRC | 12:51 | |
*** adam_g has joined #openstack-ironic | 12:52 | |
*** lucas-hungry is now known as lucasagomes | 12:52 | |
*** adam_g has quit IRC | 12:52 | |
*** adam_g has joined #openstack-ironic | 12:52 | |
*** romcheg has quit IRC | 12:53 | |
Shrews | I am seriously tempted to submit changes to make ironic tests work on my mac | 12:53 |
*** rakesh_hs has quit IRC | 12:58 | |
*** romcheg has joined #openstack-ironic | 12:58 | |
*** jrist has quit IRC | 13:01 | |
*** sysexit has joined #openstack-ironic | 13:02 | |
*** jrist has joined #openstack-ironic | 13:02 | |
*** jcoufal has quit IRC | 13:03 | |
NobodyCam | good morning Ironic | 13:10 |
romcheg | Good morning NobodyCam! | 13:12 |
NobodyCam | morning romcheg :) | 13:12 |
*** k4n0 has quit IRC | 13:17 | |
*** matty_dubs|afk is now known as matty_dubs | 13:17 | |
NobodyCam | Shrews: lol like the ipmitool password file tests | 13:18 |
*** romcheg has left #openstack-ironic | 13:19 | |
Shrews | jroll: devananda: so, the reason i intentionally cause node.validate() to fail in 96498 is that it avoids mocking several other things (2 methods and 2 return values). But I see it as 6 in one, half a dozen in the other, so I'll post a new change with that. | 13:20 |
openstackgerrit | David Shrewsbury proposed a change to openstack/ironic: Set instance default_ephemeral_device https://review.openstack.org/96498 | 13:22 |
Shrews | jroll: devananda: there ya go ^^^^ | 13:22 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic-specs: iPXE boot https://review.openstack.org/98822 | 13:23 |
lucasagomes | morning Shrews NobodyCam romcheg | 13:23 |
*** rushiagr is now known as rushi | 13:25 | |
Shrews | lucasagomes: morning! | 13:26 |
yuriyz | morning Ironic | 13:26 |
* Shrews stabs new H402 check | 13:28 | |
Shrews | oh, maybe it's not new. /me stabs anyway | 13:28 |
*** rloo has joined #openstack-ironic | 13:29 | |
lucasagomes | morning yuriyz | 13:29 |
openstackgerrit | Mikhail Durnosvistov proposed a change to openstack/ironic: Sync processutils from oslo code https://review.openstack.org/98342 | 13:30 |
*** jcoufal has joined #openstack-ironic | 13:31 | |
*** reaper has quit IRC | 13:36 | |
*** coolsvap|afk is now known as coolsvap | 13:38 | |
openstackgerrit | Mikhail Durnosvistov proposed a change to openstack/ironic: Sync processutils from oslo code https://review.openstack.org/98342 | 13:38 |
NobodyCam | morning lucasagomes Shrews yuriyz | 13:42 |
Shrews | NobodyCam: morning | 13:43 |
* NobodyCam notes to always seat Shrews with the plastic knifes | 13:43 | |
Shrews | yes, i often get quite stabby. especially while on caffeine | 13:44 |
* Shrews gets more coffee | 13:44 | |
NobodyCam | lol | 13:44 |
jroll | morning y'all :) | 13:48 |
jroll | Shrews: thanks for that, +1'd | 13:48 |
jroll | lucasagomes: I'll rebase Josh's refactor today, he just went on PTO | 13:49 |
Shrews | jroll: np | 13:49 |
Shrews | and morning | 13:49 |
lucasagomes | jroll, awesome! thanks | 13:49 |
NobodyCam | good morning jroll | 13:49 |
jroll | hi NobodyCam :) | 13:49 |
jroll | and with that /me goes afk for breakfast :) | 13:49 |
JoshNang | jroll: thanks! otherwise i can get it during my layover | 13:54 |
*** pcrews has joined #openstack-ironic | 13:55 | |
*** jistr has quit IRC | 13:59 | |
*** romcheg has joined #openstack-ironic | 14:02 | |
*** jistr has joined #openstack-ironic | 14:03 | |
devananda | g'morning, all | 14:05 |
devananda | Shrews: what about the tests does not work on your mac? | 14:05 |
NobodyCam | good mornig devananda | 14:05 |
devananda | Shrews: also, welcome back | 14:06 |
NobodyCam | devananda: this is common errors I see testing on my mac: http://paste.openstack.org/show/RCcwTRKpw32J9jyzEf4L/ | 14:07 |
romcheg | Morning devananda! | 14:08 |
devananda | NobodyCam: Shrews: I fully support fixing that error on mac | 14:10 |
NobodyCam | I keep meaning to | 14:10 |
lucasagomes | devananda, morning | 14:11 |
devananda | I dont know why we're using os.mknod() instead of eg. tempfile.NamedTemporaryFile(delete=False) | 14:11 |
Shrews | devananda: use of mknod(), use of sendfile library | 14:12 |
devananda | ah, yes I do - we need a reproducible name, so tempfile isn't going to work | 14:12 |
devananda | i shouldn't say things like that right after getting up, lol | 14:12 |
Shrews | mknod() is easily fixed. the use of sendfile is not since it was intentionally chosen to speed up some stuff, iirc | 14:13 |
Shrews | so i gave up b/c EMOREIMPORTANTTHINGS | 14:14 |
devananda | cool | 14:14 |
devananda | so hey, the gate queue is back to ~12hrs long | 14:14 |
*** dkehn_ has joined #openstack-ironic | 14:14 | |
devananda | let's stop approving things | 14:14 |
*** ChanServ sets mode: +o devananda | 14:15 | |
*** dkehn_ is now known as dkehnx | 14:15 | |
rloo | devananda: where are we at now, wrt what you'd like to get landed for J1? | 14:16 |
NobodyCam | morning rloo :) | 14:16 |
devananda | rloo: much better than we were on monday | 14:16 |
rloo | hello ironic'ers :) | 14:16 |
devananda | lemme check the 'pad | 14:16 |
rloo | devananda: wondering if we should be trying to get others reviewed/approved this week. | 14:16 |
lucasagomes | yeha gate is pretty slow :( I approved two patches today still queued | 14:17 |
lucasagomes | won't approve more for today | 14:17 |
rloo | NobodyCam: today will be your happy day, if Jenkins likes you ;) | 14:17 |
*** ifarkas_ has joined #openstack-ironic | 14:18 | |
*** martyntaylor has quit IRC | 14:18 | |
*** ifarkas has quit IRC | 14:18 | |
lucasagomes | heh | 14:18 |
lucasagomes | +1 | 14:18 |
devananda | lucasagomes: would you mind rebasing https://review.openstack.org/#/c/98120/ | 14:21 |
lucasagomes | devananda, will do | 14:21 |
devananda | lucasagomes: so we can see if jenkins runs the migration tests now that one of my fixes landed | 14:21 |
devananda | thanks | 14:21 |
romcheg | queue is quite long today as well | 14:22 |
romcheg | but it seems to move forward | 14:22 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Add unique constraint to instance_uuid https://review.openstack.org/98120 | 14:23 |
lucasagomes | done no merge conflicts :) | 14:23 |
Shrews | rloo: thx for the rebase in my absence yesterday | 14:23 |
openstackgerrit | Chris Krelle proposed a change to openstack/ironic: Let ipmitool natively retry commands https://review.openstack.org/96902 | 14:24 |
* lucasagomes brb going to get a coffee | 14:24 | |
NobodyCam | yuriyz: great review TY | 14:24 |
rloo | Shrews: yw. When I volunteered to do it, I had been hoping it would be a trivial rebase, but it wasn't that trivial since I wasn't familiar with that code ;) | 14:24 |
rloo | Shrews: question about that. The commit sez 'Longer term, we should consider...'. How (or do we want to) track these longer-term things? | 14:25 |
NobodyCam | devananda: can you look at the comments I posted on 96902 and let me know if you agree, mainly the move the config options one! | 14:26 |
devananda | rloo: bugs, usually | 14:27 |
devananda | romcheg: pls do not approve things right now | 14:28 |
romcheg | devananda: Why not, the gates seem to work? | 14:28 |
devananda | romcheg: particularly any db migrations, since they are not tested upstream | 14:28 |
devananda | romcheg: no - gate is > 12 hours behind | 14:28 |
devananda | romcheg: see the room title :) | 14:29 |
rloo | devananda, thx. I'll suggest to Shrews to do that ;) | 14:29 |
romcheg | devananda: Whoops, room title was too far……. | 14:29 |
rloo | devananda: what you want, is the ability to disable the approve button ;) | 14:30 |
Shrews | rloo: i'll open one :) | 14:31 |
rloo | thx Shrews! I was going to mention in the review, but I won't now ;) | 14:31 |
devananda | rloo: as far as J1 status, we had targeted a few things which aren't done yet -- https://launchpad.net/ironic/+milestone/juno-1 | 14:32 |
devananda | which I will simply bump to j2 | 14:32 |
rloo | devananda: haha. That was easy ;) | 14:33 |
devananda | Mikhail_D_wk: hi! you assigned https://bugs.launchpad.net/ironic/+bug/1314954 to yourself a week ago, but I dont see any patch related to it yet. are you still working on it? | 14:34 |
lucasagomes | devananda, now that the instance_info spec was approved, mind approving that blueprint in the lp and assigning it to me? I think that people looking at the patches on devstack and tempest might feel more confortable if the bp linked with the patch is apprved | 14:40 |
*** reaper has joined #openstack-ironic | 14:41 | |
devananda | lucasagomes: ack, thx for the ping | 14:43 |
Shrews | rloo: https://bugs.launchpad.net/ironic/+bug/1328939 | 14:43 |
rloo | thx Shrews! | 14:43 |
devananda | lucasagomes: done | 14:48 |
lucasagomes | devananda, awesome! thank you | 14:48 |
devananda | romcheg: are you able to reach mikhail today? | 14:52 |
*** ifarkas_ is now known as ifarkas | 14:52 | |
openstackgerrit | Aleksandr Gordeev proposed a change to openstack/ironic-python-agent: Improve GenericHardwareManager https://review.openstack.org/92847 | 14:52 |
openstackgerrit | Aleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add hardware_utils https://review.openstack.org/92399 | 14:53 |
devananda | lucasagomes: thoguhts on landing https://review.openstack.org/#/c/83788/ today (or trying to)? it was/is targeted to J1 ... | 14:54 |
devananda | lucasagomes: also, the issue of "cant have <1G swap" continues to be raised, which I think has been pointed out as a problem for test environments where disk space is constrained | 14:56 |
lucasagomes | devananda, right, I'm fine landing this (will need to rebase it) | 14:56 |
lucasagomes | rloo, have some concerns I think | 14:56 |
* lucasagomes re-reads the rloo review | 14:56 | |
devananda | i believe lifeless shared the same concern about minimum swap size | 14:56 |
lucasagomes | rloo, so, fractions is not possible cause of the nova flavor | 14:57 |
lucasagomes | devananda, right | 14:57 |
rloo | lucasagomes: the nova flavor specifies things in MB right? | 14:57 |
lucasagomes | devananda, hmm swap is not mandatory | 14:57 |
devananda | lucasagomes: true. it can be 0 | 14:57 |
lucasagomes | rloo, yes, | 14:58 |
rloo | lucasagomes: and this patch is to change the units in ironic to GB, righ? | 14:58 |
*** romcheg1 has joined #openstack-ironic | 14:58 | |
lucasagomes | rloo, yup, in Ironic | 14:58 |
openstackgerrit | Chris Krelle proposed a change to openstack/ironic: Enforce a minimum time between all IPMI commands https://review.openstack.org/96558 | 14:58 |
rloo | lucasagomes: so if someone specifies a flavor of 1 MB, they won't get 1MB, they'll get 1 GB. right? | 14:58 |
lucasagomes | rloo, correct | 14:59 |
lucasagomes | it does ceil round | 14:59 |
rloo | lucasagomes: is that the behavior we want? | 14:59 |
lucasagomes | so we always round it up | 14:59 |
rloo | lucasagomes: is that obvious to the user? | 14:59 |
devananda | lucasagomes: https://bugs.launchpad.net/ironic/+bug/1298362 is still assigned to you and marked InProgress. can you review it and see if it's really done? | 14:59 |
rloo | lucasagomes: I don't understand why we can't have GB fractions in ironic. | 14:59 |
lucasagomes | rloo, based on the conversations we had in the past I think that was the expected behavior | 14:59 |
devananda | rloo: not obvious at all. there's currently no feedback mechanism for that | 14:59 |
*** romcheg has quit IRC | 15:00 | |
lucasagomes | rloo, I could at least log a warning when rounding that up if it helps | 15:00 |
rloo | lucasagomes: I just want to make sure, because it isn't in the commit. Is everyone OK with min of 1 GB, even if flavor is < 1 GB? | 15:00 |
devananda | lucasagomes: i dont think that's the right approach. the folks who create the flavor may not see the logs | 15:00 |
lucasagomes | devananda, oh I think it was in progress because of the partial-bug | 15:00 |
lucasagomes | i;m not working on that so will remove the assigment | 15:00 |
NobodyCam | there a project called cloudkitty | 15:01 |
rloo | lucasagomes: personally, I don't think it is right because I haven't heard of any reason for putting a min of 1 GB, but if that's what you guys want, then fine. But then it needs to be documented or whatever. | 15:01 |
devananda | lucasagomes: I see. that suggests it also wont be fixed by J1 then :) | 15:01 |
lucasagomes | devananda, right, but we still want that behavior? | 15:01 |
lucasagomes | devananda, yeah def no J1 (not from my part at least) | 15:01 |
rloo | lucasagomes: what if someone has some funky baremetal node (device) that has < 1 GB on it... | 15:02 |
lucasagomes | rloo, 1 reason is consistence with the unit sizes | 15:02 |
devananda | lucasagomes: re: 1GB swap, IIRC, when we first looked at this, we were storing it as integers. let's ask instead what behavior we expect | 15:02 |
lucasagomes | rloo, root gb, ephemeral gb, swap mb | 15:02 |
*** ndipanov has quit IRC | 15:02 | |
devananda | that ^ inconsistency is a nova artefact that I think Ironic does not need to replicate | 15:03 |
devananda | however | 15:03 |
rloo | lucasagomes: I'm fine with changing the units from MB to GB, I just don't understand why you can't have eg 0.2 GB. | 15:03 |
*** ndipanov has joined #openstack-ironic | 15:03 | |
devananda | is there any practical reason to prevent fractional sizes? | 15:04 |
*** dkehn_ has joined #openstack-ironic | 15:04 | |
lucasagomes | devananda, not that I'm aware, because the sizes in Ironic are stored in a dict | 15:05 |
lucasagomes | only the code needs to understand it when converting from gb to mb | 15:05 |
*** romcheg1 has quit IRC | 15:05 | |
lucasagomes | don't think it's difficult, I can take a look at it if we agree that we are supporting fractions | 15:05 |
devananda | I think I may have said, just store it as an INT, because sometimes I'm lazy ... | 15:06 |
lucasagomes | heh | 15:06 |
lucasagomes | maybe | 15:06 |
lucasagomes | lemme take a look at it | 15:07 |
rloo | thx lucasagomes! | 15:07 |
lucasagomes | rloo, thank u for suggestion/review :) | 15:07 |
*** dkehnx has quit IRC | 15:07 | |
lucasagomes | for the* | 15:07 |
rloo | lucasagomes: :) | 15:10 |
*** jistr has quit IRC | 15:12 | |
NobodyCam | gah: E303 too many blank lines (3) | 15:13 |
NobodyCam | doh | 15:13 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Stop ipmitool.validate from touching the BMC https://review.openstack.org/99121 | 15:14 |
devananda | another J1 High bug fix we didn't catch yesterday ^^ | 15:15 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Stop ipmitool.validate from touching the BMC https://review.openstack.org/99121 | 15:16 |
*** dkehn_ is now known as dkehnx | 15:17 | |
lucasagomes | devananda, looks straight forward, code lgtm | 15:19 |
lucasagomes | after reading about ipmi I see that everything that tries to touch it is automatically dangerous :( | 15:20 |
lucasagomes | btw, for those interested >> http://fish2.com/ipmi/ good info about ipmi (mostly security problems) | 15:20 |
*** jistr has joined #openstack-ironic | 15:23 | |
*** mdorman has joined #openstack-ironic | 15:30 | |
*** jcoufal has quit IRC | 15:38 | |
*** jcoufal has joined #openstack-ironic | 15:38 | |
openstackgerrit | Chris Krelle proposed a change to openstack/ironic: Let ipmitool natively retry commands https://review.openstack.org/96902 | 15:39 |
Shrews | rloo: re: your comments on 96498, do you think it's acceptable to add the test for NOT setting default_ephemeral_device in the test_spawn() method? | 15:39 |
rloo | Shrews: sec, let me look. | 15:39 |
rloo | Shrews: the purist in me says that there should be two, one for the sets_default_ephemeral_device, and one that doesn't set... OTOH, I'm fine if you put that test/check in test_spawn. As long as others are fine and they should be ;) | 15:41 |
Shrews | rloo: so, adding a separate test would basically duplicate test_spawn(), so i thought that was a bit overkill | 15:42 |
rloo | Shrews: exactly. that's why I think it is fine! | 15:43 |
Shrews | great | 15:43 |
openstackgerrit | David Shrewsbury proposed a change to openstack/ironic: Set instance default_ephemeral_device https://review.openstack.org/96498 | 15:43 |
rloo | Shrews: oh, you asked me *after* you had done it ;) | 15:43 |
Shrews | but *before* i submitted it :-P | 15:44 |
rloo | Shrews: ha ha. | 15:44 |
openstackgerrit | Chris Krelle proposed a change to openstack/ironic: Enforce a minimum time between all IPMI commands https://review.openstack.org/96558 | 15:47 |
*** linggao has joined #openstack-ironic | 15:50 | |
*** ndipanov has quit IRC | 15:54 | |
*** martyntaylor has joined #openstack-ironic | 15:55 | |
*** matty_dubs is now known as matty_dubs|lunch | 16:01 | |
*** hemna_ is now known as hemna | 16:04 | |
*** ndipanov has joined #openstack-ironic | 16:07 | |
*** Haomeng has quit IRC | 16:07 | |
*** romcheg has joined #openstack-ironic | 16:08 | |
*** martyntaylor has left #openstack-ironic | 16:08 | |
*** Haomeng has joined #openstack-ironic | 16:13 | |
Mikhail_D_ltp | devananda: Hi! :) I have no progress on this bug, but I think that can add the `timeout` variable in method `execute` [1] and if it is transmitted kill process of after timeout. [1] https://github.com/openstack/oslo-incubator/blob/master/openstack/common/processutils.py#L84 | 16:16 |
Mikhail_D_ltp | https://bugs.launchpad.net/ironic/+bug/1314954 | 16:16 |
*** ellenh has joined #openstack-ironic | 16:19 | |
*** jistr has quit IRC | 16:19 | |
*** derekh_ has quit IRC | 16:21 | |
*** jcoufal has quit IRC | 16:23 | |
*** romcheg has quit IRC | 16:24 | |
*** Mikhail_D_ltp has quit IRC | 16:30 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Fractional sizes for root_gb and ephemeral_gb https://review.openstack.org/99426 | 16:36 |
lucasagomes | rloo, devananda ^ plumbing for the swap work | 16:36 |
lucasagomes | I will rebase the swap GB on top of that | 16:36 |
lucasagomes | I tested and it works (deployed without going through nova, since it doesn't accept fractions in the flavor) | 16:37 |
* rloo looks | 16:38 | |
devananda | Mikhail_D_wk: ack. in the future, please dont self-assign bugs you are not working on | 16:38 |
*** ramineni has joined #openstack-ironic | 16:38 | |
devananda | Mikhail_D_wk: as far as adding a timeout variable, i'm not immediately seeing how you would implement that, but it sounds like a nice feature to propose to oslo | 16:39 |
*** harlowja_away is now known as harlowja | 16:53 | |
*** Alexei_9871 has quit IRC | 16:55 | |
Shrews | devananda: so for bug 1316773, any preference on if we implement the retry logic in the client or tempest? also, i wonder if we should be setting the Retry-After header in the http response. | 16:56 |
NobodyCam | Shrews: I would think fixing in the client would be best | 16:57 |
*** viktors is now known as viktors|afk | 16:58 | |
Shrews | actually, tempest is using a generic rest client. so i guess client & tempest are one in the same here. i guess the other alternative is to put something into ir-api to retry | 16:59 |
NobodyCam | ahh I was thinking client == ironicClient | 17:00 |
Shrews | NobodyCam: yeah, poorly phrased question. sorry | 17:01 |
devananda | Shrews: good point | 17:02 |
*** matty_dubs|lunch is now known as matty_dubs | 17:03 | |
devananda | Shrews: so there are some short-term ways to mitigate this while the longer fix is done | 17:03 |
devananda | Shrews: longer fix being the async api stuff, which i need to get back to at some point soon | 17:03 |
openstackgerrit | Ellen Hui proposed a change to openstack/ironic: Add more INFO logging https://review.openstack.org/99431 | 17:11 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Use GB instead of MB for swap https://review.openstack.org/83788 | 17:11 |
*** Mikhail_D_ltp has joined #openstack-ironic | 17:12 | |
*** rloo has quit IRC | 17:13 | |
*** dguerri has quit IRC | 17:14 | |
Shrews | devananda: short-term ways being.... ?? | 17:17 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Use GB instead of MB for swap https://review.openstack.org/83788 | 17:19 |
devananda | Shrews: none that i really like, heh | 17:19 |
lucasagomes | alright I will call it a day | 17:19 |
lucasagomes | have a good night everybody | 17:19 |
NobodyCam | have a good night lucasagomes | 17:19 |
devananda | g'night lucasagomes ! | 17:19 |
Shrews | later lucasagomes | 17:19 |
*** lucasagomes is now known as lucas-dinner | 17:19 | |
*** eghobo has joined #openstack-ironic | 17:25 | |
*** eguz has joined #openstack-ironic | 17:28 | |
*** eguz has quit IRC | 17:29 | |
*** eguz has joined #openstack-ironic | 17:29 | |
openstackgerrit | Russell Haering proposed a change to openstack/ironic-python-agent: Fix HardwareManager loading order bug https://review.openstack.org/98678 | 17:29 |
*** dwalleck has joined #openstack-ironic | 17:30 | |
openstackgerrit | Russell Haering proposed a change to openstack/ironic-python-agent: Fix HardwareManager loading order bug https://review.openstack.org/98678 | 17:31 |
Shrews | lucas-dinner: Is there a reason why your patch to remove 'node' from the Console and Rescue interfaces did not remove node from the validate() methods? | 17:32 |
Shrews | or if anyone else can answer that in his absence ^^^^ | 17:33 |
*** eghobo has quit IRC | 17:33 | |
NobodyCam | Shrews: I believe there was, But I can not recall now | 17:34 |
devananda | Shrews: i thought the patch had a comment about that | 17:34 |
Shrews | devananda: looking for that now... | 17:35 |
*** lazy_prince has quit IRC | 17:35 | |
Shrews | oh, it's in a separate patch | 17:35 |
Shrews | that hasn't merged yet | 17:35 |
devananda | :) | 17:37 |
*** dwalleck has quit IRC | 17:40 | |
*** dwalleck has joined #openstack-ironic | 17:40 | |
*** dwalleck has quit IRC | 17:41 | |
*** eguz has quit IRC | 17:46 | |
*** eghobo has joined #openstack-ironic | 17:47 | |
*** eguz has joined #openstack-ironic | 17:48 | |
*** rushi has quit IRC | 17:51 | |
*** eghobo has quit IRC | 17:52 | |
*** rushiagr has joined #openstack-ironic | 17:54 | |
*** dwalleck has joined #openstack-ironic | 17:56 | |
*** ramineni has quit IRC | 18:04 | |
*** dwalleck has quit IRC | 18:05 | |
*** dwalleck has joined #openstack-ironic | 18:07 | |
*** dwalleck_ has joined #openstack-ironic | 18:08 | |
openstackgerrit | Jim Rollenhagen proposed a change to openstack/ironic-python-agent: Fix test_run_image https://review.openstack.org/99439 | 18:08 |
jroll | super easy review if anyone wants one :) | 18:09 |
jroll | (on IPA) | 18:09 |
*** Nisha has joined #openstack-ironic | 18:09 | |
Nisha | Hi Deva | 18:09 |
devananda | Nisha: hi! on a call atm | 18:10 |
JayF | jroll: gotta wait for the +V but lgtm | 18:10 |
jroll | JayF: you don't have to wait for jenkins to put a review up :) | 18:10 |
Nisha | Deva: Ok. I will just put my query here and then you can send reply when call finishes | 18:11 |
jroll | just for +A, and even then, +A runs jenkins again | 18:11 |
JayF | You have to if the review is going to be a +2 :) | 18:11 |
JayF | at least I prefer to wait | 18:11 |
jroll | 'have to' :P | 18:11 |
*** dwalleck has quit IRC | 18:11 | |
Nisha | We are working on some features for iLO driver features and intend to add some abstract methods to ManagementInterface. Do we need to submit a seperate blueprint for just standardizing those abstract methods or adding them under /opt/stack/ironic/ironic/drivers/base.py is sufficient? | 18:12 |
JayF | If it's going into ManagementInterface, I know at least I'd be interested to see a blueprint | 18:13 |
JayF | idk what the 'right' answer is though | 18:13 |
Nisha | The blueprint will be submitted for those features anyway | 18:13 |
jroll | Nisha: the 'right' answer is, it can be in the same blueprint | 18:14 |
jroll | Nisha: there's a section in the spec here: https://github.com/openstack/ironic-specs/blob/master/specs/template.rst#driver-api-impact | 18:14 |
jroll | spec template* | 18:14 |
Nisha | Yes i have seen ths | 18:15 |
Nisha | You mean adding it in this section will cover the concern? | 18:16 |
jroll | I guess it depends on what methods are being added | 18:16 |
jroll | I would start with adding it in that section, and if reviewers feel that it should be a separate spec, that issue will be raised at spec review time | 18:17 |
jroll | does that make sense? | 18:17 |
Nisha | Yes sounds good | 18:18 |
Nisha | Thanks fr the response | 18:18 |
jroll | no problem :) | 18:18 |
*** rloo has joined #openstack-ironic | 18:21 | |
*** ndipanov has quit IRC | 18:24 | |
*** rloo has quit IRC | 18:26 | |
*** rloo has joined #openstack-ironic | 18:26 | |
*** eguz has quit IRC | 18:35 | |
*** eghobo has joined #openstack-ironic | 18:36 | |
*** pelix has quit IRC | 18:36 | |
lifeless | devananda: hi yes, I don't believe in swap for most servers. 0 plox. | 18:36 |
Nisha | Deva: is this response for my query? | 18:38 |
Nisha | Sorry, i missed reading | 18:38 |
rloo | :q | 18:44 |
rloo | whoops ;) | 18:44 |
* Shrews quits | 18:46 | |
Shrews | :) | 18:46 |
Shrews | that would actually make a geeky resignation letter: Dear boss, :q | 18:47 |
rloo | Shrews: but would your boss understand? ;) | 18:48 |
lifeless | oh yes :) | 18:48 |
matty_dubs | Mine's an emacs user :'( | 18:48 |
Shrews | rloo: my boss is monty. he would't even have time to read it | 18:48 |
rloo | Shrews: ahh. In that case, a very short letter is better! | 18:50 |
*** romcheg has joined #openstack-ironic | 18:53 | |
*** romcheg has left #openstack-ironic | 18:53 | |
*** Nisha has quit IRC | 19:00 | |
*** rloo has quit IRC | 19:09 | |
*** rloo has joined #openstack-ironic | 19:10 | |
*** rloo has quit IRC | 19:14 | |
*** rloo has joined #openstack-ironic | 19:14 | |
*** rloo has quit IRC | 19:14 | |
*** rloo has joined #openstack-ironic | 19:15 | |
*** sysexit has quit IRC | 19:24 | |
NobodyCam | brb | 19:24 |
*** rloo has quit IRC | 19:27 | |
*** rloo has joined #openstack-ironic | 19:27 | |
adam_g | Shrews, any reason not to? https://review.openstack.org/#/c/99462 | 19:37 |
*** coolsvap is now known as coolsvap|afk | 19:43 | |
NobodyCam | ok ... running into town for a few... bbaib | 19:45 |
*** ellenh has quit IRC | 19:54 | |
Shrews | adam_g: i set that value in d-g config. no need to do it there | 20:00 |
Shrews | adam_g: https://review.openstack.org/#/c/94456/1/devstack-vm-gate.sh | 20:01 |
adam_g | Shrews, ah! cool :) | 20:01 |
jroll | devananda: random question: how would you feel about instrumenting ironic using statsd, similar to what swift does? | 20:09 |
JayF | aweeks: ^ jroll stealing your thunder | 20:09 |
jroll | :D | 20:10 |
aweeks | heh | 20:10 |
aweeks | no problem | 20:10 |
devananda | jroll: aweeks: give me more details. | 20:13 |
devananda | there's already been much talk of emitting notifications such that something (eg ceilometer) can consume them | 20:13 |
devananda | but i'm not familiar with swift's statsd integratin | 20:13 |
aweeks | devananda: its not particularly complicated, just allows you to report metrics in addition to the normal log messages | 20:14 |
* aweeks gets the code | 20:14 | |
devananda | Shrews: that gets into the finer points of :q || :wq || :q! | 20:14 |
JayF | I could imagine there being some pluggable way to emit metrics | 20:14 |
jroll | devananda: timing data, counters (how many times did x happen), etc | 20:14 |
JayF | we'd wanna use statsd, but others could ceilometer, graphite directly, or even some other propreitary format (like going into Rackspace Cloud Monitoring) | 20:15 |
devananda | perfect | 20:15 |
JayF | but that way you wouldn't vary /what/ you report by /how/ you report it | 20:15 |
devananda | were any of you in the ironic/ceilometer joint session? | 20:15 |
jroll | idk if ceilometer can really handle this sort of thing | 20:15 |
JayF | devananda: I was :) | 20:15 |
devananda | JayF: o/5 | 20:15 |
JayF | devananda: jroll: I'm not sure ceilometer /wants/ to from what they said in their session | 20:15 |
jroll | this would be a metric shitton of notifications | 20:15 |
jroll | right | 20:16 |
devananda | right, so | 20:16 |
JayF | they were talking about early-early filtering of stats | 20:16 |
devananda | ceilometer doesn't want fan speed, cpu temp, etc | 20:16 |
JayF | which operationally is a very, very bad idea | 20:16 |
devananda | BUT other folks in openstack-land definitely do want that | 20:16 |
JayF | If it can have a number, I want it on a graph somewhere | 20:16 |
jroll | devananda: I'm thinking software metrics. 'ipmi power status took 1.24 seconds' etc | 20:16 |
JayF | I might not need it for 5 years, but when I do, I'll /really/ need it | 20:16 |
devananda | ceilometer DOES want things like "ironic pwoered this machine on" | 20:16 |
devananda | jroll: ah | 20:16 |
jroll | devananda: think log.debug :) | 20:17 |
aweeks | definitely want to instrument all of the RPC calls | 20:17 |
devananda | jroll: instrumentation != debugging | 20:17 |
devananda | so | 20:17 |
devananda | there's another project aiming to gather instrumentation & timing from all projects | 20:17 |
devananda | and make that data available for predictive capacity analysis | 20:17 |
jroll | devananda: sure, I mean in terms of verbosity | 20:18 |
devananda | mirantis is leading it IIRC | 20:18 |
JayF | Honestly, I think I'd still prefer a pluggable mechanism rather than a half-finished new project :/ | 20:18 |
devananda | ++ | 20:18 |
JayF | statsd works today, and is used by boatloads of people to ship off metrics to stuff like graphite | 20:19 |
aweeks | we ought to be able to build something that would allow for back-ends to be swapped out | 20:19 |
JayF | aweeks: sounds like you should write a spec about it ;) | 20:19 |
aweeks | indeed | 20:20 |
devananda | aweeks: sounds like you volunteered :) | 20:20 |
aweeks | yeah, I'm happy to work on it | 20:20 |
jroll | \o/ | 20:20 |
JayF | aweeks: *honk* *honk* http://bit.ly/1ljQqEz | 20:20 |
aweeks | lol | 20:21 |
aweeks | so, open a PR here? https://github.com/openstack/ironic-specs | 20:21 |
jroll | nooooooooooooo | 20:21 |
jroll | gerrit | 20:21 |
jroll | same process as ironic, different repo | 20:22 |
aweeks | kk | 20:22 |
jroll | the readme and template there outline what to write etc | 20:22 |
JayF | aweeks: once you get one started, might want to get it added to the agenda for the next ironic meeting, so people will actually read and review it | 20:22 |
jroll | s/one started/a review up/ | 20:23 |
jroll | but yeah | 20:23 |
JayF | if it's not in a repo || gerrit it doesn't exist | 20:23 |
jroll | sure | 20:24 |
jroll | aweeks: going to toss this out here: https://github.com/stackforge/stacktach | 20:25 |
jroll | ok, maybe that's not at all what I thought it was. ignore me. | 20:28 |
jroll | maybe. | 20:28 |
aweeks | jroll: yeah | 20:29 |
Shrews | devananda: i see those meanings as ":q - I'm quitting, but open for discussion", ":wq - I'm quitting, but wrapping things up before I leave", and ":q! - I'm quitting and burning down the building as I walk out." | 20:32 |
*** ellenh has joined #openstack-ironic | 20:33 | |
*** Mikhail_D_ltp has quit IRC | 20:37 | |
*** datajerk has quit IRC | 20:39 | |
*** JoshNang has quit IRC | 20:39 | |
*** tteggel has quit IRC | 20:39 | |
*** datajerk has joined #openstack-ironic | 20:40 | |
*** JoshNang has joined #openstack-ironic | 20:40 | |
*** tteggel has joined #openstack-ironic | 20:41 | |
jroll | devananda: would you mind putting dmitry's review board in the topic so new people can track it down easily? :) http://perm.ly/ironic-review-dashboard | 20:51 |
*** linggao has quit IRC | 20:55 | |
*** rloo has quit IRC | 20:56 | |
*** rloo has joined #openstack-ironic | 20:56 | |
* NobodyCam is back | 20:56 | |
devananda | jroll: how about the etherpad? | 20:57 |
jroll | which etherpad? | 20:57 |
jroll | whiteboard? | 20:57 |
devananda | ya | 20:57 |
jroll | that works | 20:58 |
devananda | cool | 20:58 |
jroll | done | 20:59 |
jroll | thanks :) | 20:59 |
NobodyCam | devananda: when you have a free minute, I would love some pointers on correctly mocking ipmitool for testing | 20:59 |
*** jdob has quit IRC | 21:01 | |
*** devananda changes topic to "Bare Metal Provisioning | Status: http://bit.ly/ironic-whiteboard | Docs: http://docs.openstack.org/developer/ironic/ | Bugs: https://bugs.launchpad.net/ironic" | 21:02 | |
* devananda does a little cleanup on the 'pad | 21:08 | |
devananda | NobodyCam: not sure what you mean by mocking ipmitool | 21:09 |
NobodyCam | as expected the ipmitool check on load is failing (see: http://logs.openstack.org/58/96558/17/check/gate-ironic-python27/0351cbc/console.html as example) | 21:10 |
*** beecee has quit IRC | 21:10 | |
devananda | yep | 21:11 |
devananda | oh that | 21:11 |
NobodyCam | I started the mock here https://review.openstack.org/#/c/96902/11/ironic/tests/drivers/third_party_driver_mocks.py | 21:12 |
devananda | NobodyCam: ipmitool isn't an external library though | 21:12 |
*** rloo has quit IRC | 21:12 | |
devananda | it's a system binary | 21:12 |
*** mrda-away is now known as mrda | 21:13 | |
mrda | Morning Ironic! | 21:13 |
*** rloo has joined #openstack-ironic | 21:13 | |
devananda | g'morning, mrda ! | 21:13 |
devananda | mrda: did I see that you're confirmed for the midcycle ? | 21:13 |
NobodyCam | morning mrda | 21:13 |
openstackgerrit | David Shrewsbury proposed a change to openstack/ironic: Replace mknod() with chmod() https://review.openstack.org/99484 | 21:13 |
mrda | devananda: as long as I can get a seat on a flight - the airlines are pretty full up :-/ | 21:14 |
Shrews | NobodyCam: part1 ^^^^ | 21:14 |
devananda | mrda: ugh | 21:14 |
NobodyCam | nice :) | 21:14 |
mrda | but I'm excited about midcycle - looking forward to seeing y'all again | 21:14 |
openstackgerrit | A change was merged to openstack/ironic-python-agent: Fix test_run_image https://review.openstack.org/99439 | 21:14 |
*** rloo_ has joined #openstack-ironic | 21:14 | |
devananda | mrda: i hope you make it-- excited to have you joni us! | 21:15 |
devananda | mikal: hi! considering the close of J1, even though we've had very few reviews of the ironic driver spec, shall we start submitting the patches next week anyway? | 21:17 |
Shrews | NobodyCam: still not sure how to handle the use of the sendfile module. but one step at a time i guess | 21:17 |
NobodyCam | yes ! I'll even say baby steps :) | 21:18 |
*** annegentle has quit IRC | 21:18 | |
*** mat128 has quit IRC | 21:18 | |
*** davidlenwell has quit IRC | 21:18 | |
devananda | NobodyCam: gimme a min to mock this mock fo ryou | 21:18 |
NobodyCam | devananda: awesome ty :) | 21:18 |
*** mmitchell_ has joined #openstack-ironic | 21:18 | |
*** rloo has quit IRC | 21:19 | |
*** davidlenwell has joined #openstack-ironic | 21:19 | |
*** rloo_ has quit IRC | 21:20 | |
jroll | NobodyCam: I would just mock execute(), not ipmitool itself :) | 21:20 |
*** rloo has joined #openstack-ironic | 21:20 | |
mrda | NobodyCam: I was wondering if you could take a look at https://review.openstack.org/#/c/97693 alongside your patch https://review.openstack.org/#/c/85529 They both are proposing the same behaviour but n different places. Just wondering how we should proceed so we end up with a consistent solution. | 21:22 |
NobodyCam | humm so basicly its api vs conductor | 21:28 |
openstackgerrit | David Shrewsbury proposed a change to openstack/ironic: Replace mknod() with chmod() https://review.openstack.org/99484 | 21:29 |
*** dwalleck_ has quit IRC | 21:29 | |
mrda | right, so your patch enforces the behaviour ongoing (if conditions are met) , whereas mine only does it at registration | 21:29 |
mrda | and mine addresses the latency concerns of TripleO (ie it'll happen straight up) | 21:29 |
*** annegentle has joined #openstack-ironic | 21:29 | |
devananda | hrm, why i dislike module-scoped variables. hard to test chagnes to them in unit tests concurrently | 21:30 |
devananda | *yet another reason why .. | 21:30 |
*** dwalleck has joined #openstack-ironic | 21:30 | |
devananda | how do I create a mock that passes "if my_mock is None" | 21:30 |
mrda | but we can mark my bug as a duplicate and abandon my patch if you think yours is sufficient | 21:30 |
NobodyCam | mrda: I'm thinking | 21:30 |
NobodyCam | I kinda like the api side | 21:31 |
mrda | rats :) | 21:31 |
NobodyCam | well its really the correct place to set that | 21:31 |
NobodyCam | and I think the main benefit is the timming thing | 21:32 |
mrda | NobodyCam: Lucas had some general comments on my patch that you should read though regarding this behaviour. | 21:33 |
NobodyCam | reading now | 21:33 |
NobodyCam | ahh where as in 85529 the conductor has already check the creds by getting the current power state | 21:36 |
mrda | right | 21:37 |
NobodyCam | s/check/checked/ | 21:37 |
NobodyCam | and he is correct that OOO is seting the state to off right away | 21:37 |
NobodyCam | s/OOO/tripleO/ | 21:39 |
mrda | I'm not sure how to do a validate in my patch too, as it really belongs in conductor | 21:39 |
devananda | NobodyCam: i've side tracked myself trying to create a mock that evaluates true when compared to None | 21:39 |
devananda | sorry, i'll get back to the actual task | 21:39 |
NobodyCam | hehehe :-p | 21:39 |
*** rwsu_ has quit IRC | 21:39 | |
NobodyCam | ya | 21:39 |
mrda | unless I do a new RPC *just* to validate | 21:40 |
*** ellenh has quit IRC | 21:40 | |
mrda | but then I might as well do the database work conductor side too | 21:40 |
NobodyCam | the more I think about Lucas's comments I am tending to agree with him | 21:40 |
mrda | so my bug, which was raised as a result of TripleO latency issues, might need to be resolved as "WONTFIX" | 21:41 |
jroll | mrda: does your patch actually have a timing impact? if the node is actually powered on, it will be powered off at periodic task time | 21:41 |
jroll | (in both cases) | 21:42 |
*** dkehn has joined #openstack-ironic | 21:42 | |
mrda | jroll: correct, but TripleO's issue was the latency in that behaviour being enforced | 21:42 |
*** rwsu has joined #openstack-ironic | 21:42 | |
jroll | mrda: right, but you're just setting database state, it still will be turned off when the periodic task runs. I don't see how that changes the latency | 21:43 |
mrda | ...hence why the explicitly power off newly rgistered nodes, but wanted this to happen automagically inside ironic | 21:43 |
jroll | or am I misunderstanding | 21:43 |
jroll | right | 21:43 |
jroll | I guess I mean compared to NobodyCam's patch | 21:43 |
devananda | gah. anyone know how to mock a "if VAR is None" check inside a method being unit tested? | 21:43 |
devananda | if I mock VAR, it invariably evaluates to "not None" | 21:44 |
jroll | devananda: can you point me to the code you're trying to mock? | 21:44 |
*** dkehnx has quit IRC | 21:44 | |
jroll | devananda: easy way out is to make a method that just returns that variable, and mock that method | 21:44 |
devananda | jroll: https://review.openstack.org/#/c/96902/11/ironic/drivers/modules/ipmitool.py check_timing_support | 21:45 |
jroll | (assuming you're still talking about the module-level variable | 21:45 |
jroll | ) | 21:45 |
devananda | jroll: note the use of a module variable. it's easy to set that in the unit test | 21:45 |
devananda | jroll: the problem is concurrency | 21:45 |
mrda | NobodyCam: how should we proceed? Abandon my patch, link my bug to yours, and move on with your patch being designated as the OneTrueWay(tm)? | 21:45 |
devananda | what if two unit tets try to modify that gloval var simultaneously? -- so we should mock it, great! | 21:46 |
devananda | except then it fails the "if TIMING_SUPPORT is None" check | 21:46 |
devananda | and we cant actually test it | 21:46 |
jroll | devananda: this is why we don't use globals :) | 21:46 |
devananda | right :) | 21:46 |
devananda | well | 21:46 |
devananda | it'd work fine if we did "if VAR == None" | 21:46 |
jroll | I understand why we are here | 21:46 |
devananda | it's easy to mock the __eq__ | 21:46 |
* devananda injects non-pep8-compliant use of "== None" with a comment | 21:47 | |
jroll | devananda: https://gist.github.com/jimrollenhagen/9e98956e358d4f152980 | 21:48 |
jroll | is what I would probably do | 21:48 |
devananda | jroll: ah, good idae | 21:50 |
jroll | :) | 21:50 |
jroll | super useful for time.time(), that's where I picked it up | 21:50 |
NobodyCam | mrda: yea I think lucas's point about giving the node a valid power state with out actually having checked would be why I would vote to do that in the conductor | 21:51 |
mrda | NobodyCam: thanks, I'll go down that path then. | 21:52 |
*** ellenh has joined #openstack-ironic | 21:55 | |
*** romcheg has joined #openstack-ironic | 21:57 | |
*** romcheg has quit IRC | 22:01 | |
openstackgerrit | Ellen Hui proposed a change to openstack/ironic: Add more INFO logging to ironic/drivers/modules https://review.openstack.org/99431 | 22:05 |
openstackgerrit | A change was merged to openstack/ironic-python-agent: Tries to advertise valid default IP https://review.openstack.org/96980 | 22:14 |
*** max_lobur1 has quit IRC | 22:21 | |
openstackgerrit | Ellen Hui proposed a change to openstack/ironic: Add more INFO logging to ironic/common https://review.openstack.org/99495 | 22:22 |
*** romcheg has joined #openstack-ironic | 22:24 | |
*** matty_dubs is now known as matty_dubs|gone | 22:24 | |
JayF | ellenh: ^^ congrats on becoming an Openstack ATC :) | 22:27 |
jroll | \o/ | 22:27 |
ellenh | JayF: :D | 22:27 |
JayF | ellenh: that means you get to go to Paris for free!* (*: airfare and lodging and food not included) | 22:28 |
jroll | (a little bit of food is included) | 22:28 |
NobodyCam | lol I was just typing that | 22:28 |
mdorman | that food in atlanta has got to be about the worst i’ve ever eaten | 22:28 |
jroll | lol | 22:29 |
jroll | I ate there once | 22:29 |
devananda | JayF: Ithink your congradulations are slightly premature | 22:29 |
mdorman | except those chicken cordon bleu balls were pretty tasty | 22:29 |
devananda | JayF: proposing a change != landing a change | 22:29 |
devananda | that said, ellenh does have a change in the merge queue right now, which could land today | 22:29 |
NobodyCam | *thou ++ to who ever sponsored the coffee karts in atlanta | 22:29 |
jroll | devananda: https://review.openstack.org/96980 | 22:30 |
jroll | rather | 22:30 |
jroll | 15:14:50 openstackgerrit | A change was merged to openstack/ironic-python-agent: Tries to advertise valid default IP https://review.openstack.org/96980 | 22:30 |
mrda | NobodyCam: that was some of the best coffee I've had in the USofA :) | 22:30 |
NobodyCam | mrda: come to seattle!!! | 22:30 |
NobodyCam | we have good coffee | 22:30 |
jroll | mrda: that's sad :P | 22:30 |
mrda | NobodyCam: One day I will! That's one corner I haven't been too - just so long as it's not all Starbucks ;) | 22:31 |
mrda | jroll: I hate to say it, but coffee in Australia is much better :P | 22:31 |
jroll | heh | 22:32 |
*** dkehn has quit IRC | 22:32 | |
NobodyCam | lol we have lots of starbucks... but also many single owner shops too | 22:32 |
jroll | mrda: you may not have had the right coffee | 22:32 |
NobodyCam | protland not to bad on my coffee list | 22:32 |
NobodyCam | portland even | 22:32 |
mrda | NobodyCam: right! Midcycle. I might have my first good coffee in the states! | 22:33 |
NobodyCam | :) | 22:33 |
*** romcheg has quit IRC | 22:33 | |
*** reaper has quit IRC | 22:34 | |
openstackgerrit | Ellen Hui proposed a change to openstack/ironic: Add more INFO logging to ironic/drivers/modules https://review.openstack.org/99431 | 22:48 |
devananda | jroll: oh! right | 22:49 |
*** romcheg has joined #openstack-ironic | 22:51 | |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Let ipmitool natively retry commands https://review.openstack.org/96902 | 22:52 |
devananda | NobodyCam: ^^ | 22:52 |
* NobodyCam looks | 22:52 | |
NobodyCam | ahh oh neat-o | 22:53 |
openstackgerrit | Devananda van der Veen proposed a change to openstack/ironic: Stop ipmitool.validate from touching the BMC https://review.openstack.org/99121 | 22:53 |
devananda | High pri bug fix ^ | 22:54 |
devananda | they kinda both are ... | 22:54 |
mrda | devananda: did you see my comment on review 96902 about refactoring the ipmitool code into an oslo library? What do you think of that idea? | 22:55 |
JayF | Why would/should anything but Ironic use ipmitool? | 22:55 |
mrda | nova-bm support | 22:56 |
jroll | nooooo | 22:56 |
jroll | deprecate it | 22:56 |
JayF | :( | 22:56 |
*** romcheg has quit IRC | 22:56 | |
jroll | (that's the goal of ironic, anyway) | 22:56 |
mrda | can't just forget about people who are already using it | 22:56 |
jroll | right | 22:56 |
JayF | I'll buy a pizza for both of them | 22:56 |
JayF | :P | 22:56 |
mrda | but I agree - we want everyone to move to ironic :) | 22:56 |
jroll | that's why there's a migration plan | 22:56 |
jroll | slash will be | 22:56 |
devananda | mrda: so, deprecate it. seriously | 22:57 |
*** romcheg has joined #openstack-ironic | 22:58 | |
devananda | mrda: care and feeding during end of life is one thing. creating a new library which we intend, in the long (or mid) term to only have one consumer doesn't make sense | 22:58 |
devananda | heading out in a bit ... sorta here for another ~15 min | 22:59 |
mrda | ok, thanks devananda - that's the direction I was looking for ;) | 22:59 |
devananda | mrda: i've had frustratingly little traction geting anyone on nova team to review the ironic driver spec | 22:59 |
NobodyCam | btw, great refactor on the tests ++ | 22:59 |
devananda | mrda: is taht something you might be able to help with? | 22:59 |
NobodyCam | ty | 22:59 |
devananda | NobodyCam: yvw | 23:00 |
mrda | devananda: I can try | 23:00 |
* mrda does a schoolrun, be back soon | 23:00 | |
*** dwalleck has quit IRC | 23:01 | |
devananda | mrda: https://review.openstack.org/#/c/95024/4 fwiw | 23:01 |
devananda | up for 3 weeks now, with only a few nitpicks | 23:01 |
jroll | devananda: what's the difference between / and // ? | 23:02 |
jroll | totally blanking out here | 23:02 |
NobodyCam | floor math | 23:03 |
NobodyCam | 5/2=2.5 vs 5//2=2 | 23:03 |
jroll | oh, right | 23:03 |
jroll | thanks | 23:03 |
jroll | well, 5/2==2, 5.0/2==2.5 :) | 23:03 |
NobodyCam | :-p | 23:04 |
devananda | jroll: where? | 23:04 |
devananda | oh, ya | 23:04 |
jroll | yeah, I've got it now, makes sense | 23:04 |
*** romcheg has quit IRC | 23:05 | |
NobodyCam | jroll: esp with lucas starting https://review.openstack.org/99426 | 23:05 |
jroll | yeah, I was looking at https://review.openstack.org/#/c/96902 though | 23:06 |
NobodyCam | i want 9.754 gb root | 23:06 |
NobodyCam | ya I could tell | 23:06 |
jroll | I want 100% root | 23:06 |
jroll | :) | 23:06 |
NobodyCam | heheheh | 23:07 |
comstud | r00t | 23:07 |
NobodyCam | w00t | 23:07 |
openstackgerrit | Jay Faulkner proposed a change to openstack/ironic-python-agent: Fix: partitions recently imaged not being detected https://review.openstack.org/99504 | 23:12 |
JayF | jroll: https://review.openstack.org/#/c/99504/ this is based on my set -e removal patch, because it's in the same file | 23:12 |
JayF | jroll: but my testing showed without the partprobe it doesn't work :( | 23:12 |
jroll | ... how did it work before? | 23:13 |
jroll | oh, right, blkid wasn't there | 23:13 |
*** rloo has quit IRC | 23:13 | |
jroll | cool | 23:13 |
JayF | yeah, and apparently parted sees the partitions even if partprobe isn't run | 23:13 |
*** rloo has joined #openstack-ironic | 23:13 | |
NobodyCam | omg.... | 23:18 |
*** romcheg has joined #openstack-ironic | 23:19 | |
NobodyCam | http://paste.openstack.org/show/PgPMbdRnkssVCWZiE8vu/ | 23:21 |
*** mdorman has quit IRC | 23:22 | |
mrda | NobodyCam: lol | 23:23 |
*** romcheg has quit IRC | 23:23 | |
NobodyCam | its just sitting there | 23:24 |
* devananda finally goes out for food | 23:26 | |
devananda | see ya'll tmw! | 23:26 |
NobodyCam | have a good night devananda | 23:26 |
NobodyCam | what | 23:27 |
NobodyCam | it just reset | 23:27 |
NobodyCam | wtf | 23:27 |
*** radsy has joined #openstack-ironic | 23:36 | |
*** lucas-dinner has quit IRC | 23:41 | |
*** rloo has quit IRC | 23:43 | |
*** rloo has joined #openstack-ironic | 23:43 | |
*** rloo has quit IRC | 23:45 | |
*** rloo has joined #openstack-ironic | 23:45 | |
*** romcheg has joined #openstack-ironic | 23:47 | |
*** romcheg has quit IRC | 23:51 | |
*** rloo has quit IRC | 23:56 | |
*** rloo has joined #openstack-ironic | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!