Thursday, 2016-08-04

jlvillalJayF: Damn Gerrit restart...00:00
jlvillalJayF: I tried to do a +200:00
JayFlol00:00
JayFI'm trying to do at least 10% of what I intended to do today00:00
JayFmy afternoon got sucked into the gate rabbithole00:01
JayFbut as long as tests pass, I'll be one patch deep into the rescue changes (that still need a spec review, if you're lookin' something to do :D)00:01
JayFjlvillal: it's a gerrit backup, to be clear :)00:01
jlvillalJayF: Okay :)00:01
*** sdake has quit IRC00:10
openstackgerritJay Faulkner proposed openstack/ironic: Add API and conductor methods for [un]rescue  https://review.openstack.org/35083100:13
*** baoli has joined #openstack-ironic00:13
*** mtanino has quit IRC00:14
*** baoli has quit IRC00:18
* JayF leaving for the evening o/00:19
JayFI'm seeing more gate failures that look unrelated to ironic but are affecting our patches00:20
JayFI notified infra but as I said, am gone for the day00:20
JayFhttp://logs.openstack.org/81/119981/33/check/gate-ironic-python-agent-python27-ubuntu-xenial/fc6fb6b/console.html#_2016-08-03_22_46_15_817261 is an example of one00:20
JayFo/ for real00:21
*** hoangcx has quit IRC00:37
*** hoangcx has joined #openstack-ironic00:37
*** hoangcx has quit IRC00:37
*** hoangcx has joined #openstack-ironic00:45
*** phuongnh has joined #openstack-ironic00:58
*** wajdi has joined #openstack-ironic01:08
*** rama_y has quit IRC01:11
*** Sukhdev has quit IRC01:12
*** yuanying has quit IRC01:14
*** yuanying has joined #openstack-ironic01:14
*** yuanying has quit IRC01:15
openstackgerritMerged openstack/ironic: Migrate to using keystoneauth Sessions  https://review.openstack.org/23698201:17
openstackgerritMerged openstack/ironic: Fix for "db type could not be determined" error message  https://review.openstack.org/35030201:17
*** yuanying has joined #openstack-ironic01:18
*** baoli has joined #openstack-ironic01:56
*** jmiu has quit IRC01:57
*** jmiu_ has joined #openstack-ironic01:58
*** wlfightup has joined #openstack-ironic01:58
openstackgerritZhenguo Niu proposed openstack/ironic-inspector: Allow conditions using values from introspection  https://review.openstack.org/34553501:59
*** ChrisAusten has joined #openstack-ironic02:01
*** amotoki has joined #openstack-ironic02:10
*** bfournie has joined #openstack-ironic02:16
*** baoli has quit IRC02:26
openstackgerritOpenStack Proposal Bot proposed openstack/bifrost: Updated from global requirements  https://review.openstack.org/35087502:33
openstackgerritOpenStack Proposal Bot proposed openstack/ironic: Updated from global requirements  https://review.openstack.org/35009702:35
openstackgerritOpenStack Proposal Bot proposed openstack/ironic-inspector: Updated from global requirements  https://review.openstack.org/35066902:35
openstackgerritOpenStack Proposal Bot proposed openstack/ironic-lib: Updated from global requirements  https://review.openstack.org/35088602:35
openstackgerritOpenStack Proposal Bot proposed openstack/ironic-python-agent: Updated from global requirements  https://review.openstack.org/35088702:35
*** tiendc has joined #openstack-ironic02:36
*** yuanying has quit IRC02:51
*** yuanying has joined #openstack-ironic02:54
*** yuanying has quit IRC02:56
*** sdake has joined #openstack-ironic03:04
*** sdake has quit IRC03:23
*** persia has quit IRC03:30
*** persia has joined #openstack-ironic03:33
*** jrist has joined #openstack-ironic03:34
*** zhangjl has joined #openstack-ironic03:36
*** sdake has joined #openstack-ironic03:50
*** yuanying has joined #openstack-ironic03:51
*** yuanying has quit IRC03:51
*** yuanying has joined #openstack-ironic03:52
*** amotoki has quit IRC03:54
*** amotoki has joined #openstack-ironic03:55
*** Sukhdev has joined #openstack-ironic04:03
*** Sukhdev has quit IRC04:04
*** Sukhdev has joined #openstack-ironic04:04
*** ayoung has quit IRC04:08
openstackgerritDebayan Ray proposed openstack/proliantutils: Adds constructor for InvalidInputError  https://review.openstack.org/32890404:16
openstackgerritShivanand Tendulker proposed openstack/ironic: Baremetal provisioning in UEFI secure boot mode for iLO drivers  https://review.openstack.org/23192704:16
openstackgerritHironori Shiina proposed openstack/ironic: Remove duplicate parameters from local.conf example  https://review.openstack.org/35097004:17
*** links has joined #openstack-ironic04:28
*** sdake has quit IRC04:37
*** appu103_ has joined #openstack-ironic04:42
*** appu103_ is now known as aparnav04:42
*** wlfightup has quit IRC04:58
*** moshele has joined #openstack-ironic05:00
*** jraju has joined #openstack-ironic05:04
*** moshele has quit IRC05:04
*** hshiina has joined #openstack-ironic05:05
*** links has quit IRC05:06
openstackgerritMerged openstack/python-ironicclient: Make shell main() specify return value in exit code  https://review.openstack.org/34919605:11
openstackgerritzhangyanxian proposed openstack/bifrost: Fix some spelling mistakes  https://review.openstack.org/35098105:14
*** wlfightup has joined #openstack-ironic05:16
*** rcernin has joined #openstack-ironic05:16
openstackgerritzhangyanxian proposed openstack/bifrost: Fix some spelling mistakes  https://review.openstack.org/35098105:18
*** zhangjl1 has joined #openstack-ironic05:20
*** zhangjl has quit IRC05:22
*** bvandewa has quit IRC05:22
*** sabeen has quit IRC05:36
*** tiendc|afk has joined #openstack-ironic05:38
*** tiendc has quit IRC05:41
*** moshele has joined #openstack-ironic05:52
*** ChrisAusten has quit IRC05:54
*** rbartal has joined #openstack-ironic05:57
openstackgerritNaohiro Tamura proposed openstack/python-ironicclient: Add soft reboot/poweroff power states.  https://review.openstack.org/24790405:58
*** moshele has quit IRC06:01
*** moshele has joined #openstack-ironic06:01
*** tiendc||afk has joined #openstack-ironic06:02
*** rama_y has joined #openstack-ironic06:03
*** tiendc||afk has quit IRC06:03
*** tiendc|afk has quit IRC06:04
*** tiendc||afk has joined #openstack-ironic06:04
*** zhangjl1 has left #openstack-ironic06:04
*** rama_y has quit IRC06:06
*** rama_y has joined #openstack-ironic06:06
*** jtomasek has quit IRC06:09
*** pcaruana has joined #openstack-ironic06:10
*** rama_y has quit IRC06:11
*** rama_y has joined #openstack-ironic06:11
*** tiendc||afk has quit IRC06:33
*** Sukhdev has quit IRC06:38
*** rama_y has quit IRC06:52
*** tesseract- has joined #openstack-ironic06:53
*** hoangcx has quit IRC06:54
*** hoangcx has joined #openstack-ironic06:56
*** zhangjl1 has joined #openstack-ironic07:06
*** ohamada has joined #openstack-ironic07:09
*** bvandewa has joined #openstack-ironic07:14
*** ccamacho has quit IRC07:16
openstackgerritAparna proposed openstack/proliantutils: Modify error message of InvalidInputException in hpssa  https://review.openstack.org/33889407:18
*** ccamacho has joined #openstack-ironic07:18
openstackgerritMoshe Levi proposed openstack/ironic: Adding InfiniBand Support  https://review.openstack.org/26426307:24
*** openstackgerrit has quit IRC07:33
*** openstackgerrit has joined #openstack-ironic07:34
openstackgerritMerged openstack/ironic-inspector: Updated from global requirements  https://review.openstack.org/35066907:41
openstackgerritAparna proposed openstack/proliantutils: Add hpssa support only in raid mode  https://review.openstack.org/34797807:42
*** vishwanathj has quit IRC07:44
*** e0ne has joined #openstack-ironic07:55
*** e0ne has quit IRC07:55
*** e0ne has joined #openstack-ironic07:56
*** milan has joined #openstack-ironic07:57
*** Lord_Phoenix has joined #openstack-ironic07:59
*** zzzeek has quit IRC08:00
*** bvandewa has quit IRC08:00
*** jpich has joined #openstack-ironic08:00
*** zzzeek has joined #openstack-ironic08:01
*** hoangcx has quit IRC08:01
*** hoangcx has joined #openstack-ironic08:04
openstackgerritDavanum Srinivas (dims) proposed openstack/ironic: [WIP] Testing latest u-c  https://review.openstack.org/31844008:10
openstackgerritNaohiro Tamura proposed openstack/python-ironicclient: Add a new command "ironic node-inject-nmi"  https://review.openstack.org/24790508:11
*** e0ne has quit IRC08:14
*** e0ne has joined #openstack-ironic08:15
*** Goneri has joined #openstack-ironic08:15
*** dtantsur|afk is now known as dtantsur08:16
dtantsurMorning Ironic08:16
pas-hamorning dtantsur and other ironicers :)08:19
*** dtantsur is now known as dtantsur|bbl08:23
lucas-dinnermorning pas-ha dtantsur|bbl08:24
*** lucas-dinner is now known as lucasagomes08:24
openstackgerritMerged openstack/ironic-inspector: Combine multiple warning logs into one in create_ports  https://review.openstack.org/34657808:24
*** Lord_Phoenix has quit IRC08:25
aarefievmorning!08:25
aarefievmorning dtantsur pas-ha lucas-dinner08:26
alinebmorning dtantsur|bbl pas-ha lucasagomes aarefiev08:27
*** Lord_Phoenix has joined #openstack-ironic08:27
alinebmorning all08:27
aarefievo/ alineb08:27
*** Lizhixin1 has joined #openstack-ironic08:33
lucasagomespas-ha, the problem with the node object hash still a thing?08:34
*** moshele has quit IRC08:41
*** moshele has joined #openstack-ironic08:45
*** jtomasek has joined #openstack-ironic08:53
*** Romanenko_K has joined #openstack-ironic08:57
*** e0ne has quit IRC09:03
*** e0ne has joined #openstack-ironic09:04
pas-halooks like, since the patch is not merged yet https://review.openstack.org/#/c/350679/09:07
vsaienk0Morning pas-ha, lucasagomes, dtantsur, alineb, aarefiev, vdrok, jroll, sambetts and all Ironic'ers!09:13
*** hshiina has quit IRC09:14
*** hshiina has joined #openstack-ironic09:14
openstackgerritJim Rollenhagen proposed openstack/ironic: Test that network_interface is explicitly set on POST/PATCH  https://review.openstack.org/34952009:14
openstackgerritJim Rollenhagen proposed openstack/ironic: Add a data migration to fill node.network_interface  https://review.openstack.org/34952809:15
jrollmorning y'all09:15
* jroll reapproves those rebases09:15
lucasagomespas-ha, thanks09:16
lucasagomesjroll, vsaienk0, morning09:16
pas-hamorning jroll09:16
jrolldevananda: JayF: yes, there are caveats, I plan to keep hacking on it during ocata :)09:18
openstackgerritPavlo Shchelokovskyy proposed openstack/ironic: Follow up to keystoneauth patch  https://review.openstack.org/35107609:18
pas-hafixed some typos ^09:19
lucasagomessomeone can get some eyes on: https://review.openstack.org/#/c/344164/ quick review, already has a +209:22
lucasagomescheers09:23
*** xek_ has joined #openstack-ironic09:23
*** xek has quit IRC09:24
*** Lizhixin1 has left #openstack-ironic09:24
openstackgerritMerged openstack/proliantutils: Adds constructor for InvalidInputError  https://review.openstack.org/32890409:28
*** stendulker has joined #openstack-ironic09:28
*** electrofelix has joined #openstack-ironic09:35
openstackgerritMoshe Levi proposed openstack/ironic-inspector: Adding InfiniBand Support  https://review.openstack.org/26425709:36
openstackgerritMoshe Levi proposed openstack/ironic-inspector: Dont review  https://review.openstack.org/34845709:36
mosheledtantsur|bbl: not sure I understand all you comments, but please reexamine my patch  https://review.openstack.org/26425709:37
openstackgerritAparna proposed openstack/proliantutils: Modify error message of InvalidInputException in hpssa  https://review.openstack.org/33889409:39
*** wlfightup has quit IRC09:40
*** wlfightup has joined #openstack-ironic09:40
*** mgould|afk is now known as mgould09:41
mgouldmorning Ironic!09:41
*** narasimha_SV has joined #openstack-ironic09:43
vsaienk0morning mgould!09:45
*** zhangjl has joined #openstack-ironic09:46
vdrokmorning ironic, dtantsur|bbl lucasagomes pas-ha aarefiev alineb mgould jroll09:46
vdrokand morning vsaienk0 :)09:46
mgouldmorning vsaienk0 vdrok lucasagomes pas-ha aarefiev alineb jroll09:46
*** zhangjl1 has quit IRC09:46
lucasagomesvdrok, mgould morning09:48
*** sambetts|afk is now known as sambetts09:55
sambettsMorning all09:55
sambettso/ vsaienk0, mgould lucasagomes jroll?!09:56
*** hoangcx has quit IRC10:04
*** dtantsur|bbl is now known as dtantsur10:12
dtantsurmorning sambetts, lucasagomes, vdrok, mgould, vsaienk0, pas-ha, aarefiev, alineb, jroll10:13
lucasagomeshi there10:13
dtantsurwow, so many of us this morning :)10:13
mgouldyeah, jroll is either up very early or very late10:24
mgouldor maybe BOTH10:25
*** chlong has quit IRC10:28
dtantsur:)10:31
*** amotoki has quit IRC10:31
narasimha_SVhttps://bugs.launchpad.net/ironic/+bug/160971610:36
openstackLaunchpad bug 1609716 in Ironic "db sync fails to create node_tags and portgroups table in mysql 5.6" [Undecided,New]10:36
narasimha_SVis there anyway how to resolve this issue?10:37
*** chlong has joined #openstack-ironic10:41
*** ohamada has quit IRC10:53
*** ohamada has joined #openstack-ironic10:53
dtantsurnarasimha_SV, I don't know, but I don't think it's a bug in Ironic itself, rather in oslo.db or sqlalchemy. could be helpful to get their folks involved10:57
*** tangchen_ has joined #openstack-ironic11:01
*** stendulker has quit IRC11:02
*** wlfightup has quit IRC11:02
tangchen_dtantsur: Hi Dmitry, would you please help to take a look at the functional test error here ?  https://review.openstack.org/#/c/350365/11:03
tangchen_dtantsur: I used "check experimental" to run the functional. But the environment failed to establish.11:04
*** wlfightup has joined #openstack-ironic11:04
dtantsurtangchen_, there is a mistake in project-config for this job, lemme check11:04
openstackgerritMerged openstack/ironic-lib: Updated from global requirements  https://review.openstack.org/35088611:04
tangchen_dtantsur: Oh, OK. Thanks. :)11:04
openstackgerritMerged openstack/ironic: Create a custom StringField that can process functions  https://review.openstack.org/35067911:05
narasimha_SVdtantsur: ok thanks I will raise there11:05
openstackgerritMerged openstack/ironic: Test that network_interface is explicitly set on POST/PATCH  https://review.openstack.org/34952011:06
fxpesterguys, I have a network in separate VLAN (from control nodes), is it possible to use Ironic in that VLAN ?11:07
jrollmgould: woke up early, checked on some things, went back to real life for a bit :)11:07
aparnavdtantsur: Hi11:10
aparnavdtantsur: I have a question about your comment 'need a generic way to configure steps priorities' in the RFE https://bugs.launchpad.net/ironic/+bug/159319411:11
openstackLaunchpad bug 1593194 in Ironic "[RFE]Add hardware disk erase as cleaning step" [Undecided,Incomplete] - Assigned to Aparna (aparnavtce)11:11
dtantsurnarasimha_SV, you need to put `export PROJECTS="openstack/ironic"` before https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ironic.yaml#L24111:11
dtantsurnarasimha_SV, similar to https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ironic.yaml#L274-L27511:11
dtantsuraparnav, sure11:11
jrolltangchen_: ^ I think that PROJECTS thing was meant for you :P11:11
mat128|afkgood morning everyone11:13
*** mat128|afk is now known as mat12811:13
aparnavdtantsur: Should I wait for the generic way to configure the step priority to be implemented? What do you suggest?11:13
dtantsuraparnav, not sure about "wait", as nobody is working on it. you're free to suggest such way and implement it.11:14
dtantsuraarefiev, wanna review/approve https://review.openstack.org/#/c/321082/ ?11:14
aarefievdtantsur: yeah, I've reviewed it, does all depended patches merged?11:16
dtantsuraarefiev, seems so11:16
aarefievwow, looking11:16
tangchen_jroll: Hi, jroll, thanks for the reply. But sorry, what PROJECTS thing ?11:16
dtantsuroh yeah, sorry narasimha_SV, my comments were directed at tangchen_11:17
* dtantsur is confusing nicks he does not see too often11:17
*** amotoki has joined #openstack-ironic11:17
dtantsurmorning mat12811:18
aparnavdtantsur: Is it possible to push this RFE first and then looking into the option for implementation of generic way for clean priority?11:18
aparnavbecause it a small change11:18
dtantsuraparnav, I'm not in support of adding an option for a clean step which is not even upstream, sorry11:18
dtantsurit's a small change, but imagine every vendors comes with a few such small changes...11:18
jrolltangchen_: what dtantsur said, "you need to put `export PROJECTS="openstack/ironic"` before https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ironic.yaml#L241 similar to https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ironic.yaml#L274-L275 "11:19
tangchen_jroll: Oh, I didn't see it. Thanks a lot :)11:20
jrollno problem :)11:20
aparnavdtantsur: yea I understand that. thanks11:20
*** lucasagomes is now known as lucas-hungry11:21
tangchen_jroll, dtantsur: Hi, guys, I see. Will try it. Thanks. :)11:24
*** aparnav has quit IRC11:26
*** chlong has quit IRC11:27
*** chlong has joined #openstack-ironic11:28
fxpesterguys, is ironic support dhcp relay ? it is possible to deploy BM in separate VLAN ?11:29
dtantsurfxpester, ironic is not involved in DHCP directly, and I doubt that neutron supports DHCP relays11:30
dtantsurfxpester, if you figure out the way to make it work - lemme know, we would be also very interested :)11:30
dtantsurworth checking with neutron folks on #openstack-neutron, I think11:31
openstackgerritMerged openstack/proliantutils: Modify error message of InvalidInputException in hpssa  https://review.openstack.org/33889411:33
mgoulddtantsur, fxpester: OTOH, ironic-inspector does deal with DHCP directly11:37
dtantsuryeah, but the question was about ironic :)11:37
* mgould doesn't know enough about DHCP relays to know if inspector would work with them, but guesses not11:37
dtantsurdsneddon tried, I think11:38
*** xek__ has joined #openstack-ironic11:41
*** xek_ has quit IRC11:42
openstackgerritMerged openstack/ironic: Update devstack plugin with new auth options  https://review.openstack.org/29731211:46
jrollI think you have to configure your switches yourself to do dhcp relay, unless an ML2 plugin will do that11:47
TheJuliaGood morning11:48
mat128jroll: ^ bingo11:48
mat128I meant fxpester: ^11:48
mat128hi TheJulia11:48
dtantsurmorning TheJulia11:48
jrollmorning TheJulia, mat128 :)11:48
dtantsurjroll, I've heard complaints that dnsmasq does not deal with relayed DHCP requests properly..11:49
vsaienk0morning TheJulia, mat12811:49
TheJuliadtantsur: I've heard the same, but I have no firsthand experience with trying it.11:49
jrolldtantsur: oh hey, another reason not to use dnsmasq :)11:49
dtantsurhehe11:49
jrollthat isn't good though11:49
jrollI wonder if it's dnsmasq itself or the way neutron configures it11:49
jrollalmost like I need a lab or something... >.>11:50
*** amotoki has quit IRC11:50
dtantsurjroll, our guy didn't succeed with dnsmasq standalone (for ironic-inspector) too11:50
jrollouch11:50
dtantsur... and don't get me started on having an actual lab >_<11:50
jrollthat's something we need to fix11:50
jrolleven if it means contributing isc support to neutron11:50
* jroll is going to hate himself for saying that11:51
* fxpester having headache with dnsmask&dhcrelay right now ^^11:51
jrollJayF: morgabra: ^^ you'll be interested in this conversation11:51
dtantsurhe was thinking about writing his own DHCP server in Python :)11:51
mat128jroll: thats a big one :)11:51
TheJuliapartially11:51
jrolldtantsur: a dhcp server written with twisted has been on my "someday" list for a couple years now11:51
TheJuliaa lot of the concepts are the same11:51
dtantsurjroll, oh cool. I used to do a lot of Twisted a couple of years go btw11:52
mat128TheJulia: can't tell who you are replying to?11:52
TheJuliajroll: If you do that, we may have to question your sanity :)11:52
jrollwe've been considering moving to using neutron for dhcp, this would put a big rock in that plan :(11:52
TheJuliamat128: you :)11:52
jrolldtantsur: neat, I worked in the same office as glyph for a while, he's the one trying to convince me to write it11:52
dtantsurjroll, anyway, for now I'm thinking more about neutron-less operation and static DHCP in every L2 domain11:52
TheJuliamat128: Relative sizing differences I guess :)11:52
mat128TheJulia: ah! so you dont think neutron-isc work is all that big?11:52
mat128:)11:52
jrolldtantsur: yeah, that's what we do now11:53
dtantsurjroll, that's why I'm thinking about that ;)11:53
jrolldtantsur: there's some problems, like needing to deploy dhcp configs every time you add hardware11:53
TheJuliamat128: I would say medium-ish if a real lab was available >.>11:53
jrollit also means one ramdisk for every node unless you get fancy11:53
dtantsurjroll, we do have one ramdisk in tripleo, so it's not a huge deal11:53
mat128TheJulia: why do you need a real lab for this?11:54
dtantsurjroll, wdym by "add hardware" here?11:54
TheJuliamat128: testing dhcp relaying of course11:54
jrolldtantsur: adding nodes11:54
mat128TheJulia: ah.. yeah11:54
mat128TheJulia: we have one pair of static DHCP servers and a relay in every L2 domain11:54
dtantsurjroll, hmm, so do you use MAC-based configuration for nodes, not just /tftpboot/pxelinux.cfg/default (roughly speaking)?11:55
mat128TheJulia: I just trust the network equipment to do relaying correctly and blame it on the network guys if it doesn't ;)11:55
openstackgerritTang Chen proposed openstack/python-ironicclient: Fix i18n problems in shell.py  https://review.openstack.org/34934311:55
jrolldtantsur: you also need to know the mac address ahead of time, which means convincing your vendor to provide those, and the inevitable typo11:55
TheJuliamat128: lol11:55
jrolldtantsur: well, we use macs for configuring static DHCP :)11:55
jrollyou need to know the mac address to do it statically11:55
dtantsurI see. I'm thinking of reusing inspector's catch-all configuration11:55
mat128jroll: why not a catchall?11:56
jrollah11:56
openstackgerritMerged openstack/ironic: Revert "Devstack should use a prebuilt ramdisk by default"  https://review.openstack.org/35078911:56
dtantsur(and local boot for instances, obviously)11:56
jrollwe had a reason11:56
jrollnow I'm wondering what that was11:56
mat128different kernel cmdline per machine?11:56
jrollI think it's basically so the agent always has the same IP in the provisioning/cleaning networks11:56
dtantsurmaybe root device hints?11:56
*** bfournie has quit IRC11:56
jrollnope11:56
dtantsurah11:56
jrollwe're very homogenous, no need for different kernel cmd line or anything11:57
dtantsurcool, that's what I wanted to confirm11:57
jrollprobably a mix of 'same IP always' and "if someone manages to get on the network, they don't get an agent, at least without some mac spoof effort"11:57
mat128jroll: oh i see11:58
*** phuongnh has quit IRC11:58
mat128jroll: we made the mistake of considering a similar "management" network as blessed in a previous (circa 2009/2010) product11:58
*** lucas-hungry is now known as lucasagomes11:58
dtantsurmakes sense, though knowing MACs is probably not acceptable in hour case11:58
mat128jroll: we just consider that network as hostile now, and make all decisions accordingly11:58
dtantsurs/hour/our/ of course11:58
jrollmat128: yeah, safe to assume every network is owned11:59
mat128dtantsur: if ironic reconfigures DHCP based on node config, you don't need to deploy dhcp configs manually11:59
mat128dtantsur: it would, but dnsmasq :(11:59
dtantsurwell, yeah, if we had DHCP relay support, everything would just work11:59
mat128dtantsur: not sure it's even relay11:59
mat128dtantsur: you could tell, neutron, please put a dhcp in that network_uuid and make it serve these leases12:00
mat128dtantsur: you don't really care how it does it (multiple dhcps, one and relays, etc.)12:00
dtantsurmat128, but how will it work, if neutron is on different network and dnsmasq does not (apparently) support relaying?12:00
mat128dtantsur: neutron will take care of the dhcp on $deployment_network12:00
mat128with that upcoming work :)12:01
dtantsurmat128, yes, if it has access to the L2 domain, right?12:01
dtantsurmaybe I'm saying stupid things, please bear with me for a second :)12:01
mat128yes, if you use real hardware then your ML2 plugin has to support configuring this12:01
mat128the relay is just to make DHCP requests across L2 domains12:02
openstackgerritKyrylo Romanenko proposed openstack/ironic-specs: Amend driver section of spec for ironic OSC plugin  https://review.openstack.org/35114012:02
mat128it basically encapsulates back and forth12:02
mat128same as having a (distinct) dhcp in every L212:02
*** clenimar_ has joined #openstack-ironic12:02
dtantsurwe're highly heterogeneous :( so we can't always rely on even present ML2 plugin12:02
TheJuliaShamless plug for the oneview driver team, Their dynamic allocation feature presently has 2x +2s https://review.openstack.org/#/c/286192/12:03
mat128dtantsur: then neutron has to have L2 access or you have to configure dhcp relay manually12:03
mat128dtantsur: no other way of doing network boot12:04
dtantsuryeah, this is my point: we have a case when they don't want an L2 access (sigh)12:04
*** zhangjl has quit IRC12:04
mat128dtantsur: from a sec. standpoint, it makes sense12:04
jrolllooking at dnsmasq man page, seems like there is support for relays, it may just need extra configuration12:05
openstackgerritTang Chen proposed openstack/ironic: Split API root unit and functional tests  https://review.openstack.org/34896512:05
mat128dtantsur: even if dnsmasq had relay support (integrated in neutron), it wouldn't help you dtantsur12:05
openstackgerritTang Chen proposed openstack/ironic: Move api driver tests to functional dir  https://review.openstack.org/35036512:05
openstackgerritTang Chen proposed openstack/ironic: Prepare for functional tests  https://review.openstack.org/34942112:05
jrollmaybe it is just a neutron thing12:05
* mat128 mentions people twice... need more coffee12:05
TheJuliamat128: espresso :)12:06
jrollsee the text for --dhcp-range and --dhcp-proxy: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html12:06
mat128jroll: but then that dnsmasq instance *does* relaying12:06
mat128you need to run this in the L2 domain where you want dhcp requests to work12:06
jrollmat128: no, that's a different option12:06
mgouldmorning mat128 TheJulia12:06
jrollnot surprisingly called --dhcp-relay12:07
*** clenimar_ has quit IRC12:07
TheJuliagood morning mgould12:07
mat128jroll: my understanding of this option is: relay the first call, let the rest happen with the real (origin) server12:07
mat128origin as in cdn lingo12:07
jrollmat128: yeah, I think that's how normal dhcp relays work, the request is relayed, the rest is direct12:08
mat128jroll: something has to have L2 access, either a relay (it could be a physical router)12:08
jrollmat128: so --dhcp-range talks about caveats with that12:08
mat128jroll: real relays, nope12:08
mat128see it more like a proxy12:08
jrollmat128: and --dhcp-proxy makes *all* dhcp traffic go through the relay12:08
mat128eh12:08
jrollwhich should do what you want here12:08
mat128jroll: ok I think I got it wrong12:08
mat128but IRL, a "dhcp relay" is what you describe as a proxy12:08
jrolls/you/dnsmasq/12:09
mat128given the original host has no access to the DHCP living in a different L2 domain12:09
mat128haha12:09
lazy_princeI am trying to setup ironic using devstack and with flat network. if someone has done this before, it could save my time..12:09
mat128TheJulia was right, dnsmasq implementation is all contained in "dhcp.py" in neutron. Doesn't look pluggable, but I guess it woul be possible12:10
jrollso I think neutron just needs to know to pass that (or maybe "extra dnsmasq options" are a config thing?)12:10
jrollwait, neutron has things that aren't pluggable?12:10
mat128jroll: I don't think you can choose your dhcp implementation12:10
mat128i might be wrong12:10
jrollthere's a dhcp_driver config in neutron.conf.agent.dhcp12:11
mat128jroll: well, if you happen to have a software that has the dnsmasq "api" in all forms and shape, you can simply change "DNSMASQ_SERVICE_NAME = 'dnsmasq'" to something else12:11
TheJuliamat128: I'm full of semi-useless information because I've had to dig through much of the code base debugging issues :)12:11
lazy_princethere are neutron dhcp agents, the default uses dnsmasq, but you could write one which uses isc-dhcp-server too..12:11
jrolllazy_prince: agree12:12
jrolllooks like it'd be pretty easy to add a CONF.dhcp_proxy=<relay_ip> and add it to the dnsmasq implementation12:13
jrollagain, I'd need a lab to actually test this12:13
mat128jroll, lazy_prince: then I'm wrong :) it,s pluggable12:13
jrolland some switch config skills12:13
openstackgerritMerged openstack/ironic-inspector: Add GenericLocalLinkConnectionHook processing hook  https://review.openstack.org/32108212:13
mat128jroll: I'm not sure how that would help given you need L2 access12:14
mat128which is what dtantsur was trying to avoid12:14
*** afaranha_ has quit IRC12:14
jrollmat128: --dhcp-proxy makes everything go through the relay12:15
mat128but the relay has to listen on that other vlan12:15
jrollwhich I think means you don't need direct L2, right?12:15
jrollsure?12:15
jrollI mean, I'd have the relay in the TOR switch12:15
mat128jroll: if you run a dhcp at your place, and you tell it "proxy to mat128's dhcp server"12:15
mat128jroll: thats whats missing12:16
mat128the real dhcp server doesn't have to know someone is using it through a relay12:16
jrollI'm confused about the requirements, I guess12:16
TheJuliamat128: I thought dhcp servers needed to be aware of the range and the existence of the relay to work correctly...12:17
mat128let me check our config real quick12:17
jrollwhat I'm imagining is [node] <----vlan2----> [switch-with-dhcp-relay] <----vlan3----> [dhcp-server]12:17
jrollwhich means node and dhcp-server can't talk over l212:17
TheJuliaI've had to do relaying before and I remember having to do some server side config to make it happy12:17
mat128that "switch with dhcp relay" is normally a l3 switch/router, but yeah12:17
jrollbut if everything is relayed through the switch, you're good12:17
TheJuliabut, it was a windows dhcp server12:17
*** Goneri has quit IRC12:17
mat128jroll, TheJulia: our conf has only the subnet to be served12:19
mat128and the classic stuff, dns, next-server and such12:19
jrollditto, with isc12:19
*** MattMan has quit IRC12:19
jrollseems dnsmasq needs extra config12:19
*** MattMan has joined #openstack-ironic12:19
mat128our L3/router would encapsulate node's request it saw on vlan2, transfer it to vlan3 and encapsulate the reply back12:19
mat128to be broadcasted on vlan212:20
*** baoli has joined #openstack-ironic12:20
mat128but dtantsur was saying he has no way of configuring that vlan with a relay12:20
vdrokhuh, has anyone seen this before? http://logs.openstack.org/99/325599/24/check/gate-ironic-python35-db/2fbac81/console.html12:20
mat128the altnernative is having a dhcp-server on every segment, which is what neutron does when you use it's dnsmasq impl.12:20
*** narasimha_SV has quit IRC12:21
mat128vdrok: timeout running the db migration?12:21
jrollmat128: I mean, if you don't have direct connectivity to the dhcp server, you need a relay ofc :P12:21
vdrokyep12:21
jrollthe dnsmasq config for the two different types of relays https://gist.githubusercontent.com/jimrollenhagen/cb2ff54fc954235cd129cf5b29a850c0/raw/e14308231f70493407f73a6df8fbe6c1e526822d/gistfile1.txt12:21
dtantsurvdrok, just looked, suspicious..12:21
jrollthat's odd12:22
jrollmat128: I'd love to run the dhcp agent itself on our TORs12:22
jrollI think just knowing they can run python I've been wanting to run something on them heh12:23
mat128jroll: you can always get your hardware from https://www.cumulusnetworks.com/12:23
mat128jroll: I've seen a demo from them in Van where they has the neutron agent running directly on the switch12:23
jrollmat128: yeah, we run arista in v2, same idea, full linux12:23
jrolloh look, they put BGP on the host12:24
jroll\o/12:24
*** Goneri has joined #openstack-ironic12:25
mat128jroll: yeah, I've heard it eats 30% of your computing power though, unsure why (it's just announces / routing)12:25
jrollmat128: because quagga :D12:25
*** baoli_ has joined #openstack-ironic12:25
mat128good old specialized hardware vs generic stuff debate12:25
mat128yeah12:25
*** dprince has joined #openstack-ironic12:28
*** fellypefca has joined #openstack-ironic12:28
*** baoli has quit IRC12:29
*** bfournie has joined #openstack-ironic12:31
*** hshiina has quit IRC12:33
dtantsursome time ago I was advocating for iPXE as a more stable technology.. I'd like to take my words back >_<12:40
lucasagomeslol12:40
lucasagomesproblem is the alternatives are not great either12:40
mgoulddtantsur: what do you mean, unstable? The version packaged in RPMs hasn't been updated for three years...12:40
dtantsurI'm using a new one (well, new.. from January)12:41
* jroll is curious what's wrong with ipxe12:41
* mgould is starting to think the answer is "just leave your computers turned off, no good can come of booting them"12:41
jroll+112:41
dtantsurit's unstable like hell...12:41
lucasagomesjroll, one thing is their releases12:41
dtantsurmgould++12:41
lucasagomeswhich means, no releases heh12:41
lucasagomesthe last release of ipxe was in 2010 I think12:41
* mgould learned yesterday that ipxe error codes are actually bitmasks12:41
mgouldbut the docs don't specify the endianness12:42
lazy_princeI have seen iPXE issues with Emulex when booting in UEFI mode..12:43
lucasagomesmgould, you usually get an error code no? E.g http://ipxe.org/err/4c106012:43
openstackgerritJim Rollenhagen proposed openstack/ironic: Add keystone policy support to Ironic  https://review.openstack.org/32559912:43
*** amotoki has joined #openstack-ironic12:43
jrollrebase to pick up unit tests fix ^12:43
mgouldlucasagomes: yeah, and yesterday I got http://ipxe.org/err/040ee18612:43
mgouldwhich redirects to 040ee112:44
jrolldtantsur: let's get your agent api thing merged today :)12:44
mgouldwhich led to me grepping the source code and finding that the error codes are constructed at runtime by bit-twiddling other things12:44
TheJulialucasagomes: yeah, last tagged in 2010, but still gets fixes and updates on their mater branch12:44
lucasagomesIPv6 is also disabled by default in iPXE so you have to change the code and rebuild the image (/me added instructions here https://wiki.openstack.org/wiki/Ironic/IPv6)12:44
lucasagomesTheJulia, yeah12:44
dtantsurjroll, let's try, but I have an hour-long meeting in 15 minutes12:44
lucasagomesTheJulia, it's just harder for packaging I guess12:44
TheJuliayeah12:44
jrolldtantsur: if you agree with my 404 comment, I can do the rebase and fix it in a moment12:44
jrolls/moment/little while/12:45
openstackgerritMerged openstack/ironic-specs: Amend driver section of spec for ironic OSC plugin  https://review.openstack.org/35114012:45
* jroll bbiab12:46
dtantsurjroll, I agree, please do. however, the rebase might be tricky12:46
jrolldtantsur: well, I'll take a look and if it's hard I'll leave it for you :P12:46
mgouldlucasagomes: oh God, the bitmasks aren't even aligned to byte boundaries12:48
xavierrgood morning Ironic12:50
dtantsurjroll, lucasagomes, here's the bug, feel free to look at screenshots: https://bugzilla.redhat.com/show_bug.cgi?id=136407912:50
openstackbugzilla.redhat.com bug 1364079 in ipxe "iPXE hangs with an infinite stream of different errors" [Unspecified,New] - Assigned to rhos-maint12:50
mgouldmorning xavierr12:51
xavierrjroll: any idea when going to happen the next ironic cut?12:51
xavierrhey mgould12:51
* lucasagomes looks12:51
*** dtantsur is now known as dtantsur|mtg12:54
lucasagomesdtantsur|mtg, is it a virtual machine?12:54
openstackgerritMerged openstack/ironic: Add metrics for the ipmitool driver  https://review.openstack.org/35050212:54
dtantsur|mtglucasagomes, no, hw12:55
lucasagomesack, I can try to investigate after the meeting if needed12:55
xavierrmorning dtantsur|mtg lucasagomes o/12:56
lucasagomesxavierr, hi there :-)12:57
xavierrhey lucasagomes, need you help12:58
xavierrhehehe12:58
xavierrs/you/your/12:58
*** tangchen_ has quit IRC12:58
*** mgould is now known as mgould|mtg12:58
*** tangchen has quit IRC12:59
xavierrlucasagomes: could you take a look on 286192 and +a if possible?12:59
lucasagomesxavierr, yeah, I've a meeting right now but after that I will take a look13:00
xavierrlucasagomes: awesome lucas, thank you so much13:00
dtantsur|mtgmilan, retro?13:01
milandtantsur|mtg, oops13:01
* milan logs in13:01
openstackgerritMerged openstack/ironic: Add a data migration to fill node.network_interface  https://review.openstack.org/34952813:01
*** jpich has quit IRC13:03
*** Lord_Phoenix has quit IRC13:09
*** sdake has joined #openstack-ironic13:11
jrollxavierr: I'd like to do 6.1.0 next week and 7.0.0 by the end of the cycle13:13
jrollthat patch that just merged is what I was waiting for :D13:13
*** permalac has joined #openstack-ironic13:13
permalachello guys.13:13
permalacI have a baremetal compute node that I want to discover with ironic, but this compute only has support for uefi.13:14
permalacI'm on kilo and I'm no sure if the ironic has support for uefi discovery .13:14
mgould|mtgpermalac: not until Liberty13:14
permalacmgould|mtg, no workarround, not even with something like this ?  => http://docs.openstack.org/developer/ironic/kilo/deploy/install-guide.html#pxe-uefi-setup13:15
mgould|mtgpermalac: not that's documented, though I guess you could make the changes in https://review.openstack.org/#/c/308271/ manually13:18
mgould|mtgalso https://review.openstack.org/#/c/308272/13:19
* mgould|mtg is in a meeting and can't really pay attention, sorry13:19
permalacmgould|mtg, thanks. I don't really know how to read this change but I'll try. :)13:20
*** sdake has quit IRC13:24
*** thiagop has joined #openstack-ironic13:25
thiagopGood morning folks13:26
*** wlfightup has quit IRC13:34
*** Lord_Phoenix has joined #openstack-ironic13:34
jrolldtantsur|mtg: you might enjoy [openstack-dev] [Nova] Some thoughts on API microversions13:36
jroll:D13:36
thiagoplol13:37
*** jvgrant_ has joined #openstack-ironic13:38
*** jpich has joined #openstack-ironic13:45
*** mgoddard_ has joined #openstack-ironic13:45
*** ametts has joined #openstack-ironic13:45
*** jraju has quit IRC13:46
NobodyCamGood morning ironic'ers :)13:47
openstackgerritJim Rollenhagen proposed openstack/ironic: Promote agent vendor passthru to core API  https://review.openstack.org/33001813:47
jrolldtantsur|mtg: ^ rebased, fixed my -1s13:48
*** mgoddard has quit IRC13:48
*** fellypefca has quit IRC13:50
xavierrjroll: thank you :)13:50
*** ppiela has quit IRC13:51
openstackgerritJim Rollenhagen proposed openstack/ironic: Promote agent vendor passthru to core API  https://review.openstack.org/33001813:53
jrolland some fixes13:54
*** sdake has joined #openstack-ironic13:54
*** PollyZ has joined #openstack-ironic13:58
*** mgoddard_ has quit IRC13:58
*** mgoddard has joined #openstack-ironic13:58
*** baoli_ has quit IRC13:59
*** milan has quit IRC14:01
*** milan has joined #openstack-ironic14:01
*** PollyZ has quit IRC14:02
*** joprovost has joined #openstack-ironic14:02
*** PollyZ has joined #openstack-ironic14:03
jrollfolks, let's see if we can get ^ that one in today14:04
jrolltoo many rebases14:04
mgould|mtgpermalac: copy ipxe.efi to /tftpboot on the machine running inspector, create an inspector.ipxe file based on the template and put it in /httpboot, patch /etc/ironic-inspector/dnsmasq.conf to contain the logic in the other template14:04
mgould|mtgprobably some other things14:04
mgould|mtgtl;dr are you really sure you want to do this? :-)14:05
mgould|mtgNobodyCam: morning!14:06
mgould|mtgmorning thiagop14:06
thiagopmorning NobodyCam mgould|mtg14:06
xavierrmgould|mtg: what does mean 'mtg'? hehe14:07
NobodyCamMorning mgould|mtg, thiagop, xavierr and jroll14:08
mat128xavierr: I would guess "meeting"14:08
mat128xavierr: dtantsur has it too ;)14:09
xavierrhey NobodyCam \o/14:09
xavierrmat128: interesting14:09
NobodyCamMorning mat12814:09
xavierr;)14:10
NobodyCamO/14:10
mat128hey :)14:13
dtantsur|mtgjroll, thanks for rebasing!14:13
dtantsur|mtgoh microversions, not again......14:13
NobodyCamMorning dtantsur|mtg ... lol14:14
jrolldtantsur|mtg: it's a relevant discussion14:14
*** dtantsur|mtg is now known as dtantsur14:14
dtantsurokie, I'll check it14:14
dtantsurwill take some rest from the meeting first14:15
*** mgould|mtg is now known as mgould14:15
jrollyeah no rush ofc14:15
mgouldxavierr: "in a meeting"14:15
*** livelace has joined #openstack-ironic14:16
mgouldhence both me and dtantsur having the tag simultaneously :-)14:16
xavierrI will be in a meeting in minutes, so...14:16
*** xavierr is now known as xavierr|mtg14:17
* mgould was in meetings before it was cool14:17
xavierr|mtgo/14:17
xavierr|mtghahahaha14:17
mgouldo/14:17
NobodyCam:)14:17
*** hoangcx has joined #openstack-ironic14:17
dtantsuralso morning NobodyCam, xavierr|mtg, thiagop and everyone else14:17
thiagopdtantsur: o/14:18
*** moshele has quit IRC14:19
*** syed_ has joined #openstack-ironic14:22
*** PollyZ has quit IRC14:22
*** ppiela has joined #openstack-ironic14:22
*** amotoki has quit IRC14:22
permalacmgould, I have to do it.14:22
mgouldpermalac: good luck!14:23
*** PollyZ has joined #openstack-ironic14:23
mgouldpermalac: do you have iPXE enabled for introspection already?14:24
*** joprovost has quit IRC14:24
permalacmgould, I have not done it myself, but if its default it maybe.14:27
mgouldalas, no14:28
mgouldinstructions here: http://docs.openstack.org/developer/ironic-inspector/install.html#configuring-ipxe14:28
mgouldoh, cool, that dnsmasq.conf has UEFI support14:28
mgouldyeah, I think those instructions should cover you14:29
mgouldyou'll need a recent version of iPXE in order to get the file ipxe.efi: you might have to download it from ipxe.org14:29
*** mtanino has joined #openstack-ironic14:31
mgouldpermalac: if you want to *deploy* to UEFI machines, you'll also need to follow the instructions at http://docs.openstack.org/developer/ironic/deploy/install-guide.html?highlight=elilo#ipxe-setup14:31
mgouldpay particular attention to step 614:31
mgould[no idea if those instructions work on Kilo, sorry]14:31
permalacmgould, almost got me.  :D14:32
*** vishwanathj has joined #openstack-ironic14:32
mgould?14:32
*** catintheroof has joined #openstack-ironic14:32
permalacI'll have to try very slowly, its my first time with rh director and I go slow.14:32
* mgould nods14:32
*** tangchen has joined #openstack-ironic14:32
*** tangchen_ has joined #openstack-ironic14:32
permalacI'll have to try, I thought you just gave me gold. But then you  come with the "not sure if works with kilo" , so you almost got me there. :)14:33
mgouldpermalac: I've been trying to debug a failing UEFI deployment in our lab for the last 2.5 days, so can confirm this is not an easy place to start14:33
*** Lord_Phoenix has quit IRC14:33
fxpesterjust build devstack with ironic, tried to start VM by instruction, it is in state "testing | BUILD  | spawning   | NOSTATE     | private=10.1.0.6" for a hour now14:34
mgouldpermalac: the introspection-with-UEFI instructions should work, but I'm less sure about the deployment ones14:34
mgouldI'm not sure when ironic added support for UEFI deployments14:35
xavierr|mtgfxpester: have you already seen the logs14:35
xavierr|mtg?14:35
*** Goneri has quit IRC14:35
permalacmgould, I'll have to dig deep then. :'/14:35
fxpesterlogs: "Command stdout is: "Chassis Power is off"14:35
*** joprovost has joined #openstack-ironic14:36
mat128fxpester: thats log output from ipmitool, do you know if the machine is doing anything?14:37
fxpestermat128:  hm /usr/bin/qemu-system-x86_64 is strted14:37
mat128virsh list, try to get the graphical / serial console on it14:38
mat128it may be redirected in a file, depending on your config14:38
mgouldpermalac: looks like you're out of luck https://bugs.launchpad.net/ironic/+bug/152598914:38
openstackLaunchpad bug 1525989 in Ironic "iPXE can't be configured with UEFI" [Wishlist,Fix released] - Assigned to Lucas Alvares Gomes (lucasagomes)14:38
mgouldanyone: is it possible to deploy to UEFI machines with Kilo?14:39
openstackgerritHugo Nicodemos proposed openstack/python-oneviewclient: Workaround to OneView pagination  https://review.openstack.org/34853214:40
permalacmgould, then I have a misconception here, UEFI requires iPXE  , its a must , can not be done without iPXE, no other way .  But I have a kickstart file to install my uefi machines, this same kind of machines from a tfpt server on another place.14:41
openstackgerritAkilan Pughazhendi proposed openstack/ironic: Updated Dev quickstart for viewing doc changes  https://review.openstack.org/35070514:41
mgouldpermalac: I don't know if *ironic* has support for UEFI machines without using iPXE14:42
* mgould <- still fairly new here14:42
mat128mgould: I don't think it can since only iPXE can boot EFI, afaik14:42
mgouldhuh, OK14:42
mat128mgould, permalac: let me rephrase that: given iPXE is required to boot EFI, I don't see any other way Ironic could use to boot EFI without iPXE14:43
mat128does that make sense?14:43
mgouldyep14:43
* mat128 is an EFI noob, though14:43
* mgould doesn't really understand it either14:43
*** jcoufal has joined #openstack-ironic14:45
lucasagomesxavierr|mtg, around? Do you have some time to do a follow up on that oneview patch?14:45
permalacmat128, yes. thanks for the clarification.14:46
xavierr|mtgsure lucasagomes :)14:46
permalachow to you guys do that * thing. Like *I'm in a meeting, * <-- still farily new here.14:46
permalac:)14:46
mgouldlucasagomes: is iPXE required to support UEFI?14:46
mgould(a) in general, (b) in Ironic?14:46
lucasagomesxavierr|mtg, cool it should quick, I will +2 it after that14:46
mat128type   /me something14:46
lucasagomesxavierr|mtg, it's looking good btw14:46
* mat128 something14:47
mat128permalac: ^ this?14:47
lucasagomesmgould, not really, you can use other bootloaders for that14:47
mgouldcool, that's what I thought14:47
mgouldpermalac is trying to configure a Kilo cloud to introspect and deploy to UEFI nodes; is this possible?14:48
* xavierr|mtg will do it right now lucasagomes :)14:48
lucasagomesxavierr|mtg, cool, just ping me when it's done and i will +2 it14:49
xavierr|mtglucasagomes: thanks14:49
* mgould -> lunch, brb14:49
lucasagomesmgould, late lunch, enjoy :D14:50
*** Sylvester has joined #openstack-ironic14:51
jrollmultitenant network nova patch is merged \o/ \o/ \o/ \o/ \o/14:59
jrollgreat work everyone14:59
thiagopw00t!!!!15:01
JayFjroll: also b/c we plug both network interfaces into agent/rescue networks15:01
*** tangchen has quit IRC15:03
*** tangchen_ has quit IRC15:03
*** wajdi has quit IRC15:04
jlvillaljroll: Woo hoo! :)15:05
sambetts\o/15:05
fxpestermat128: done VNC, VM going from `Booting Kernel` state directly to loop X_X15:05
mat128jroll: party!15:06
mat128fxpester: what is ironic node-show saying?15:06
mat128fxpester: in paste.openstack.org preferably15:06
dtantsurwow wow wow15:07
openstackgerritMichael Turek proposed openstack/python-ironicclient: Add possibility to work with portgroups  https://review.openstack.org/33596415:07
fxpestermat128: http://paste.openstack.org/show/549247/15:08
mat128fxpester: that machine is available but it has an instance_uuid15:08
*** rcernin has quit IRC15:09
mat128fxpester: can you grep the node uuid in ironic-conductor logs (ir-cond) ?15:09
mat128fxpester: I wonder what happened that brought it back to availalbe15:09
fxpesterhttp://paste.openstack.org/show/549250/15:10
openstackgerritVladyslav Drok proposed openstack/ironic: Fix tempest realted exceptions during docs build  https://review.openstack.org/35123915:10
mat128fxpester: this one is cleaning, maybe the deployment failed?15:11
*** moshele has joined #openstack-ironic15:13
fxpestermat128: yesterday I deployed Devstack ok, the onl things I changed resources, now its - 512 mem and 2gb HDD - is this enought for devstack VM images ?15:14
*** e0ne has quit IRC15:15
mat128fxpester: 512mb is fine for TinyIPA15:15
mat128fxpester: can you share your local.conf through paste?15:15
sambettscurrent tinyipa build will run at 256mb :)15:15
mat128:D15:15
fxpesterlocal.conf - http://paste.openstack.org/show/549252/15:16
*** ayoung has joined #openstack-ironic15:17
mat128fxpester: from what I can tell, you should be fine, tinyipa is the default (https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L138) and 512M is def. enough15:18
JayFas long as you're deploying the cirros images15:18
mat128JayF: true..15:19
fxpesteryes, default devstack workflow, it was ok yesterday... X_X15:19
fxpestercirros.15:19
*** baoli has joined #openstack-ironic15:19
mat128JayF: I found out qemu-img can stream images from http/https, but can't do checksumming :(15:19
JayFYeah; we do stream raw images in the agent15:19
*** rama_y has joined #openstack-ironic15:19
mat128JayF: I forgot "qcow2" in my sentence =)15:20
JayFI'm not sure even the added benefit is worth the lost reliability15:20
* JayF has seen those checksum checks prevent bad images in the past, in production, multiple times15:20
openstackgerritMoshe Levi proposed openstack/ironic-inspector: Adding InfiniBand Support  https://review.openstack.org/26425715:21
openstackgerritMoshe Levi proposed openstack/ironic-inspector: Dont review  https://review.openstack.org/34845715:21
mat128JayF: thats why I don't want / can't go forward with that idea15:21
mat128but having 20GB windows images running on 4GB machines is problematic without streaming to disk15:21
JayFit'd be nice to add that feature to qemu-image15:21
mat128yes15:21
sambettsJayF: couldn't we take a chacksum on the ironic side / glance generate one and then we check it once we've written the whole image?15:21
sambettsmat128: ^15:21
mat128JayF: we shrunk windows images down a lot, but they still exceed the min RAM they could live with running15:21
mat128sambetts: 2 issues with this15:22
mat128a) the data changes (so does the checksum)15:22
mat128and reading the whole disk to do a checksum will be slow15:22
mat128and the checksum will be different based on disk size15:22
JayFand if you can't read the data into ram to do an image15:22
JayFcan you read the data into ram to do a checksum?15:22
JayFyou'd also end up having to write some kind of crazy streaming checksum15:22
mat128you need the same amount of space15:22
sambettsah, yup grok15:23
mat128or you will have to download it twice15:23
openstackgerritVladyslav Drok proposed openstack/ironic: Fix __all__ module attributes  https://review.openstack.org/35124615:23
mat128and the second download might be different15:23
JayFwhich would also be subject to hardware failures (i.e. if the disk didn't give you back all the bits identically)15:23
mat128so adding that streaming checksum feature we have in python in the raw mode directly in qemu-img would be beneficial15:23
*** baoli_ has joined #openstack-ironic15:23
mat128like, qemu-convert with an "expected checksum"15:23
mat128bail out if the checksum turned out different15:23
*** tangchen has joined #openstack-ironic15:23
*** tangchen_ has joined #openstack-ironic15:23
*** baoli has quit IRC15:23
mat128can't say my C skills are all that great, but def. a feature to add to qemu-img15:24
* mgould thought most checksum algorithms operated on streams...15:24
JayFmgould: you may be right15:25
mat128as it is in our downstream backlog: "I want be able to install an OS image bigger than the amount of RAM installed"15:25
*** catintheroof has quit IRC15:25
mat128mgould: they do15:25
mat128but not the tooling around15:25
mgould\o/15:25
mgouldah, OK15:25
mat128qemu-img is unable to take it's qcow data from stdin15:25
mat128it has to read a file / http stream itself15:25
jrollJayF: python does streaming checksums, that's how we stream raw images today15:25
JayFjroll: yeah; but we implemented it15:26
jrollI mean, kinda15:26
JayFjroll: I was more curious about md5sum, etc15:26
jrollit has it built in15:26
lucasagomesmat128, it needs random access to the data15:26
JayFjroll: like mat128 said, the tooling around it15:26
jrollyou initialize it and call update() on the object15:26
jrollah15:26
mat128lucasagomes: alas, yes15:26
mgouldJayF: the md5 algo operates on a sequence of 512-bit chunks15:26
mat128best of both worlds would have been15:26
lucasagomeswe can stream raw images but not qcow215:26
*** Sylvester has quit IRC15:27
mat128md5sum that works like pv, dumps md5 once done on stderr15:27
mat128and qemu-img that takes data from stdin15:27
mat128;)15:27
lucasagomesbecause to convert it with qemu-img it needs to access random locations of the file15:27
lucasagomesso can't be done in a stream15:27
mat128lucasagomes: but qemu-convert can take an http/https URL15:27
*** wajdi has joined #openstack-ironic15:27
mat128I guess it does range requests15:27
mgouldhttps://en.wikipedia.org/wiki/MD5#Algorithm describes padding happening first, but you could do it when you reach the last chunk instead15:27
lucasagomesmat128, yeah that could be it15:27
mat128but that would save writing the image to ram15:27
lucasagomesmat128, for IPA I've implemented raw images streaming15:28
mat128mgould: the agent already contains a streaming md5 impl15:28
mgouldcool15:28
lucasagomesand it does calculate the md5 as it goes as well15:28
mat128lucasagomes: yes I was referring to this, but we only have qcow2 images15:28
*** baoli_ has quit IRC15:29
lucasagomesmat128, I see, so yeah, if qemu-convert supports we can probably use it for the qcow2 images15:29
mat128lucasagomes: essentially, I would need to reimplement your checksumming directly in qemu-img, but that might be a problem if it only does random requests15:29
mat128crap :(15:29
lucasagomestrue :-/15:29
*** baoli has joined #openstack-ironic15:29
mat128or make qemu-convert take qcow2 data from stdin ;)15:30
mgouldwait, what problem are we trying to solve? turn qemu-img into a Unix filter?15:30
openstackgerritDmitry Tantsur proposed openstack/ironic: Promote agent vendor passthru to core API  https://review.openstack.org/33001815:30
dtantsurjroll, ^^15:30
mat128pretty much15:30
*** mgoddard_ has joined #openstack-ironic15:30
dtantsurnow the IPA part15:31
*** baoli_ has joined #openstack-ironic15:31
mat128the problem I need to solve is, as it is in our (downstream) backlog: "I want be able to install a qcow2 image bigger than the amount of RAM installed"15:31
*** moshele has quit IRC15:31
dtantsurJayF, I haven't seen your comments before posting the patch, but it seems to address them..15:31
*** rama_y has quit IRC15:31
JayFdtantsur: I added nothing new15:32
lucasagomesmat128, as an workaround at least for now converting it to raw before putting in glance shouldn't be a big deal15:32
lucasagomesis it?15:32
JayFdtantsur: so you're probably good15:32
mat128lucasagomes: then I download 20G instead of 5-6G for windows :(15:32
mat128but I guess I could have raw copies of images15:32
mat128but my end users would have to choose the right ones, so I guess I need to have support for multiple copies of the same image15:32
lucasagomestrue yeah :-/ it penalizes the network15:32
mat128referenced by the same uuid15:32
mgouldmat128: raw.gz?15:33
mat128with nova deciding which "version" of the image would best fit15:33
mat128mgould: hmm15:33
mat128mgould: I guess the agent could do gunzipping before running the checksum and writing to disk15:33
mat128interesting15:33
lucasagomesyeah15:33
*** mgoddard has quit IRC15:34
mgouldmat128: I was thinking of gunzipping in streaming mode, and checksumming and writing as you go15:34
*** baoli has quit IRC15:34
mat128that could work for getting that 20G down to something reasonable15:35
*** amotoki has joined #openstack-ironic15:35
mat128still have that "multiple copies of the same image in the same region" problem though15:35
mgouldworth checking how big the file is after gzipping, at least15:35
mat128yeah15:35
mat128mgould: checking now, qcow2 is 6.2G15:36
mat128downloading15:36
mgouldanother thought: if qcow2 requires random access, could you create a swap partition at the end of the disk, use that to do the conversion, then write the results starting at the beginning?15:37
JayFdtantsur: your tests are going to fail, at least I hope15:37
mgouldyou'd be limited to images < 1/2 the size of the disk, but that's probably more acceptable15:37
mat128mgould: full disk images :(15:37
JayFdtantsur: it looks like you didn't add metrics config to the unit tests15:37
mat128mgould: partition table15:37
mgouldmat128: bollocks!15:37
mat128but interesting15:37
lucasagomesmat128, you may find that interesting too https://rwmj.wordpress.com/tag/qemu-img/15:38
mgouldNFS-mounted swap? :-)15:38
mgouldfor Real Ultimate Performance15:38
dtantsurJayF, I think I've changed the tests to not verify the whole configuration dictionary15:39
mat128lucasagomes: interesting15:39
mat128nbd15:39
mat128another idea I had was mount the remote file with something like httpfs over fuse15:39
mat128but performance was abysmal15:39
mgouldmat128: I am shocked, shocked15:40
mgouldlucasagomes: that solves the "streaming output" problem, but not the "need random access to a file that's larger than RAM and can't touch the disk" problem15:41
*** priteau has joined #openstack-ironic15:41
mat128mgould: maybe qemu-img can use nbd input too?15:42
mat128but then nbd would need access to the qcow file15:42
JayFdtantsur: so we don't have any tests validating the metrics configs are being sent via the new api then?15:42
*** sabeen has joined #openstack-ironic15:43
dtantsurJayF, it's like testing one's ability to copy-paste.. I don't really see point in it.15:43
JayFvgadiraj: https://bugs.launchpad.net/bugs/160957315:43
openstackLaunchpad bug 1609573 in Ironic "Ironic gate jobs should not pass configs through devstack-gate when possible" [Undecided,New]15:43
JayFdtantsur: I guess I'd ask why heartbeat timeout is tested and not metrics; they seem different15:44
JayFdtantsur: that's the only reason I ask15:44
dtantsurJayF, my plan was to ensure that some configuration is actually sent15:44
lucasagomesmat128, right... do you know if other formats may support converting in a stream?15:44
lucasagomesvmdk maybe?15:44
lucasagomesvdi15:44
mat128lucasagomes: well, qemu-img does not take any stream (stdin) for it's convert command, but maybe nbd does15:45
vgadirajJayF: thanks!15:45
lucasagomesmat128, it seems that "stream optimized vmdk" is a thing15:46
dtantsurfg15:46
JayFdtantsur: +2'd with that one comment we just chatted about in here. TY \o/15:46
JayFdtantsur: ^z15:46
dtantsurthanks!15:46
JayF:P15:46
dtantsurlol, yeah15:46
mgouldmat128: isn't NBD just a "block device over network" protocol?15:47
mat128mgould: yes but maybe it supports reading from a stream?15:47
mat128oh god15:47
mat128thats impossible15:47
mat128nvm15:47
mat128it's just as if you had a fuse thing for qcow15:47
mat128it would need to read the bytes when you access something15:47
mgouldmat128: basically, yes15:47
mat128making it random access15:47
openstackgerritKyrylo Romanenko proposed openstack/python-ironicclient: Add openstack baremetal driver commands  https://review.openstack.org/35005015:47
mgouldmat128: well, it would need space bounded by the maximum seek distance15:48
mgouldwhich might be smaller than the file length15:48
mgouldbut might not, idk15:48
mgoulddepends on your access patterns :-)15:48
mgouldbrb15:50
lucasagomesfolks can I get some eyes on https://review.openstack.org/#/c/336102/ when you have time? Thanks15:50
*** tangchen_ has quit IRC15:51
*** tangchen has quit IRC15:51
*** uggla_ has quit IRC15:52
devanandamorning, all15:53
openstackgerritDmitry Tantsur proposed openstack/ironic-python-agent: Use new agent API if available  https://review.openstack.org/33452315:54
dtantsurthis might be it ^^^15:54
dtantsurmorning devananda15:54
lucasagomesdevananda, hi there15:56
*** ametts has quit IRC15:57
openstackgerritMerged openstack/ironic: Add keystone policy support to Ironic  https://review.openstack.org/32559915:59
jroll^^^^ wooooooo15:59
TheJuliaexcellent15:59
jrollso much good stuff this week15:59
mat128lucasagomes: comments inline15:59
JayF\o/ \o/ \o/15:59
jrolldevananda: morning, wdyt about 6.1.0 early next week?16:00
lucasagomesmat128, thanks a lot!16:00
openstackgerritStephanie Miller proposed openstack/ironic: Add volume_connector table to save connector information  https://review.openstack.org/20098316:00
openstackgerritStephanie Miller proposed openstack/ironic: Introduce VolumeConnector object  https://review.openstack.org/21458416:00
devanandawoot!!16:01
openstackgerritStephanie Miller proposed openstack/ironic: Introduce new RPCs to support volume connector operation  https://review.openstack.org/21458516:01
devanandayea yea! policy and keystoneauth merged!16:01
lucasagomesw00t16:01
openstackgerritStephanie Miller proposed openstack/ironic: Add volume_targets table to save target information  https://review.openstack.org/28521816:01
openstackgerritStephanie Miller proposed openstack/ironic: Introduce VolumeTarget object  https://review.openstack.org/28521916:01
openstackgerritStephanie Miller proposed openstack/ironic: Introduce new RPCs to support volume target operations  https://review.openstack.org/28522016:02
*** tangchen_ has joined #openstack-ironic16:04
*** mgoddard_ has quit IRC16:04
*** tangchen has joined #openstack-ironic16:04
*** mgoddard has joined #openstack-ironic16:04
*** ametts has joined #openstack-ironic16:04
devanandajroll: seems reasonable to me. lemme have a look at what else is in the pipe real quick, though16:07
jrollJayF: https://review.openstack.org/#/c/330018/31/ironic/conf/api.py@5616:07
jrolldevananda: yeah, I still need to do that as well16:08
mat128jroll: I interpreted it the same was a Jay16:08
*** baoli_ has quit IRC16:08
mat128s/was/way16:08
jrollI did too, until I clicked the link :P16:09
jrollidk, guess we could ask vsaienk0 which way he meant16:09
mat128jroll: well it makes sense for devstack not to use the old location16:10
jroll:)16:10
openstackgerritThiago Paiva Brito proposed openstack/ironic: Add Dynamic Allocation feature for the OneView drivers  https://review.openstack.org/28619216:11
devanandajroll: wdyt of getting the vendor api promotion in 6.1 ?16:11
jrolldevananda: yeah, I'd like to - my hope is to get that merged today16:11
jrollit has a +216:11
jrollfeel free to review it :D16:11
devanandacool. I'll take a look.16:11
devanandait probably requires a change for policy now16:12
jrollwell, no, there's no auth on those endpoints16:12
jrollunless we want to put policy on it with a rule of *16:12
*** ohamada has quit IRC16:12
xavierr|mtglucasagomes: all comments done! ^^^16:12
lucasagomesxavierr|mtg, awesome, give me few min and I will re-review16:13
xavierr|mtglucasagomes: o/16:13
*** baoli has joined #openstack-ironic16:14
openstackgerritDevananda van der Veen proposed openstack/ironic: Add test to ensure policy is always authorized  https://review.openstack.org/35017716:14
dtantsurdevananda, you're right, I've totally forgot about policies...16:15
devanandajroll: there is a policy check on them in my (now landed) patch16:15
*** mat128 is now known as mat128|lunch16:15
jrolldevananda: oh?16:15
dtantsurI have to run now, so if something could pick it up, that would be awesome16:15
devanandadtantsur: also, I believe ^ will address your (quite valid) concern about ensuring that new API endpoints are checked16:15
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Collect deployment logs from IPA  https://review.openstack.org/33610216:15
lucasagomesmat128|lunch, ^ thanks for the comments16:15
fxpestermat128: changed my devstack back to 1gb RAM - everything ok now, looks like CoreOS is too memory hungry16:15
devanandahowever it's failing some tests and I'm not sure why :(16:15
mat128|lunchfxpester: you are on CoreOS?16:15
mat128|lunchfxpester: it wasnt set in your local.conf and the default is TinyIPA... confused :X16:16
dtantsurdevananda, cool, I'll check it when I come back (probably tomorrow though)16:16
devanandadtantsur: cool. have a good night!16:16
fxpestermat128: I`m on  Devstack defaults, and after debug I see CoreOS before CirrOS16:16
jrolldtantsur: we'll talk it out, I can update if needed :)16:16
dtantsurg'night!16:16
dtantsurthanks16:16
mat128|lunchlucasagomes: that sample file grew :)16:16
*** dtantsur is now known as dtantsur|afk16:16
mat128|lunchlucasagomes: are you sure you ran genconfig on the right branch?16:16
mat128|lunchlucasagomes: woha, metrics stuff16:17
mat128|lunchlucasagomes: poke me when you're done fixing the rebase, I,ll check it out16:17
mat128|lunchlucasagomes: nvm, just my habit of checking 10..1116:17
lucasagomesmat128|lunch, yeah I need to run genconfig again :-/ forgot16:17
mat128|lunchit looks fine16:18
mat128|lunchI was looking at 10..11 but what i wanted is (base..10)..(base..11)16:18
mat128|lunchbut thats not possible16:18
lucasagomesoh right yeah16:18
lucasagomesthat's gerrit16:18
*** Romanenko_K has quit IRC16:19
mat128|lunchlucasagomes: perfect, thanks for this work16:19
mat128|lunchlucasagomes: it will really help us out in production :)16:19
lucasagomesmat128|lunch, ty for reviewing it!16:19
* mat128|lunch off to lunch for real this time =)16:20
mat128|lunchnp16:20
lucasagomesyeah, hope it does cause we have the problem of people reporting bugs without collecting logs etc... hope that helps with it16:20
jrolldevananda: so, you have policy on vendor passthru stuff, but I believe it's skipped due to https://github.com/openstack/ironic/blob/master/ironic/api/config.py#L3316:20
jrolldevananda: I'm thinking we don't need it on the ramdisk endpoints16:20
lucasagomesxavierr|mtg, +216:20
xavierr|mtglucasagomes: awesome, thanks again \o/16:21
lucasagomesyw :-)16:21
*** ipukha has quit IRC16:21
*** e0ne has joined #openstack-ironic16:23
devanandajroll: it totally is enforced -- https://gist.github.com/devananda/185622799d0d9667bdb3cbcf90444a2d16:29
jrolldevananda: not for lookup/heartbeat16:29
devanandaoh! brain...16:29
jroll:)16:29
TheJuliathiagop: +2 applied16:30
TheJuliaNobodyCam: https://review.openstack.org/#/c/286192 has been revised, if you want to take a quick look16:30
xavierr|mtgthank you TheJulia :D16:31
*** kro_focused is now known as krotscheck16:32
TheJuliaxavierr|mtg: no problem :)16:33
lucasagomesI'm calling it a day16:38
lucasagomeshave a great evening all! See y'all tomorrow16:38
xavierr|mtglucasagomes: "what a day what a lovely day"16:38
lucasagomes:D16:38
lucasagomessee ya16:39
*** lucasagomes is now known as lucas|dinner16:39
jlvillallucas|dinner: Ciao!16:39
devanandajroll: confirmed - you're correct16:40
devanandaeven changing the policy config to "baremetal:node:ipa_heartbeat": "rule:is_admin", it is still not enforced16:40
NobodyCammorning lucas|dinner .. have a good night.. morning jlvillal and devananda :)16:41
anteayaNobodyCam: hey there16:41
NobodyCamhey morning antenna :)16:41
anteayait occurs to me that last week some time I said hello NobodyCam and asked you how you were, then disappeared16:41
anteayaNobodyCam: I'm sorry about that16:41
anteayaand good morning16:41
jrolldevananda: yeah, I wonder if we should add a comment in the code "this doesn't have a policy because"16:42
jlvillalNobodyCam: Morning :)16:42
jrolldevananda: which I can do quickly16:42
devanandajroll: I think it should have policy checked16:42
devanandaand there is actually a policy in place for it - it's just skipped higher up in the evaluation16:43
jrolldevananda: against what? there's no auth on those paths16:43
devanandaIMO it's a bug in my policy cod16:43
*** e0ne has quit IRC16:43
NobodyCamdevananda: you have a policy fish?16:44
NobodyCamlol ... /me *ducks*16:44
jrolllol16:44
jrolldevananda: I'm confused what you're going to check against, IPA doesn't send a token16:44
*** rbartal has quit IRC16:45
devanandaNobodyCam: lol :)16:49
devanandaI totally have a policy fish!16:50
NobodyCam:) Nice !!!!16:50
*** Sukhdev has joined #openstack-ironic16:50
devanandajroll: but just imagine if it did ;)16:51
JayFThat sounds like a fish we should scale when we get that feature done then :D16:52
NobodyCamJayF: lol.. and good morning :)16:53
*** david-lyle has quit IRC16:53
JayFalthough I know how much our lack of IPA auth ofFINds you16:53
*** david-lyle has joined #openstack-ironic16:53
jrolldevananda: that'd be fantastic, but no way I'm blocking this patch on it :)16:54
*** jtomasek has quit IRC16:55
*** jpich has quit IRC16:57
*** mgould is now known as mgould|afk16:57
*** rbartal has joined #openstack-ironic16:58
*** anush_ has quit IRC17:00
* sambetts -> home17:02
sambettsnight all17:03
*** sambetts is now known as sambetts|afk17:03
NobodyCamnight sambetts|afk17:03
sambetts|afkcya NobodyCam17:03
*** tangchen has quit IRC17:11
*** permalac has quit IRC17:11
*** PollyZ has quit IRC17:18
*** rama_y has joined #openstack-ironic17:19
*** bfournie has quit IRC17:21
devanandainteresting17:22
*** mat128|lunch is now known as mat12817:23
*** jcoufal_ has joined #openstack-ironic17:24
*** dprince has quit IRC17:24
*** tangchen has joined #openstack-ironic17:24
* devananda pokes at the agent vendor api patch for a while17:26
*** jcoufal has quit IRC17:26
*** hoangcx has quit IRC17:26
*** daemontool has joined #openstack-ironic17:28
*** bvandewa has joined #openstack-ironic17:34
vdrokjroll: iirc you said that osc folks don't want projects to use one letter arguments?17:36
vdrokwe have -l for local_link_connection now in client17:37
*** hoangcx has joined #openstack-ironic17:37
jrollvdrok: I didn't say that, someone else did, idk the rules17:39
jrollin ironic cli it's okay17:39
*** bvandewa has quit IRC17:39
vdrokjroll: I mean openstack baremetal port create -l switch_id=blah17:39
jrolloh17:39
jroll:{17:39
vdrokwe allow both -l and --local-link-connection17:39
jrollI have to run for now but could you file a bug?17:40
vdrokyup, sure17:40
jrollthanks17:40
vdrokI can fix it too I guess :) just another backwards compat issue :(17:40
*** dprince has joined #openstack-ironic17:41
*** Sukhdev has quit IRC17:45
*** vishwanathj has quit IRC17:48
*** e0ne has joined #openstack-ironic17:53
*** tesseract- has quit IRC17:53
*** maurosr has quit IRC17:54
*** bfournie has joined #openstack-ironic17:56
*** bvandewa has joined #openstack-ironic17:56
*** joprovost1 has joined #openstack-ironic17:58
*** joprovost has quit IRC17:59
*** joprovost has joined #openstack-ironic18:00
*** ccamacho has quit IRC18:01
*** mgoddard_ has joined #openstack-ironic18:01
*** joprovost1 has quit IRC18:02
*** syed_ has quit IRC18:02
*** mgoddard has quit IRC18:04
*** mgoddard_ has quit IRC18:06
openstackgerritVladyslav Drok proposed openstack/ironic: Operator documentation for multitenancy  https://review.openstack.org/22849618:07
vdroka super-easy change if someone has time https://review.openstack.org/35124618:09
*** joprovost1 has joined #openstack-ironic18:14
*** joprovost has quit IRC18:15
*** joprovost1 is now known as joprovost18:15
vdrokthank you JayF :) and good night everyone!18:16
JayFAlways a fan of an opportunity to learn a new thing :D18:16
JayFo/18:17
*** PollyZ has joined #openstack-ironic18:18
*** Sukhdev has joined #openstack-ironic18:22
*** PollyZ has quit IRC18:24
*** praneshp has joined #openstack-ironic18:24
*** hoangcx has quit IRC18:30
*** syed_ has joined #openstack-ironic18:31
*** bvandewa has quit IRC18:33
*** ayoung has quit IRC18:38
*** hoangcx has joined #openstack-ironic18:40
*** maurosr has joined #openstack-ironic18:41
*** ChubYann has joined #openstack-ironic18:45
openstackgerritStephanie Miller proposed openstack/ironic: Add volume_connector table to save connector information  https://review.openstack.org/20098318:45
*** milan has quit IRC18:46
*** Goneri has joined #openstack-ironic18:47
*** milan has joined #openstack-ironic18:47
openstackgerritStephanie Miller proposed openstack/ironic: Introduce VolumeConnector object  https://review.openstack.org/21458418:48
openstackgerritStephanie Miller proposed openstack/ironic: Introduce new RPCs to support volume connector operation  https://review.openstack.org/21458518:48
openstackgerritStephanie Miller proposed openstack/ironic: Add volume_targets table to save target information  https://review.openstack.org/28521818:49
openstackgerritStephanie Miller proposed openstack/ironic: Introduce VolumeTarget object  https://review.openstack.org/28521918:49
openstackgerritStephanie Miller proposed openstack/ironic: Introduce new RPCs to support volume target operations  https://review.openstack.org/28522018:49
*** daemontool has quit IRC18:51
*** daemontool has joined #openstack-ironic18:52
*** joprovost has quit IRC19:04
*** ccamacho has joined #openstack-ironic19:05
*** xavierr|mtg is now known as xavierr19:06
*** bvandewa has joined #openstack-ironic19:07
*** bvandewa has quit IRC19:07
*** bvandewa has joined #openstack-ironic19:07
*** Goneri has quit IRC19:08
*** joprovost has joined #openstack-ironic19:10
*** daemontool_ has joined #openstack-ironic19:11
*** sdake_ has joined #openstack-ironic19:13
openstackgerritStephanie Miller proposed openstack/ironic: [WIP] Add storage_interface DB field and object  https://review.openstack.org/34800519:13
*** daemontool has quit IRC19:15
*** sdake has quit IRC19:16
*** vishwanathj has joined #openstack-ironic19:19
*** vishwanathj has quit IRC19:21
*** vishwanathj has joined #openstack-ironic19:21
*** praneshp has quit IRC19:28
*** vishwanathj has quit IRC19:31
*** vishwanathj has joined #openstack-ironic19:31
*** bvandewa has quit IRC19:32
*** vishwanathj has quit IRC19:33
*** vishwanathj has joined #openstack-ironic19:33
*** PollyZ has joined #openstack-ironic19:36
*** baoli has quit IRC19:38
*** Sukhdev has quit IRC19:39
*** bvandewa has joined #openstack-ironic19:39
*** baoli has joined #openstack-ironic19:42
*** jrist has quit IRC19:43
*** ijw has joined #openstack-ironic19:46
*** rama_y has quit IRC19:46
*** rama_y has joined #openstack-ironic19:46
*** M4g1c5t0rM has joined #openstack-ironic19:52
*** ayoung has joined #openstack-ironic19:56
*** jrist has joined #openstack-ironic19:57
*** vishwanathj has quit IRC19:59
*** vishwanathj has joined #openstack-ironic19:59
*** moshele has joined #openstack-ironic20:03
*** rama_y has quit IRC20:05
*** ametts has quit IRC20:05
*** rama_y has joined #openstack-ironic20:05
*** ametts has joined #openstack-ironic20:10
*** rama_y has quit IRC20:11
*** ijw has quit IRC20:11
*** rama_y has joined #openstack-ironic20:12
*** baoli has quit IRC20:13
*** baoli has joined #openstack-ironic20:14
*** vishwanathj has quit IRC20:14
*** vishwanathj has joined #openstack-ironic20:14
openstackgerritMichael Turek proposed openstack/ironic: Prevent URL collisions with sub-controllers: nodes/ports  https://review.openstack.org/31451420:21
*** livelace has quit IRC20:23
*** PollyZ has quit IRC20:29
*** catintheroof has joined #openstack-ironic20:30
*** e0ne has quit IRC20:31
*** e0ne has joined #openstack-ironic20:32
NobodyCamthiagop: you around?20:33
thiagopNobodyCam:yup20:33
NobodyCam:) just a quick question... looking at lines 203 and 290 of https://review.openstack.org/#/c/286192/31/ironic/drivers/modules/oneview/common.py and reason they don't raise OneViewInvalidNodeParameter ?20:35
thiagopNobodyCam: in fact, we should have removed the try-catches as we removed on power and management.py...20:38
*** jrist has quit IRC20:38
*** vishwanathj has quit IRC20:38
NobodyCamahh so there will be another rev ?? :p20:38
*** vishwanathj has joined #openstack-ironic20:39
thiagopNobodyCam: we haven't noted that... Can we fix it in a follow up or do you think it's a huge blocker?20:40
*** vishwanathj has quit IRC20:40
*** vishwanathj has joined #openstack-ironic20:41
NobodyCamna but wanted to check with you20:43
*** e0ne has quit IRC20:44
thiagopNobodyCam: :D jenkins votes are beautiful when all-green like that20:45
*** jrist has joined #openstack-ironic20:50
openstackgerritThiago Paiva Brito proposed openstack/python-oneviewclient: Comply with iLO model of usage for one-time boot  https://review.openstack.org/35006020:53
*** praneshp has joined #openstack-ironic20:58
*** rama_y has quit IRC20:59
*** praneshp has quit IRC21:00
*** rama_y has joined #openstack-ironic21:00
*** bvandewa_ has joined #openstack-ironic21:00
*** ijw has joined #openstack-ironic21:01
*** baoli_ has joined #openstack-ironic21:02
openstackgerritMerged openstack/ironic: Fix __all__ module attributes  https://review.openstack.org/35124621:04
*** baoli has quit IRC21:04
*** bvandewa has quit IRC21:04
*** ijw has quit IRC21:04
*** ijw has joined #openstack-ironic21:04
*** vishwanathj has quit IRC21:05
*** vishwanathj has joined #openstack-ironic21:06
NobodyCamthiagop: better start writing that follow up :p21:09
NobodyCamalso do we need another version of https://review.openstack.org/#/c/305441?21:09
*** vishwanathj has quit IRC21:11
thiagopNobodyCam: in fact, I'm on it right now21:11
*** vishwanathj has joined #openstack-ironic21:11
*** PollyZ has joined #openstack-ironic21:12
NobodyCam:)21:12
*** baoli_ has quit IRC21:12
*** baoli has joined #openstack-ironic21:12
thiagopNobodyCam: yes, we have, it's pretty out of date. We'll start working on it on monday (tomorrow is a holiday in our state)21:13
*** vishwanathj has quit IRC21:13
thiagopNobodyCam: ^about docs21:13
*** vishwanathj has joined #openstack-ironic21:13
NobodyCamokay because now with dynamic allocation approved we'll need docs on how to use it quickly :)21:14
thiagopNobodyCam: jroll said that he's planning on releasing 6.1 next week. We'll do whatever we can to make these docs before that21:16
jrolls/planning/hoping/21:16
NobodyCam:)21:16
*** vishwanathj has quit IRC21:16
jrollthat said, this is why I prefer docs with code21:16
jrollso we don't accidentally release something without docs21:16
NobodyCamjroll: +++21:16
*** vishwanathj has joined #openstack-ironic21:16
thiagopjroll: we'll make sure that won't happen. But I totally agree21:16
*** baoli has quit IRC21:18
*** baoli has joined #openstack-ironic21:18
*** Sukhdev has joined #openstack-ironic21:18
*** rbrud has joined #openstack-ironic21:20
*** rbrud has quit IRC21:21
*** rbrud has joined #openstack-ironic21:24
*** vishwanathj has quit IRC21:24
*** vishwanathj has joined #openstack-ironic21:24
mrdaMorning Ironic21:25
NobodyCamgood morning mrda21:25
*** baoli has quit IRC21:26
*** ametts has quit IRC21:26
thiagopmorning mrda21:26
*** amotoki has quit IRC21:27
*** priteau has quit IRC21:28
mrdao/21:30
jlvillalMorning mrda21:35
*** sabeen has quit IRC21:35
*** vishwanathj has quit IRC21:37
*** ijw has quit IRC21:37
*** vishwanathj has joined #openstack-ironic21:37
*** vishwanathj has quit IRC21:38
*** vishwanathj has joined #openstack-ironic21:39
*** bvandewa has joined #openstack-ironic21:39
*** ijw has joined #openstack-ironic21:40
*** bvandewa_ has quit IRC21:43
*** ayoung has quit IRC21:43
*** ijw has quit IRC21:44
*** vishwanathj has quit IRC21:44
*** vishwanathj has joined #openstack-ironic21:45
*** vishwanathj has quit IRC21:49
*** vishwanathj has joined #openstack-ironic21:50
jrollmrda: morning!21:51
*** vishwanathj has quit IRC21:53
*** amotoki has joined #openstack-ironic21:53
*** vishwanathj has joined #openstack-ironic21:54
mrdahey jroll21:57
openstackgerritThiago Paiva Brito proposed openstack/ironic: OneView driver docs explaining Dynamic Allocation  https://review.openstack.org/30544121:57
thiagopNobodyCam: ^not much to update in a first (and tired) glance21:58
JayFthiagop: reviewing now21:58
NobodyCamjust an off the wall question anyone had a particularly good experience with any burn in software?21:58
*** dprince has quit IRC21:59
JayFI mean, you need a more clear use statement than that to get good software21:59
JayFlike what are you trying to determine, NobodyCam21:59
jlvillalNobodyCam: Burn-in of what?21:59
jlvillalLike a brand new computer? Stress test?21:59
* jroll prefers burn-outs21:59
thiagoplol21:59
* jlvillal has no experience with such software21:59
NobodyCamnew hardware readiness stuff memory, cpu, disk21:59
NobodyCamlol22:00
jlvillalNobodyCam: My only experience tends to be that memory test software has been relatively useless for me.22:00
jlvillalNobodyCam: Had a system that ran for two days with MemTest86+ and passed.22:00
jlvillalNobodyCam: Booted into Ubuntu 14.04 and would crash within 2 minutes.22:01
NobodyCam:/22:01
JayFNobodyCam: basically three things: 1) get it hot (usually best way is to get all CPUs to 100% at the same time with the disks spinning too)22:01
jlvillalNobodyCam: Swapped out the DIMMs and it worked...22:01
JayFNobodyCam: 2) Run a memory tester multiple times22:01
JayFNobodyCam: 3) Run bonnie++22:01
jlvillalJayF: That's a pretty program ;)22:01
* jlvillal realizes that might be a pun hard to understand. http://www.merriam-webster.com/dictionary/bonnie22:02
JayFI never have heard the term bonny used that way, neat22:02
jlvillalJayF: I think they use it in Scotland, but not sure. mgould|afk should know :)22:03
NobodyCam:)22:03
*** PollyZ has quit IRC22:05
*** rbrud has quit IRC22:06
JayFthiagop: made a few suggestions on that documentation patch, curious what you think22:11
*** vishwanathj has quit IRC22:14
*** vishwanathj has joined #openstack-ironic22:15
thiagopJayF: checking now...22:17
*** PollyZ has joined #openstack-ironic22:17
*** jcoufal_ has quit IRC22:19
*** ayoung has joined #openstack-ironic22:26
*** jabroney has joined #openstack-ironic22:27
*** wajdi_ has joined #openstack-ironic22:29
openstackgerritThiago Paiva Brito proposed openstack/ironic: OneView driver docs explaining Dynamic Allocation  https://review.openstack.org/30544122:31
thiagopJayF: tyvm! ^22:31
JayFnp22:32
JayFthiagop: btw, the non-capitalized ironic thing, I think is a little silly and it looks strange, but it's the rules so *shrug*22:32
*** wajdi has quit IRC22:33
*** wajdi_ has quit IRC22:33
*** ijw has joined #openstack-ironic22:33
NobodyCamJayF: Yea. I still see it as a proper name but. meh... :p22:34
thiagopJayF: understood. No problem at all. I just leave the name of the Third Party services capitalized since... well... they're ours22:34
JayFlol22:34
JayFOneView vs ironic22:34
*** PollyZ has quit IRC22:34
JayFmakes us feel small, man :D22:34
thiagopin fact, I see a bunch of docs from HPE that says OneView, other bunch with Oneview...22:35
* NobodyCam thinks about a BIG tent comment.. but doesn't say anything :P22:35
*** PollyZ has joined #openstack-ironic22:36
JayFthiagop: +2 with a couple more nits, if you fix 'em real quick I'll restore my vote (or you can go do something else :D)22:36
* thiagop suddenly realizes that should have been drinking a beer at this time at night22:37
thiagopbut... I'm here just for that22:37
JayFAdvantage of PST: nobody here to keep me stuck to IRC when I should be doing !code, lol22:38
thiagoplol22:38
*** ijw has quit IRC22:40
thiagopJayF: @304, you mean the "Command Line Interface" part, right?22:40
JayFthiagop: it should be "The ironic-oneview CLI"22:41
JayFthiagop: and below that, "The ironic-oneviewd is a"22:41
JayFwell, actually, that should probably be "The ironic-oneviewd daemon monitors the ..."22:42
JayFbut it's not a big deal, these docs are great even if the grammar is a little off when they land22:42
openstackgerritMerged openstack/ironic: Add Dynamic Allocation feature for the OneView drivers  https://review.openstack.org/28619222:43
thiagopJayF: Found a couple more "Pre-Allocation" and "Dynamic Allocation" camel cased, fixing22:44
*** jvgrant_ has quit IRC22:46
openstackgerritThiago Paiva Brito proposed openstack/ironic: OneView driver docs explaining Dynamic Allocation  https://review.openstack.org/30544122:48
thiagopJayF: done^22:48
JayFNobodyCam: ^ you wanna give that a quick review and land it?22:48
JayFNobodyCam: and then we'll only have been missing docs for about, oh, 15 minutes22:49
NobodyCamlooking now ;)22:49
JayFjroll: ^ we're about to land those oneview docs to go with the code, so fears remain unrealized :P22:49
jrollyay22:50
thiagopand /me will have a greater motive to drink tonight22:50
NobodyCamlol onveclient min version bumped from 2.2.0 to 2.4.0 :p22:52
openstackgerritThiago Paiva Brito proposed openstack/ironic: Follow-up 286192: refactoring exception treatment  https://review.openstack.org/35142222:52
*** syed_ has quit IRC22:52
thiagopNobodyCam: in fact, there is this too -> https://review.openstack.org/#/c/340596/22:53
jlvillalthiagop: I did the, "I'm on a plane and don't have Internet access" complaint on that commit message :)22:53
*** bvandewa has quit IRC22:53
jrollwe shouldn't have "follow up on $ref" for anything anyway22:54
jrolljust say what the commit does22:54
thiagop340596 is the real motive to bump to 2.4.0 since it allows for quicker boots22:54
jrollfollowing up on a thing is not a change, cleaning up typos or whatever is22:54
JayFI -1'd for almost identical reason as jlvillal22:54
jlvillalJayF: Thanks.22:55
thiagopjlvillal lol, ok22:56
thiagopjroll: roger22:56
*** ijw has joined #openstack-ironic22:56
NobodyCamthiagop: +2 happy to hit +a unless others are looking at it22:57
* jlvillal wonders if something broke python-ironicclient functional tests and then that job got made voting after the change...22:57
JayFNobodyCam: gogogogo22:58
NobodyCamlol22:58
*** lintan has joined #openstack-ironic22:58
*** syed_ has joined #openstack-ironic22:59
* jlvillal hopes just transient failure, but looks some more...22:59
NobodyCamomg is it really "National Chocolate Chip Day" ???23:00
JayFNobodyCam: IDK, but I'm going to go tell my wife it is now23:00
jlvillalJayF: Any idea about this? http://logs.openstack.org/73/348673/4/gate/gate-ironicclient-dsvm-functional/9e52c4c/logs/devstacklog.txt.gz#_2016-08-04_22_32_29_64623:00
JayFNobodyCam: maybe I'll get some cookies out of the deal23:00
thiagopNobodyCam: lol, "M&M's" day23:00
JayFjlvillal: That's a new one on me for sure23:01
*** ijw has quit IRC23:01
jrolloh, I bet policy code broke that23:02
jrollit re-worked the users we use23:02
jrollI bet that uses our devstack plugin, but without nova :(23:02
openstackgerritMerged openstack/ironic-python-agent: Updated from global requirements  https://review.openstack.org/35088723:02
jlvillaljroll: Ah,  thanks23:02
jlvillaldevananda: ^^^^ FYI23:02
jrolljlvillal: totally random guess though23:02
jlvillaljroll: Less random than my guess of, "I hope it is a transient issue, should I just do a recheck??"  :)23:03
JayFjroll: I don't think devstack is using a non-admin user now23:03
JayFjroll: I'd be more convinced it was the keystoneauth stuff but *shrug*23:04
jrollJayF: no, but it's using a nova user23:04
jroll2016-08-04 22:32:28.438 | ++ /opt/stack/new/ironic/devstack/lib/ironic:create_ironic_accounts:748 :   get_or_add_user_project_role baremetal_admin nova service23:04
jrollwait, that should add it thuogh23:04
JayFah, baremetal_admin != admin-admin23:04
JayFbut if it's trying to do a thing with nova, it's only a baremetal_admin, right?23:04
jrollmaybe that adds the admin role to the nova user23:05
jrollyeah I think it's trying to add baremetal_admin to nova23:05
jrollnova user*23:05
jrollbut nova user doesn't exist23:05
jrollmake sense?23:05
jrollprobably needs a get_or_create_user, assuming that exists23:05
*** ayoung has quit IRC23:06
JayFjroll: I'm just curious as to why that would be configured differently than normal devstack runs23:07
* JayF looks at p-c23:07
jrollJayF: I assume client functional tests don't need nova and friends23:07
jrollthey just talk to ironic23:07
JayFhttps://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ironic.yaml#L26923:09
JayFayup23:09
JayFundeclared dependency was undeclared23:09
openstackgerritThiago Paiva Brito proposed openstack/ironic: Replacing generic OneViewError w/ InvalidNodeParameter  https://review.openstack.org/35142223:09
thiagopmaybe it's better now jlvillal JayF jroll ^23:10
jlvillalJayF: jroll: I updated the whiteboard. https://etherpad.openstack.org/p/IronicWhiteBoard   Feel free to correct any errors23:10
JayFthiagop: already +2'd :D23:10
jlvillalJayF: Do you think we need to add 'nova' to that list?23:11
* thiagop needs to fix my VIM validations23:11
jrollthanks to both of you, I'm not looking because I just spent hours on nova tests so I'm out23:11
*** ijw has joined #openstack-ironic23:11
JayFjlvillal: I think that's the heavy-handed way to fix it23:11
jlvillaljroll: Have a great night. Thanks for all the work on the Nova stuff to make Ironic better :)23:11
JayFjlvillal: probably an easier way just in our plugin23:12
jrolljlvillal: totes. you too :)23:12
thiagopjlvillal: good night23:12
jlvillalthiagop: good night23:12
*** catintheroof has quit IRC23:13
thiagopyou guys did rock with this nova + multitenant work23:13
JayFjlvillal: https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L748 pretty sure if you add a get_or-create-user nova23:14
jlvillalJayF: So any interest in doing some pair stuff on the python-ironicclient gate issue?23:14
JayFer23:14
JayFjlvillal: https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L748 pretty sure if you add a get_or_create_user nova23:14
JayFhere23:14
JayFit should fix it23:14
JayFbut we should ensure that passes tests on both ironic and ironicclient23:14
JayFjlvillal: nope, because I'm already done trobuleshooting \o/23:15
JayF:D23:15
jlvillalJayF: heh23:15
jlvillalJayF: You want me to do the patch? I'm happy too.23:15
jlvillalOr happy to review if you do it23:15
JayFI was offering it to you so I could still review it :)23:16
*** ijw has quit IRC23:16
jlvillalJayF: Okay.23:17
JayFjlvillal: you'll want a dummy change in py-ironicclient depending on your devstack fix so we can verify it fixes a thing there23:18
*** bvandewa has joined #openstack-ironic23:18
jlvillalYep23:18
jlvillalJayF: I think I should use "create_service_user", as Nova does23:21
jlvillalWhich comes from the devstack/lib/keystone file23:21
JayFjlvillal: no23:21
JayFjlvillal: if you look inside that; there's a get_or_create_user in there23:21
jlvillal    get_or_create_user "$1" "$SERVICE_PASSWORD" "$SERVICE_DOMAIN_NAME"23:22
jlvillal    get_or_add_user_project_role "$role" "$1" "$SERVICE_PROJECT_NAME" "$SERVICE_DOMAIN_NAME" "$SERVICE_DOMAIN_NAME"23:22
thiagopFolks, I'm calling it a (good) day23:22
JayFjlvillal: I'm afraid if we use create_service_user we're more likely to conflict with the existing one, right?23:22
jlvillalSo you don't think we need the project role part?23:22
thiagopgotta get some sleep23:22
JayFoh, you're saying if we use create_service_user we can do it in one command?23:22
jlvillalthiagop: Ciao23:22
thiagopsee you on monday23:22
thiagopThanks JayF jlvillal jroll and NobodyCam23:22
JayFlet me look again, I had that code up 1s ago23:22
jlvillalJayF: Well I was worried we needed both commands.23:22
JayFjlvillal: I think it's better to first just use get_or_create_user, if they pass, great23:23
*** thiagop has quit IRC23:23
JayFjlvillal: if not, then do the heavier thing23:23
jlvillalJayF: Okay, I'm willing to try that.23:23
JayFjlvillal: I'd rather our tests be using the least privledge possible so we know if something changes23:23
JayFjlvillal: but honestly I don't know much about the semantics of the "service" role23:24
JayFso that's just sorta, general ops-patterning23:24
jlvillalJayF: me either23:24
JayFso I think do less; if in the morning the jobs didn't pass, see how they failed and probably do the create_service_user23:24
openstackgerritJohn L. Villalovos proposed openstack/ironic: Create the 'nova' user if not existing  https://review.openstack.org/35143023:27
*** amotoki has quit IRC23:28
*** PollyZ has quit IRC23:28
JayFjlvillal:  quick -1, we shoudl file a bug + add it there23:29
*** ijw has joined #openstack-ironic23:31
jlvillalJayF: Yeah, you are right. I was being lazy ;)23:31
* JayF fun police, wee-ooo-wee-oo23:31
jlvillalJayF: Doing it now23:31
*** bvandewa_ has joined #openstack-ironic23:32
openstackgerritJohn L. Villalovos proposed openstack/ironic: Create the 'nova' user if not existing  https://review.openstack.org/35143023:35
*** bvandewa has quit IRC23:36
JayFjlvillal: cool; if you don't mind linking the dummy-intermediate-change in the comments there, I'll make sure to look first thing and +2 if it fixes23:37
*** hoangcx2 has joined #openstack-ironic23:39
jlvillalJayF: working on dummy change now23:39
*** hoangcx has quit IRC23:40
openstackgerritJohn L. Villalovos proposed openstack/python-ironicclient: NOMERGE: Testing fix for functional testing  https://review.openstack.org/35143223:42
jlvillalJayF: Patch pushed and comment added23:42
JayFty23:42
JayFwe'll see in the 'mornin23:42
jlvillalJayF: Yep. Hopefully EU or PRC will have it all done before then :)23:43
*** sdake has joined #openstack-ironic23:44
*** catintheroof has joined #openstack-ironic23:46
*** sdake_ has quit IRC23:46
*** vishwanathj has quit IRC23:56

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