Friday, 2015-02-27

NobodyCambrb00:03
devanandajroll: looks like a real failure on stable/juno00:03
*** oomichi has joined #openstack-ironic00:05
*** rodrigods is now known as rodrigod`00:08
*** rodrigod` is now known as rodrigods00:08
*** rodrigods has quit IRC00:09
devanandajroll: http://logs.openstack.org/88/159588/1/check/check-grenade-dsvm-ironic-sideways/e344de7/logs/new/screen-n-api.txt.gz?level=DEBUG#_2015-02-26_22_09_39_38200:09
devanandasame error as on the previous run00:09
devanandaI'm not sure why00:09
*** naohirot has joined #openstack-ironic00:09
naohirotgood morning Ironic00:15
NobodyCammorning naohirot00:15
mrdahi naohirot00:15
rfchapmanNobodyCam: Sorry I didn't make it in this morning, Had a rogue interupt that took me off into the weeds...00:16
naohirotgood evening NobodyCam :)00:16
naohirothi mrda :)00:16
NobodyCamrfchapman: lol NP life happens00:17
rfchapmanYea, it happens to the best of us :-)  any how I'm starting out my day with a bit of creating a new fedora image and see what I get.00:18
rfchapmanI don't know how the image would become corrupt, but, one three machines it has the same problem.00:19
naohirotdevananda: Ironic team: thanks for the approval, I'm still beginner of Ironic, but I try to contribute to review towards kilo-3.00:20
*** romcheg1 has quit IRC00:20
*** david-lyle is now known as david-lyle_Afk00:22
*** david-lyle_Afk is now known as david-lyle_afk00:22
NobodyCamrfchapman: and what I found on that error you posted was all reports of actual usb hardware failures00:26
NobodyCamnaohirot: Your no longer a beginer your a "Contributor"00:27
rfchapmanNobodyCam: Yes, that was what I found as well..   but three machines?  Also, If I hand install it gets past that spot.00:27
NobodyCamso I agree regen the images00:27
NobodyCam:)00:27
devanandaJayF, jroll: random question -- is there still value in having a separate ironic-python-agent-core gerrit group?00:28
NobodyCamthat sounds like a TC hat question :-p00:29
devanandait includes two members who are not ironic-core: russell_h and JoshNang00:29
devanandaNobodyCam: nope. totally an ironic PTL hat question00:29
NobodyCam:)00:29
devanandahow we organize our review groups is totally up to us00:29
*** EmilienM|afk has quit IRC00:29
*** EmilienM has joined #openstack-ironic00:30
* naohirot thank for saying that :). I need to read more upper side of codes00:31
devanandanaohirot: i second that - you're definitely a contributor. also, are you coming to vancouver?00:33
rfchapmanNobodyCam: how can I get ironic to give me console output during deploy?  I would like to capture all of the output and not just the screen capture that I gave you yesterday.00:33
NobodyCamdevananda: did you see this error : http://logs.openstack.org/88/159588/1/check/check-grenade-dsvm-ironic-sideways/e344de7/logs/new/screen-ir-api.txt.gz#_2015-02-26_22_09_37_56600:34
devanandaNobodyCam: yes. but i dont know why that's happening00:36
naohirotdevananda: thanks devananda, regarding vancouver, I really want to attend on the spot, but likely to attend via IRC :<00:36
devanandaoooh00:36
devananda10021 WARNING wsme.api [-] Client-side error: Invalid input for field/attribute node_uuid. Value: 'None'. Mandatory field missing.00:36
devanandaNobodyCam: this looks like the negative testing portion of tempest00:37
naohirotdevananda: I'll be definitely on the spot in Toyoko, next to vancouver :)00:37
devanandawhich is fine - these errors are expected00:37
devanandanaohirot: ah, of course! I'm very excited about that -- I haven't been to Tokyo before00:38
devananda(narita airport doesn't count)00:38
NobodyCamrfchapman: you'll need to set up shellinabox and set these values in the conf file: https://github.com/openstack/ironic/blob/master/etc/ironic/ironic.conf.sample#L608-L63100:38
naohirotdevananda: I see :)00:38
* NobodyCam is scared of Tokyo00:39
mrdaTokyo is cool!  Looking forward to returning (and this time with a smartphone that has GPS built in :)00:40
naohirotNobodyCam: oh, why?00:40
* NobodyCam gets lost easly00:40
NobodyCamhehehe00:40
jrolldevananda: JayF if not ironic core either00:40
naohirotNobodyCam: yeah00:41
mrda(Last time I got lost, at night, in the snow, and couldn't find anyone who spoke English.  But now with a GPS phone I'll feel much more comfortable!)00:41
*** mmorais has quit IRC00:41
NobodyCamlol last time /me was lost it cost him $250.0000:41
rfchapmanNobodyCam: Awesome,   thanks I'll let you know what I find.00:41
NobodyCamrfchapman: :)00:41
mrdaNobodyCam: I felt very safe in Tokyo00:42
jrolldevananda: I certainly want JayF and JoshNang to have +2 on the agent, but otherwise I don't see a ton of value with that group00:42
naohirotmrda: yeah, GPS is really convenient00:42
devanandajroll: ack00:42
jrolland now I'm off to watch the red wings :D00:42
jrollhave a good night everyone00:42
jroll:)00:42
naohirotmrda: we can go to anywhere if GPS is available00:42
mrdaLast time I got around with just a Lonely Planet guide and had no issue, so now it will be a much better experience00:43
* NobodyCam packs a towel and feels safe00:44
mrdalol00:44
NobodyCam;)00:44
* naohirot looks nice http://www.lonelyplanet.com/00:45
mrdaIt was the way to visit new places before smartphones :)00:47
naohirotmrda: I thought you look up the site via smartphone :)00:48
* devananda pushes a much-overdue set of changes to reviewstats00:48
devanandahttps://review.openstack.org/15968000:49
devanandataking off for a bit ... back later, or tomorrow00:49
NobodyCamnight devananda00:53
BadCubgn devananda00:55
*** achanda has quit IRC00:58
*** lazy_prince has quit IRC01:01
*** yog_ has quit IRC01:01
*** jmccrory has quit IRC01:10
* NobodyCam steps away to go to the gym.. g'night ya all01:10
*** BadCub has quit IRC01:10
*** rloo has quit IRC01:20
*** Marga_ has quit IRC01:21
*** Marga_ has joined #openstack-ironic01:23
*** ChuckC has quit IRC01:33
*** jmccrory has joined #openstack-ironic01:35
*** jmccrory has quit IRC01:36
*** jmccrory1 has joined #openstack-ironic01:37
*** jmccrory1 has quit IRC01:37
*** Marga_ has quit IRC01:40
*** achanda has joined #openstack-ironic01:58
*** rwsu is now known as rwsu-afk02:26
*** killer_prince has joined #openstack-ironic02:41
*** killer_prince is now known as lazy_prince02:42
*** ramineni has joined #openstack-ironic02:43
*** spandhe has quit IRC02:44
*** yuanying has quit IRC02:52
*** zer0c00l has quit IRC03:01
*** zer0c00l has joined #openstack-ironic03:01
*** achanda has quit IRC03:05
*** achanda has joined #openstack-ironic03:08
*** datajerk1 has quit IRC03:15
*** datajerk has joined #openstack-ironic03:22
*** yuanying has joined #openstack-ironic03:38
*** achanda has quit IRC03:40
*** huangkai2 has joined #openstack-ironic03:53
*** achanda has joined #openstack-ironic03:59
*** achanda has quit IRC04:07
*** yog_ has joined #openstack-ironic04:13
*** pradipta has joined #openstack-ironic04:21
openstackgerritShivanand Tendulker proposed openstack/ironic: Common changes for secure boot support  https://review.openstack.org/15397404:21
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for pxe_ilo driver  https://review.openstack.org/15480804:24
*** saripurigopi has joined #openstack-ironic04:43
*** spandhe has joined #openstack-ironic04:46
*** mrda is now known as mrda-away04:50
*** yuanying has quit IRC04:54
*** achanda has joined #openstack-ironic04:55
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for iscsi_ilo driver  https://review.openstack.org/15481404:57
*** achanda has quit IRC04:59
*** pensu has joined #openstack-ironic05:00
*** Marga_ has joined #openstack-ironic05:00
*** Marga_ has quit IRC05:01
*** Marga_ has joined #openstack-ironic05:01
*** pradipta has quit IRC05:04
openstackgerritShivanand Tendulker proposed openstack/ironic: Secure boot support for agent_ilo driver  https://review.openstack.org/15481605:07
*** coolsvap_ is now known as coolsvap05:08
*** rameshg87 has joined #openstack-ironic05:11
rameshg87good morning ironic05:11
*** achanda has joined #openstack-ironic05:11
*** pradipta has joined #openstack-ironic05:16
openstackgerritShivanand Tendulker proposed openstack/ironic: Ilo drivers sets capabilities:boot_mode in node  https://review.openstack.org/15573105:18
*** pradipta has quit IRC05:24
*** lazy_prince has quit IRC05:26
*** achanda has quit IRC05:28
*** killer_prince has joined #openstack-ironic05:29
*** killer_prince is now known as lazy_prince05:29
*** spandhe has quit IRC05:44
openstackgerritRamakrishnan G proposed openstack/ironic: Add driver interface for RAID configuration  https://review.openstack.org/15523005:52
*** Krast has joined #openstack-ironic05:52
*** huangkai2 has quit IRC05:56
*** achanda has joined #openstack-ironic05:59
*** jerryz_ has joined #openstack-ironic06:00
*** oomichi has quit IRC06:13
*** Marga_ has quit IRC06:21
saripurigopiI'm submitting changes of new driver for review, How to specify these changes are related to the corresponding BP.?06:38
*** pensu has quit IRC06:47
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic: Fix typo in "Enabling Drivers" Fies bug 1426239.  https://review.openstack.org/15973106:51
openstackbug 1426239 in Ironic "Fix typo in "Enabling Drivers"" [Undecided,New] https://launchpad.net/bugs/1426239 - Assigned to SHIGEMATSU Mitsuhiro (pshige)06:51
*** pensu has joined #openstack-ironic06:51
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Verify input uuid  https://review.openstack.org/15973207:01
*** spandhe has joined #openstack-ironic07:10
*** dlpartain has joined #openstack-ironic07:12
openstackgerritGopi Krishna S proposed openstack/ironic: Add pxe_ucs driver to manage Cisco UCS servers using pxe_ucs driver.  https://review.openstack.org/15973407:18
*** dlpartain has left #openstack-ironic07:25
*** achanda has quit IRC07:38
*** achanda has joined #openstack-ironic07:45
*** achanda has quit IRC07:50
*** dmellado has quit IRC07:52
*** dmellado has joined #openstack-ironic07:54
*** takadayuiko has joined #openstack-ironic08:05
*** dtantsur|afk is now known as dtantsur08:07
dtantsurMorning Ironic, TGIF today :)08:07
takadayuikodtantsur, Hi, here is Friday evening :D08:09
openstackgerritSHIGEMATSU Mitsuhiro proposed openstack/ironic: Fix typo in "Enabling Drivers"  https://review.openstack.org/15973108:09
dtantsurtakadayuiko, oh, that's awesome :) ready to enjoy the weekend?08:09
*** jcoufal has joined #openstack-ironic08:10
takadayuikodtantsur, sure! I'm going to drink soon :)08:11
dtantsurenjoy then :)08:11
takadayuikodtantsur, BTW, I wonder about ironic-discoverd's workflow, can I ask a question?08:12
dtantsursure08:12
takadayuikoCan we use ironic-discoverd with nova?08:12
takadayuikoBecause, ironic-discoverd sends reboot request to physical server, and nova(-> ironic-conductor) does do it, too. Right?08:13
dtantsurtakadayuiko, depending on what you mean by "use with nova". here at Red Hat we start with inspecting node with discoverd, then we deploy on them using nova08:13
dtantsurtakadayuiko, hmm nova does not send reboot request to Ironic, nova sends provision request (node-set-provision-state).08:14
dtantsurtakadayuiko, discoverd uses Ironic API to reboot stuff08:14
takadayuiko"use with nova" means like...mmm.. "nova boot"08:14
dtantsurtakadayuiko, that's the primary purpose of discoverd: to find out node data required for doing nova boot later08:16
*** ifarkas has joined #openstack-ironic08:16
takadayuikoRight, I think so, too08:16
takadayuikoBut now ironic-discoverd itself send reboot request to ironic, so that nova seems to be unnecessary08:17
dtantsurbtw, one more thing people think about is _creating_ nova flavors based on discovered data. that makes sense for bare metals08:17
takadayuikoAh, yeah!08:17
dtantsurtakadayuiko, yes. Nova can't reboot baremetals on it's own, so it always asks Ironic to do the job. In this sense nova is unrelated to discoverd, because Ironic API is more than enough for discoverd to do it's job.08:18
*** spandhe has quit IRC08:18
dtantsurtakadayuiko, so 'nova boot' is a confusing command name, it should have been 'nova deploy' :)08:18
dtantsureven worse: 'nova boot' does not boot a particular node, it's deploying a flavor to _some_ node in the cloud.08:21
*** athomas has joined #openstack-ironic08:22
takadayuikoAh, booted server with pxeboot mode sends API request to ironic-discoverd's continue API, so, in that time, deployment(like making partition or copying image) is not done.08:22
dtantsurright08:23
takadayuikothank you, understand perfectly(maybe ;)08:23
dtantsuryou're welcome :)08:23
takadayuikoI can go to drink comfortably ;D08:24
dtantsurtakadayuiko, enjoy! have a glass for us only starting the work day :)08:25
takadayuikoyeah, thx :)08:26
*** ChuckC has joined #openstack-ironic08:27
openstackgerritAnusha Ramineni proposed openstack/ironic: Add Cleaning Operations for iLO drivers  https://review.openstack.org/15771508:32
raminenirameshg87:^^^08:35
*** rameshg87 has quit IRC08:42
yog_hi, tried  ironic-python-agent with fedora ramdisk, but during deploying gave error  "append a correct "root=", so tried again with rootfstype=ramfs.. but got call related to out of memory .. how do i use ramdkisk from ironic-agent element with ssh_agent (python ironic agent)08:42
*** dtantsur is now known as dtantsur|bbl08:43
*** rameshg87 has joined #openstack-ironic08:43
rameshg87ramineni: ack :)08:44
*** chlong has quit IRC08:44
*** foexle has joined #openstack-ironic08:46
*** takadayuiko has quit IRC08:46
*** erwan_taf has joined #openstack-ironic08:48
*** jistr has joined #openstack-ironic08:56
rameshg87ramineni: just some nits to address when you throw in a new patch, other than that lgtm08:57
yog_is there any additional  cmd line parameters that must be passed to ramdisk created with ironic-agent element  when python ironic agent(ssh_agent)08:58
rameshg87yog_: do you mean kernel cmdline parameters while booting the agent kernel/ramdisk  ?08:59
yog_rameshg87, yeah .. the default parameters does not specify a root ..so it gave... "append a correct "root="09:00
yog_so tried passing rootfstype=ramf ..but got call trace related to out of memory09:01
yog_this the cmd line parameters passed by default text nofb nomodeset vga=normal console=ttyS0 systemd.journald.forward_to_console=yes ipa-api-url=http://192.168.122.58:6385 ipa-driver-name=agent_ssh09:02
openstackgerritGopi Krishna S proposed openstack/ironic: Add pxe_ucs driver to manage Cisco UCS servers using pxe_ucs driver  https://review.openstack.org/15973409:06
rameshg87yog_: the while booting agent kernel/ramdisk we don't need root= parameter09:06
rameshg87yog_: your list seems complete to me09:06
rameshg87yog_: the ramdisk itself has systemd init and the required stuffs09:07
*** andreykurilin_ has joined #openstack-ironic09:12
*** romcheg has joined #openstack-ironic09:15
yog_rameshg87,  mm.. but with fedora ramdisk .. it throws call traces..VFS: Cannot open root device "(null)" or unknown-block(2,0): error -6 ... Please append a correct "root=" boot option;09:17
rameshg87yog_: how much memory does the system have ?09:18
rameshg87yog_: fedora ramdisk requires atleast 3G09:18
yog_rameshg87,  1g.. using devstack with default vm.. configs..09:19
yog_rameshg87, aah will try with 3g then.. thanks09:19
rameshg87yog_: yeah it requires atleast 3g of ram. if it throws same error, i recommend trying with 4G again :)09:20
rameshg87before giving up09:20
yog_ok :)09:20
*** derekh has joined #openstack-ironic09:22
*** lucasagomes has joined #openstack-ironic09:22
*** pas-ha has joined #openstack-ironic09:22
*** rameshg87 is now known as rameshg87-brb09:27
*** saripurigopi has quit IRC09:29
*** dlpartain has joined #openstack-ironic09:30
*** dlpartain has left #openstack-ironic09:30
*** MattMan has quit IRC09:33
*** MattMan has joined #openstack-ironic09:40
yog_rameshg87-brb,  awesome .. tried with 4G mem and it worked :D thanks again09:42
openstackgerritTan Lin proposed openstack/ironic: Add AMT-PXE-Driver Power&Management&Vendor Interface  https://review.openstack.org/15285809:51
*** priteau has joined #openstack-ironic09:51
*** aignatov has quit IRC09:53
*** aignatov has joined #openstack-ironic09:53
*** rameshg87-brb is now known as rameshg8710:04
rameshg87yog_: great ...10:04
openstackgerritNaohiro Tamura proposed openstack/ironic: Add iRMC Virtual Media Deploy module for iRMC Driver  https://review.openstack.org/15195810:05
*** pensu1 has joined #openstack-ironic10:09
*** pensu has quit IRC10:10
*** pas-ha has quit IRC10:11
*** pensu has joined #openstack-ironic10:12
*** pensu has joined #openstack-ironic10:13
*** moorryan has joined #openstack-ironic10:20
*** pas-ha has joined #openstack-ironic10:21
*** pas-ha has quit IRC10:21
*** pas-ha has joined #openstack-ironic10:22
*** pas-ha has quit IRC10:26
*** priteau has quit IRC10:27
*** priteau has joined #openstack-ironic10:27
*** pshchelo has joined #openstack-ironic10:28
*** priteau has quit IRC10:29
*** pshchelo is now known as pas-ha10:30
*** pelix has joined #openstack-ironic10:30
openstackgerritGopi Krishna S proposed openstack/ironic: Add pxe_ucs driver to manage Cisco UCS servers using pxe_ucs driver  https://review.openstack.org/15973410:38
*** pas-ha has quit IRC10:40
*** pas-ha has joined #openstack-ironic10:41
*** andreykurilin_ has quit IRC10:49
*** yog_ has quit IRC10:50
*** ramineni has quit IRC11:02
*** PaulCzar has quit IRC11:07
*** Nisha has joined #openstack-ironic11:20
*** foexle_ has joined #openstack-ironic11:21
*** vdrok_afk is now known as vdrok11:21
vdrokmorning ironic11:21
rameshg87vdrok: o/11:22
vdrokrameshg87, afternoon :)11:23
rameshg87morning vdrok :)11:23
*** foexle has quit IRC11:24
rameshg87lucasagomes: hi11:24
lucasagomesrameshg87, hi there11:25
*** coolsvap is now known as coolsvap_11:30
openstackgerritNisha Agarwal proposed openstack/ironic: Generic changes for Node Inspection  https://review.openstack.org/14982311:31
rameshg87lucasagomes: i was able to get the localboot working for uefi11:31
*** lxsli is now known as thelexx11:31
lucasagomesrameshg87, ah nice one!11:31
rameshg87lucasagomes: but i needed to switch the partition table to gpt for that11:31
lucasagomesoh yeah11:32
rameshg87lucasagomes: it's not booting with bios partition table in atleast hp machines11:32
lucasagomesI see, yeah it makes sense11:32
lucasagomesnot sure if our libs allow you to create gpt partitions11:32
lucasagomesI think it does11:32
rameshg87lucasagomes: yeah it does11:32
lucasagomesmy have a switch there11:32
lucasagomesyeah11:32
rameshg87lucasagomes: i infact created gpt with parted only11:33
lucasagomesyeah11:33
lucasagomesnice one11:33
rameshg87lucasagomes: for that uefi system partition should be the first partition11:33
rameshg87lucasagomes: so that's within the scope of this spec, right ?11:33
lucasagomesthe EFI partition should be the first?11:33
rameshg87lucasagomes: i mean the localboot spec11:33
rameshg87lucasagomes: yeah11:33
rameshg87lucasagomes: because that's where grub expects it to be while adding the efi boot entry11:33
lucasagomesrameshg87, not really :( I didn't include uefi because I don't have the means to test it11:33
rameshg87lucasagomes: can i raise a review for that ?11:34
lucasagomesrameshg87, interesting, I thought you could just have the partition anywhere11:34
lucasagomesrameshg87, I don't see any harm proposing anything anytime :)11:34
rameshg87lucasagomes: it will hardly 20 lines change in ironic applicable only for uefi11:34
lucasagomessince you already got it working11:34
lucasagomeswe can even update the spec for that11:34
rameshg87lucasagomes: okay, let me see ..11:34
rameshg87lucasagomes: will keep you posted ...11:35
lucasagomesrameshg87, thanks11:35
openstackgerritShivanand Tendulker proposed stackforge/proliantutils: Support CDROM in get/set persistent boot methods  https://review.openstack.org/15979911:38
*** pensu has quit IRC11:38
*** BManojlovic has joined #openstack-ironic11:42
*** dtantsur|bbl is now known as dtantsur11:49
*** foexle_ has quit IRC12:01
*** coolsvap_ is now known as coolsvap12:02
*** foexle has joined #openstack-ironic12:03
*** vdrok has quit IRC12:12
*** vdrok has joined #openstack-ironic12:15
Nishadtantsur,12:16
Nishadtantsur, hi12:16
dtantsuro/12:16
Nishadtantsur, in in-band discovery how do u create the port. I can find out the code where it returns valid ports https://github.com/stackforge/ironic-discoverd/blob/master/ironic_discoverd/plugins/standard.py#L54-L10812:18
dtantsurNisha, https://github.com/stackforge/ironic-discoverd/blob/master/ironic_discoverd/process.py#L94-L10212:19
Nishaand how do u delete the ports for the same node if the mac is not existng12:20
Nishaoh u call the ironic api...12:21
Nishabut for OOB also is it fine to call the ironic api directly?12:21
Nishadtantsur, in your case i dont see port.delete being called12:22
dtantsurit's not done for now12:22
dtantsurI think I have a bug reported, but I don't see it as priority12:23
*** lazy_prince is now known as killer_prince12:23
Nishadtantsur, which one12:24
dtantsurhttps://bugs.launchpad.net/ironic-discoverd/+bug/140427912:25
openstackLaunchpad bug 1404279 in ironic-discoverd "If overwrite is enabled, also delete non-matching ports" [Low,Triaged]12:25
*** lucasagomes is now known as lucas-hungry12:27
rameshg87dtantsur: Nisha is not able to use dbapi.destroy_port() once she has locked the node for inspection12:32
dtantsurwhat's an error?12:32
rameshg87dtantsur: because of some strange (i can't get the reason) code in sqlalchemy implementation12:32
rameshg87dtantsur: sqlalchemy implementation is here: https://github.com/openstack/ironic/blob/master/ironic/db/sqlalchemy/api.py#L443-L45512:32
rameshg87dtantsur: the problem is here: https://github.com/openstack/ironic/blob/master/ironic/db/sqlalchemy/api.py#L142-L14412:33
rameshg87dtantsur: it disallows deletion of port if the node is reserved by a conductor12:33
dtantsurwow, pretty bad12:33
rameshg87dtantsur: i can't get the reason why it should disallow12:33
rameshg87dtantsur: get any idea looking around at code why it is disallowing ?12:34
dtantsurhttps://github.com/openstack/ironic/commit/8e7e4ddcf32558278570f6b23d23b9d3b848d707 introduced by yuriyz...12:34
rameshg87dtantsur: oh i didn't think of checking commit log ;-)12:35
dtantsurmy gut feeling that it's a wrong place for doing lock checks, that's a layer violation12:35
rameshg87dtantsur: the funnier part is it itself has locked the node12:35
rameshg87dtantsur: but it doesn't know :(12:35
rameshg87no bug as well12:36
dtantsuroh god...12:36
rameshg87yuriyz: you around here ?12:36
yuriyzmorning Ironic12:36
dtantsurrameshg87, I think it should be changed to using locks on upper level12:36
dtantsuryuriyz, morning12:36
rameshg87yuriyz: morning :)12:37
rameshg87yuriyz: we were talking about one of your commits12:37
Nishayuriyz, morning12:37
rameshg87yuriyz: https://review.openstack.org/#/c/40219/12:37
rameshg87yuriyz: Nisha is facing an issue because of it :)12:37
rameshg87yuriyz: she is not able to delete the ports even after acquire a lock on the node by herself12:38
rameshg87yuriyz: by calling dbapi.destroy_port()12:38
rameshg87yuriyz: why was this change done ?12:39
yuriyzIt was a lot of time ago. Agree, this should not be on this layer12:41
rameshg87 oh 2012 :)12:41
rameshg87201312:41
rameshg87i didn't notice that12:41
rameshg87remember what was the reason for this change ?12:42
openstackgerritDmitry Tantsur proposed openstack/ironic: Add iter_nodes() helper to the conductor manager  https://review.openstack.org/15910012:42
openstackgerritDmitry Tantsur proposed openstack/ironic: Add module for in-band inspection using ironic-discoverd  https://review.openstack.org/15656212:42
rameshg87so that if we put this check somewhere else, we know why we are putting it ...12:42
dtantsurrameshg87 updated ^^^12:42
rameshg87dtantsur: ack ;)12:42
rameshg87okay since we feel that check shouldn't be at that place (not sure we need that check or not)12:44
rameshg87Nisha: may be you can comment out that for now and try to use dbapi.destory_port()12:44
rameshg87Nisha: may be meanwhile we can figure out why/where it is required and fix it12:44
rameshg87Nisha: max, may be you will need another patch which solves this issue and then put your patch as dependent of this12:45
Nisharameshg87, i can do that for testing but it will not worth to submit the patch for ilo implementation12:45
rameshg87Nisha: yeah so in the meanwhile we don't figure out why that check is required, i say let's propose to remove it :)12:45
Nisharameshg87, i will say meanwhile we dont know the fix, let me use the curent implementation and when we have the fix in place may be i can use the correct way12:46
rameshg87Nisha: no, we can't use sqlalchemy directly12:46
rameshg87Nisha: we have to use the dbapi abstraction12:47
rameshg87dtantsur: just quick question12:47
dtantsurNisha, you can leave a #TODO in you current ilo patch, and work on destroying nodes in the follow-ups12:47
rameshg87dtantsur: https://review.openstack.org/#/c/151596/21/ironic/drivers/modules/ilo/inspect.py12:47
rameshg87dtantsur: we can't use sqlalchemy directly if i am not wrong12:47
rameshg87dtantsur: correct ?12:48
rameshg87dtantsur: we have to use the dbapi abstraction, right ?12:48
dtantsurcorrect. because dbapi is an abstract interface12:48
dtantsurthere may be different implementations12:48
rameshg87yeah exactly12:48
* dtantsur goes food-hunting12:48
*** dtantsur is now known as dtantsur|lunch12:49
rameshg87dtantsur|lunch: lucas-hungry: please have a look at https://review.openstack.org/#/c/155230/ when you get some time12:51
openstackgerritYuriy Zveryanskyy proposed openstack/ironic: Do not save auth token on TFTP serfer in PXE driver  https://review.openstack.org/15981912:54
*** pas-ha has quit IRC13:13
*** pas-ha has joined #openstack-ironic13:28
*** dtantsur|lunch is now known as dtantsur13:29
openstackgerritYuriy Zveryanskyy proposed openstack/ironic: Do not save auth token on TFTP serfer in PXE driver  https://review.openstack.org/15981913:31
*** bauzas is now known as bauwser13:39
*** mgoddard1 has joined #openstack-ironic13:41
*** mgoddard has quit IRC13:45
*** pas-ha has quit IRC13:47
*** pas-ha has joined #openstack-ironic13:54
*** athomas has quit IRC13:59
*** jcoufal_ has joined #openstack-ironic13:59
*** jcoufal has quit IRC14:02
*** athomas has joined #openstack-ironic14:10
*** jcoufal_ has quit IRC14:12
*** jcoufal has joined #openstack-ironic14:12
openstackgerritDmitry Tantsur proposed openstack/ironic: Add module for in-band inspection using ironic-discoverd  https://review.openstack.org/15656214:14
openstackgerritMerged openstack/ironic: Fix typo in "Enabling Drivers"  https://review.openstack.org/15973114:16
openstackgerritRamakrishnan G proposed openstack/ironic: Add localboot support for uefi boot mode.  https://review.openstack.org/15985514:16
rameshg87lucas-hungry: ^^^ open for quick review.  will add tests14:18
openstackgerritVladyslav Drok proposed openstack/ironic: Check UUID correctness for Glance images  https://review.openstack.org/15195114:20
* rameshg87 wonders why was ironic.conf.sample check stopped in gate14:20
*** trown|outttypeww is now known as trown14:22
*** rameshg87 has left #openstack-ironic14:23
*** lucas-hungry is now known as lucasagomes14:29
*** coolsvap is now known as coolsvap_14:31
*** logan2 has quit IRC14:32
*** Nisha has quit IRC14:37
*** logan2 has joined #openstack-ironic14:45
*** BadCub has joined #openstack-ironic14:49
BadCubMorning Ironic14:56
TheJuliaGood morning!15:00
jrollmorning BadCub TheJulia and everyone else :)15:06
dtantsurjroll, TheJulia, BadCub, morning15:06
jrollheya dtantsur :)15:07
lucasagomesBadCub, TheJulia jroll morning :)15:07
jrollmorning lucasagomes :)15:07
jrolloh and happy friday \o/15:08
BadCubHappy Friday!!!!!15:08
lucasagomes2+2 https://review.openstack.org/#/c/155728/ someone want's to +a it?15:08
lucasagomes:)15:08
lucasagomesjroll, happy friday!15:08
lucasagomesBadCub, ^ u too15:08
* jroll looks15:09
NobodyCamgood morning Ironic.. and ......15:10
NobodyCamTGIF!!!!!15:10
NobodyCammorning BadCub jroll and lucasagomes15:10
jrollmorning NobodyCam :D15:10
NobodyCam:)15:10
dtantsurNobodyCam, oh the most TGIF of all TGIF... morning!15:11
* dtantsur is still fighting with authentication, could some one have a look at http://lists.openstack.org/pipermail/openstack-dev/2015-February/057974.html ?15:11
*** zz_jgrimm is now known as jgrimm15:12
NobodyCammorning dtantsur .. Looking15:12
ShrewsHey all. I'm baaaaaack15:18
* Shrews falls behind on EVERYTHING15:19
NobodyCamwelcome back Shrews :) and good Morning15:19
jrollO.O15:19
jrollwb Shrews :)15:19
Shrewso/15:19
Shrewshttps://twitter.com/dshrews/status/57132777262433075315:22
NobodyCamShrews: very nice15:23
Shrewsoh, that was meant for a different window, but you guys can look too  :-P15:23
*** ChuckC has quit IRC15:23
lucasagomesShrews, aewsome15:25
lucasagomesawesome*15:25
NobodyCamlol15:25
jrolllucasagomes: +A on that pxe/agent thing15:26
dtantsurShrews, morning and nice pic :)15:26
jrollShrews: sick15:26
lucasagomeso/!15:26
jrollit's been way too long since I've been snowboarding15:26
lucasagomesjroll, now I will fix the devstack one and we are all set to start tests on gate15:26
lucasagomes(new job ofc)15:26
jrollnice15:27
*** datajerk has left #openstack-ironic15:28
NobodyCamlucasagomes: awesome :)15:29
NobodyCamdtantsur: where are you gettig the token?15:29
dtantsurNobodyCam, in Ironic? https://github.com/openstack/ironic/blob/master/ironic/common/keystone.py#L12515:30
*** achanda has joined #openstack-ironic15:31
*** hemna has joined #openstack-ironic15:31
*** anderbubble has joined #openstack-ironic15:32
NobodyCamhumm15:33
*** achanda has quit IRC15:36
NobodyCamdtantsur: just a question have you tried to manually execute a validation? http://docs.openstack.org/developer/keystone/api_curl_examples.html#id315:47
*** hj-hp has joined #openstack-ironic15:47
dtantsurNobodyCam, this is about credentials, and I have a token15:48
*** hj-hp has quit IRC15:49
openstackgerritVladyslav Drok proposed openstack/ironic: Use mock instead of fixtures when appropriate  https://review.openstack.org/15989815:49
NobodyCamany one have time for a largeish review?15:50
NobodyCamhttps://review.openstack.org/#/c/13674115:50
* naohirot have a nice week all, good night :)15:52
*** naohirot has quit IRC15:52
*** hj-hp has joined #openstack-ironic15:52
*** ndipanov has quit IRC15:54
pas-hanoob question - is there any possibility to attach a cinder volume to baremetal instance?15:56
NobodyCamnight naohirot15:59
NobodyCampas-ha: welcome to Ironic16:00
NobodyCamnight just yet but we have this: https://review.openstack.org/#/c/14960616:01
NobodyCams/night/not/16:01
*** BadCub has quit IRC16:01
*** Marga_ has joined #openstack-ironic16:03
*** vdrok is now known as vdrok_afk16:06
*** BadCub has joined #openstack-ironic16:14
*** ChuckC has joined #openstack-ironic16:16
*** ChuckC has quit IRC16:17
*** ChuckC has joined #openstack-ironic16:17
*** david-lyle_afk is now known as david-lyle16:19
*** ChuckC has quit IRC16:20
*** BManojlovic has quit IRC16:20
NobodyCamjroll: JayF: happen to have a free minute for a quick look at JoshNang's next cleaning patch: https://review.openstack.org/#/c/157208?16:21
*** ChuckC has joined #openstack-ironic16:21
jrollNobodyCam: yes, that was next on my list :)16:22
NobodyCamw00 h00 :)16:22
JoshNang\o/16:22
*** hj-hp has quit IRC16:29
*** romcheg has quit IRC16:30
*** hj-hp has joined #openstack-ironic16:30
*** romcheg has joined #openstack-ironic16:32
openstackgerritChris Krelle proposed openstack/ironic: Update install-guide for Ubuntu 14.10 package changes  https://review.openstack.org/15959716:32
NobodyCameasy doc patch ^^^ :-p16:32
*** jcoufal has quit IRC16:33
jlvillaldevananda: Thanks for the info on virt-manager.  It worked :)  uvt-kvm never seemed to work for me.  I am now able to start a baremetal node.16:35
*** david-lyle is now known as david-lyle_Afk16:35
*** david-lyle_Afk is now known as david-lyle_afk16:35
jlvillalNobodyCam: ^^^^  My problems I think were because I was using uvt-kvm.  Not sure why and don't feel like spending the time trying to figure it out...16:35
NobodyCamjlvillal: nice16:35
jlvillalNobodyCam: Thanks for the assistance before.16:35
NobodyCamjlvillal: anytime .. :)16:36
*** bnemec is now known as beekneemech16:37
*** rwsu-afk is now known as rwsu16:39
jlvillalNobodyCam: I gave some minor feedback on the patch.16:42
NobodyCamjlvillal: I like the higher versions on the bottom, are you okay if I leave the order as is?16:44
jlvillalNobodyCam: Uh, I'm not sure what that means.  I'm fine with the ordering.  Not sure what bottom means.16:45
jlvillalNobodyCam: I was trying to be clear that the first part included 14.04.16:45
jlvillalNobodyCam: When I was saying swap16:45
NobodyCamjlvillal: the comment on line 59716:45
jlvillalI meant.16:45
jlvillalsudo apt-get install tftpd-hpa syslinux syslinux-common16:45
jlvillalsudo apt-get install tftpd-hpa syslinux-common syslinux16:46
NobodyCamoh16:46
NobodyCamdoh16:46
NobodyCamsure16:46
jlvillalThen the first two packages are identical and only the third package is different16:46
jlvillalIf that makes sense16:46
NobodyCamthank you... yep16:46
NobodyCamcan do16:46
jlvillalNobodyCam: Thanks!16:46
NobodyCamthank you:)16:47
* jlvillal hopes he isn't bikeshedding....16:47
*** Marga_ has quit IRC16:51
openstackgerritChris Krelle proposed openstack/ironic: Update install-guide for Ubuntu 14.10 package changes  https://review.openstack.org/15959716:51
NobodyCamjlvillal: ^^^ :-p16:51
*** Marga_ has joined #openstack-ironic16:51
jlvillalNobodyCam: +1! :)16:52
NobodyCam:)16:52
*** romcheg has quit IRC16:57
jrollJoshNang: I hate to do this but I'm going to -1 that cleaning thing17:01
JoshNangjroll: :O17:01
jrollI'd like a test that has multiple interfaces17:01
jrollto make sure they group/sort properly17:01
JoshNangjroll: np, totally reasonable17:01
jrolljust a heads up in case you want to get started :)17:01
JoshNangheh i will17:01
*** Marga_ has quit IRC17:01
jrollJoshNang: also...17:02
jrollthe decorator says priority > 117:02
jrollbut the test has a step with priority 017:02
jrolland I don't see any code that checks priority > 1 unless I missed something17:02
jrollOH17:03
jrollI see the zapping thing17:03
JoshNangjroll: hmm lemme look. priority > 1 == clean step, priority 0 == disabled, allowed for zapp17:03
jrollyeah17:03
jrollyou're right, ignore me17:03
JoshNangyeah. and for the check, that's the callers duty17:03
jrolland then the executor will check it?17:03
jrollok17:03
jrollyeah17:03
JoshNangyup. doing everything i can to keep the differences in zap and clean to like an api call and a flag17:03
jrollsweet17:04
jrollcommented, ping me whenever you get to it :)17:04
JoshNangthanks for reviewing!17:04
jlvillalJoshNang: What is priority 1.  Just reading the scroll back.  And saw priority > 1 == clean step.  Is that priority >= 1?17:05
JoshNangyeah sorry, >=117:05
jlvillalJoshNang: Okay :)17:06
jrolloh good point17:06
* jroll nits on review17:06
JoshNangjlvillal: you are technically correct, the best kind of correct!17:06
jrollthere's a few other nits too, if you want to pick them up :)17:06
jlvillalJoshNang: LOL17:06
jroll(not from me)17:06
JoshNangjroll: yup i already had those started17:07
jrollI shouldn't have expected any less17:07
dtantsurhave a nice weekend!17:08
*** dtantsur is now known as dtantsur|afk17:08
NobodyCamnight dtantsur|afk17:08
jrolldtantsur|afk: you too :)17:08
NobodyCamhave a good weekend17:08
jrollJoshNang: how do you see the "clean steps calling back to conductor via RPC" stuff working? the step in the driver will call rpcapi.continue_node_clean() or somethign?17:15
jrollor is there an API endpoint for OOB tasks?17:15
jrollboth?17:16
JoshNangjroll: both17:16
JoshNangthough the api would be like a vendor passthru or something17:16
jrollok17:16
jrollit wouldn't have to be, would it?17:16
jrollI guess it needs to know the step17:16
jrollok17:16
jrolljust trying to think how everything fits together17:16
JoshNangi mean, it could be a generic "i'm done, continue" api17:17
JoshNangvendor passthru knows the node, node knows the current step17:17
jrollyeah, though you need to get to the drivers to get to the next step17:17
jrollso it would have to be vendor passthru I think17:17
JoshNangwhen a step is done, it goes back to the conductor and the conductor calls out to the driver for the next step17:18
jrollyeah17:18
jrollok, this makes sense17:18
JoshNangthe continue clean rpc wasn't my favorite system, but the only one i could figure out that would work async and sync and let the conductor drive the bus17:19
jrollyeah, it's probably fine17:20
*** ifarkas has quit IRC17:22
JoshNangi'm gonna add these bits to the @clean_step docs17:23
*** jogo is now known as flashgordon17:25
*** jistr has quit IRC17:25
NobodyCambrb..bbt17:27
*** penick has joined #openstack-ironic17:27
*** derekh has quit IRC17:29
*** pas-ha has quit IRC17:30
* NobodyCam also makes some food stuffs17:38
NobodyCamahh Spock died :(17:40
jlvillalNobodyCam: How do you prioritize what patches to review?  Or do you just review them all?17:40
jlvillalReally?17:40
NobodyCamhttp://www.nytimes.com/2015/02/27/arts/television/leonard-nimoy-spock-of-star-trek-dies-at-83.html?_r=017:40
NobodyCamjlvillal: https://docs.google.com/spreadsheets/d/1Hxyfy60hN_Fit0b-plsPzK6yW3ePQC5IfwuzJwltlbo17:41
jlvillalNobodyCam: Thanks!17:41
jrolljlvillal: the gold source is https://launchpad.net/ironic/+milestone/kilo-3 btw17:45
jrollbut that spreadsheet is mostly in line17:45
jlvillaljroll: Bookmarking both :)17:45
jroll:)17:46
NobodyCamway does no-one ever mention "In Search of..." /me loved that series17:47
lucasagomesNobodyCam, :(17:50
NobodyCamya17:50
jrollJoshNang: this cleaning stuff is looking good, I think I reviewed the whole series17:53
JoshNangjroll: thanks!17:54
jroll:)17:54
* jroll moves on to the big one... https://review.openstack.org/#/c/13674117:54
JoshNangi think this might cover all of the main ironic bits. next up is nova and drivers17:54
jrollnice17:55
*** romcheg has joined #openstack-ironic17:55
NobodyCamjroll: ++17:55
jrollNobodyCam: oI'm scared17:55
jroll-o17:55
NobodyCamjroll: thats the 1100+ line patch17:56
jrollya17:56
NobodyCam:)17:56
jrolloh man17:56
jrollI want to -1 already for the first line of the docs17:56
jroll:P17:57
jrolloh right, noauth allows not using keystone17:57
openstackgerritVictor Lowther proposed openstack/ironic: Add DRAC BIOS config vendor passthru API -- DO NOT MERGE  https://review.openstack.org/15048818:01
*** Marga_ has joined #openstack-ironic18:01
*** jerryz_ has quit IRC18:04
*** chlong has joined #openstack-ironic18:04
*** anderbubble has quit IRC18:09
*** athomas has quit IRC18:09
*** chlong has quit IRC18:11
*** spandhe has joined #openstack-ironic18:11
*** spandhe has quit IRC18:11
*** achanda has joined #openstack-ironic18:16
*** krtaylor has quit IRC18:16
*** achanda has quit IRC18:17
*** achanda has joined #openstack-ironic18:17
*** killer_prince has quit IRC18:20
openstackgerritMerged openstack/ironic: PXE drivers support for IPA  https://review.openstack.org/15572818:20
*** killer_prince has joined #openstack-ironic18:22
*** killer_prince is now known as lazy_prince18:22
JoshNang\o/18:22
NobodyCamlol :)18:22
*** spandhe has joined #openstack-ironic18:23
openstackgerritJosh Gachnang proposed openstack/ironic: Implement Cleaning in DriverInterfaces  https://review.openstack.org/15720818:27
*** romcheg1 has joined #openstack-ironic18:27
*** chlong has joined #openstack-ironic18:28
*** romcheg has quit IRC18:28
*** krtaylor has joined #openstack-ironic18:28
lucasagomesMerged openstack/ironic: PXE drivers support for IPA18:29
lucasagomes\o/ JoshNang +118:29
NobodyCam:)18:29
JoshNanglucasagomes: i'm very excited. thanks for working on that18:29
lucasagomesthe devstack patch https://review.openstack.org/#/c/159178/18:30
lucasagomesJoshNang, np :)18:30
lucasagomesthis is just the forklift, I want to see if in the future we may even be able to have a driver that support multiples way of deploying a node18:30
lucasagomesthat would be awesome18:30
JoshNangthat'd be pretty sweet18:31
* JoshNang adds the devstack patch to his review queue18:31
lucasagomesty :)18:32
lucasagomesI will call it a day here18:32
lucasagomesI will be off on monday and tuesday18:33
lucasagomesso I see y'all on wednesday :)18:33
lucasagomeshave a good night, enjoy the weekend18:33
JoshNanglucasagomes: have a good weekend!18:33
trownhave a good weekend lucasagomes18:33
lucasagomesty guys, you too enjoy18:33
*** lucasagomes is now known as lucas-beer18:33
NobodyCamlucasagomes: one quick question18:33
lucas-beerNobodyCam, sure18:33
NobodyCamnever mind -p soory just found my own answer18:34
NobodyCam:-p18:34
NobodyCamhave a great weekend18:34
NobodyCam:)18:34
lucas-beerhah ok18:35
lucas-beersee you, enjoy the weekend18:35
NobodyCamyou too18:35
*** david-lyle_afk is now known as david-lyle18:35
jrollhttps://review.openstack.org/#/c/136741/ +A18:35
jrollwooooooot18:35
NobodyCamwow18:35
NobodyCam:)18:36
jrollthat was rough18:36
jrollhave a nice long weekend lucas-beer :D18:36
NobodyCamlong... is monday a holiday?18:36
*** Marga_ has quit IRC18:37
*** Marga_ has joined #openstack-ironic18:38
*** chlong has quit IRC18:38
*** mgoddard1 has quit IRC18:43
jrollNobodyCam: he said he's off monday/tuesday :P18:45
NobodyCamoh nice!!!!18:45
jrollJoshNang: left a thing inline, I'd like other people to chime in there.18:45
JoshNangjroll: actually, exception makes sense, and i might pull this check out into another patch18:48
JoshNangjroll: because i'd like to do some checks on startup to ensure there isn't conflicting priority + interface. like if an op accidently sets a step to 20, and another defaults to 20 on the same interface, we should blow up the conductor when it starts18:49
JoshNangotherwise we have undefined behavior. and that's Real Bad (TM).18:50
jrollJoshNang: yeah +118:52
* JoshNang does it18:52
*** Marga_ has quit IRC18:52
JoshNangjlvillal: ^ in response to your suggestion on cleaning18:52
jlvillalJoshNang: :)18:53
*** Marga_ has joined #openstack-ironic18:53
*** Marga_ has quit IRC18:53
*** Nisha has joined #openstack-ironic18:54
*** Marga_ has joined #openstack-ironic18:55
*** mgoddard has joined #openstack-ironic18:55
NobodyCammerge conflicts in untouched files hummmm....19:07
jrollO.o19:08
NobodyCamahh ha19:09
*** Nisha has quit IRC19:10
NobodyCamerror is in one if the Dependencies19:11
NobodyCam:-p19:11
*** Nisha has joined #openstack-ironic19:11
*** anderbubble has joined #openstack-ironic19:14
*** erwan_taf has quit IRC19:16
devanandajroll: do ya'll use static pxe configs, or does agent.py dynamically generate your pxe config file per-instance?19:18
jrolldevananda: we have static configs19:19
NobodyCammorning devananda :)19:19
jrolldevananda: you're talking deploy pxe configs yes?19:19
devanandajroll: that's what I thought. so I'm confused by looking at drivers/modules/agent.py19:19
devanandayes19:19
jrolldevananda: what's confusing?19:19
devanandaREQUIRED_PROPERTIES = { deploy_kernel, deploy-ramdisk }19:19
devanandavalidate ensures those are present, but they're not necessary if using static pxe config19:20
jrollyeah, that's something that could improve19:20
jrollI think those were added recently though19:20
jrolldevananda: however they don't hurt to have there, and honestly you could still use those as a reference to something else19:21
jrolle.g. deploy_kernel=http://image-host.com/kernel19:21
jrollor better yet kernel.sha119:22
jrolleven if they're only used for operator consumption19:22
jroll(we don't do this, just saying)19:22
devanandagotcha. so just pad them to make validate happy, and create a bogus local pxe config19:23
devananda<sadface>19:23
*** openstackgerrit has quit IRC19:24
jrollright... we actually have this hacked downstream to just remove the pxe config creation19:24
*** openstackgerrit has joined #openstack-ironic19:24
devanandahah19:24
jrollI expect I'll remove that hack next week, cleaning up other things right now as well19:24
jrollhowever; I was thinking about this the other day... I don't necessarily love "if dhcp_driver == neutron: require these configs"19:25
devanandajroll: so some of us are about to start using IPA in anger. little things like this that probably annoyed you, and you fixed downstream, are about to annoy me19:25
jrolland was thinking on if dhcp should be part of the driver matrix, as much as I hate that19:25
devanandajroll: which means I'm going to pester you to upstream them :)19:25
jrollaha :D"19:25
jrollwe didn't necessarily "fix" them downstream but yeah19:25
*** BadCub has quit IRC19:26
jrollI've spent over half of this week rebasing the hell out of our downstream and cutting the fat19:26
jrollslimmed down from ~70 commits to 18 so far... some squashing, some removing things that landed upstream19:26
jrollso yeah, working on it19:27
*** mtanino has joined #openstack-ironic19:27
devanandaTheJulia: you may also want to start a habit of pestering jroll for things that don't make sense in the agent_* drivers. #justsayin19:27
jrollmostly just have networks/cleaning/rescue/metrics downstream19:27
devanandajroll: that's fantastic. really :)19:27
jrolldevananda: TheJulia: complaints welcome19:27
TheJulialol19:28
devanandaamongst the things I need to find time for - reviewing JoshNang's cleaning patches, which I presume are coming out of said rebasing and cleanup ?19:28
jrollthey're coming out separately19:28
JoshNang^19:28
jrollI actually stopped grabbing upstream right before where his stuff started landing19:28
jrolland going to grab again and drop the downstream when it all lands19:28
JoshNangthe upstream cleaning is way better than our downstream decom19:29
jrolland 100% different19:29
jrollmy git binary is crying19:29
devanandaJoshNang: I skimmed the cleaning base class work - not enough to really review it, but i'm curious19:34
devanandaJoshNang: is your plan to do the same sort of decorator for other state changes?19:34
*** BadCub has joined #openstack-ironic19:34
jrolldevananda: so we need to drop swift?19:34
devanandajroll: eh?19:35
* BadCub grumbles at internets19:35
jroller19:35
jrollignore that19:35
JoshNangdevananda: what do you mean?19:35
* jroll too many thoughts atm19:35
*** jmccrory has joined #openstack-ironic19:39
* devananda lunches19:40
openstackgerritJosh Gachnang proposed openstack/ironic: Implement Cleaning in DriverInterfaces  https://review.openstack.org/15720819:40
*** lucas-beer has quit IRC19:42
*** barra204 has joined #openstack-ironic19:50
*** Marga_ has quit IRC19:52
*** romcheg has joined #openstack-ironic19:52
*** Marga_ has joined #openstack-ironic19:52
*** Marga_ has quit IRC19:53
*** achanda has quit IRC19:53
*** romcheg1 has quit IRC19:55
*** barra204 is now known as shakamunyi19:56
NobodyCamamt driver patch. has several nit's but I believe they can be addressed with a follow up patch. any one have time to see if they agree: https://review.openstack.org/#/c/15285819:57
*** anderbubble_ has joined #openstack-ironic19:57
* NobodyCam heads off to a hour long brown bag session19:58
*** anderbubble has quit IRC19:58
*** anderbubble_ is now known as anderbubble19:58
*** ChuckC has quit IRC20:02
*** ChuckC has joined #openstack-ironic20:03
* BadCub goes brown bagging too20:04
*** Nisha has quit IRC20:04
*** jmccrory has quit IRC20:05
openstackgerritMerged openstack/ironic: Support for non-Glance image references  https://review.openstack.org/13674120:09
devanandajroll: agent.py build_instance_info_for_deploy() requires glance, and builds a swift tempurl to pass to IPA, overwriting node.instance_info with this20:19
devanandajroll: if I were to set instance_info outside of driver/module/agent.py, is there a nice / existing way to skip prepare()? or shall i add such a check?20:19
jlvillalNobodyCam: I only have some nits so far in my review of https://review.openstack.org/#/c/152858  Still working my way through it.  I started before lunch...20:21
*** achanda has joined #openstack-ironic20:23
*** PaulCzar has joined #openstack-ironic20:25
openstackgerritMerged openstack/python-ironicclient: Fix PEP8 E121,E122,E123,E124,E125,E129 errors  https://review.openstack.org/15927920:26
openstackgerritJay Faulkner proposed openstack/ironic-python-agent: Enable setting standalone mode via APARAMS  https://review.openstack.org/15998620:27
JayFsshhh openstackgerrit I'm in stealth mode20:27
NobodyCamlol20:27
NobodyCamMORNING JAYF :)20:27
JayFlol20:28
NobodyCamhehehe20:28
* JayF sitting in San Antonio airport, plane boards in 50m20:28
NobodyCamjlvillal: cool!20:28
JayFwhich is enough time to talk a little in IRC20:28
JayFor actually do a thing or two20:28
JayFI picked the latter P:20:28
openstackgerritMerged openstack/ironic-python-agent: Updated from global requirements  https://review.openstack.org/15776820:28
NobodyCam:)20:28
* NobodyCam is attending a brown bag meeting20:29
*** achanda has quit IRC20:30
*** ChuckC has quit IRC20:31
*** ChuckC has joined #openstack-ironic20:32
*** jmccrory has joined #openstack-ironic21:00
*** achanda has joined #openstack-ironic21:03
*** pelix has quit IRC21:04
*** achanda has quit IRC21:05
* NobodyCam call over... takeing a quick break21:07
jlvillalNobodyCam: When you get back I have a question...21:09
*** achanda has joined #openstack-ironic21:10
NobodyCamok give me about 10 min21:12
NobodyCam:)21:12
jlvillalokay21:15
*** hj-hp has quit IRC21:22
* NobodyCam is back21:24
*** hj-hp has joined #openstack-ironic21:25
NobodyCamjlvillal: ???21:27
jlvillalNobodyCam: https://review.openstack.org/#/c/152858/8/ironic/tests/drivers/amt/test_management.py  line 6721:27
* NobodyCam clicks21:27
jlvillaland https://review.openstack.org/#/c/152858/8/ironic/drivers/modules/amt/management.py21:28
*** sambetts has quit IRC21:28
jlvillalI see "Client" in the test.  But "ClientOptions" in the management.py21:28
jlvillalSo I am confused...21:28
jlvillalI thought you might help my confusion :)21:28
NobodyCamlookin21:29
*** sambetts has joined #openstack-ironic21:30
jlvillalOn another note.  I think a patch that has been merged since that has broken the unittests.  At least it is failing on my tox.   My tox works without the patch.21:32
*** hemna has quit IRC21:32
* jlvillal will be back in 3 minutes...21:33
JoshNangjlvillal: have you tried rebuilding tox? could be update dependency21:33
JoshNang*updated. 'tox -r' to give it a try21:33
NobodyCamjlvillal: you may be correct there that looks like a issue21:34
NobodyCamit also mocking a mocked object21:35
jlvillalJoshNang: Okay.  I will try.  Without cherry-picking the patch it worked.21:36
jlvillalNobodyCam: Thanks.  I will post it as a question21:37
*** jjohnson2 has joined #openstack-ironic21:40
devanandaoh. new bug in the power state sync loop21:43
devanandanode state None does not match expected state 'None'. Updating DB state to 'None' Switching node to maintenance mode.21:43
*** achanda has quit IRC21:43
NobodyCamoh thats not good21:44
*** achanda has joined #openstack-ironic21:44
NobodyCamipmi or ssh driver?21:44
devanandaipmitool21:44
*** hemna has joined #openstack-ironic21:46
devanandaNobodyCam: http://paste.openstack.org/show/Wg1aaQGqjF1PmfkTQSmL/21:46
*** hj-hp has quit IRC21:46
NobodyCamso its from a premission issue? Failed to create the password file21:47
jlvillalJoshNang: Tried the 'tox -r' still failed.  So I added a 'recheck' to the patch.  I think some merged patches have broken this patch, would be my guess.21:47
jlvillalJoshNang: Thanks for the info on 'tox -r'.  I hadn't known about that.21:48
JoshNangjlvillal: yup, probably just broken then. tox -r is good any time global requirements patches land21:48
JoshNangthere's an article on how to massively speed it up i saw yesterday...sec21:48
JoshNanghttps://www.berrange.com/posts/2014/11/14/faster-rebuilds-for-python-virtualenv-trees/21:49
* jlvillal has created a mirror of a sub-set of pypi locally. To help speed things up. Updated every morning before he gets to work.21:49
jrolldevananda: the glance change that just landed should cover the instance_info thing21:49
jlvillalJoshNang: Thanks!21:49
JoshNangjlvillal: ha that works too :)21:50
jrolldevananda: er, the don't-require-glance change21:50
devanandajroll: oh, it landed?21:50
jlvillalJoshNang: That looks cool as it saves the re-compile portion too.21:50
jrolldevananda: dunno, but I +A'd it earlier today21:50
jlvillaldevananda: It landed21:50
devanandaneat. I was meaning to test it21:50
jlvillalLast commit21:50
* devananda needs less to do21:51
jlvillalSupport for non-Glance image references21:51
JoshNangjlvillal: yup. super handy for nova. though you still have to wait 20 mins for their test suite to run :P21:51
jlvillalOuch.  I haven't run it yet...21:51
devanandajroll: tell me you tested it?21:51
devanandathere's no tempest coverage for it yet, and as they say, if we dont test it, it's broken as soon as it lands21:52
* devananda wants to see tempest tests that don't use glance, or swift, or keystone, or neutron, or nova -- and live in our tree21:52
jrolldevananda: I did not :x21:52
devanandajroll: :-(21:52
jlvillalJoshNang: Sweet on devpi.  It is sort of what I was trying to do, but better :)21:52
jrolldevananda: one manual test doesn't equal tested anyway, I'd still consider it broken21:53
devanandavdrok_afk: have you created tempest tests to exercise the non-glance image refs feature?21:53
jrollbut I could test it quick21:53
devanandavdrok_afk: if not, please consider doing so21:53
devanandajroll: cool. if youve got an env for it, thta'd be great.21:53
devanandaI have to jump on a call w/ a customer21:54
* jroll makes one21:54
*** mgoddard has quit IRC21:55
NobodyCamdevananda: what would you think about validate checking that it can indeed create a temp file?21:57
devanandaoh right21:58
devanandaNobodyCam: not in validate. in __init__21:58
NobodyCamparams can change on file systems21:59
NobodyCamwould that only check at startup?21:59
devanandayes21:59
devanandawe need to handle the error if it happens during deploy21:59
devanandabut a sanity check at __init__ and subsequently refusing to start if the environment would prevent functioning is good22:00
NobodyCamI am thinking its a low cost check to look at os.stat for the dir is writable22:00
devanandaon every call?22:00
devanandaalso - and do what?22:00
devanandaI agree tht we should have beter error checking there22:00
NobodyCamfor the error. just check that we can still create a file22:00
devanandaalso the error status is wrong22:00
NobodyCamI would say yes on every call to validate22:01
devananda"Failed to create the password file" is an ERROR, not a warning. because the service failed in an unexpected and unrecoverable way22:01
NobodyCamyes22:01
devananda"During sync_power_state, max retries exceeded for node" is NOT AN ERROR22:01
devanandathat is totally expected normal behavior22:01
devanandathat ironic is handling approrpiately. it's a NOTICE or WARNING at best22:01
NobodyCamya22:02
devanandabecause omg the hardware just died is a thing that happens, and good software handles that gracefully, and LOG.error() indicates software failure22:02
devanandaok - me really jumps on a call now22:02
NobodyCamack22:02
*** barra204_ has joined #openstack-ironic22:03
*** shakamunyi has quit IRC22:03
jlvillalNobodyCam: Maybe os.access()  https://docs.python.org/2/library/os.html#files-and-directories22:05
*** chuckC_ has joined #openstack-ironic22:06
*** barra204_ has quit IRC22:07
*** barra204_ has joined #openstack-ironic22:08
JoshNangjroll: re: namedtuples in cleaning, i'm inclined to just use dicts22:08
jrollJoshNang: ya22:08
jrolldunno what namedtuples bring except a little speed22:09
JoshNangslightly nicer interface. i originally had it as dicts, but it was suggested to use namedtuples. other than this they were fine22:09
jrollif you want dots why not use objects :P22:10
JoshNangjroll: ++22:10
* JoshNang uses dicts22:10
jrollawesome22:11
JoshNangblah i'll have to update the spec :/22:11
JoshNangoh well22:11
JoshNangbut nice catch, thanks22:11
jrollugh22:12
jrollI think there's some updates needed anyway like s/driver/interface/22:13
*** BadCub is now known as BadCub_Away22:13
*** jjohnson2 has quit IRC22:13
NobodyCamany thoughts on in _init) or Validate()?22:13
jroll?22:13
jrolloh the ipmi thing22:13
NobodyCamoh the chat deva and I had22:13
NobodyCamyes22:13
NobodyCamI'm fond of in validate()22:14
jrollno reason to do it before the call, I think, that's only going to catch it one line sooner22:14
JoshNangjroll: oh yah, probably.22:14
jrollNobodyCam: although validate() has an api eh22:14
jrollhrm22:14
NobodyCamdevananda's suggestion was in __INIT__22:14
NobodyCamthou it super easy to chmod -w /tftpboot22:15
NobodyCamso I was thinking in each call to power validate22:15
jrollright, so there's three times we could run it here: 1) startup, 2) validate api call, 3) before each ipmi call22:15
jrollI think validate() covers both 2 and 322:15
jrollbut imbw22:15
*** mjturek1 has quit IRC22:17
NobodyCamat startup would miss any change to a runing system, ie bad puppet /salt/cf engine rule, operator error22:18
NobodyCam2 & 3 would cover that22:18
jlvillalJoshNang: jroll : Named tuples vs dict?  I guess I think   my_object.clean is cleaner than my_object['clean'], especially if we don't really care about what is the value of my_object['clean'] other than it is a unique identifier.22:19
jrolljlvillal: even if you have to have code to convert it to a dict?22:19
* jlvillal might have been the person who suggested namedtuples ;) But I thought it was for states.py. But never got around to working on it.22:20
jlvillaljroll: I don't understand.22:20
jlvillalAlso a pointer to the patch under question might be nice :)  As I don't know the specifics.22:20
jrolljlvillal: we have to put the data that's in this namedtuple into a dict later.22:20
jrollor at some point, I should say22:21
JoshNangjlvillal: nah this was way back in spec that it was proposed.22:21
JoshNanghttps://review.openstack.org/#/c/157208/ is the patch22:21
devanandaalso, my_object.get('clean') is nice, because I dont have to try: except KeyError:22:22
jlvillaljroll: JoshNang:  maybe https://docs.python.org/2/library/collections.html#collections.namedtuple  Look at the bottom where they say to make an enum it is better to do ....22:22
JoshNangit'll get stuffed in the db as json. json.dumps(namedtuple) gives you a list22:22
devanandaalso, defaultdict is great for that22:22
JoshNangdevananda: ++22:22
devanandaand this is why I don't like tuples for things that are not absolutely static22:22
devanandastates.py is a fair example where a tuple makes sense22:22
jlvillalclass Status:22:23
jlvillal        open, pending, closed = range(3)22:23
devanandathe code always knows what the values should be. unless you've REALLY broken something22:23
jlvillalclass Status:22:23
jlvillal        open, pending, closed = ('open', 'pending', 'closed')22:23
jlvillalMaybe :)22:23
devanandajlvillal: why is this a class?22:23
openstackgerritVictor Lowther proposed openstack/ironic: Add DRAC BIOS config vendor passthru API -- DO NOT MERGE  https://review.openstack.org/15048822:23
jlvillaldevananda: https://docs.python.org/2/library/collections.html#collections.namedtuple  They suggest to use a class if all you are trying to do is make an enum22:24
jlvillalInstead of using namedtuple22:24
* jlvillal only learned that last week.22:24
devanandajlvillal: uh, ok. why?22:24
jlvillaldevananda: I think because it is simpler.22:24
jlvillalThat class does look simple22:24
jlvillalThat is my best guess why22:25
devanandajlvillal: this looks nothing like what we do in states.py22:26
devananda"Named tuples assign meaning to each position in a tuple"22:26
devanandathat is not an enum22:26
devanandait is an array of fixed length where different positions have different semantic meaning. and rather than referring to the array index, you can use a name22:27
devanandaan enum is a variable with a single value that comes from a fixed set of potential values22:27
jlvillaldevananda: Agreed.  I was just looking at namedtuples and saw that about enum.  In states.py I was looking at VERBS.22:27
jlvillaldevananda: I think you are talking about all the state variables.  Like MANAGED ='', CLEANED = ''  ???22:28
jlvillaldevananda: I never pursued it though.  I was just looking.  I'm unsure what is best method.22:28
*** chuckC_ has quit IRC22:41
NobodyCamwind picking up.. /me runs outside to put the awning up!22:44
*** ijw has quit IRC22:50
openstackgerritJosh Gachnang proposed openstack/ironic: Implement Cleaning in DriverInterfaces  https://review.openstack.org/15720822:57
*** barra204_ has quit IRC22:57
*** spandhe has quit IRC22:58
*** BadCub_Away is now known as BadCub22:59
*** jgrimm is now known as zz_jgrimm23:01
*** spandhe has joined #openstack-ironic23:02
*** romcheg has quit IRC23:04
*** romcheg has joined #openstack-ironic23:05
jrolldevananda: using ironic without nova is a pain23:10
jrollrather, TIL how to manually create and plug vifs23:10
devanandajroll: flat network, trusted single tenant23:11
jlvillalJoshNang: Thanks for the devpi and wheel info.  I think it is faster.  26 seconds to create the environment.23:11
jrolldevananda: eh?23:11
jrolldevananda: even with those facts, it was painful23:11
devanandajroll: did you use neutron?23:12
*** andreykurilin_ has joined #openstack-ironic23:12
devanandai think i'm ,issing something23:12
jrolldevananda: yes, plain devstack with pxe driver23:12
JoshNangjlvillal: nice23:12
devanandajroll: oooh23:12
jrolland even that didn't work. wth23:13
devanandajroll: try using ironic w/o nova OR neutron23:13
jrolldevananda: really don't feel like configuring dhcp23:13
jrolland then *re*-configuring dhcp23:13
devanandajroll: static dhcp to the agent. local boot.23:13
jrollI guess I could use IPA23:13
jrollya23:13
devanandaright23:13
jrollstill don't want to configure dhcp :P23:14
*** anderbubble has quit IRC23:14
* jroll never claimed to know how to do that23:14
devanandaheh23:14
*** anderbubble has joined #openstack-ironic23:15
*** achanda has quit IRC23:16
*** achanda has joined #openstack-ironic23:20
*** derekh has joined #openstack-ironic23:23
*** BadCub is now known as BadCub_Away23:23
jrollBadCub_Away: it appears this might be done https://blueprints.launchpad.net/ironic/+spec/ironic-virtualbox-webservice-support23:38
jrollBadCub_Away: this one too https://blueprints.launchpad.net/ironic/+spec/irmc-management-driver23:39
NobodyCamjroll: he'll be back in a bit..23:41
jrollNobodyCam: just leaving notes :)23:42
jrollhe can update it next week for all I care :P23:42
NobodyCamdevananda: jroll: thoughts on calling somehting like this from validate? http://paste.openstack.org/show/b4MwElxD2u7qITtj9doW23:43
NobodyCam^^ is jsut ruff draft23:44
jrollNobodyCam: seems like overkill but probably fine23:44
NobodyCamI added space for temp_dir could be a diff file sysstem23:45
NobodyCamI added space CHECK for temp_dir as it could be a ...23:46
jrollya23:46
NobodyCamis that to heavy to call from validate?23:46
jrollprobably could make it 4k23:46
jrollthe space check23:46
NobodyCamyea this was jsut me thinking23:46
jrollright23:47
jrollidk if it's too heavy23:47
jrolljust seems like a lot of code23:47
NobodyCamlol have you looked at ipmitools _parse_driver_info23:50
jroll>.>23:51
NobodyCam:-p23:51
*** chuckC_ has joined #openstack-ironic23:52
*** Marga_ has joined #openstack-ironic23:52
*** Marga_ has quit IRC23:53
*** Marga_ has joined #openstack-ironic23:53
*** romcheg has quit IRC23:56
jlvillalNobodyCam: On your pastebin23:59
jlvillalWho deletes the tempdir?23:59

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