Friday, 2014-10-10

*** harlowja has quit IRC00:02
*** harlowja has joined #openstack-ironic00:02
*** HenryG has quit IRC00:04
*** achanda has quit IRC00:08
*** shikui_ has joined #openstack-ironic00:16
* NobodyCam must be far to tired.. 00:17
*** Kui has quit IRC00:19
*** achanda has joined #openstack-ironic00:20
*** foexle has joined #openstack-ironic00:29
*** achanda has quit IRC00:34
openstackgerritA change was merged to openstack/ironic: Adds instructions for deploying instances on real hardware  https://review.openstack.org/11861400:40
dlaubeCan anyone shed some light on why "disk-image-create ubuntu stackuser  -a i386 -o LocalTestImage"  is throwing this failure -> http://pastie.org/private/qmcoiu9mengit8n4zktsw  ?00:45
Haomeng|2dlaube: hi00:45
Haomeng|2your url can not be accessed now - This webpage is not available00:46
Haomeng|2dlaube: I use http proxy, now it works00:46
*** rwsu has quit IRC00:47
Haomeng|2dlaube: what linux are you runing00:47
dlaubeubuntu 14.0400:48
Haomeng|2dlaube: notice "qemu-img: command not found"00:48
dlaubeUbuntu 14.04.1 LTS00:48
Haomeng|2did you install qemu-img00:48
dlaubeahh, let me try that and run again00:48
Haomeng|2ok, good luck00:48
*** foexle has quit IRC00:48
dlaubeI was so caught up with the loop device error00:48
Haomeng|2line 25:  /usr/local/bin/../share/diskimage-builder/lib/img-functions: line 117: qemu-img: command not found00:49
Haomeng|2this should be first error00:49
Haomeng|2maybe it is root cause00:49
dlaubeI've got it installed now00:49
Haomeng|2will be back for a while00:49
dlaubererunning the build00:50
Haomeng|2ok00:50
Haomeng|2good luck00:50
dlaubethank you00:50
Haomeng|2welcome, any time:)00:50
dlaube--------------------- END PROFILING ---------------------00:51
dlaubeImage file LocalTestImage.qcow2 created...00:51
dlaubeNICE!00:51
*** yongli has joined #openstack-ironic01:00
*** marcoemorais1 has quit IRC01:05
*** marcoemorais has joined #openstack-ironic01:06
*** Haomeng has joined #openstack-ironic01:24
*** Haomeng|2 has quit IRC01:25
*** marcoemorais has quit IRC01:26
*** nosnos has joined #openstack-ironic01:39
Haomengdlaube: great, qemu-img is needed for image format conversion01:43
*** rainya has joined #openstack-ironic01:47
*** rainya has quit IRC02:01
*** rloo has quit IRC02:18
*** lazy_prince has quit IRC02:23
*** HenryG has joined #openstack-ironic02:26
*** dlaube has quit IRC02:29
*** dlaube has joined #openstack-ironic02:33
*** killer_prince has joined #openstack-ironic02:33
*** killer_prince is now known as lazy_prince02:33
*** harlowja is now known as harlowja_away02:37
*** achanda has joined #openstack-ironic02:42
*** achanda has quit IRC02:58
*** openstackgerrit has quit IRC02:58
*** achanda has joined #openstack-ironic02:59
*** kongfy has joined #openstack-ironic03:00
*** kongfy has quit IRC03:03
*** Poornima has joined #openstack-ironic03:04
*** kongfy has joined #openstack-ironic03:05
*** kongfy has left #openstack-ironic03:05
*** kongfy has joined #openstack-ironic03:06
*** kongfy has quit IRC03:08
*** harlowja_away has quit IRC03:12
*** kongfy has joined #openstack-ironic03:16
*** kongfy has left #openstack-ironic03:16
*** kongfy has joined #openstack-ironic03:17
*** dlaube has quit IRC03:25
*** nosnos has quit IRC03:26
*** nosnos has joined #openstack-ironic03:26
*** nosnos has quit IRC03:30
*** antonym has quit IRC03:31
*** antonym has joined #openstack-ironic03:33
*** andreykurilin_ has joined #openstack-ironic03:53
*** pcrews has quit IRC03:55
*** dlaube has joined #openstack-ironic04:07
*** andreykurilin_ has quit IRC04:10
*** Poornima has quit IRC04:15
*** nosnos has joined #openstack-ironic04:32
*** yongli has quit IRC04:36
*** yongli has joined #openstack-ironic04:37
*** jgrimm is now known as zz_jgrimm04:39
*** achanda has quit IRC04:58
*** achanda_ has joined #openstack-ironic05:01
*** lazy_prince has quit IRC05:12
*** pensu has joined #openstack-ironic05:13
*** Poornima has joined #openstack-ironic05:13
*** pensu has left #openstack-ironic05:15
*** pensu has joined #openstack-ironic05:16
*** loki184 has joined #openstack-ironic05:18
*** rakesh_hs has joined #openstack-ironic05:25
*** rushiagr_away is now known as rushiagr05:26
*** lazy_prince has joined #openstack-ironic05:30
*** ramineni has joined #openstack-ironic05:34
*** takadayuiko_away is now known as takadayuiko05:37
*** shikui_ has quit IRC05:38
*** praneshp has quit IRC05:41
*** loki184 has quit IRC05:48
*** loki184 has joined #openstack-ironic06:01
*** achanda_ has quit IRC06:17
*** d0m0reg00dthing has joined #openstack-ironic06:23
*** achanda has joined #openstack-ironic06:29
*** Kui has joined #openstack-ironic06:32
*** k4n0 has joined #openstack-ironic06:34
*** achanda has quit IRC06:38
*** jcoufal has joined #openstack-ironic06:39
*** d0m0reg00dthing has quit IRC06:47
*** d0m0reg00dthing has joined #openstack-ironic06:47
*** d0m0reg00dthing has quit IRC06:47
*** d0m0reg00dthing has joined #openstack-ironic06:48
*** kevinbenton has quit IRC06:50
*** d0m0reg00dthing has quit IRC06:50
*** d0m0reg00dthing has joined #openstack-ironic06:50
*** d0m0reg00dthing has quit IRC06:53
*** d0m0reg00dthing has joined #openstack-ironic06:53
*** coolsvap|afk is now known as coolsvap07:02
*** foexle has joined #openstack-ironic07:08
*** pensu has quit IRC07:16
*** pradipta_away is now known as pradipta07:16
*** dtantsur|afk is now known as dtantsur07:22
dtantsurMorning Ironic07:22
*** ifarkas has joined #openstack-ironic07:24
*** k4n0 has quit IRC07:24
*** k4n0 has joined #openstack-ironic07:28
*** killer_prince has joined #openstack-ironic07:30
Haomengdtantsur: morning:)07:31
dtantsur:)07:31
Haomengdtantsur: :)07:33
*** pensu has joined #openstack-ironic07:52
*** dtantsur is now known as dtantsur|bbl07:54
*** jistr has joined #openstack-ironic07:56
*** athomas has joined #openstack-ironic08:00
GheRiveromorning all08:07
HaomengGheRivero: morning:)08:12
*** derekh has joined #openstack-ironic08:15
*** lucasagomes has joined #openstack-ironic08:27
*** dlaube has quit IRC08:52
*** foexle has quit IRC08:54
raminenilucasagomes, dtantsur : hi09:01
*** igordcard has joined #openstack-ironic09:02
raminenihave one question , as ironic supports booting up uefi boot mode , want to propose adding get/set boot mode functionalities to management interface09:02
lucasagomesramineni, I think that's good yeah09:04
raminenibut ref drivers (ipmi) doesnt support get/set boot mode currently , is it still reasonable to propose to management interface09:04
lucasagomeshmm good point :/09:04
lucasagomesmaybe starts as a vendor_passthru method for iLO and as other drivers adept we can promote the method to the management interface?09:05
raminenibut its good to have it , as other drivers might make use of it :( .. is it not ok to propose , and throw not supported exception for ipmi?09:06
lucasagomesoh it's totally OK to propose09:13
lucasagomesyeah, sure, let's see what people find about it09:13
lucasagomesI personally like it, tho it seems that it's only supported by iLO right now so that's why I think that the vendor interface might make some more sense for it09:13
lucasagomes(side note, we should not be afraid of proposing anything! if you think it makes sense you can propose it no problem with that)09:14
raminenilucasagomes: :)09:15
raminenilucasagomes : thanks09:16
lucasagomesyw09:19
*** rameshg87 has joined #openstack-ironic09:24
*** killer_prince has quit IRC09:31
*** nosnos has quit IRC09:39
*** nosnos has joined #openstack-ironic09:40
*** killer_prince has joined #openstack-ironic09:41
*** takadayuiko has quit IRC09:42
*** nosnos has quit IRC09:44
*** killer_prince has quit IRC09:47
*** lazy_prince has quit IRC09:47
*** lazy_prince has joined #openstack-ironic09:48
*** andreykurilin_ has joined #openstack-ironic09:54
*** pelix has joined #openstack-ironic09:57
*** d0m0reg00dthing has quit IRC09:58
*** athomas has quit IRC10:00
*** kevinbenton has joined #openstack-ironic10:03
*** athomas has joined #openstack-ironic10:07
*** andreykurilin_ has quit IRC10:21
*** igordcard has quit IRC10:24
*** igordcard has joined #openstack-ironic10:25
*** loki184 has quit IRC10:40
*** pradipta is now known as pradipta_away10:59
*** rameshg87 has quit IRC11:00
*** Haomeng|2 has joined #openstack-ironic11:06
*** Haomeng has quit IRC11:07
*** ramineni has quit IRC11:08
*** dtantsur|bbl is now known as dtantsur11:08
dtantsurlucasagomes, we need to start to cope somehow with the fact that not every driver supports every feature11:09
dtantsurlucasagomes, we may want to come up with some capability framework11:09
lucasagomesdtantsur, yeah... well it's usually why the vendor_passthru is made for afaict11:09
lucasagomesif only one driver supports certain feature it can expose it via vendor_passthru and then as others starts adopting it we can promote that interface11:10
dtantsurlucasagomes, not sure. we need to talk more about what driver is and what vendor passthru is.11:10
lucasagomesbut I understand that vendor_passtru is kinda limited right now11:10
lucasagomesyeah11:10
dtantsurwhat if some drivers (e.g. ipmi) will never support some feature?11:10
lucasagomesdtantsur, +111:10
lucasagomeswell the abstraction layer should abstract common features of the drivers11:11
lucasagomesif it's not supported by one we don't abstract on the standard interfaces11:11
lucasagomesbut use the vendor_passthru... but yeah we should talk about it11:11
lucasagomesI see benefits on both sides11:12
dtantsurlucasagomes, see line 29 in https://docs.google.com/spreadsheets/d/1XBKdeDeGfaRYaThjIIoYRwe_zPensECnxsKUuqdoVmQ/edit#gid=011:18
dtantsurwhat do you think?11:18
lucasagomeslooks good, yeah I'm interested on that11:19
dtantsurlucasagomes, that aside, I think we should backport https://bugs.launchpad.net/ironic/+bug/1379705 to Juno11:19
lucasagomes:/ yeah I thought about that11:19
lucasagomesrc-3?11:19
lucasagomesgosh if I saw that before :/11:19
dtantsurlucasagomes, well, we have a broken driver. we should backport it. but I don't remember which tag you have to assign :D11:21
lucasagomesrc-candidate or something like that11:21
lucasagomesyeah will tag it like that11:21
lucasagomesjuno-rc-potential11:21
*** lucasagomes is now known as lucas-hungry11:33
dtantsurlucas-hungry, do we have a spec for https://blueprints.launchpad.net/ironic/+spec/new-boot-interface ? I'd read some details actually? Or we decided to go without a spec?11:37
*** lazy_prince is now known as killer_prince11:37
dtantsurlucas-hungry, I assume you tested https://review.openstack.org/#/c/127454 so we can go ahead and approve?11:41
*** k4n0 has quit IRC11:42
*** Haomeng|2 has quit IRC11:43
*** Haomeng|2 has joined #openstack-ironic11:45
*** jistr has quit IRC12:00
*** kongfy has quit IRC12:03
*** dprince has joined #openstack-ironic12:08
*** Poornima has quit IRC12:12
*** jistr has joined #openstack-ironic12:19
*** foexle has joined #openstack-ironic12:21
*** lucas-hungry is now known as lucasagomes12:25
lucasagomesdtantsur, I'm writting the spec cause it changes pretty much all drivers12:25
dtantsurgood12:25
lucasagomesso I'm still having problems figuring out what I need to put on the spec12:26
lucasagomese.g12:26
*** coolsvap is now known as coolsvap|afk12:26
lucasagomesthe pxe template had a lot of deploy information in it12:26
lucasagomesyeah it's fine to approve the drac thing12:26
dtantsurack12:30
*** igordcard has quit IRC12:40
*** kongfy has joined #openstack-ironic12:40
dtantsurlucasagomes, I know it's not quite Ironic, but could you find some time to do at least quick review of https://github.com/Divius/ironic-discoverd ? I feel strange without people -1ing me :D12:40
lucasagomeshah dtantsur sure!12:40
dtantsurnot sure if github allows commenting, you can just open a bug with everything you spot12:41
*** igordcard has joined #openstack-ironic12:42
lucasagomesyeah I can't comment indeed, right a bug sounds good12:42
*** foexle has quit IRC12:46
lucasagomesthe more I look at the boot interface :/ the harder I see it is to abstract it12:52
lucasagomescause things like virtual media depends on the deploy method to be able to build the right ISO to be booted and all12:52
lucasagomesso they r not completely unrelated12:52
*** rushiagr is now known as rushiagr_away12:55
dtantsurlucasagomes, I actually don't particularly like our idea of loosely-coupled interfaces. I just does not work. I would prefer much bigger number of reusable functions and solid drivers that just call one or another.12:56
*** HenryG has quit IRC12:57
lucasagomesdtantsur, yeah I'm seem it as I dig into splitting the deploy :/ it seems to be better to just have common code shared between the drivers for the deploy part than splitting boot and deploy interfaces12:58
lucasagomesalso for e.g although the agent uses PXE to boot, the PXE part quite diff than the PXE ISCSI driver13:00
lucasagomesdiff PXE templates and args13:00
*** igordcard has quit IRC13:02
*** jcoufal has quit IRC13:07
*** rakesh_hs has quit IRC13:09
*** jjohnson2 has joined #openstack-ironic13:15
*** jistr is now known as jistr|bbl13:16
*** kongfy has quit IRC13:23
*** jcoufal has joined #openstack-ironic13:25
*** rushiagr_away is now known as rushiagr13:44
*** Kui has quit IRC13:45
*** jjohnson2 has quit IRC13:59
NobodyCamGoom Morning Ironic....TGIF!!!14:05
dtantsurNobodyCam, morning, really TGIF!14:07
lucasagomesNobodyCam, morning14:07
NobodyCammorning dtantsur and lucasagomes, you all ready for the weekend?14:09
dtantsurNobodyCam, looking forward to it :)14:09
NobodyCamoh ya :)14:10
*** jjohnson2 has joined #openstack-ironic14:15
lucasagomesNobodyCam, yeah :) going to the pycon ireland14:15
lucasagomeslet's see how is it, I've been in 2012 and it was ok14:15
NobodyCamoh Nice14:15
*** openstackgerrit has joined #openstack-ironic14:16
yuriyzmorning NobodyCam evening lucasagomes dtantsur14:17
lucasagomesyuriyz, hey ya g'evening14:17
NobodyCamhey hey yuriyz :) how are you doing14:18
dtantsuryuriyz, g'evening14:18
yuriyzall right I will go to Paris :)14:18
NobodyCamwoo hoo :)14:18
NobodyCambrb ... gota run the store real quick for some somkes... brb14:20
*** igordcard has joined #openstack-ironic14:25
*** pensu has left #openstack-ironic14:27
*** ifarkas has quit IRC14:29
*** zz_jgrimm is now known as jgrimm14:29
lucasagomesyuriyz, nice !14:30
*** kongfy has joined #openstack-ironic14:30
*** HenryG has joined #openstack-ironic14:31
*** dprince has quit IRC14:38
*** dhellmann is now known as dhellmann_14:40
*** dhellmann_ is now known as dhellmann14:41
*** pcrews has joined #openstack-ironic14:42
* NobodyCam is back14:42
*** rwsu has joined #openstack-ironic15:05
*** foexle has joined #openstack-ironic15:07
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Enable H904 PEP8 check  https://review.openstack.org/12734815:13
*** pensu has joined #openstack-ironic15:14
*** foexle has quit IRC15:18
*** pensu has quit IRC15:19
*** pensu has joined #openstack-ironic15:35
devanandamornin, al15:35
NobodyCamgood morning devananda15:35
lucasagomesdevananda, morning and happy birthday :)15:38
devanandalucasagomes: thanks!15:38
lucasagomesdevananda, have a min to talk about boot interface? I don't know if it worth breaking the deploy() interface into two anymore :/15:39
*** pensu has quit IRC15:39
lucasagomesthing is, boot and deploy are related... for e.g, the virtualmedia needs to know what is the deploy method in order to build the iso15:39
lucasagomesI'm starting to think that having only the deploy interface but abstracting what is possible and putting on common files is better than trying to split it in two interfaces15:40
NobodyCambrb15:44
devanandalucasagomes: humm15:45
lucasagomesour PXE template for e.g have a lot of deploy parameters deploy_key etc...15:46
devanandalucasagomes: so in principle, "run this temporary thing on that server" and "write this stuff to that server's disks" seem distinct15:46
lucasagomesand a deploy entry on the template too :)15:46
devanandabut maybe they're not15:46
lucasagomesyeah15:47
lucasagomesbecause to run this thing, you need to know what is things thing15:47
devanandain some cases, like PXE and IPA ,they are distinct15:47
lucasagomesand what is it is usually the deploy method15:47
devanandato run it, i think you need to know how to cause the machine to execute it15:47
devananda(i)PXE is one method to "boot"15:48
devanandavmedia is another15:48
devanandathe format of the binary data being "booted" is different, yes15:48
dtantsurhave a nice weekend, folks!15:49
*** dtantsur is now known as dtantsur|afk15:49
devanandadtantsur: you too!15:49
lucasagomesdtantsur|afk, see ya15:50
*** jistr|bbl is now known as jistr15:50
*** foexle has joined #openstack-ironic15:58
*** dlaube has joined #openstack-ironic16:01
NobodyCamhave a good weekend dtantsur|afk16:06
*** derekh has quit IRC16:11
*** pensu has joined #openstack-ironic16:13
*** foexle has quit IRC16:17
lucasagomesdevananda, well kinda... e.g PXE IPA, if I try to use the same PXE as the ISCSI with IPA what happens after the machine ping the ironic API back? should the boot interface have control over the PXE template and switch the default entry from deploy to boot16:19
lucasagomesbut if it's IPA the pxe template won't even have that entry, cause IPA is a full disk image16:20
lucasagomesand if I make the deploy method control the PXE template, well we already violated the layer there16:20
devanandalucasagomes: so partition vs. whole disk is a huge bug16:29
devanandawe absolutely should not base API decisions on working around that16:29
lucasagomes+116:30
lucasagomeswe had that bp for deploying full disk images before16:30
lucasagomesbut the code didn't land16:30
devanandait required chagnes in Nova at a time we couldn't really make big changes there16:30
lucasagomesright16:31
lucasagomeswe are talking about installing a boot loader in the disk in case we don't have the full disk image?16:31
lucasagomesbecause that is a big problem to try to do via iscsi I think16:31
lucasagomesmany bootloader look at the host (for e.g to see if it's EFI or not) and install the bootloader accordingly16:31
*** ChuckC__ has joined #openstack-ironic16:32
jrollmorning all, tgif :)16:32
jrolland happy birthday devananda :D16:32
lucasagomesjroll, morning16:32
devanandajroll: o/^16:32
JayFdevananda: where's your birthday hat?16:33
*** kongfy has quit IRC16:33
lucasagomesdevananda, actually I was thinking about it some days ago, if we start fetching the image in the ramdisk and partitoning the image there16:33
JayFshouldn't you be like, ^devananda for the day or smth?16:33
lucasagomeswould be cool, tho it would be kinda some code duplication with other tools (like anaconda/kickstart)16:33
lucasagomeswe would be kinda re implementing the wheel there :/16:34
ChuckC__devananda: happy birthday \o/16:34
jrollcU <- birthday beer16:35
lucasagomesheh "cu" means something pretty bad in portuguese :P16:35
devanandalucasagomes: "partitioning the image" -- i'm not sure what this means16:38
lucasagomesoh16:38
lucasagomesthe disk sorry16:38
devanandalucasagomes: move the partitioning logic into IPA, so IPA woudl support both whole-disk and partition images?16:40
devanandaseems logical to me16:40
jrollI agree with that, fwiw16:40
lucasagomesdevananda, yeah that works too16:40
devanandaJayF: you guys use Ansible at all?16:40
JayFdevananda: jroll: I've wondered if we should have some shared set of code between IPA and Ironic16:40
JayFdevananda: jroll: particularly around disk partitioning16:41
JayFWTB oslo.disk?16:41
jrolldevananda: we use ansible as part of control plane deploys16:41
*** jcoufal has quit IRC16:41
devanandaJayF: oslo is useful when we want to maintain that code across two projects16:41
jrollalso masterless puppet running locally16:41
jrollbut I think it's all moving to ansible eventually16:41
JayFdevananda: so oslo.disk then? heh16:41
devanandaJayF: not when we want to move it16:42
lucasagomestho how complex would be that partitioning stuff? cause couldn't we use part of anaconda for e.g?16:42
*** ChuckC__ has quit IRC16:42
lucasagomesI mean, kickstart does support installing image and tarballs now16:42
jrolldevananda: you'll still need partitioning in ironic for pxe driver, though16:42
devanandajroll: this may sound crazy, but what about a ramdisk that just ran sshd, and an ansible driver in ironic?16:42
lucasagomesit's not only os installation anymore16:42
lucasagomesand it does partitioning, boot loader installation16:42
lucasagomesetc16:42
*** krtaylor has quit IRC16:42
lucasagomeskinda sounds like we are reinventing the wheel here16:43
jrolldevananda: interesting... I like it, but to what benefit?16:43
JayFdevananda: sounds pretty razy16:43
JayF*crazy16:43
JayFdevananda: you're reinventing the cloud-init wheel16:43
devanandaJayF: heh. exceut for provisioning.16:43
jrollmeanwhile, JayF is duct-taping that wheen16:43
jrollwheel16:43
JayFdevananda: well I'd think the usage pattern becomes very un-cloudy when you embed config mangement in that deeply16:44
JayFif Ironic isn't a CMDB, perhaps it shouldn't use a CMS system either :)16:44
devanandaheh16:44
*** slagle has quit IRC16:44
jrollJayF: ansible just runs commands... it happens to facilitate config management as well16:44
jrollvia other things16:44
devanandaJayF: except that is what we're doing, except with a limited scope, when ever we talk about declaratively asserting hardware state during provisioning / decom16:44
devanandainstead of a CMS asserting software state16:45
JayFHMS :)16:45
JayFThe HMS Ironic?16:45
devanandawe're talking about asserting hardware state (RAID, BIOS, etc), partition table,16:45
devanandaoh, HMS Ironic. I like16:45
JayFthat's all hardware though, not software16:45
devanandayes16:46
NobodyCamgood thing we didn't call our selfs titanic16:49
NobodyCamoh wait that was RMS... :-p16:49
* NobodyCam will be afk for about an hour (or so-ish) so he can go visit the doctor ;-p16:56
*** achanda has joined #openstack-ironic16:57
lucasagomesright I'll call it a day too16:59
lucasagomeshave a good night everyone! enjoy the weekend16:59
jrollnight lucas :)17:01
*** lucasagomes is now known as lucas-dinner17:01
lucas-dinnerjroll, night :)17:01
jrolldevananda: you know offhand, for conf options, deprectaed_(group|name) means you can still use that group/name, right?17:04
devanandait should17:04
jrollok, thanks17:05
devanandathat capability is there to allow upgrades while giving time for operators to update configs17:05
devanandashould log a warning when used, etc17:05
*** krtaylor has joined #openstack-ironic17:05
jrollright, that's what I figured, seeing some weirdness in nova/neutron things internally, wanted to verify17:06
*** viktors is now known as viktors|afk17:08
*** igordcard has quit IRC17:08
*** athomas has quit IRC17:16
*** marcoemorais has joined #openstack-ironic17:25
*** ryanpetrello has quit IRC17:25
*** ryanpetrello has joined #openstack-ironic17:26
*** killer_prince has quit IRC17:30
*** rameshg87 has joined #openstack-ironic17:30
*** rameshg871 has joined #openstack-ironic17:39
*** rameshg871 has quit IRC17:39
*** rameshg871 has joined #openstack-ironic17:40
*** rameshg87 has quit IRC17:42
*** chuckC_ has quit IRC17:43
*** rameshg871 has left #openstack-ironic17:45
*** ChuckC has quit IRC17:50
*** harlowja has joined #openstack-ironic17:54
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Enable H904 PEP8 check  https://review.openstack.org/12734817:57
*** coolsvap|afk has quit IRC18:03
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Enable H702 PEP8 check  https://review.openstack.org/12761118:12
*** jistr has quit IRC18:13
*** pelix has quit IRC18:20
*** andreykurilin_ has joined #openstack-ironic18:25
dlaubeHey guys, when I attempt node-validate, I receive the following error/reason:    "| deploy     | False  | Cannot validate iSCSI deploy. The following parameters were not passed to ironic: ['root_gb', 'image_source']"18:26
dlaubebut node-show has driver_info u'image_source':        |18:27
dlaube|                        | u'c969461f-a132-47f0-81e3-3db9c7053d6b',  u'root_gb': u'10',18:27
dlaubecan anyone help me figure out why it's throwing that error when I try to validate the node?18:28
openstackgerritA change was merged to openstack/ironic: Add the PXE VendorPassthru interface to PXEDracDriver  https://review.openstack.org/12745418:29
dlaubeoh, maybe I need be defining those under node properties instead of under driver_info18:30
*** ChuckC has joined #openstack-ironic18:31
*** chuckC_ has joined #openstack-ironic18:35
*** ChuckC has quit IRC18:36
*** ChuckC has joined #openstack-ironic18:36
*** achanda has quit IRC18:37
*** achanda_ has joined #openstack-ironic18:40
*** openstackgerrit has quit IRC18:48
*** Jmank has quit IRC18:52
*** igordcard has joined #openstack-ironic18:53
*** openstackgerrit has joined #openstack-ironic18:55
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add command metrics to IPA API  https://review.openstack.org/11998119:01
devanandadlaube: yep. properties.19:05
devanandahm. that isn't very clear. care to file a bug ?19:06
*** achanda_ has quit IRC19:11
dlaubeahh, I thought so. was just peeping the code to try to confirm19:17
dlaubewill do19:17
*** rushiagr is now known as rushiagr_away19:18
dlaubejust filed bug 137991119:28
*** rainya has joined #openstack-ironic19:29
* NobodyCam is back19:30
*** achanda has joined #openstack-ironic19:36
dlaubehuh, still seeing "| deploy     | False  | Cannot validate iSCSI deploy. The following parameters were not passed to ironic: ['root_gb', 'image_source']"   on node-validate even though I've set them under properties19:39
dlaube| properties             | {u'root_gb': u'10', u'image_source':                             |19:39
dlaube|                        | u'c969461f-a132-47f0-81e3-3db9c7053d6b'}19:39
*** ChuckC__ has joined #openstack-ironic19:43
*** ChuckC__ has quit IRC19:47
*** achanda has quit IRC19:48
*** achanda has joined #openstack-ironic19:48
*** pensu has quit IRC19:58
NobodyCamdlaube: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/iscsi_deploy.py#L114-L12019:59
NobodyCamlooks like that should be set in instance_info20:00
dlaubeooh20:02
dlaubeok i will try that20:02
dlaubethanks20:02
jrolldlaube: to be clear, nova should put those in instance_info20:03
NobodyCamdlaube: are your setting doing all this manually ?20:04
dlaubei thought i could get by with just interacting with ironic20:04
dlaubeyeah20:04
jrollah20:04
jrollI see20:04
NobodyCam:)20:04
dlaubei will go install nova if thats the best way20:04
jrolldlaube: so, what nova does is: set instance_info, set instance_uuid, hit provision state api with a target of active20:05
jrolliirc20:05
NobodyCambest is not the word I would use, is another way,20:05
NobodyCamthough our docs prob dont cover the manual process20:05
NobodyCamits kinda out of scpoe for them, I feel20:06
jrollit's the intended use right now, though we realize it's not the only use :)20:06
dlaubegotcha20:07
NobodyCamoh much better stated jroll :)20:07
jroll:)20:07
devanandadlaube: yea, it's possible to use ironic directly (no nova) or, in principle, alone (no keystone, neutron, or glance) but not recommended today20:14
devanandasome drivers have a hard dependency on swift, and all drivers depend on glance today20:15
dlaubegood to know20:15
Shrewsdevananda: any opinions on whether there are any of the pep8 checks we want to continue ignoring in tox.ini?20:19
devanandaShrews: quite possibly20:19
devanandaShrews: have a link handy to which ones mean what?20:19
Shrewsdevananda: http://legacy.python.org/dev/peps/20:20
devanandaH are hacking rules, not pep8 rules20:21
Shrewsugh20:21
devanandayep20:21
Shrewsyeah... so, no  :)20:21
Shrewsi've just been turning them on and seeing what they mean  :)20:21
devanandahttp://docs.openstack.org/developer/hacking/20:22
NobodyCamdevananda: just checking as to why only a +1 on https://review.openstack.org/#/c/122453?20:22
devanandaShrews: we should not ignore 70220:24
devanandaI don't even see 904 in the docs tho :(20:24
devananda405 is worth cleaning up. should be easy20:24
devanandaditto for 30720:24
devanandaand 305 -- both of those are import orderings20:25
JayFNobodyCam: IIRC only stable maintainers have Core on stable/ branches20:25
JayFNobodyCam: but imbw20:25
devanandaNobodyCam, JayF: exactly. I can't +2 it20:26
Shrewsdevananda: fyi, 405 was tedious20:27
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Enable H405 PEP8 check  https://review.openstack.org/12764820:28
*** krtaylor has quit IRC20:28
devanandaShrews: ugh. thanks20:28
*** achanda has quit IRC20:36
*** harlowja is now known as harlowja_away20:43
*** harlowja_away is now known as harlowja20:47
*** mitz_ has quit IRC20:47
*** spandhe_ has joined #openstack-ironic20:47
*** marcoemorais has quit IRC20:49
*** marcoemorais has joined #openstack-ironic20:50
NobodyCamShrews: slick use of (None,) * 5 in ipmitool :)20:51
*** jgrimm is now known as zz_jgrimm20:52
ShrewsNobodyCam: not my idea20:53
NobodyCam:p20:53
*** dhellmann has quit IRC20:56
*** dhellmann has joined #openstack-ironic20:57
*** marcoemorais has quit IRC21:02
*** marcoemorais has joined #openstack-ironic21:02
*** marcoemorais has quit IRC21:03
*** marcoemorais has joined #openstack-ironic21:03
NobodyCamlol ... huummmmm /Shrews didn't call not that he also corrected capitalization on 127648 .. should i -1 this late on a friday... hummm... na ... more fun to just razz him about it21:05
*** achanda has joined #openstack-ironic21:06
spandhe_JayF: hey! :)21:08
JayFhi :)21:09
spandhe_JayF: do you use neutron or your own dhcp server? I have read about scaling problems with dnsmasq (neutrons default dhcp agent)21:09
*** achanda_ has joined #openstack-ironic21:10
JayFWe wrote the code (we= ellenh in this case) for pluggable DHCP providers21:10
JayFthe options are None and neutron21:10
JayFwe use None :)21:10
JayFand basically statically assign BMC and IPA IPs using isc-dhcp-server21:10
JayFwe do use neutron to swap networks around, some info about that is in the blogpost including link to our driver21:11
spandhe_JayF: ok.. thanks! Ill go through the blogpost..21:11
*** achanda has quit IRC21:12
*** achanda_ has quit IRC21:15
*** jjohnson2 has quit IRC21:20
*** praneshp has joined #openstack-ironic21:30
openstackgerritA change was merged to openstack/ironic: Enable H904 PEP8 check  https://review.openstack.org/12734821:30
NobodyCam+2'd 127648 did not +a as I also left a comment / question on it21:32
*** lucas-dinner has quit IRC21:33
ShrewsNobodyCam: yeah, i removed that comment b/c the code totally didn't do what the comment said21:37
ShrewsNobodyCam: i was going to open a bug but i've been sidetracked with a family matter21:38
ShrewsNobodyCam: the option doesn't accept a list of servers, only a string, so no way we could get more than 1 anyway21:38
Shrewsi need to go afk now. feel free to open the bug for me. otherwise, i'll try to remember to do that later21:40
*** yjiang5 has joined #openstack-ironic21:40
Shrews(if a bug is even warranted... not sure about it yet)21:40
NobodyCamenjoy the weekend Shrews :)21:43
*** achanda has joined #openstack-ironic21:44
*** killer_prince has joined #openstack-ironic21:44
*** killer_prince is now known as lazy_prince21:44
openstackgerritJosh Gachnang proposed a change to openstack/ironic-specs: Support Decommissioning of Nodes  https://review.openstack.org/10268521:47
*** achanda has quit IRC21:48
NobodyCamhere a quiestion for the spec review folk. say a spec calls for a nova driver change, and describes it in the nova driver section, would it be better to list the nova [spec|review] in that section or in Dependencies ???21:50
NobodyCamjust asking..21:50
praneshpdevananda: ping21:55
praneshpdevananda: is there a flow diagram somewhere that shows what happns when a node is rebooted using ironic21:55
praneshpNobodyCam: JayF ^21:55
devanandapraneshp: it depends on which driver is in use. also, i'm not aware of any recent flow diagrams for that21:55
openstackgerritJosh Gachnang proposed a change to openstack/ironic-specs: Support Decommissioning of Nodes  https://review.openstack.org/10268521:56
praneshpdevananda: ok. i am setting up an ironic cluster (for the first time), and was wondering how a node gets a ramdisk when rebooted, etc21:56
praneshpi have the ironic (api and conductor) services running on an API node21:57
devanandapraneshp: using pxe_ipmi* drivers, it will get ramdisk via PXE boot21:57
praneshpdevananda: ok, is http://docs.openstack.org/developer/ironic/deploy/user-guide.html still valid documentation?21:58
praneshprloo seemed to think it might be a bit out of date21:58
JayFpraneshp: same with IPA driver, you pxe boot the agent up. Although I'd strongly reccomend enabling lucas's support for iPXE22:00
yjiang5praneshp: I'm setting up the environment also, and that user-guide seems still up to date.22:01
jrollNobodyCam: I wonder if we should remove that section? idk22:01
*** achanda has joined #openstack-ironic22:01
jrollotherwise, yes, nova references should be there22:01
praneshpyjiang5: great! did you start from scratch? I’ll ping you if I have questions.22:02
jrollall these users :D22:02
yjiang5praneshp: In fact, I'm just using devstack to achieve it.22:03
yjiang5praneshp: We are trying to setup a mini openstack cloud (about 12 machines) for developer usage and we want to use ironic to manage the physical machines and then the ironic guest will be the real openstack cloud.22:06
NobodyCamoh heres a question. "i want to deploy on to sdb and leave sda untouched. can Ironic support that layout" <- real question /me has been asked22:06
devanandaNobodyCam: not with the iscsi deploy, no. JayF: can IPA support that?22:07
* devananda files a bug in keystone ... https://bugs.launchpad.net/keystone/+bug/137995222:07
jrolldevananda: "it depends"22:07
jrolldevananda: today, IPA writes to the smallest disk that is larger than 4GB22:07
praneshpyjiang5: hmm, sounds like a  fair use case. We’ve just been deploying openstack and use some of the VMs as management node.22:08
*** krtaylor has joined #openstack-ironic22:08
*** andreykurilin_ has quit IRC22:08
*** igordcard has quit IRC22:08
jrolldevananda: so targeting it like that, no22:08
praneshpyjiang5: by ironic guest, you mean whatver nodes you manage right (just to get the terminology right)22:08
yjiang5praneshp: yes. I'm new the ironic side, so possibly wrong term.22:08
NobodyCamis that [system layout] something we should support?22:10
NobodyCams/system layout/disk config/22:10
jrollNobodyCam: I tend to think "don't touch this little snowflake disk" isn't something we should support, but we have preserve-ephemeral, so that's shot22:11
NobodyCamno but I have use sda for system and sdb for data and do not think it out of thought to ask for the invers22:11
jrolloh, I see22:12
jrollidk, maybe?22:12
NobodyCamlol and have you ever thought about deploying a data work load and not the system?22:13
jrollI have not22:13
jrollthat's an interesting concept22:13
NobodyCamthink about loading a disk with a mysql database in to glance and then deploying it to the data driver powering up the node and the system disk boot and loads that database22:14
jrollseems odd, but interesting22:15
NobodyCamor dbl deploy... system and data payloads on to different drives...22:16
jrollyeah22:16
* NobodyCam stops before he scares him self22:16
jrolllol22:16
NobodyCamso I can see a use case for put this thing on this drive / lun / device ...22:18
* NobodyCam hides from devananda 22:18
JayFNobodyCam: jroll: picking which device is used to write the image to is in the HardwareManager22:22
JayFNobodyCam: jroll: So can be modified with some code-writing by the deployer :)22:22
jrolloh, right22:22
JayFAnd I wouldn't object to someone putting up more sane general-purpose logic into API22:22
JayFer IPA22:22
NobodyCamJayF: is that something we leave up to the user to do?22:22
JayFwow IPA is inverse of API22:22
NobodyCamlol22:22
* JayF is going to coin "from the API to the IPA" in a talk22:23
NobodyCamnice22:23
JayFNobodyCam: Well we have a GenericHardwareManager which uses the logic jroll pointed out (smallest disk >4GB)22:23
JayFNobodyCam: but I'm saying that logic was made when that was teeth-agent to meet onmetal needs. Given it's in the hw manager we could make the behavior more general purpose, then we'd just override it in our hardware manager (https://github.com/rackerlabs/onmetal-ironic-hardware-manager)22:24
jrollJayF: nooooooooo, I wanted that phrase22:24
jrolls/wanted/want/ I only just began wanting22:24
yjiang5JayF: Hi, I'm study the IPA, and a bit curiosity that why we have the call from ironic to IPA, instead of vice versa?22:24
JayFjroll: we'll have to nerf swordfight to the death on Tuesday then22:24
jrollhmm22:24
NobodyCamoh that need a webcast22:24
jrollyjiang5: the deploy call?22:25
ChuckCfirst one to turn the whole phrase into a palindrome wins22:25
jrollor prepare_image, technically22:25
JayFyjiang5: I don't understand what you mean? Agents heartbeat to the API, and transmit information that it's completed commands that way22:25
JayFyjiang5: the api only talks to api to tell it to do things :)22:25
JayFit's just two rest services talking to one another :)22:25
JayFexcept agent uses almost all vendor_passthru, which isn't very restful, but w/e22:26
yjiang5JayF: jroll, there was some discussion in Nova side before, that we want nova to talk to Ceilometer, and was rejected, because nova don't want to have such 3rd party dependency. I think the IPA is something similar (or we can argue that IPA is not 3rd party).22:27
JayFIPA is tightly coupled to Ironic22:27
JayFit's completely unusable without Ironic22:28
JayFjust because it's in a separate repo doesn't mean it's really a standalone project22:28
yjiang5JayF: But it's iin the ironic guest, right? So it basically means we have Ironic to depends on the guest? I'm quite new to ironic, so possibly my understanding/concern is wrong.22:29
JayFyjiang5: Ironic, when configured to do so, manages everything about getting the ramdisk on the node, including powering the server on, telling it via BMC to boot from pxe, and telling Neutron to configure dhcp+pxe booting on the node22:31
yjiang5JayF: I'm just trying to imagine that nova will talk to some code running in a libvirt KVM guest.22:31
JayFThink of IPA *as* KVM22:32
JayFonce we reboot into the instance, Ironic has no communication inside it whatsoever22:32
jrollIPA does not run on a provisioned instance22:32
yjiang5JayF: Hmm, if considering the deploy kernel/ramdisk information is provided by admin, it seems make sense to take it as KVM, or , PV driver. Thanks for clarification.22:34
JayFyjiang5: exactly; it's just a tool for doing the deployment; same as the pxe deploy ramdisk, although all that runs is a program to export the disk to image as an iscsi target (which is then mounted+imaged by the conductor)22:35
devanandayjiang5: for analogy, ironic ~= libvirt && ipa|pxe|ilo|drac ~= kvm22:36
yjiang5JayF: thanks for answer. I will have a look on the code and then, maybe back to you later.22:36
yjiang5devananda: thanks.22:37
devanandathere is an additional separation of functionality, though. where KVM handles all aspects of starting a VM, within Ironic that is broken down by Driver Interface22:37
devanandaso we have power, deploy, console, management, etc...22:38
devanandadifferent interfaces for different functionality on the hardware22:38
yjiang5devananda: that make sense. KVM has multiple interface like different ioctl :)22:38
*** rainya has quit IRC22:40
ChuckCjroll: hey22:46
jrollhiya ChuckC22:46
ChuckCjroll: I'd like to get your thoughts on a spec I'm working on to make sure I'm representing ironics needs appropriately22:47
ChuckCjroll: not out for review yet22:48
jrollsure!22:48
jrollyou should put the short version on gerrit, to be honest, so everyone can chime in22:48
jrollbut happy to look before you do that, as well22:48
ChuckCjroll: sure, maybe that's easiest anyway, I'll ping you when I have it out there (this is for 'resilient boot')22:49
jrollcool22:50
jrollChuckC: what does 'resilient boot' mean?22:50
ChuckCjroll: booting even though a nic failed22:51
jrollaha, ok22:51
jrollcool, looking forward to it :)22:51
ChuckCjroll: thanks!22:51
NobodyCamj* got a good chuckle from dtantsur|afk comment in the Developer impact section of https://review.openstack.org/#/c/97150/13/specs/kilo/whole-disk-image-pxe-driver.rst22:53
yjiang5hi, all, I have patches to devstack, trying to support hardware delopyment, https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack+branch:master+topic:ironic-hw,n,z  . It still have an issue that public interface's IP address is not restored cleanly when unstack.sh (Checking the code , I suspect baremetal has similar issue also), anyone has interests can have a look.22:53
*** openstackgerrit has quit IRC22:54
jrollNobodyCam: but we could still do those...22:55
jrolltack on a swap partition after writing22:56
jrolluses other disks for ephemeral22:56
jrolletc22:56
NobodyCamoh thats intrestring thought22:56
*** rwsu has quit IRC22:59
*** praneshp has quit IRC23:02
*** chuckC_ has quit IRC23:13
*** achanda has quit IRC23:16
NobodyCamlol23:17
*** ChuckC has quit IRC23:22
NobodyCamanyone have a keystone v3 server up and running?23:28
jrolllol I wish23:29
NobodyCamlol23:29
jrollNobodyCam: I want soft reboot :(23:30
NobodyCamhave you added your name to the list?23:30
jrollmaybe23:31
jrollidk if we need a whole design session23:31
jrolljust, nova reboot should try to soft power off23:31
jrolland kill it with fire if it's not responsive to that23:31
jrollbut I will add my name23:32
NobodyCam:) and how long is that... a 4TB ram based data base takes awhile to write dout23:32
NobodyCamdout=out23:32
NobodyCam:-p23:32
jroll...23:32
jrollyeah23:32
dlaubehmm..  "Failed to deploy. Error: No VIFs found for node e9eff0a1-5971-4ddf-b0cb-e7d98f255fb6 when attempting to update DHCP BOOT options."23:33
dlaubeis this because I dont have any subnets configured in neutron?23:33
dlaubeheh23:33
jrolldlaube: oh, right, nova puts VIF data in the ironic port objects23:33
jrollNobodyCam: oh my name was there23:34
*** praneshp has joined #openstack-ironic23:38
*** praneshp_ has joined #openstack-ironic23:39
NobodyCamdoh23:39
NobodyCambrb23:39
*** praneshp has quit IRC23:42
*** praneshp_ is now known as praneshp23:42
NobodyCamdlaube: http://docs.openstack.org/developer/ironic/deploy/install-guide.html#configure-neutron-to-communicate-with-the-bare-metal-server23:48
dlaubethanks NobodyCam23:51
dlaubeman, these docs have come a long way!23:51
*** Kui has joined #openstack-ironic23:51
NobodyCam:)23:52
dlaubethat's some really excellent work guys23:53
* NobodyCam points too all the great folks who have submitted the patches :)23:53
NobodyCams/folks/folk/23:54
NobodyCam:-p23:54
NobodyCamdlaube: if you run it in to areas that need improving toss up a patch :)23:56
NobodyCamshameless plug!23:56
dlaubesure thing ;)23:57

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