Thursday, 2015-03-05

NobodyCamhowever the default image DID deploy and is working :) nice!00:00
*** jlvillal_ has left #openstack-ironic00:01
jrollNobodyCam: as the demo user you can't hit ironic :P00:02
NobodyCami'm  not admin ...doh00:03
NobodyCamyeppers I'm running as demo00:03
* NobodyCam notes difference from his devtest setup00:03
NobodyCam:-p00:04
*** jlvillal_ has joined #openstack-ironic00:04
NobodyCamand now goes away... g'night all...00:04
*** BadCub has quit IRC00:04
jrollheh00:05
jrollnight NobodyCam gl00:05
*** jlvillal_ has quit IRC00:05
*** jlvillal has joined #openstack-ironic00:06
*** naohirot has joined #openstack-ironic00:07
*** dttocs has quit IRC00:07
*** kkoski has quit IRC00:10
*** r-daneel has quit IRC00:15
*** penick has quit IRC00:16
*** jlvillal has left #openstack-ironic00:16
*** romcheg has quit IRC00:22
*** Haomeng|2 has joined #openstack-ironic00:23
*** Haomeng has quit IRC00:24
*** Marga_ has quit IRC00:24
*** jlvillal has joined #openstack-ironic00:25
*** Marga_ has joined #openstack-ironic00:25
*** naohirot has quit IRC00:28
*** naohirot has joined #openstack-ironic00:29
*** devlaps has quit IRC00:41
*** penick has joined #openstack-ironic00:42
*** wshao has joined #openstack-ironic00:51
*** jerryz_ has joined #openstack-ironic00:52
*** chuckC_ has quit IRC00:58
*** ijw has quit IRC01:01
TheJuliaNobodyCam: devananda: deployments are still failing, but it looks like we can't use a config drive with the agent's image write out.  qemu-img converts the raw disk on a write-out to /dev/sda, so when parted comes along to create the partition for the config drive, all of the space appears gone.01:08
jrollTheJulia: parted should deal with that...01:09
jrollTheJulia: our production uses agent + configdrive01:09
TheJuliaI wonder if it is the image that your writing out then?01:10
TheJuliato be more specific, the partition table in the image?01:10
jrollmaybe, though I don't thinhk they're special01:10
* jroll looks at code again01:10
jrollTheJulia: is your raw image the same size as the drive?01:11
TheJuliahttp://paste.openstack.org/show/188361/ Although I have rebooted to get this, but the command is exactly what the next step would have been on the config drive write out01:12
TheJuliajroll: The partition table in the image is something like 1.5GB, created as a sparse file, it only has ~500 MB of data in it01:13
jroll'parted: invalid token: primary' seems weird01:14
jrollhmm01:14
TheJuliaqemu-img's convert code makes my head hurt a little01:14
jrolllol01:14
jrollI'm not super familiar with images/partitions/etc01:14
jrolllucas or JayF would be better people to ask tomorrow01:15
TheJuliaI kind of wonder if the image just has a bad partition table01:15
jrollcould be01:15
*** penick has quit IRC01:15
jrollthere's a cirros image you could test with01:15
* jroll finds01:15
jrollI think it's http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img01:18
jrollbut there's more: http://download.cirros-cloud.net/0.3.3/01:18
naohirotSpamapS: hi, good evening01:21
* TheJulia fires that off and waits01:21
* TheJulia has a sudden craving for banana pudding and blames JayF for it :)01:22
naohirotgood evening jroll01:22
jrolllol01:22
jrollmorning naohirot :)01:22
naohirotjroll: https://review.openstack.org/#/c/159888/2/elements/ramdisk-base/extra-data.d/01-inject-ramdisk-build-files01:23
jrollyes?01:23
naohirotjroll: can I ask a question regarding ^^^?01:23
jrollyou can ask, we'll see if I can answer01:23
naohirotjroll: I still thinking what the contents of '. /etc/virtual-media-settings.sh'  should be.01:24
naohirotjroll: even if we created '. /etc/virtual-media-settings.sh' , I couldn't figure out how to passing parameter to the busy box environment.01:25
TheJuliajroll: Yeah, looks like it may be the partition table.  Just changing the image over to cirros and it worked like a chammp01:25
* naohirot TheJulia, hi, sorry for interrupting you.01:26
TheJulianaohirot: Hi, Perfectly fine. :)01:27
naohirotTheJulia: thank you for saying that :)01:27
jrollTheJulia: awesome :)01:28
jrollnaohirot: something like:01:28
jrollexport __SYSFS_VMEDIA_DEVICE_MODEL_CONTENTS ${SYSFS_VMEDIA_DEVICE_MODEL_CONTENTS:-\"(virtualmedia|Virtual Floppy0)\"}01:28
jrollexport __WAIT_TIME_FOR_VFLOPPY_MOUNT ${WAIT_TIME_FOR_VFLOPPY_MOUNT:-15}01:28
jrolland then source that, and use e.g. __SYSFS_VMEDIA_DEVICE_MODEL_CONTENTS as needed01:28
naohirotjroll: but it doesn't pass my environment variable's value to busy box, assume if set WAIT_TIME_FOR_VFLOPPY_MOUNT=30 in my bash01:30
*** mtanino has quit IRC01:30
naohirotjroll: the value 30 is set my bash to execute disk-image-create, but not shell in the busy box.01:31
jrollnaohirot: source it from elements/ramdisk-base/extra-data.d/scripts/d/init-func01:31
jrollhm01:31
jrollI think I see01:31
jrollidk how DIB works enough to answer this question, though01:31
naohirotjroll: we use virtual floppy to pass parameter to busy box environment.01:33
naohirotjroll: If there is a way to pass parameter via some other way, basically we don't have to use virtual floppy01:33
naohirotjroll: there is a paradox01:33
jrollnaohirot: let me be clear, I have no idea how DIB works, at all. I don't think I can answer your question intelligently01:34
naohirotjroll: thank you for your help, I'll ask SpamapS via gerrit :)01:36
jrollnaohirot: excellent, sorry I couldn't help more :)01:36
*** ijw has joined #openstack-ironic01:36
naohirotjroll: I really appreciate your help :)01:37
jroll:)01:37
*** Marga_ has quit IRC01:37
*** ijw has quit IRC01:38
openstackgerritJosh Gachnang proposed openstack/ironic: Implement execute clean steps  https://review.openstack.org/15556101:56
*** wshao has quit IRC02:08
*** wshao has joined #openstack-ironic02:08
*** wshao has quit IRC02:08
*** wshao has joined #openstack-ironic02:09
*** Marga_ has joined #openstack-ironic02:09
*** Marga_ has quit IRC02:09
*** Marga_ has joined #openstack-ironic02:10
openstackgerritJosh Gachnang proposed openstack/ironic: Implement execute clean steps  https://review.openstack.org/15556102:10
*** enikanorov_ has joined #openstack-ironic02:16
*** penick has joined #openstack-ironic02:16
*** naohirot_ has joined #openstack-ironic02:19
*** Shalmazar has joined #openstack-ironic02:20
*** jgrimmn has joined #openstack-ironic02:20
*** cinerama` has joined #openstack-ironic02:20
*** rwsu_ has joined #openstack-ironic02:20
*** Madasi has quit IRC02:21
*** zz_jgrimm has quit IRC02:21
*** cinerama has quit IRC02:21
*** naohirot has quit IRC02:21
*** pcrews has quit IRC02:21
*** rwsu has quit IRC02:21
*** enikanorov__ has quit IRC02:21
*** penick has quit IRC02:21
*** penick has joined #openstack-ironic02:21
*** jgrimmn has quit IRC02:21
*** jgrimmn has joined #openstack-ironic02:21
*** Shalmazar is now known as Madasi02:21
*** coolsvap_ is now known as coolsvap02:22
*** ChuckC has joined #openstack-ironic02:26
*** pcrews has joined #openstack-ironic02:27
*** wshao has quit IRC02:34
*** rwsu_ is now known as rwsu-afk02:35
*** wshao has joined #openstack-ironic02:37
*** chenglch has joined #openstack-ironic02:39
*** coolsvap is now known as coolsvap_02:41
*** cinerama` is now known as cinerama02:42
Haomeng|2naohirot_: got your message, dont worry:)02:49
Haomeng|2Haomeng|2: welcome:)02:49
naohirot_Haomeng|2: Hi okay, thanks!02:50
Haomeng|2naohirot_: yw:)02:50
naohirot_Haomeng|2: :)02:50
Haomeng|2naohirot_: did you run with IPA and swift?02:50
mrdaHi Haomeng|2 and naohirot_02:50
Haomeng|2mrda: morning:)02:50
naohirot_mrda: good morning :)02:51
*** achanda has quit IRC02:55
*** yog_ has joined #openstack-ironic02:56
*** ChuckC has quit IRC03:01
openstackgerritMerged openstack/ironic: Fix nits for supporting non-glance images  https://review.openstack.org/16073203:04
*** ChuckC has joined #openstack-ironic03:06
openstackgerritMichael Davies proposed openstack/ironic-specs: API Microversions  https://review.openstack.org/16111003:22
*** rloo has quit IRC03:23
openstackgerritMichael Davies proposed openstack/ironic-specs: API Microversions  https://review.openstack.org/16111003:24
*** wshao has quit IRC03:27
mrdadevananda: I've just created a bp for api microversions, and targeted it to K-3 (https://blueprints.launchpad.net/ironic/+spec/api-microversions)03:27
*** achanda has joined #openstack-ironic03:29
*** spandhe has quit IRC03:30
openstackgerritShivanand Tendulker proposed openstack/ironic: Ilo drivers sets capabilities:boot_mode in node  https://review.openstack.org/15573103:37
openstackgerritJosh Gachnang proposed openstack/ironic-python-agent: Add cleaning/zapping support to IPA  https://review.openstack.org/16106603:43
*** penick has quit IRC03:47
*** yog_ has quit IRC03:55
*** yog_ has joined #openstack-ironic04:01
*** rameshg87 has joined #openstack-ironic04:12
rameshg87good morning ironic04:14
mrdahi rameshg8704:20
rameshg87hello mrda04:21
naohirot_rameshg87: good morning, agent deploy worked, thanks!04:21
rameshg87naohirot_, great :)04:21
rameshg87naohirot_, was it proxy issue ?04:22
*** achanda has quit IRC04:22
naohirot_rameshg87: yes, and if I didn't know about vm option, I would have encountered another problem. but I didn't.04:23
rameshg87naohirot_, i used to face the same in my workplace as well04:23
rameshg87naohirot_, are you using older ironic. i thought we fixed all those recently04:23
rameshg87naohirot_, JoshNang made changes to capture connection errors in agent_client.py and they shouldn't be throwing json decode errors now04:24
naohirot_rameshg87: Yes, i used a little bit old one. but I rebased yesterday.04:24
rameshg87naohirot_, okay. i think it should throw a meaningful error now for such connection errors due to proxy04:25
naohirot_rameshg87: I see, great.04:25
rameshg87naohirot_, it's very hard to debug otherwise04:25
naohirot_rameshg87: Yes, does IPA coreos have an option to get shell like DIB's type 't'?04:26
rameshg87naohirot_, you can ssh to ipa ramdisk itself04:27
naohirot_rameshg87: really, id/pw?04:28
rameshg87naohirot_, https://github.com/openstack/ironic-python-agent/blame/master/imagebuild/coreos/README.rst#L85-L8804:28
rameshg87naohirot_, you have to import ssh keys into it04:28
naohirot_rameshg87: via keystone and meta service?04:29
rameshg87naohirot_, no just put the ssh keys in oem directory before building ramdisk04:29
naohirot_rameshg87: I see04:29
* naohirot_ let me read the url04:30
naohirot_rameshg87: Okay, I'll try it later, thanks!04:31
*** Haomeng has joined #openstack-ironic04:33
*** Haomeng|2 has quit IRC04:34
naohirot_rameshg87: I'd like to hear your idea about generalizing the vfloppy parameter https://review.openstack.org/#/c/160813/04:35
naohirot_rameshg87: if you had some time.04:36
rameshg87naohirot_, sure ..04:36
rameshg87naohirot_, same thing as dib applies here as well, right ?04:37
rameshg87naohirot_, some environment variable or a conf file for ipa using which we can mention the device filename at the time of building04:37
rameshg87naohirot_, and defaults to the both of the devices that we know now04:37
naohirot_rameshg87: Yes, but IPA seems quit complicated comparing with DIB.04:39
rameshg87naohirot_, i will explore the same if we have some option and will comment on the review today itself04:39
naohirot_rameshg87: basically does coreos have similar role with busybox in DIB?04:40
naohirot_rameshg87: sorry, i wanted to say04:41
naohirot_rameshg87: basically does docker have similar role with busybox in DIB?04:41
*** chenglch has quit IRC04:42
rameshg87naohirot_, busybox as i know is a single-command-wrapper for all the basic commands04:42
rameshg87naohirot_, but docker facilitates running something else as a container04:42
rameshg87naohirot_, did you see this ? - https://github.com/openstack/ironic-python-agent/blob/master/etc/ironic_python_agent/ironic_python_agent.conf.sample04:43
rameshg87naohirot_, i am wonder we could put it as a conf option, but i don't how we can get some custom conf options into the ramdisk at build time04:43
rameshg87naohirot_, but i am sure rackspace folks would have left some provision for that :)04:43
naohirot_rameshg87: Yeah, I'll dig into IPA from the sample file, and ask them.04:45
rameshg87naohirot_, okay04:45
naohirot_rameshg87: thank yo for giving me the hint.04:45
openstackgerritOpenStack Proposal Bot proposed openstack/ironic: Updated from global requirements  https://review.openstack.org/16138904:50
openstackgerritOpenStack Proposal Bot proposed openstack/ironic-python-agent: Updated from global requirements  https://review.openstack.org/16157504:50
*** wshao has joined #openstack-ironic04:51
*** wshao_ has joined #openstack-ironic04:55
*** wshao has quit IRC04:56
*** harlowja is now known as harlowja_away04:57
*** wshao has joined #openstack-ironic04:58
*** wshao_ has quit IRC04:59
*** chenglch has joined #openstack-ironic04:59
*** spandhe has joined #openstack-ironic05:07
*** stendulker has joined #openstack-ironic05:13
*** spandhe_ has joined #openstack-ironic05:17
*** spandhe has quit IRC05:18
*** spandhe_ is now known as spandhe05:18
*** wshao has quit IRC05:21
*** pradipta has joined #openstack-ironic05:21
*** wshao has joined #openstack-ironic05:22
*** achanda has joined #openstack-ironic05:23
*** achanda has quit IRC05:23
*** achanda has joined #openstack-ironic05:23
*** wshao has quit IRC05:26
*** ParsectiX has quit IRC05:26
*** ParsectiX has joined #openstack-ironic05:27
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: create and get should return physical disks info  https://review.openstack.org/16030705:34
*** sandhya has joined #openstack-ironic05:35
*** chenglch has quit IRC05:49
*** chenglch has joined #openstack-ironic05:54
*** spandhe has quit IRC06:03
*** stendulker_ has joined #openstack-ironic06:04
*** stendulker has quit IRC06:06
*** lazy_prince has quit IRC06:08
*** ParsectiX has quit IRC06:08
*** killer_prince has joined #openstack-ironic06:08
*** killer_prince is now known as lazy_prince06:08
*** stendulker has joined #openstack-ironic06:19
*** spandhe has joined #openstack-ironic06:22
*** stendulker_ has quit IRC06:23
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: Add support for sharing physical disks  https://review.openstack.org/16038506:30
*** gridinv has joined #openstack-ironic06:46
*** sabah has joined #openstack-ironic06:49
*** Krast has joined #openstack-ironic06:51
*** gridinv has quit IRC06:55
*** Marga_ has quit IRC07:20
*** spandhe has quit IRC07:32
*** openstackgerrit has quit IRC07:36
*** openstackgerrit has joined #openstack-ironic07:36
*** ifarkas has joined #openstack-ironic07:37
*** killer_prince has joined #openstack-ironic07:37
*** ifarkas_ has joined #openstack-ironic07:37
*** lazy_prince has quit IRC07:38
*** killer_prince is now known as lazy_prince07:38
*** ifarkas_ has quit IRC07:41
*** yog_ has quit IRC07:55
openstackgerritMerged openstack/ironic: Add a note to dev-quickstart  https://review.openstack.org/14569007:56
*** athomas has joined #openstack-ironic08:06
*** dlpartain has joined #openstack-ironic08:10
*** achanda has quit IRC08:16
openstackgerritMerged openstack/ironic: Fix nits in cleaning  https://review.openstack.org/16059908:24
*** sabah has quit IRC08:25
*** subah has joined #openstack-ironic08:25
*** pradipta has quit IRC08:29
*** takadayuiko has joined #openstack-ironic08:31
*** Krast has quit IRC08:33
*** achanda has joined #openstack-ironic08:33
*** dlpartain has left #openstack-ironic08:38
*** pradipta has joined #openstack-ironic08:42
*** jistr has joined #openstack-ironic08:49
*** jcoufal has joined #openstack-ironic08:54
*** ndipanov has joined #openstack-ironic08:57
openstackgerritMerged stackforge/proliantutils: HPSSA: Add functional tests for create  https://review.openstack.org/15812208:58
*** dtantsur|afk is now known as dtantsur08:58
dtantsurMorning08:58
rameshg87dtantsur, o/09:01
*** erwan_taf has joined #openstack-ironic09:05
*** achanda has quit IRC09:12
*** lucasagomes has joined #openstack-ironic09:21
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: Add support for nested RAID levels  https://review.openstack.org/15899409:24
openstackgerritMerged stackforge/proliantutils: HPSSA: Add support for nested RAID levels  https://review.openstack.org/15899409:28
openstackgerritMerged stackforge/proliantutils: HPSSA: Add support for nested RAID levels  https://review.openstack.org/15899409:28
*** mgoddard1 has joined #openstack-ironic09:28
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: Handle all storage units  https://review.openstack.org/15900109:28
*** mgoddard2 has joined #openstack-ironic09:30
*** mgoddard has quit IRC09:30
*** mgoddard1 has quit IRC09:32
openstackgerritMerged stackforge/proliantutils: HPSSA: Handle all storage units  https://review.openstack.org/15900109:33
*** athomas has quit IRC09:33
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: create and get should return physical disks info  https://review.openstack.org/16030709:34
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: Add support for sharing physical disks  https://review.openstack.org/16038509:34
*** romcheg has joined #openstack-ironic09:35
*** mgoddard has joined #openstack-ironic09:37
*** romcheg has quit IRC09:37
*** romcheg1 has joined #openstack-ironic09:37
*** mgoddard2 has quit IRC09:39
*** stendulker has quit IRC09:44
*** igordcard has joined #openstack-ironic09:49
*** vdrok_afk is now known as vdrok09:52
vdrokmorning ironic09:52
KinnisonMorning09:56
*** naohirot_ has quit IRC10:00
*** mgoddard1 has joined #openstack-ironic10:01
*** MattMan has joined #openstack-ironic10:02
*** mgoddard has quit IRC10:03
rameshg87vdrok, Kinnison, o/10:04
*** yuanying has quit IRC10:05
Kinnisonhi rameshg8710:05
*** wendar has quit IRC10:06
vdrokmorning rameshg87, Kinnison10:08
*** wendar has joined #openstack-ironic10:16
*** pas-ha has joined #openstack-ironic10:16
*** agordeev has joined #openstack-ironic10:17
*** subah has quit IRC10:17
*** jlk has joined #openstack-ironic10:18
*** jlk has quit IRC10:18
*** jlk has joined #openstack-ironic10:18
*** sabah has joined #openstack-ironic10:19
openstackgerritTan Lin proposed openstack/ironic: Add AMT-PXE-Driver Power&Management&Vendor Interface  https://review.openstack.org/15285810:21
agordeevgood morning, ironic :)10:23
KinnisonMorning agordeev10:23
agordeevHaomeng: hello, i replied to you message. thanks :)10:25
agordeevKinnison: hello!10:25
openstackgerritMerged openstack/ironic: Add tftp mapfile configuration in install-guide  https://review.openstack.org/16107410:29
*** athomas has joined #openstack-ironic10:31
*** takadayuiko has quit IRC10:32
openstackgerritRamakrishnan G proposed openstack/ironic: Add driver interface for RAID configuration  https://review.openstack.org/15523010:34
Haomengagordeev: thank you:)10:35
*** alexpilotti has joined #openstack-ironic10:35
HaomengHaomeng: got it, "-v -v -v -v -v" should be *very* verbose, but I try to with single '-v', it run with error message10:37
*** chenglch has quit IRC10:38
openstackgerritRamakrishnan G proposed openstack/ironic: Add driver interface for RAID configuration  https://review.openstack.org/15523010:38
agordeevHaomeng: did it work despite of that error message? it may be non-critical error10:38
Haomengagordeev: ok, got, thanks for the confirmation:)10:39
Haomengagordeev: :)10:39
Haomengagordeev: nice day:)10:39
*** pelix has joined #openstack-ironic10:42
openstackgerritTan Lin proposed openstack/ironic: Add server-supported min and max API version to HTTPNotAcceptable(406)  https://review.openstack.org/16075810:45
openstackgerritRamakrishnan G proposed stackforge/proliantutils: HPSSA: Add support for sharing physical disks  https://review.openstack.org/16038510:49
*** sandhya has quit IRC10:52
*** lazy_prince is now known as killer_prince10:57
*** mgoddard has joined #openstack-ironic10:57
*** sabah has quit IRC10:58
*** mgoddard1 has quit IRC11:00
*** Haomeng|2 has joined #openstack-ironic11:15
*** Haomeng has quit IRC11:16
*** pradipta has quit IRC11:16
*** rameshg87 has quit IRC11:32
*** erwan_taf has quit IRC11:33
*** erwan_taf has joined #openstack-ironic11:33
openstackgerritMerged openstack/ironic: Updated from global requirements  https://review.openstack.org/16138911:36
*** yog_ has joined #openstack-ironic11:44
*** athomas has quit IRC12:01
*** EmilienM|afk is now known as EmilienM12:04
*** dtantsur is now known as dtantsur|brb12:13
*** athomas has joined #openstack-ironic12:16
*** Marga_ has joined #openstack-ironic12:33
*** jcoufal_ has joined #openstack-ironic12:34
*** jcoufal has quit IRC12:37
*** coolsvap_ has quit IRC12:38
*** mgoddard has quit IRC12:40
*** Marga_ has quit IRC12:40
*** coolsvap_ has joined #openstack-ironic12:46
*** dmellado has quit IRC12:52
*** dprince has joined #openstack-ironic13:01
*** dmellado has joined #openstack-ironic13:02
*** athomas has quit IRC13:06
*** rameshg87 has joined #openstack-ironic13:07
*** athomas has joined #openstack-ironic13:13
jrollmorning all :)13:27
*** lucasagomes is now known as lucas-hungry13:27
*** Marga_ has joined #openstack-ironic13:28
jrollrameshg87: what we've done for build-time configs is just modify oem/cloud-config.yml and pass as command line args13:29
jrollbut I'm +1 to working on actually reading the config file (that might even work today, haven't tried it)13:30
jrolland actually, we only pass --debug this way, the rest we do via pxe config13:30
rameshg87jroll, yeah13:31
rameshg87jroll, i was suggesting to naohirot to put it as a config option13:31
rameshg87jroll, because the virtual media device file will vary by vendor13:31
rameshg87jroll, the model string varies hence13:31
rameshg87jroll, so better use a conf file if it's there13:32
*** dtantsur|brb is now known as dtantsur13:32
dtantsurjroll, morning!13:32
jrollrameshg87: yeah, agree, I've just never tried the config file myself :)13:32
jrollrameshg87: and good morning to you and dtantsur :)13:32
rameshg87jroll, okay .. and good morning btw :)13:32
jrollrameshg87: I think you would have to change cloud-config.yml to point at the config file, at lease13:33
* rameshg87 looks cloud-config.yml13:33
rameshg87jroll, okay, will let naohirot know, he is not around now i think13:34
jrollright, he is not13:34
jrollnot enough time zone overlap, we should us the mailing list more13:34
rameshg87yeah and irc bouncers too :)13:36
jrolllol, that too13:36
* jroll considers making a quick bouncer-as-a-service13:36
rameshg87jroll, +10013:36
rameshg87jroll, that will be useful for most openstack developers :)13:36
jrollhttps://github.com/jimeh/docker-znc13:37
*** yog__ has joined #openstack-ironic13:38
jrollthis was a good read, too: http://tech.paulcz.net/i-built-a-saas/13:38
*** dmellado_ has joined #openstack-ironic13:40
*** dmellado has quit IRC13:40
*** dmellado_ is now known as dmellado13:40
rameshg87jroll, but why would we want to run znc on a docker container13:41
rameshg87jroll, i thought it was a harmless piece of software :)13:41
* rameshg87 reads 13:42
*** yog_ has quit IRC13:42
jrollrameshg87: makes it easy to spin up a ton of them13:43
jrollrather than making a kludge for multiple instances13:43
rameshg87jroll, ah okay ..13:43
* rameshg87 understands that's the purpose of docker :)13:43
*** Marga_ has quit IRC13:47
*** mgoddard has joined #openstack-ironic13:49
dtantsurZNC rules btw :)13:49
*** rloo has joined #openstack-ironic13:51
*** Marga_ has joined #openstack-ironic13:57
openstackgerritVladyslav Drok proposed openstack/ironic: Fix take over for agent driver  https://review.openstack.org/16171713:59
rameshg87jroll, ^^^14:10
rameshg87jroll, do we allow take over for nodes that are in wait-call-back ? i think we don't14:10
jrollrameshg87: yeah, I saw that. that was my next question :)14:10
rameshg87jroll, i mean for nodes with agent* drivers14:10
jrollactually it's more if...14:11
rameshg87if <what> ?14:11
jrollthe dhcp config gets to neutron and the conductor dies before the node boots14:11
jrollI guess that's in wait-callback14:11
rameshg87yeah14:11
jrollyeah I have no idea14:11
rameshg87but conductor seems to allow take_over for only active nodes14:11
jrolloh, awesome14:11
rameshg87looking at code from conductor14:11
rameshg87https://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L977-L98014:11
jrollso we should just delete that code14:12
vdrokjroll, rameshg87, ok, will change, thanks :)14:12
vdrokand morning jroll14:12
rameshg87yeah14:12
jrollmorning vdrok :)14:12
rameshg87and no point in updating just bootfile-name :)14:12
jrollvdrok: now that I'm thinking about it...14:12
jrollI wonder if it's fine to fix this and leave it, as we'll have pxe boot for agent deployed instances eventually14:13
jrollmaybe should just add it back then, though14:13
rameshg87yeah, that's wip right14:13
jrollvdrok: sorry, just thinking out loud, let's delete the code :)14:13
jrollsupposedly14:13
jrollbut I haven't seen any work on it14:13
rameshg87i think there is a patch on it14:14
jrollhttp://specs.openstack.org/openstack/ironic-specs/specs/kilo/partition-image-support-for-agent-driver.html14:14
jrolloh?14:14
jrollhttps://blueprints.launchpad.net/ironic/+spec/partition-image-support-for-agent-driver14:14
jrollbumped to L for lack of progress14:14
vdrokjroll, yup, I see, if it's the case maybe indeed better to delete it14:14
jrollyeah +114:15
rameshg87and this as well: https://review.openstack.org/#/c/160224/14:15
jrollyeah :(14:15
* jroll wants to make a todo list before the summit14:15
*** kkoski has joined #openstack-ironic14:16
openstackgerritVladyslav Drok proposed openstack/ironic: Fix take over for agent driver  https://review.openstack.org/16171714:18
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: None is a valid default value for base_url and auth_token in the client  https://review.openstack.org/16172814:19
*** rameshg87 is now known as rameshg87-dinner14:24
*** Marga_ has quit IRC14:25
openstackgerritVladyslav Drok proposed openstack/ironic: Fix take over for agent driver  https://review.openstack.org/16171714:25
*** rameshg87-dinner has quit IRC14:30
*** BadCub has joined #openstack-ironic14:36
BadCubMorning Iroinc14:36
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Add python-openstackclient plugin for ironic-discoverd  https://review.openstack.org/15744814:37
openstackgerritSirushti Murugesan proposed openstack/ironic: Adds support for deploying whole disk images  https://review.openstack.org/15014214:38
*** jgrimmn has quit IRC14:38
*** maurosr has quit IRC14:38
*** BadCub has quit IRC14:39
*** absubram has joined #openstack-ironic14:39
*** jgrimm has joined #openstack-ironic14:40
*** maurosr has joined #openstack-ironic14:41
*** BadCub has joined #openstack-ironic14:41
*** fuzzyrubble has joined #openstack-ironic14:42
*** lucas-hungry is now known as lucasagomes14:43
*** jgrimm has quit IRC14:44
*** maurosr has quit IRC14:44
lucasagomesBadCub, jroll good morning14:44
jrollmorning lucasagomes :)14:45
jrolland BadCub!14:45
*** jgrimm has joined #openstack-ironic14:45
*** maurosr has joined #openstack-ironic14:46
*** r-daneel has joined #openstack-ironic14:46
*** chuckC_ has joined #openstack-ironic14:46
*** chuckC_ has quit IRC14:48
*** kkoski has quit IRC14:48
*** kkoski has joined #openstack-ironic14:49
*** yog__ has quit IRC14:55
*** krtaylor has quit IRC14:59
lucasagomesjroll, yo, you've created the gate job for IPA right?15:02
lucasagomesI've never done it before, you know which project I have to change to create a new job?15:03
jrolllucasagomes: openstack-infra/project-config15:03
lucasagomesa-ha15:04
jrollit was a different project at the time or else I'd link you the commit15:04
lucasagomeswill take a look15:04
lucasagomesjroll, ta much :)15:04
NobodyCamgood morning Ironicers :)15:04
jrollnp lucasagomes :)15:04
jrollmorning NobodyCam :)15:04
NobodyCammorning jroll and lucasagomes :)15:05
lucasagomesNobodyCam, hey buddy, morning15:05
NobodyCammorning .15:06
NobodyCam:)15:06
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Add python-openstackclient plugin for ironic-discoverd  https://review.openstack.org/15744815:06
dtantsurNobodyCam, morning15:10
BadCubMorning lucasagomes jroll and NobodyCam :-p15:10
jrollmorning BadCub :)15:10
dtantsurBadCub, morning you too :)15:10
BadCubmorning there dtantsur :-)15:11
NobodyCammornign dtantsur BadCub15:12
*** mtanino has joined #openstack-ironic15:13
*** romcheg1 has quit IRC15:18
*** ChuckC has quit IRC15:19
*** romcheg has joined #openstack-ironic15:23
*** rameshg87 has joined #openstack-ironic15:25
openstackgerritVladyslav Drok proposed openstack/ironic: Check UUID correctness for Glance images  https://review.openstack.org/15195115:25
*** krtaylor has joined #openstack-ironic15:26
*** spandhe has joined #openstack-ironic15:27
*** anderbubble has joined #openstack-ironic15:29
*** hj-hp has joined #openstack-ironic15:31
openstackgerritDmitry Tantsur proposed openstack/ironic: Add module for in-band inspection using ironic-discoverd  https://review.openstack.org/15656215:32
dtantsurNobodyCam, rameshg87 ^^^ I hope I fixed everything you spotted :)15:33
NobodyCamdtantsur: :) will look in a few min :)15:33
rameshg87dtantsur, me tooo15:33
dtantsurthx15:33
rameshg87NobodyCam, have a few mins to talk about https://review.openstack.org/#/c/159855/15:35
NobodyCamlet me bring that one up15:38
NobodyCamrameshg87: ya I do see your point about taking the space from root not being a good thing15:39
rameshg87NobodyCam, yeah, i just thought we might end by proving a few hundereds of Mbs less root partition15:40
rameshg87NobodyCam, and if it's growing to grow towards end of disk, then taking from root partition right now would be same (beacuse root partition will be expanded anyway)15:40
rameshg87NobodyCam, another point lucasagomes brought was we might end up in a failure if user request root exactly == size of disk15:41
rameshg87NobodyCam, but we have same issue with config drive as well, so i think should be fixed later15:41
NobodyCamrameshg87: the reason I left that comment was I have worked with several folk to use the entire phyical disk and didn't see where they would account for the uefi parition15:42
rameshg87NobodyCam, okay15:43
NobodyCamrameshg87: are you planing any out updates to goalong with that?15:43
rameshg87NobodyCam, so is there way to request that from nova ?15:43
NobodyCam* go along*15:43
rameshg87NobodyCam, i mean use up the entire physical disk ?15:43
rameshg87NobodyCam, i assume they can give only root_mb, swap_mb, etc15:43
NobodyCamrameshg87: not that I know15:43
rameshg87NobodyCam, so how would they request for entire physical disk ? (because i assume they can request for only particular size of root_mb)15:44
rameshg87NobodyCam, i thought it will good to revisit in L15:44
NobodyCamrameshg87: ack :)15:46
NobodyCamI will revisit in a bit...15:46
NobodyCamthank under standing helps ... thank you15:46
rameshg87NobodyCam, okay, let me know your thoughts in the review15:47
NobodyCams/thank under/that under/15:47
rameshg87lucasagomes, jroll, please have a look at https://review.openstack.org/#/c/159855/ when you get some time15:47
lucasagomes+115:48
lucasagomesack15:48
NobodyCamrameshg87: lucasagomes: are there ufei enabling docs15:48
rameshg87lucasagomes, yes15:49
rameshg87i mean NobodyCam, yes :)15:49
lucasagomes:) ^15:49
*** stendulker has joined #openstack-ironic15:49
NobodyCamheheh15:49
rameshg87NobodyCam, http://docs.openstack.org/developer/ironic/deploy/install-guide.html#pxe-uefi-setup15:49
rameshg87NobodyCam, since ilo* drivers boot from virtualmedia, they virtual media itself is dualboot capable15:50
*** krtaylor has quit IRC15:50
NobodyCam:)15:50
rameshg87JoshNang, you around ?15:54
*** kozhukalov has joined #openstack-ironic15:57
*** hj-hp has quit IRC15:58
*** fuzzyrubble has quit IRC15:59
*** fuzzyrubble has joined #openstack-ironic15:59
*** spandhe has quit IRC16:01
*** krtaylor has joined #openstack-ironic16:02
*** PaulCzar has joined #openstack-ironic16:05
*** fuzzyrubble has quit IRC16:05
*** fuzzyrubble has joined #openstack-ironic16:06
*** dprince has quit IRC16:07
openstackgerritMerged stackforge/proliantutils: HPSSA: create and get should return physical disks info  https://review.openstack.org/16030716:08
*** fuzzyrubble has quit IRC16:08
*** fuzzyrubble has joined #openstack-ironic16:09
jlvillalGood morning Ironic16:09
kkoskiGood Morning16:09
victor_lowtherGood morning Ironic16:09
NobodyCammornign jlvillal kkoski and victor_lowther16:09
*** fuzzyrubble has quit IRC16:12
*** hj-hp has joined #openstack-ironic16:15
*** ChuckC has joined #openstack-ironic16:17
*** ChuckC has quit IRC16:18
*** ChuckC has joined #openstack-ironic16:18
openstackgerritMerged stackforge/proliantutils: HPSSA: Add support for sharing physical disks  https://review.openstack.org/16038516:20
*** stendulker has quit IRC16:23
*** romcheg has quit IRC16:25
*** Marga_ has joined #openstack-ironic16:27
*** chuckC_ has joined #openstack-ironic16:29
*** chuckC_ has quit IRC16:29
*** gridinv has joined #openstack-ironic16:36
devanandaHaomeng|2: around?16:37
JoshNangrameshg87: o/16:38
rameshg87JoshNang, o/16:39
rameshg87JoshNang, have some time to discuss regarding inband zapping16:39
JoshNangrameshg87: sure!16:39
jlvillalrameshg87: Let me know if I'm being dumb on wanting to delete that mkfs() function in the UEFI boot mode patch16:39
*** spandhe has joined #openstack-ironic16:40
rameshg87jlvillal, will check the comment in a few mins ..16:40
rameshg87jlvillal, thanks for the review :)16:41
jlvillalrameshg87: You're welcome.  Happy to help.16:41
*** gridinv has quit IRC16:41
*** rameshg87_ has joined #openstack-ironic16:42
rameshg87_JoshNang, sorry, got disconnected16:42
JoshNangrameshg87_: no worries16:42
rameshg87_JoshNang, yeah i would like to use node.raid for agent inband raid configuration16:42
jlvillalNobodyCam: On the ipmitool/tempfile thing.  How do we know that error is because of a tempfile?16:42
*** anderbubble has quit IRC16:42
jlvillalNobodyCam: Never mind.  Finally saw the error!16:43
rameshg87_JoshNang, basically i can use the same get_clean_steps and execute_clean_step that you will be using for agent.deploy16:43
*** rwsu-afk is now known as rwsu16:43
JoshNangrameshg87_: works for me. i can put it all in a common file then16:43
rameshg87_JoshNang, but get_clean_steps is really a static thing - it will have only create_configuration and delete_configuration16:43
rameshg87_JoshNang, and important thing is it will always have them16:43
rameshg87_JoshNang, as i understand zapping is an operator invoked thing16:43
rameshg87_JoshNang, we can check only if the zap step exists on the agent at run-time, is that correct ?16:44
JoshNangrameshg87_: correct16:44
rameshg87_JoshNang, because ramdisk is not booted on the node always :)16:44
*** spandhe has quit IRC16:44
rameshg87_(just like you have)16:44
rameshg87_:)16:44
openstackgerritVictor Lowther proposed openstack/ironic: Add DRAC BIOS config vendor passthru API  https://review.openstack.org/15048816:44
JoshNangrameshg87_: heh yes.16:44
JoshNangsome of the code is going to look a bit...bad due to that.16:45
rameshg87_JoshNang, okay so i can create an implementation of RaidInterface for agent16:45
JoshNangyup!16:45
NobodyCamjlvillal: just fyi I am going to pushing up an new rev shortly16:45
openstackgerritMerged openstack/ironic: Fix take over for agent driver  https://review.openstack.org/16171716:45
jlvillalNobodyCam: The puzzling part to me is the error message16:45
rameshg87_JoshNang, i have create_configuration and delete_configuration as abstract methods here: https://review.openstack.org/#/c/155230/19/ironic/drivers/base.py16:45
*** rameshg87 has quit IRC16:45
jlvillalNobodyCam: "Unexpected error while running command"16:45
rameshg87_JoshNang, just wondering if i should make it not abstract for agent case16:46
rameshg87_JoshNang, because agent doesn't need them16:46
jlvillalNobodyCam: Since the except block catches all exceptions16:46
rameshg87_JoshNang, i mean not abstract because of agent case16:46
JoshNangrameshg87_: hmmmm16:46
rameshg87_JoshNang, the other way round16:46
rameshg87_JoshNang, i can have create_configuration and delete_configuration of AgentRaidInterface16:47
rameshg87_JoshNang, which will send the commands to the agent directly16:47
rameshg87_JoshNang, ^^ (initially i was having this in mind)16:47
rameshg87_JoshNang, what's your thought on that ?16:47
openstackgerritDmitry Tantsur proposed openstack/ironic: Start using in-band inspection in pxe_{ssh,ipmitool,ipminative}  https://review.openstack.org/16113216:48
openstackgerritDmitry Tantsur proposed openstack/ironic: Write documentation for hardware inspection  https://review.openstack.org/16177516:48
JoshNangrameshg87_: having two interfaces both trying to talk to the agent is going to break things16:49
JoshNangthe agent triggers a lot of things on heartbeats. the raid interface wouldn't be able to take advantage of that16:49
*** krtaylor has quit IRC16:49
rameshg87_JoshNang, okay so do you prefer the first approach ?16:50
rameshg87_JoshNang, and one more thing. as part of raid configuration i will need to pass in input to the raid.create_configuration method and get the output from it back16:50
JoshNangrameshg87_: that'll already be supported16:51
rameshg87_JoshNang, i need to call update_raid_info() (in https://review.openstack.org/#/c/155230/19/ironic/common/raid.py) with what  raid.create_configuration returns16:51
JoshNangrameshg87_: actually, every clean/zap step gets the whole node and ports object (minus sensitive data), so if its stored on the node object, you'll have it16:51
JoshNangerr, every clean/zap step in the agent16:52
rameshg87_JoshNang, yeah i saw that in your review16:52
rameshg87_JoshNang, so input part is taken care16:52
rameshg87_JoshNang, so after the step is complete, i will need to take it's return value16:52
*** achanda has joined #openstack-ironic16:52
rameshg87_JoshNang, and call update_raid_info() with it16:52
JoshNangand commands already return results, i'll pass that up through zapping. i'll need to change things a bit for that i think16:52
JoshNangahh16:52
rameshg87_JoshNang, update_raid_info() will take care of updating the node properties like local_gb, root_device_hint, etc after raid configuration16:53
*** romcheg has joined #openstack-ironic16:53
rameshg87_JoshNang, can i capture the result of raid.create_configuration in a heartbeat and then do it ?16:54
JoshNangrameshg87_: the heartbeats are all going to the agent driver16:54
rameshg87_JoshNang, yeah that's fine. even AgentRaidInterface will be part of agent driver16:55
* rameshg87_ wonders if i am missing something here :)16:55
rameshg87_JoshNang, do you have the next patch in the series for clean task. basically it's all some assumptions with unconnected dots for me now :)16:56
JoshNangha sorry, agent deploy interface is what i mean. though its actually the agent vendor passthru interface now that i think about it16:56
JoshNang(we called it the agent driver for so long that's stuck in my head)16:56
rameshg87_:)16:57
JoshNangso, the agent heartbeats to the vendor passthru, the node sees zapping, it would go to the agent deploy interface, because in every other case that's where it would go16:58
rameshg87_JoshNang, only if the step looks like deploy.<something> right ?16:59
JoshNanghmm16:59
rameshg87_JoshNang, what if the step name is raid.<something-else> ? can't it be redirected somewhere else ?16:59
JoshNangit could17:00
JoshNangi'm not a fan of that though17:00
JoshNangbut i don't know that there's much of another option17:00
rameshg87_the idea of a common-api and a common approach for raid was that the operator could configure raid in the same way and invoke the raid zap task in the same way17:01
jlvillalNobodyCam: When you have a moment I would like to chat about the tempfile issue, hopefully before you post new patch :)17:01
rameshg87_for both inband as well as out-of-band, operator would call the step as "raid.create_configuration" and "raid.delete_configuration"17:01
*** krtaylor has joined #openstack-ironic17:01
rameshg87_so we would need to that be in sync with out-of-band approaches17:01
JoshNangi'm aware, i reviewed the spec17:02
rameshg87_so are there any hooks for processing after a clean/zap task ?17:02
rameshg87_i mean do some deploy clean/zap operations need such a hook ?17:02
JoshNangthere aren't currently17:02
JoshNangi would hope not17:03
rameshg87_okay17:03
JoshNangi think what you've proposed should work. though i haven't had coffee yet ;)17:03
rameshg87_hehe :)17:03
rameshg87_can we put a small hook on the heartbeat for zapping ?17:04
rameshg87_may be a workaround for now. to be bettered in L release :)17:04
rameshg87_i just need to get a lock on the node and call update_raid_info. that's it :)17:05
JoshNangyeah i forsee some refactoring in the L release17:05
rameshg87_okay17:05
*** achanda has quit IRC17:05
JoshNangyeah, i should be able to inspect the zap step on completed commands17:05
rameshg87_okay17:06
rameshg87_is your deploy part ready ? i mean your next patch ?17:07
rameshg87_JoshNang, with whatever we knew about 1 month back about hardware manager17:07
rameshg87_JoshNang, we created one here for proliant hardware: https://github.com/stackforge/proliantutils/blob/master/proliantutils/ipa_hw_manager/hardware_manager.py#L21-L4617:08
*** jistr has quit IRC17:08
JoshNangits not. the execute clean steps patch too much longer than i thought it would yesterday...trying to get it so get_clean_steps would work for the agent with a node that was likely powered off :/17:08
JoshNangrameshg87_: that looks pretty spot on17:08
JoshNangthe function args will be a bit different, but otherwise, i think that'll work17:09
rameshg87_yeah17:09
rameshg87_JoshNang, will change after your ironic-python-agent patch gets merged17:09
JoshNangnice! :D17:09
rameshg87_JoshNang, will change accordingly17:09
JoshNangrameshg87_: sounds good. that should be in a mergeable state today17:09
JoshNangi'm off tomorrow and monday (my parents are visiting), but i'll probably poke my head in to do fixups both days since we're close to the deadline17:10
openstackgerritChris Krelle proposed openstack/ironic: Check temp dir is writable  https://review.openstack.org/16038317:10
*** romcheg has quit IRC17:10
rameshg87_JoshNang, oh okay17:10
rameshg87_JoshNang, really waiting for your next patch on clean steps :)17:10
* JoshNang gets writing17:11
rameshg87_JoshNang, just a quick question on node powering on17:11
rameshg87_JoshNang, so it would setup the dhcp options for the node and then power it on, right ? i am wondering how would i make it work for agent_ilo thing (which boots from virtual media)17:12
JoshNangrameshg87_: i call utils.node_power_action to power the node on17:14
rameshg87_JoshNang, and neutron config ?17:15
JoshNangheh that's removed in tear_down isn't it?17:15
rameshg87_JoshNang, yeah17:15
JoshNangugh17:15
NobodyCamjlvillal: take a look at the latest rev of 16038317:16
dtantsurg'night folks!17:16
*** dtantsur is now known as dtantsur|afk17:16
NobodyCamnight dtantsur17:16
jlvillalNobodyCam: Okay, but my worry is that is really isn't a tempfile space issue.17:16
JoshNangrameshg87_: i might just have to move tear_down to after cleaning17:16
jlvillalNobodyCam: Okay, but my worry is that it really isn't a tempfile space issue.  Not sure though17:17
JoshNanghmm but that's not good either17:17
rameshg87_JoshNang, and the pxe config setup as well17:17
NobodyCamjlvillal: I'm about to file another bug17:17
jlvillalNobodyCam: I'm looking at the function for the password writing.17:17
jlvillalNobodyCam: My worry is that error message.17:17
NobodyCamjlvillal: ack17:19
*** igordcard has quit IRC17:20
jlvillalNobodyCam: ./ironic.130228/.tox/py27/lib/python2.7/site-packages/oslo_concurrency/processutils.py:            description = _("Unexpected error while running command.")17:22
jlvillalNobodyCam: WARNING ironic.drivers.modules.ipmitool [-] IPMI power status failed for node a8cb6624-0d9f-c882-affc-046ebb96ec01 with error: Failed to create the password file. Unexpected error while running command.17:22
NobodyCamjlvillal: yep the temp dir was not writtable17:24
jlvillalNobodyCam: Wouldn't that same error occur if the command returned a non-zero value?  'ipmitool'17:26
*** dprince has joined #openstack-ironic17:26
jlvillalNobodyCam: But as you can tell I'm confused on the underlying source of the error17:27
jlvillalNobodyCam: the _make_password_file is a decorator17:28
jlvillalSo it seems to catch the process execution error17:28
*** erwan_taf has quit IRC17:29
jlvillalI think the try loop in _make_password_file should be smaller.  For sure the 'yield' statement should be out of the try loop.17:29
lucasagomesIPA folks, when you get some time: https://review.openstack.org/#/c/157469/17:31
*** krtaylor has quit IRC17:31
*** vdrok is now known as vdrok_afk17:32
*** spandhe has joined #openstack-ironic17:32
*** BadCub is now known as BadCub_Breakfast17:34
JoshNangrameshg87_: i think we're going to have to add a function called pre_cleaning or something, so each driver has a chance to reboot from the tenant configs to a ramdisk (if necessary)17:36
rameshg87_JoshNang, yeah that makes sense ..17:37
*** krtaylor has joined #openstack-ironic17:37
rameshg87_thanks17:37
JoshNangit'll get refactored to the boot interface next cycle i think17:38
NobodyCamjlvillal: http://bugs.launchpad.net/ironic/+bug/142876317:40
openstackLaunchpad bug 1428763 in Ironic "many ironic functions appear to not be honoring tempdir conf file setting" [Undecided,New]17:40
jlvillalNobodyCam: I am not sure.17:40
jlvillalNobodyCam: About to push a patch ...17:41
openstackgerritJohn L. Villalovos proposed openstack/ironic: Make try block shorter for _make_password_file  https://review.openstack.org/16180317:41
jlvillalNobodyCam: Can you take a look at ^^^^17:41
jlvillalPlease tell me if I'm crazy :)17:41
NobodyCamno thats a good patch. thou I would but the close in a finally: block17:43
NobodyCambut thats just me17:44
jlvillalNobodyCam: Good idea :)17:45
rameshg87_jlvillal, i just replied to your comments17:45
rameshg87_jlvillal, please have a look at it when you get some time17:46
jlvillalrameshg87_: Will do!17:46
rameshg87_jlvillal, regarding deleting deploy_utils.mkfs(), i think the main purpose of having methods to call inline ones in utils is for mocking17:46
jlvillalrameshg87_: I assume a new patch is coming.17:46
rameshg87_jlvillal, that's the only reason i can think of why it is done os17:46
rameshg87_*soo17:46
jlvillalrameshg87_: Isn't it relatively easy to mock the utils.mkfs one though?17:47
rameshg87_jlvillal, if i change them to utils.mkfs then it would require a lot of unrelated changes in tests17:47
jlvillalrameshg87_: Before the function was mkswap()17:47
jlvillalI thought17:47
rameshg87_jlvillal, wouldn't it be better if it was in a follow-up patch may be sometime later ?17:47
* jlvillal goes back and looks at patch...17:47
jlvillalrameshg87_: I still think the order of the arguments should match with utils.mkfs17:48
rameshg87_jlvillal, yeah i agree, will change that17:48
rameshg87_jlvillal, pushing a new patch now17:48
jlvillalSince function was renamed from mkswap() to mkfs()17:48
jlvillalrameshg87_: I'd be fine if want to leave mkfs in there and not use utils.mkfs17:49
rameshg87_jlvillal, i will fix others and put a new patch soon17:49
jlvillalrameshg87_: But would prefer it was removed at some point.  e.g. a later patch17:49
rameshg87_jlvillal, yeah i will give a try .. there are other methods also17:50
rameshg87_jlvillal, def dd()17:50
jlvillalrameshg87_: Oh :(17:50
rameshg87_jlvillal, so may be a single patch can remove them and may be modify the tests accordingly17:50
openstackgerritOpenStack Proposal Bot proposed openstack/ironic: Updated from global requirements  https://review.openstack.org/16181117:52
NobodyCamrameshg87_: also if you have a chance can you take a look at the latest changes to 16038317:56
rameshg87_NobodyCam, sure ..17:57
jlvillalNobodyCam: I think it makes it much more complicated to try to do the os.close() in the finally clause. :(  If you have ideas, it would be appreciated.  I'm thinking I would need to do it in finally with a try/except OSError, and probably also in the current except block.17:57
*** kkoski has quit IRC17:57
*** kkoski has joined #openstack-ironic17:57
NobodyCamjlvillal: you make be correct I just looked quickly17:57
jlvillaljlvillal: I'm thinking best idea would be to go back to the 'with os.fdopen()'17:58
NobodyCammake == maybe17:58
*** harlowja_away is now known as harlowja17:58
openstackgerritRamakrishnan G proposed openstack/ironic: Add localboot support for uefi boot mode  https://review.openstack.org/15985517:59
*** lazy_prif has joined #openstack-ironic17:59
*** lazy_prif is now known as lazy_prince17:59
*** killer_prince has quit IRC17:59
openstackgerritJohn L. Villalovos proposed openstack/ironic: Make try block shorter for _make_password_file  https://review.openstack.org/16180317:59
jlvillalNobodyCam: I went back to the with statement :)  I think that is most elegant/simple solution18:00
rameshg87_NobodyCam, in 160383, we went back to the previous way of not-returning the tempdir ?18:05
rameshg87_NobodyCam, i see changes made in ps9 are not there in ps10 - https://review.openstack.org/#/c/160383/10/ironic/common/utils.py18:06
*** achanda has joined #openstack-ironic18:08
*** penick has joined #openstack-ironic18:09
*** lucasagomes is now known as lucas-dinner18:09
*** jlk has left #openstack-ironic18:10
* rameshg87_ is too sleepy to sit in front of computer 18:10
*** rameshg87_ is now known as rameshg87-sleepy18:10
rameshg87-sleepyJoshNang, please post any incomplete patches that you might have by the end of the day18:11
JoshNangrameshg87-sleepy: i'll do what i can18:11
rameshg87-sleepyJoshNang, i will try to build something on top of it tomorrow and check if everything works fine18:11
rameshg87-sleepyJoshNang, <i will try> :)18:11
rameshg87-sleepyJoshNang, thanks a lot18:11
* rameshg87-sleepy leaves for the day18:13
rameshg87-sleepygoodnight all18:13
*** rameshg87-sleepy has quit IRC18:13
*** anderbubble has joined #openstack-ironic18:15
*** romcheg has joined #openstack-ironic18:16
*** BadCub_Breakfast is now known as BadCub18:16
*** jcoufal_ has quit IRC18:18
*** romcheg has quit IRC18:19
*** romcheg has joined #openstack-ironic18:22
openstackgerritJosh Gachnang proposed openstack/ironic-python-agent: Add cleaning/zapping support to IPA  https://review.openstack.org/16106618:22
*** Marga_ has quit IRC18:22
devanandaBadCub: hi there! still up for continuing our kilo3 status review?18:28
BadCubdevananda yep, just doing some final housekeeping on internal thing. :-)18:29
openstackgerritJosh Gachnang proposed openstack/ironic-python-agent: Add cleaning/zapping support to IPA  https://review.openstack.org/16106618:29
devanandaBadCub: np. I just got to the office. happy to start a bit late...18:30
BadCubCoolness. That works for me too! Had my head down the rabbit hole for a few minutes lol18:31
NobodyCammorning devananda :)18:31
*** hj-hp has quit IRC18:38
jlvillalNobodyCam: So on my patch.  Does it make sense that maybe that ipmitool isn't an issue with the tempdir being out of space?  Maybe it is out of space, but the error I see is that the impitool command failed.  So I am unsure if it is really a space issue.18:38
jlvillalNobodyCam: Wondering what you think.18:39
NobodyCamjlvillal: thats why I added a space check18:39
*** wshao has joined #openstack-ironic18:39
NobodyCamtho in the latest rev of my patch it is only checked at startup18:40
*** hj-hp has joined #openstack-ironic18:40
jlvillalNobodyCam: Okay.  I just wasn't sure if the thought it was a space issue was a red herring because we had seen the PasswordFileFailedToCreate exception.  And I believe that was raised erroneously.18:41
jlvillalNobodyCam: Space check is still a good idea.  But not sure if that was the underlying cause of that error seen.18:41
*** dtantsur|afk has quit IRC18:43
*** athomas has quit IRC18:43
openstackgerritClif Houck proposed openstack/ironic: Added support for image caching for the agent driver  https://review.openstack.org/16183218:43
*** dtantsur has joined #openstack-ironic18:45
*** krtaylor has quit IRC18:45
*** BB_ has joined #openstack-ironic18:46
BB_Hello18:46
NobodyCamjlvillal: I was not the one who hit that error, so I've been going off the error it self18:47
BB_I am trying to understand the docker support with ironic18:47
BB_on openstack..18:47
*** jrist has joined #openstack-ironic18:47
*** penick has quit IRC18:47
BB_can someone point to right links ?18:47
BB_for dockers using ironic18:47
NobodyCamhi there BB_18:48
NobodyCamI believe the IPA ramdisk is where you'll want to look18:48
jrolluhh18:48
jrollBB_: what are you trying to do? use ironic to provision bare metal + docker?18:49
BB_Nobodycam:Hi18:49
BB_Jroll: Yes18:49
NobodyCamoh I miss read that18:49
jrollok, that's totally different. I think there may be a thing that does that, but I don't know what it is. maybe magnum?18:50
BB_jroll: okay.18:51
*** sambetts has quit IRC18:51
BB_jroll: is there a link explaining about ironic brtter ?18:51
jrollBB_: http://docs.openstack.org/developer/ironic/deploy/user-guide.html18:52
jrollBB_: basically, ironic deploys bare metal machines. nothing more.18:52
NobodyCam:) jroll is quicker then /me18:52
*** sambetts has joined #openstack-ironic18:52
*** DCWilliams_VA has joined #openstack-ironic18:53
*** jerryz_ has quit IRC18:53
*** ndipanov has quit IRC18:55
*** hj-hp has quit IRC18:55
*** jmccrory has joined #openstack-ironic18:58
*** krtaylor has joined #openstack-ironic18:59
NobodyCambrb19:03
*** athomas has joined #openstack-ironic19:04
*** achanda has quit IRC19:04
*** penick has joined #openstack-ironic19:05
devanandaBadCub: let's see if my headphones work19:06
devanandaBB_: you could, in theory, deploy any OS onto said bare metal machines. It could contain docker, or windows, or what ever19:07
BB_jroll: thanks for the link19:08
jrollnp :)19:08
BB_devanada & jroll:19:08
jrolldevananda: I presume you're going to want a spec for something like: https://review.openstack.org/16183219:08
BB_was looking at http://www.symantec.com/connect/blogs/lxc-and-docker-containers-nova-openstack19:08
jrolldevananda: or is that one of those vendor passthru things that we just completely turn a blind eye to19:08
BB_this did not have ironic in picture for baremetal19:09
*** hj-hp has joined #openstack-ironic19:09
*** kozhukalov has quit IRC19:10
devanandajroll: /me looks19:11
*** Marga_ has joined #openstack-ironic19:11
devanandajroll: so not a blind eye -- it should still get sanity reviewed. it may or may not warrant a BP to describe the design. but also it's kinda late for kilo, given our other priorities19:12
devanandajroll: my reaction to skimming the code is that it doesn't need a BP. it's limited to the driver's vendor inteface, and I grok it right away19:13
* BadCub beats google hangouts into submission19:15
openstackgerritAdam Gandelman proposed openstack/ironic: Check-in Ironic's devstack code as in-tree plugin  https://review.openstack.org/16148519:20
*** pelix has quit IRC19:23
*** achanda has joined #openstack-ironic19:24
*** ijw has joined #openstack-ironic19:24
*** DCWilliams_VA has quit IRC19:25
*** DCWilliams_VA has joined #openstack-ironic19:26
*** DCWilliams_VA has quit IRC19:26
*** DCWilliams_VA has joined #openstack-ironic19:26
*** jmccrory has quit IRC19:27
*** jmccrory has joined #openstack-ironic19:31
NobodyCamdevananda: you bumped the ceilomemter stuff?19:31
*** hj-hp has quit IRC19:32
openstackgerritMerged openstack/ironic-python-agent: Image building support for fedora hosts  https://review.openstack.org/15455919:39
BadCubNobodyCam It is still on the list. I am reading the notes on that now19:42
*** erwan_taf has joined #openstack-ironic19:42
*** pas-ha has quit IRC19:44
*** gridinv has joined #openstack-ironic19:47
NobodyCamBadCub: you should have been cc on a emails between Jim and myself about his ablity to complete that work19:47
NobodyCambrb19:47
*** anderbubble has quit IRC19:49
*** anderbubble has joined #openstack-ironic19:50
openstackgerritMerged openstack/ironic-python-agent: Add the image extension (for local boot)  https://review.openstack.org/15746919:51
*** DCWilliams_VA has quit IRC19:52
openstackgerritNisha Agarwal proposed openstack/ironic: ironic port deletion fails even if node is locked by same process  https://review.openstack.org/16186119:52
*** hj-hp has joined #openstack-ironic20:01
* NobodyCam is back20:03
*** wshao has quit IRC20:11
*** hj-hp has quit IRC20:20
*** Marga_ has quit IRC20:20
jrolldevananda: right on, just curious what you thought; not necessarily trying to target to kilo. thanks :)20:20
*** Marga_ has joined #openstack-ironic20:21
*** coolsvap_ is now known as coolsvap20:24
*** openstackgerrit has quit IRC20:25
*** openstackgerrit has joined #openstack-ironic20:26
*** penick has quit IRC20:31
*** gridinv has quit IRC20:33
*** achanda has quit IRC20:38
*** achanda has joined #openstack-ironic20:41
*** penick has joined #openstack-ironic20:44
*** david-lyle_afk has joined #openstack-ironic20:45
*** david-lyle_afk has quit IRC20:47
*** david-lyle_afk has joined #openstack-ironic20:47
*** coolsvap is now known as coolsvap_20:52
*** penick has quit IRC20:53
*** hj-hp has joined #openstack-ironic20:59
*** david-lyle_afk is now known as david-lyle21:03
*** romcheg1 has joined #openstack-ironic21:04
jlvillalNobodyCam: Thanks for the patch review :)21:05
*** romcheg has quit IRC21:05
openstackgerritJosh Gachnang proposed openstack/ironic: Implement execute clean steps  https://review.openstack.org/15556121:08
*** achanda has quit IRC21:09
*** ifarkas has quit IRC21:10
NobodyCamhuh21:10
NobodyCam:-p21:10
*** Marga_ has quit IRC21:10
*** Marga_ has joined #openstack-ironic21:11
NobodyCamJoshNang: I'm looking at https://review.openstack.org/#/c/161474/1/nova/virt/ironic/driver.py what do you think about a special log message for cleaning .. Ironic node %(node)s is now unprovisioned, and will become available after cleaning .... or something like that?21:14
NobodyCamas the commit message points this could take hours21:15
mjturek1heyy is this the best place to ask triple-o questions?21:16
NobodyCamI would ask in #TripleO21:16
mjturek1NobodyCam, thanks!21:16
NobodyCamhehe NP mjturek1 :)21:16
JoshNangNobodyCam: seems like something that shouldn't concern the user21:17
JoshNangthough, i guess its just in the logs. /me adds21:18
NobodyCamI was thinking as a operator, if I had only a limited # of nodes and I was to to them becoming available right away might be somehting good to note21:18
NobodyCam:)21:18
NobodyCams/to to/use to/21:19
JoshNangthat makes sense21:19
JoshNangNobodyCam: though, this makes it a race condition on which log message they get. even if the node is going to be cleaned, it'll be in deleting for a short time. might be more confusing. how about i mention cleaning in the log message as a possibility?21:21
*** hj-hp has quit IRC21:24
NobodyCamJoshNang: that would work. I was just looking for a way a operator could tell that even thou the was unprovisioned it may be a while before its back in the pool21:28
jlvillalJoshNang: I'm confused: https://review.openstack.org/#/c/155561/13/ironic/conductor/manager.py21:28
jlvillalJoshNang: def _do_next_clean_step21:28
JoshNangNobodyCam: hopefully that will at least give them a hint21:28
jlvillalJoshNang: I'm confused on what is value in passing 'last_step' around.21:29
jlvillalSeems like last_step is node.clean_step21:29
JoshNangjlvillal: so i can use the same function for cleaning and zapping21:29
jlvillalSo in that function, it uses last_step as an argument.21:30
jlvillalBut then it modifies: node.clean_step.21:30
*** penick has joined #openstack-ironic21:30
jlvillalWhich seems like modifying the same thing two ways.  Thus, why I am confused.21:30
*** achanda has joined #openstack-ironic21:30
jlvillalJoshNang: So I'm still confused, even after what you just said.21:31
NobodyCamJoshNang: +1'd :) thank you21:32
*** achanda has quit IRC21:32
JoshNangjlvillal: right, so i don't have states.ZAPPING yet, so i can't add the if provision_state==zapping yet.21:32
JoshNangthough i do spy one spot where i should use last_step instead of node.clean_step in a log message. the only time it should be clean_step or zap_step is when dealing with the database, because i can't get around that21:33
JoshNangit's really just a stylistic choice to avoid "if clean... if zapping..." all over the place21:34
*** achanda has joined #openstack-ironic21:34
jlvillalJoshNang: So looking at line 916, I see node.clean_step = step21:35
jlvillalJoshNang: Okay, I'm getting more confused.  Is 'last_step' always going to equal node.clean_step?21:35
jlvillalor when zapping happens it will be different?21:35
jlvillalIs that what you mean?21:35
* jlvillal thinks he is getting less confused...21:36
JoshNangright. last_step will be last cleaning step in cleaning, last zapping step in zapping21:36
jlvillalJoshNang: And it is okay on line 916 that it is basically modifying 'last_step' if it is a cleaning step?21:36
*** achanda has quit IRC21:37
JoshNangjlvillal: last_step isn't used again at that point, so i think it should be fine21:38
JoshNangNobodyCam: thanks for the review!21:39
*** achanda has joined #openstack-ironic21:39
jlvillalJoshNang: Okay.  I'm still confused but I will read the code more and hopefully become un-confused :)21:39
JoshNangjlvillal: thanks for reviewing :)21:40
jlvillalJoshNang: You're welcome21:40
mrdarloo: Thanks again for your thorough reviews :)21:41
*** erwan_taf has quit IRC21:42
*** dprince has quit IRC21:42
*** Marga_ has quit IRC21:50
*** Marga_ has joined #openstack-ironic21:50
*** anderbubble_ has joined #openstack-ironic21:51
*** anderbubble has quit IRC21:52
*** anderbubble_ is now known as anderbubble21:52
openstackgerritJohn L. Villalovos proposed openstack/ironic: Make try block shorter for _make_password_file  https://review.openstack.org/16180321:58
*** ijw has quit IRC22:00
*** hj-hp has joined #openstack-ironic22:10
*** ijw has joined #openstack-ironic22:12
*** oomichi has joined #openstack-ironic22:16
NobodyCamJoshNang: get_clean_steps in https://review.openstack.org/#/c/161066/5/ironic_python_agent/hardware.py just looks odd to me22:17
JoshNangNobodyCam: how so? it definitely looks better when you return a bigger list of clean_steps22:19
NobodyCamif your buildnig a static list why pass in node and port?22:20
JoshNangmy thought was to allow the hardware manager to change the list based on node properties or something of that sort22:21
jrollcapabilities~22:22
jroll(or something, idk)22:22
NobodyCam:)22:23
JoshNang^ yeah. and its way easier to not use those props than to add them later (as i found with executing steps downstream)22:24
*** penick has quit IRC22:25
jlvillalJoshNang: Feel free to overrule me on my request for a unittest :)22:25
JoshNangjlvillal: i'll look deeper in a bit but it looks reasonable. thanks for the review :)22:26
*** penick has joined #openstack-ironic22:36
*** achanda has quit IRC22:36
rloomrda: yw. sorry, it wasn't that thorough. I kind of peter'd out, but I gave enough comments to keep you busy for a bit ;)22:36
*** penick has quit IRC22:37
*** achanda has joined #openstack-ironic22:40
*** kkoski has quit IRC22:41
*** Marga_ has quit IRC22:45
*** Marga_ has joined #openstack-ironic22:45
*** achanda has quit IRC23:05
*** achanda has joined #openstack-ironic23:08
*** yuanying has joined #openstack-ironic23:11
*** ChuckC is now known as ChuckC_23:19
NobodyCamhey hey JoshNang on https://review.openstack.org/#/c/160515 I fully get the stick with dict thing. :) why the cheange from driver to interface?23:22
*** mjturek1 has quit IRC23:23
JoshNangNobodyCam: woo! mostly from confusing terminology. cleaning is implemented by the deploy, power, etc interfaces, rather than the driver itself (it was called out a few times in other reviews)23:25
devanandadoes IPA yet support pulling down a partition image, partitioning the disks, and all that?23:25
devanandaI think not, but we could really use some docs on this ...23:26
NobodyCamJoshNang: mind adding that to the comit mesage?23:26
JoshNangNobodyCam: can do!23:26
NobodyCamdevananda: there was a patch for that23:26
*** ChuckC_ is now known as ChuckC23:26
* NobodyCam looks23:26
JoshNangdevananda: in progress it looks like https://review.openstack.org/#/c/160224/23:26
devanandaNobodyCam: IPA can expose the disks and let the pxe driver (really iscsi deploy code) hande them23:26
devanandaahhh there it is23:27
devanandathe lib code23:27
jrolldevananda: only with pxe driver23:27
*** anderbubble has quit IRC23:27
devanandajroll: ok, that's what I thought. thanks23:27
jrollwhy are we pulling the lib code in like that23:27
jrollI hope it's just for testing23:27
devanandajroll: I'm guessing at this point that lib-ironic isn't going to be a think this cycle23:27
devanandaalso, yea, wtf?23:28
jrollyeah23:28
openstackgerritJosh Gachnang proposed openstack/ironic-specs: Change clean_steps to a dict  https://review.openstack.org/16051523:30
*** hj-hp has quit IRC23:31
jlvillalJoshNang: https://review.openstack.org/#/c/160515/2/specs/kilo/implement-cleaning-states.rst  line 100ish.  Is the 'overlapping priorities' check implemented?23:39
openstackgerritJosh Gachnang proposed openstack/ironic: Implement execute clean steps  https://review.openstack.org/15556123:40
JoshNangjlvillal: not yet23:40
jlvillalJoshNang: Thanks23:40
JoshNangnp!23:41
openstackgerritOpenStack Proposal Bot proposed openstack/ironic-python-agent: Updated from global requirements  https://review.openstack.org/16157523:42
jlvillalJoshNang: https://review.openstack.org/#/c/155561/13..14/ironic/drivers/base.py  Why is task being added?23:44
jlvillalOh, for override.23:44
*** wshao has joined #openstack-ironic23:44
jlvillalNVM!23:44
NobodyCamdevananda: I see logical name support under client on the priorities google doc. Mind if I pick up:  https://review.openstack.org/#/c/158520 [ tomorrow ofc ;-P ]23:44
devanandaNobodyCam: go for it. the code is, I think, basically good. it needs unit tests, maybe  abit of polish, but really it depends on naohirot's change to land first23:45
devanandaoh, did thta land?23:46
devanandano...23:46
devanandaoh, odd23:46
JoshNangjlvillal: heh i knew adding that comment was a good idea :)23:47
devanandaNobodyCam: so my logical names client patch should be based on 15562423:48
devanandaNobodyCam: because it's impossible to use it without sending the X-OpenStack-Ironic-API-Version header23:49
devanandagah. s/naohirot/tanlin/ .... I dont know why my brain swapped their names just a minute ago23:49
devanandaaaaand that is now stalled on the spec23:50
jlvillalJoshNang: +1! :)23:52
*** openstack has joined #openstack-ironic23:53
devanandaNobodyCam: no23:54
NobodyCam:)23:55
devanandaNobodyCam: https://review.openstack.org/#/c/161110/1/specs/kilo/api-microversions.rst,cm23:55

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