Tuesday, 2015-02-17

*** naohirot has joined #openstack-ironic00:02
*** jcoufal has quit IRC00:02
*** smoriya has joined #openstack-ironic00:07
*** mjturek1 has quit IRC00:22
*** romcheg has quit IRC00:27
*** romcheg has joined #openstack-ironic00:29
*** jcoufal_ has quit IRC00:31
*** pegmatite has joined #openstack-ironic00:32
*** pegmatite has left #openstack-ironic00:34
naohirotgood morning ironic00:38
NobodyCammorning naohirot00:38
mrdahi naohirot (& NobodyCam)00:38
naohirothi good evening NobodyCam :)00:38
NobodyCamoh hey howdy mrda00:39
NobodyCam:)00:39
NobodyCamhow was the flight?00:39
naohirotgood morning mrda :)00:39
mrdaNobodyCam: Don't ask :)00:39
mrdaGood to be home though00:39
NobodyCam:(00:39
NobodyCamyes!!!00:39
mrdaAre you back home too NobodyCam, or are you still on the road?00:40
NobodyCamgot back in lastnight at like 10:00 pm00:40
mrdaoh wow00:41
NobodyCam:)00:41
naohirotNobodyCam: don't you live in bay area ?00:41
NobodyCamnope plam springs00:42
NobodyCampalm evem lol00:42
naohirotNobodyCam: I see, you are in the same city as00:44
naohirotNobodyCam: Ironicer I couldn't recall his name00:45
jrollBadCub maybe? :P00:45
jrollmorning naohirot :)00:45
naohirotjroll: Yes, jroll00:45
naohirotjroll: good evening:)00:45
naohirotnaohirot: I used to live in san jose :)00:46
NobodyCam:)00:47
NobodyCamthey need to fix our official city webcam... it never a good shot .. lol .. ( http://www.ci.palm-springs.ca.us/index.aspx?page=100 )00:48
naohirotNobodyCam: I really missed bay area.00:48
NobodyCamI thought LA was high density but it nothing like SF was this last week.00:50
naohirotNobodyCam: Is it sun set, right now?00:50
NobodyCamin about 45 minutes00:51
NobodyCamthats just that cam00:52
NobodyCampics are always blue and out of focus00:52
naohirotNobodyCam: Yeah, it is still very bright00:53
NobodyCam:)00:53
naohirotNobodyCam: really spring is coming to palm Spring :)00:54
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Fix needless retries due to misdirected packets  https://review.openstack.org/15642400:54
NobodyCamlol did you do the tram cam ... they've  still got snow up there :)00:55
naohirotNobodyCam: No, I didn't, I wanted to visit, Is it a steam locomotion right?00:56
naohirotNobodyCam: s/locomotion/locomotive/00:57
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Fix needless retries due to misdirected packets  https://review.openstack.org/15642400:59
NobodyCamits a aerial tram : http://www.pstramway.com/history.html01:00
naohirotNobodyCam: I seems I mixed up Palm Spring and Colorado spring :)01:00
NobodyCamlol or like Durango to Silverton narrow gauge rail :) !!!! +1 to that01:01
NobodyCamhttp://www.carolglazerphotography.com/whats-new-2010b/bin/images/large/Durango_and_Silverton_Narrow_Gauge_Railroad_Train_1.jpg01:02
jrollcolorado springs > palm springs01:02
* jroll ducks01:02
openstackgerritMerged stackforge/pyghmi: Fix needless retries due to misdirected packets  https://review.openstack.org/15642401:03
NobodyCam:)01:04
NobodyCamyou say Train.. I say Tram ... lol01:04
naohirotNobodyCam: Chino Canyon seems a part of Sierra Nevada, nice mountain area like Rocky Mountains :)01:05
NobodyCam:) its really nice. thou can be strange when its 100+ at street level  and the top is still covered in snow01:07
openstackgerritShiina, Hironori proposed openstack/ironic: Fix typos in documentation: Capabilities  https://review.openstack.org/15642501:08
*** romcheg has quit IRC01:11
naohirotNobodyCam: when I visited Sequoia N.P. and Kings Canyon N.P., there were a lot of snow.01:12
NobodyCam:)01:13
naohirotNobodyCam: but I haven't visited Joshua Tree N.P. :)01:13
* NobodyCam thinks snow is best viewed from a post card01:13
naohirotNobodyCam: Yeah, I think so. :)01:15
*** PaulCzar has joined #openstack-ironic01:20
NobodyCam:)01:29
*** zhenzanz has joined #openstack-ironic01:31
*** zhenzanz has quit IRC01:58
*** jjohnson2 has quit IRC01:59
openstackgerritJosh Gachnang proposed openstack/ironic: Implement Cleaning States  https://review.openstack.org/15344402:05
naohirotNobodyCam: jroll: I'm testing irmc driver with a bare metal which has 6 NICs, and I have a problem.02:09
naohirotNobodyCam: jroll: I can deploy user image by nova boot, but the bare metal doesn't respond to ping.02:11
naohirotNobodyCam: jroll: I'm wondering IP address is not assigned to the correct NIC.02:12
naohirotNobodyCam: jroll: Is Ironic support this http://docs.openstack.org/admin-guide-cloud/content/admin-password-injection.html ?02:12
naohirotNobodyCam: jroll: If I had root password of the instance, I can check the NICs.02:13
naohirotNobodyCam: jroll: the instance of the bare metal booted from pxe/tftp (pxe_irmc driver), so the network settings should be ok between conductor and the bare metal02:18
naohirotNobodyCam: jroll: But booted instance doesn't respond to ssh as well as ping02:19
naohirotNobodyCam: jroll: But I can access to "login prompt" of the instance thought iRMC virtual video console.02:21
naohirots/thought/through/02:21
*** ramineni has joined #openstack-ironic02:40
*** lynxman has quit IRC02:57
*** lynxman has joined #openstack-ironic02:58
*** lynxman has joined #openstack-ironic02:58
*** yog__ has quit IRC03:04
jrollnaohirot: strange, I assume you're right about the IP being assigned to the wrong nic03:46
*** achanda has joined #openstack-ironic03:56
*** Marga_ has quit IRC04:12
NobodyCamJoshNang: I chatted with deva and jroll was correct with his comment about cleaned state04:14
*** stendulker has joined #openstack-ironic04:14
jrolldo I win a prize04:14
jrollNobodyCam: is that the only new agenda item?04:15
JoshNangNobodyCam: as in, no deleted/cleaning states?04:15
NobodyCamjroll: I got noticeof change yesterday: https://wiki.openstack.org/w/index.php?title=Meetings/Ironic&diff=next&oldid=7330804:16
NobodyCamas in current rev is correct04:16
jrollhmm04:17
jrollJoshNang: no *ed states04:17
jrollNobodyCam: I know some of these are old...04:17
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Support i18n  https://review.openstack.org/15610404:17
JoshNangalright!04:17
jroll(rameshg87) Whether RAID configuration should have a separate RAIDInterface or should use ManagementInterface (https://review.openstack.org/#/c/135899/) Landed! (this topic is needed only if there are objections, or comments)04:17
jrollis old04:18
jroll(mjturek) Agenda item for the next IRC meeting (the one after 02/03) - Discuss the completeness of the installation guide, specifically in regards to neutron setup.04:18
jrollmay be old?04:18
*** yuikotakada has joined #openstack-ironic04:18
jrollthere's a dupe in there too about secure boot mode04:18
jrollscrew it, we can roll through them and see what happens04:19
*** Nisha has joined #openstack-ironic04:19
NobodyCamI removed my item04:19
NobodyCamya rameshg87's item can be removed it was added on 2/9 and mjturek's was added 2/204:23
NobodyCamso both of those are old04:23
NobodyCamok that should be up to date now04:29
NobodyCam:)04:29
*** coolsvap_ is now known as coolsvap04:31
*** Marga_ has joined #openstack-ironic04:36
*** jerryz has joined #openstack-ironic04:37
jrollNobodyCam: thanks for removing those, I think the first and last items are the same but I guess we can wait and find out :)04:41
*** rameshg87 has joined #openstack-ironic04:45
*** Nisha has quit IRC04:45
*** yog_ has joined #openstack-ironic04:47
*** deva__ has joined #openstack-ironic04:47
*** pensu has joined #openstack-ironic04:47
NobodyCamadded by different people :-p04:48
ramineniNobodyCam, jroll : they are different , proposed by https://review.openstack.org/#/c/129529/ and https://review.openstack.org/#/c/135845/04:48
naohirotjroll: Hi04:49
ramineniNobodyCam, jroll : Two seperate management interfaces for both .. as both are different04:49
naohirotjroll: do you know if Ironic support password injection?  http://docs.openstack.org/admin-guide-cloud/content/admin-password-injection.html04:49
NobodyCamoh I have a +2 on 13584504:52
deva__naohirot: no, we do not04:53
jrollramineni: ok, thanks04:53
NobodyCamhey hey mr deva__ hope you are feeling better04:53
jrollnaohirot: we should/do however support using configdrive to set an admin password04:54
naohirotdeva__: thanks04:54
*** deva__ has quit IRC04:54
rameshg87naohirot, since ironic supports configdrive, you can inject passwords with that04:54
jrollconfigdrive with cloud-init, that is04:54
*** devanand_ has joined #openstack-ironic04:54
rameshg87naohirot, if you are using only ironic, use nocloud cloud-init datasource04:54
NobodyCamthats not really injection thou :-p04:54
jrolldevanand_: don't come around here and get us sick :(04:54
jrollNobodyCam: right :P04:54
jrolltheoretically you could run a rootkit, I mean, nova-agent :P04:54
devanand_NobodyCam: hi! Had some food. Still out of it and not fully here04:54
*** Marga_ has quit IRC04:55
* rameshg87 wonders how many devananda's are around :)04:55
*** Marga_ has joined #openstack-ironic04:55
NobodyCamjroll: offered to run the meeting tonight (morning for some)04:55
naohirotrameshg87: I'm using an environment using devstack04:55
devanand_Just two04:55
jrolluh oh04:55
NobodyCamlol04:56
jrollam I being thrown into this now?04:56
* jroll puts down his beer04:56
naohirot rameshg87: I'm using an environment created by devstack04:56
rameshg87naohirot, yes you can use there too04:56
NobodyCamlol04:56
naohirotrameshg87: can I ask details after the meeting?04:56
rameshg87naohirot, sure04:56
naohirotrameshg87: thanks!04:57
naohirotnaohirot: I move to meeting304:57
jrollnaohirot: afaik just add "--configdrive true" to your "nova boot" command and you will get a password04:57
devanand_I'll lurk during the meeting, but if one ofvyou can run it that'd be rally helpful04:57
jrollnaohirot: I think this is likely an environmental thing that can otherwise be fixed, though. maybe even an image thing04:57
jrolldevanand_: yeah, we got this04:57
devanand_Cheers04:57
naohirotjroll: Yeah, I need to check network environment too.04:58
*** rameshg87_ has joined #openstack-ironic04:58
*** rameshg87_ has quit IRC04:58
*** Nisha has joined #openstack-ironic05:00
*** yog_ has quit IRC05:00
*** hshiina has joined #openstack-ironic05:02
*** coolsvap is now known as coolsvap_05:02
*** pensu has quit IRC05:05
*** coolsvap_ is now known as coolsvap05:09
*** BadCub01_ has joined #openstack-ironic05:10
BadCub01_I did what?05:10
mrdaWelcome to the cool kids club, BadCub01_05:11
BadCub01_Thanks!05:11
mrdait's now official in the meeting minutes :)05:11
BadCub01_very cool :-)05:12
*** BadCub01_ has quit IRC05:16
*** devlaps has quit IRC05:16
*** BadCub01_ has joined #openstack-ironic05:16
*** BadCub01_ has left #openstack-ironic05:17
*** BadCub01_ has joined #openstack-ironic05:20
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Support i18n part2  https://review.openstack.org/15611505:21
*** pradipta has joined #openstack-ironic05:22
*** faizan_ has joined #openstack-ironic05:26
*** jrist is now known as jrist-afk05:26
*** pensu has joined #openstack-ironic05:30
*** achanda has quit IRC05:43
*** achanda has joined #openstack-ironic05:46
*** pcaruana has quit IRC05:47
*** killer_prince is now known as lazy_prince05:48
*** davideagnello has quit IRC05:53
*** coolsvap is now known as coolsvap_05:53
*** coolsvap_ is now known as coolsvap06:00
jrollI see no reason why oslo-incubator would be an advantage06:00
jrollI guess is my main point06:01
jrollit has clear disadvantages06:01
devanand_It's light weight06:01
jrollpip install is not?06:01
devanand_Let's each consuming project choose when to pull changes in06:01
*** wanyen has joined #openstack-ironic06:01
jrollidk what you mean by lightweight06:01
jroll... if openstack pinned dependencies in a remotely sane way, we could do that with any library06:02
devanand_And doesn't require versioning, api backwards compatibility, etc06:02
devanand_Right. But we don't. And were can't.06:02
jrollI explicitly want api compat06:02
jrollbecause we depend on that api06:02
devanand_Pip is incapable of sanely pinning dependencies06:02
jrollfor installing the world in one environment, yes06:02
devanand_Oh. Containers06:03
jrollor virtualenvs06:03
devanand_Right06:03
jrollsomething the rest of the python community has done for years06:03
jrollpeople do downstream06:03
jrolletc06:03
devanand_Fair06:03
jrollidk, I've stated my opinion, I'm only going to get more upset about this06:03
* jroll waits for someone to ask for a spec on this06:04
*** jcoufal has joined #openstack-ironic06:05
devanand_That's fine - new library it is then06:05
faizan_jroll: can you please let me know what is the process for hosting this library?06:06
jrollthere is a process, I don't know much about it, infra team would know more06:07
jrollfaizan_: let me grab a link, we did the same recently with the ipa builder06:07
jrollfaizan_: https://review.openstack.org/#/c/155868/06:07
NobodyCamdevanand_: I am going to add "devanand_ > That's fine - new library it is then" to the agenda so folks can see that06:08
NobodyCam?06:08
devanand_NobodyCam: I'll just comment on the review when it is posted06:09
*** Marga_ has quit IRC06:09
NobodyCamack :)06:09
Nishadevanand_, link https://review.openstack.org/147857 for Add states for inspection,06:09
jrolloh right, I meant to ask about that06:10
jrolldevanand_: you said earlier to burn all of the *ED states?06:10
Nishait needs your review as there had been different views on it06:10
*** faizan_ has quit IRC06:10
Nishajroll, :)06:10
devanand_jroll: defer, not burn ...06:10
jrollright06:10
devanand_So far no one seems to need them06:11
Nishadevanand_, what does no-op state do06:11
devanand_But in theory they will be needed in the future06:11
Nishameans we transition from INSPECTING-> MANAGEABLE?06:11
Nishaor INSPECTING->INSPECTED and then INSPECTED-> MANAGEABLE06:11
*** viktors has quit IRC06:12
devanand_I'll take a look06:13
Nishadevanand_, so i should go with below transitions ? i.e. INSPECTING->INSPECTED and then INSPECTED-> MANAGEABLE06:13
Nishadevanand_, thanks06:13
devanand_Then I need to go back to bed. Still sick...06:13
Nishadevanand_, ok.06:14
BadCub01_get some rest devanand_06:14
jrollnight deva06:14
Nishagood night devanand_06:14
Nishajroll, i had a question on api versioning thing.06:15
NobodyCamnight devanand_06:15
jrollNisha: sure, but I need to go to bed soon too06:15
jrollpast 10pm here06:15
Nishajroll, :)06:15
Nishain ironic/api/controllers/v1/node.py, we have a function as check_allow_management_verbs()06:16
Nishathat has a check for "pecan.request.version.minor < 4"06:16
Nishahow do get the version greater than 3?06:16
openstackgerritOpenStack Proposal Bot proposed openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/15597006:16
jrollNisha: there's a header you can pass, X-OpenStack-Ironic-Version or something06:17
Nishaactually from cli this doesnt get parsed thru06:17
jrollNisha: people are working on it for the cli https://review.openstack.org/#/c/155624/06:17
jrolluntil then use curl I guess06:17
* BadCub01_ is heading to bed. See everyone tomorrow!06:18
Nishaohk :)06:18
Nishajroll, thanks06:18
jrollnp06:18
*** BadCub01_ has quit IRC06:18
Nishagood night jroll06:19
jrollnight06:19
Nishaits morniing here :)06:19
devanand_Nisha: this isn't necessary06:19
devanand_machine.add_transition(INSPECTING, INSPECTED, 'inspect')06:19
Nishadevanand_, so you means we transit from INSPECTIG-> MANAGEABLE?06:20
devanand_See line 1777 of https://review.openstack.org/#/c/149823/16/ironic/conductor/manager.py,cm06:20
devanand_How there are two state transitions there06:20
Nishadevanand_, yes06:20
devanand_Oh. So that's the no-op06:21
Nishaso i was actually updatin the last_inspected field during first transition06:21
devanand_Yup. And I'd there was a call back, the first one would call it06:21
devanand_But these are still both driven by the same event06:22
devanand_The driver returning INSPECTED06:22
Nishadevanand_, do u mean same verb?06:22
Nishadriver returns just the state, it is not set by driver in this case06:23
devanand_Right. I'd actually like to replace this sort of flow, where a driver returns a state06:23
devanand_I did that for all the other states already06:23
Nishait is set when driver returns to conductor and calls event('inspect') where it updates the state and last_inspected field06:24
Nishadevanand_, ok06:24
devanand_And stated using event based call backs06:24
*** yog__ has joined #openstack-ironic06:24
devanand_Nisha: I should review this when in more awake06:25
Nishadevanand_, yes,06:25
devanand_It looks good, I think06:25
Nishalook at patch set 1506:25
Nishaalso06:25
Nishaof generic inspection06:25
Nishain that driver doesnt return anything to conductor06:25
Nishadevanand_, actually only this is mainly holding inspection code06:26
Nisha:)06:26
devanand_But not now. Right now, I need to rest. Will look tomorrow06:27
Nishadevanand_, yes06:27
Nishaagree06:28
Nisha:)....06:28
devanand_Good night :)06:28
Nishagood night devanand_06:28
*** devanand_ has quit IRC06:28
naohirotdevanand_: jroll: good night06:28
naohirotrameshg87: do you have time?06:29
naohirotrameshg87: I'm reading http://docs.openstack.org/user-guide/content/enable_config_drive.html06:29
Nishanaohirot, rameshg87 is in meeting in office06:30
Nishahe will ping u once back06:31
naohirotNisha: Hi, okay thinks06:31
naohirotNisha: s/thinks/thanks/06:31
Nishanaohirot, :)06:31
naohirotNisha: :)06:31
*** jerryz has quit IRC06:59
*** yuriyz has quit IRC07:07
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Support i18n part2  https://review.openstack.org/15611507:14
*** dlpartain has joined #openstack-ironic07:15
*** dlpartain has left #openstack-ironic07:15
*** ukalifon1 has joined #openstack-ironic07:17
*** yog__ has quit IRC07:24
*** yog__ has joined #openstack-ironic07:24
*** gridinv has joined #openstack-ironic07:29
*** hshiina has quit IRC07:33
*** gridinv has quit IRC07:43
*** achanda has quit IRC07:47
*** mkerrin has joined #openstack-ironic07:54
*** achanda has joined #openstack-ironic07:54
*** Nisha has quit IRC08:03
*** andreykurilin_ has joined #openstack-ironic08:05
*** chlong has quit IRC08:11
*** ifarkas has joined #openstack-ironic08:11
*** gridinv has joined #openstack-ironic08:20
*** achanda has quit IRC08:20
*** dtantsur|afk is now known as dtantsur08:23
*** achanda has joined #openstack-ironic08:24
*** achanda has quit IRC08:30
*** achanda has joined #openstack-ironic08:37
*** wanyen has quit IRC08:41
openstackgerritAnusha Ramineni proposed stackforge/proliantutils: Update ris module to be consistent with operations  https://review.openstack.org/15650608:42
*** Nisha has joined #openstack-ironic08:43
*** achanda has quit IRC08:47
*** bauwser is now known as bauzas08:47
*** pensu has quit IRC08:50
*** yuriyz has joined #openstack-ironic08:50
*** jistr has joined #openstack-ironic08:51
*** viktors has joined #openstack-ironic08:52
*** yuikotakada has quit IRC08:53
*** mkerrin has quit IRC08:53
*** yuriyz has quit IRC08:55
*** jerryz has joined #openstack-ironic08:57
openstackgerritRyan Moore proposed openstack/ironic: Don't write PXE config file during takeover  https://review.openstack.org/15625008:58
*** pas-ha has joined #openstack-ironic08:59
*** yuriyz has joined #openstack-ironic09:07
*** lucasagomes has joined #openstack-ironic09:09
openstackgerritMerged stackforge/ironic-discoverd: Support i18n  https://review.openstack.org/15610409:16
openstackgerritMerged stackforge/ironic-discoverd: Functional test for setting IPMI credentials  https://review.openstack.org/14282309:17
*** pensu has joined #openstack-ironic09:19
openstackgerritMerged stackforge/ironic-discoverd: Don't wait for too long for IPMI credentials update  https://review.openstack.org/15614409:20
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Fix i18n import  https://review.openstack.org/15651309:20
openstackgerritMerged stackforge/ironic-discoverd: Also set IPMI address if it's not set already  https://review.openstack.org/15615609:21
openstackgerritRyan Moore proposed openstack/ironic: Don't write PXE config file during takeover  https://review.openstack.org/15625009:23
*** romcheg has joined #openstack-ironic09:28
*** romcheg has quit IRC09:29
openstackgerritMerged stackforge/ironic-discoverd: Fix i18n import  https://review.openstack.org/15651309:30
openstackgerritDmitry Tantsur proposed stackforge/ironic-discoverd: Support i18n part2  https://review.openstack.org/15611509:32
*** athomas has joined #openstack-ironic09:32
*** Nisha has quit IRC09:35
*** vdrok_afk is now known as vdrok09:36
rameshg87naohirot, hi09:41
naohirotrameshg87: hi09:41
rameshg87naohirot, do you any questions still left for me ? :)09:42
naohirotrameshg87: I roughly understood what is configdrive, I think.09:42
rameshg87naohirot, okay :)09:42
rameshg87naohirot, do you test with nova or ironic alone ?09:42
naohirotrameshg87: then how do I know what kind of metadata alow me to login with plain password?09:42
rameshg87naohirot, i am not sure about nova config drives09:43
naohirotrameshg87: no, I'm using all of services.09:43
rameshg87naohirot, but config drive can have user scripts which can have cloud-config09:43
naohirotrameshg87: nova, keystone, neutron, etc09:43
rameshg87naohirot, i use only ironic most of the time (i mean i test my deployments triggering them through ironic command-line)09:44
rameshg87naohirot, i use nocloud data source09:44
naohirotrameshg87: what is cloud-config?09:44
*** romcheg has joined #openstack-ironic09:45
rameshg87naohirot, https://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_12.04_LTS_.28Precise.29_and_beyond_using_NoCloud09:45
rameshg87naohirot, i use this09:45
rameshg87naohirot, just generate the configdrive using cloud-localds09:46
rameshg87naohirot, gzip it and base64 encode it09:46
rameshg87naohirot, provide it in instance_info['configdrive']09:46
rameshg87naohirot, as i said i always trigger deployments from ironic (not from nova)09:47
rameshg87naohirot, from nova --configdrive should be a better alternative (as jroll said)09:47
naohirotrameshg87: I'm okay to use nova --configdrive, but I haven't understood what kind of data I should pass.09:49
naohirotrameshg87: my understanding of configdrive is a way to pass some data to instance, right?09:50
rameshg87naohirot, http://docs.openstack.org/user-guide/content/inserting_userdata.html09:50
rameshg87naohirot, you can use --user-data09:50
naohirotrameshg87: my question is that passing what kind of data allow me to login ubuntu with plain password09:51
rameshg87naohirot, somethign like this: http://paste.openstack.org/show/175893/09:52
rameshg87naohirot, you can pass this as --user-data09:52
rameshg87naohirot, it will allow you to login with 'passw0rd' on cloud images running cloud-init09:52
naohirotrameshg87: Okay, it seems everything is described in https://help.ubuntu.com/community/UEC/Images#Ubuntu_Cloud_Guest_images_on_12.04_LTS_.28Precise.29_and_beyond_using_NoCloud09:55
naohirotrameshg87: I'll take a look, thanks!09:55
naohirotrameshg87: my network will be disconnected at 19:00 Oclock here.09:56
naohirotrameshg87: I'll ask you if I further question09:57
rameshg87naohirot, sure ...09:58
rameshg87lucasagomes, hi10:00
*** arif-ali has joined #openstack-ironic10:00
*** jerryz has quit IRC10:03
viktorsdtantsur: hi!10:07
dtantsuro/10:08
lucasagomesrameshg87, pong10:09
lucasagomesrameshg87, just reviewed the raid spec10:10
viktorsdtantsur: I have a question as for py3 testing in Ironic - should we use py33 or py34 for it?10:10
viktorsI see py34 only in openstack-infra/project-config10:10
dtantsurviktors, IIRC infra switched to py3410:10
*** pelix has joined #openstack-ironic10:10
viktorsyes, so should we use py34 only for Ironic?10:11
rameshg87lucasagomes, oh thanks .. :)10:11
rameshg87lucasagomes, actually i pinged for a different reason .. :)10:12
lucasagomesrameshg87, sure10:12
rameshg87lucasagomes, the localboot changes, it's hard to figure out if bootloader got successfully installed or not10:12
rameshg87lucasagomes, ironic already sets the node to active state, and doesn't know if it failed10:12
rameshg87lucasagomes, am i correct ?10:12
rameshg87lucasagomes, have some thoughts ?10:13
rameshg87lucasagomes, i think ramdisk should inform back ironic after a successfuly bootloader installation (it's easy to figure out if it happened successfully or not)10:13
lucasagomesrameshg87, yes :( that's why I want IPA to be the default ramdisk so I can have better control over it10:13
lucasagomesI can pool the status and check whether it really succeed10:13
rameshg87lucasagomes, oh so it's in plan ?10:13
lucasagomesnow, on the previous ramdisk... we could have a new endpoint10:14
rameshg87lucasagomes, yeah i felt so ..10:14
lucasagomesto basically say like /deploy_is_done10:14
rameshg87lucasagomes, how about a vendor passthru for just communicating this10:14
lucasagomeswhich would give Ironic the control over the node again and it can reboot from there10:14
lucasagomesrameshg87, yeah it could be too10:14
rameshg87lucasagomes, and then ironic go and turn the node to active10:14
lucasagomesrameshg87, yeah10:14
lucasagomesthat also works10:14
rameshg87lucasagomes, shall i just file a bug for development on pxe ramdisk ?10:15
lucasagomesrameshg87, please do10:15
rameshg87lucasagomes, i think i can pursue this after i am done with localboot changes for iscsi_ilo drive10:15
rameshg87*driver10:15
lucasagomesit shouldn't be hard to fix, using /continue_deploy and /deploy_is_done should do the work10:15
rameshg87yeah10:15
lucasagomesrameshg87, cool10:15
lucasagomesthanks for that10:15
rameshg87thanks :)10:15
viktorsdtantsur: so I suppose to add env for py33 and py34. Should I add them both to default test envlist?10:16
rameshg87lucasagomes, one more question10:16
lucasagomessure10:16
dtantsurviktors, honestly I don't know... this should be discussed more widely10:16
rameshg87lucasagomes, is there some way i can get grub installed on dib ramdisk when it is built10:16
rameshg87lucasagomes, now i just mounted qemu image and install grub-pc on it10:17
*** stendulker has quit IRC10:17
viktorsdtantsur: ok, thanks anyway10:17
rameshg87lucasagomes, i assume it's still not supported in grub10:17
rameshg87i mean in dib10:17
* viktors went fix tests for py3410:17
lucasagomesrameshg87, it seems possible yes /me thinking10:17
lucasagomesI think you could pass some param to install grub in a given directory which is a os fs10:18
lucasagomesalternatively it's also possible to use extlinux10:18
lucasagomeswhich is wayeasier to work with10:18
lucasagomesjust need to copy the boot loader code to the MBR to the begin of the disk10:18
viktorsby the way, is there anybody familiar with Infra project-config ?10:18
lucasagomesand generate the config file for the partiton (you already have the root UUID and all)10:19
rameshg87lucasagomes, i meant fs image with grub installed10:19
dtantsurviktors, #openstack-infra? :) I did some hacking for stackforge/ironic-discoverd, but I'm not a guru10:19
rameshg87lucasagomes, if i do "disk-image-create ubuntu baremetal", the cloud image that is created doesn't have grub installed10:20
rameshg87lucasagomes, so the ramdisk is not able to find /usr/sbin/grub-install on the install image10:20
viktorsdtantsur: can you please check, that I don't break anything by this one - https://review.openstack.org/#/c/156530 ?10:20
lucasagomesrameshg87, ohh... hmmm it should be like installing any other package in the image right?10:21
* lucasagomes thinks10:21
dtantsurviktors, lgtm10:21
viktorsdtantsur: thanks10:21
rameshg87lucasagomes, yes, for ubuntu it's grub-pc10:21
rameshg87lucasagomes, i just mounted the image using qemu-nbd, chrooted to it and installed using apt-get10:22
rameshg87lucasagomes, i think dib should do this10:22
lucasagomesrameshg87, yeah it should10:22
rameshg87lucasagomes, btw did you test with fedora cloud image ? does it have grub in it ?10:22
lucasagomesrameshg87, I will check with some rh people, because we do have a element that install grub afaik10:23
lucasagomesrameshg87, yeah, but I did the same as you. And then some people that works on tripleo created the proper element10:23
lucasagomesfor the image we use10:23
lucasagomesand that installs grub and all10:23
lucasagomesafaict10:23
rameshg87lucasagomes, okay10:24
lucasagomesrameshg87, if you just add a script to the install.d that install grub2 does it work?10:25
rameshg87lucasagomes, yes i think it should10:26
rameshg87lucasagomes, may be as part of ubuntu element itself ?10:26
rameshg87lucasagomes, https://github.com/openstack/diskimage-builder/tree/master/elements/ubuntu ?10:27
lucasagomesyeah or a diff element, not sure they want to include grub in all images10:27
*** Nisha has joined #openstack-ironic10:30
*** leopoldj has joined #openstack-ironic10:32
*** athomas has quit IRC10:35
*** PaulCzar has quit IRC10:37
openstackgerritVladyslav Drok proposed openstack/ironic: Support for non-Glance image references  https://review.openstack.org/13674110:38
*** leopoldj has quit IRC10:38
*** athomas has joined #openstack-ironic10:39
rameshg87lucasagomes, did you test your change on 64-bit hardware ? baremetal or vm ?10:53
rameshg87lucasagomes, i see bootloader being installed when ramdisk calls /usr/sbin/grub-install10:53
lucasagomesrameshg87, the DIB change?10:53
lucasagomesI tested on VM only, dtantsur did you test on baremetal?10:53
rameshg87lucasagomes, when i do hexdump on first sector i can see grub bootlodare there10:53
rameshg87lucasagomes, but bare metal is not booting from disk :(10:54
lucasagomesrameshg87, hmmmm, I can def take a look at the ramdisk10:54
dtantsurlucasagomes, what exactly?10:54
lucasagomesrameshg87, what is the error10:54
lucasagomesdtantsur, local boot10:54
* dtantsur is sick and barely catches up10:54
rameshg87lucasagomes, no error10:54
rameshg87lucasagomes, grub installed successfully10:55
dtantsurlucasagomes, IIRC I did10:55
rameshg87lucasagomes, hexdump shows grub is installed10:55
lucasagomesrameshg87, it tries to boot and fail? or just say can't boot from device10:55
lucasagomesdtantsur, right thanks10:55
rameshg87lucasagomes, i dropped to a shell just before rebooting10:55
rameshg87lucasagomes, i can see grub in first sectore10:55
rameshg87lucasagomes, it says invalid disk10:55
rameshg87lucasagomes, when bios tries to boot from it10:55
openstackgerritMerged openstack/ironic: Fix file permissions in project  https://review.openstack.org/15630510:57
openstackgerritMerged openstack/ironic: Fix file permissions in project  https://review.openstack.org/15630510:57
*** foexle has joined #openstack-ironic10:57
lucasagomesrameshg87, I see hmm10:58
* lucasagomes thinking now10:58
lucasagomesrameshg87, you end up in the grub shell right? can you try to boot from there?10:59
lucasagomeshttp://www.chrissearle.org/2008/08/13/Booting_from_grub_shell/10:59
rameshg87lucasagomes, no i don't end up in grub-shell10:59
rameshg87lucasagomes, after installing grub, baremetal reboots10:59
rameshg87lucasagomes, and when bios attempts to boot from disk, it says can't boot from disk11:00
*** jcoufal_ has joined #openstack-ironic11:00
rameshg87lucasagomes, wondering if something to do with 32 bit vs 64 bit11:00
rameshg87lucasagomes, but 32-bit grub should work on 64-bit machine11:00
lucasagomesrameshg87, I see, indeed11:00
lucasagomesyeah the grub install my look at the host image which it's booted and install the bootloader according to it11:01
*** jcoufal has quit IRC11:03
*** ramineni has quit IRC11:04
*** lxsli has joined #openstack-ironic11:09
*** lxsli has left #openstack-ironic11:09
rameshg87lucasagomes, got the issue11:31
rameshg87lucasagomes, we have to mark the partition as active11:31
lucasagomesrameshg87, oh11:31
rameshg87lucasagomes, don't know but seems like some bios has this issue11:31
lucasagomesis it something we can do via ironic interface?11:32
lucasagomesperhaps as part of the set_boot_device thing?11:32
rameshg87lucasagomes, won't boot unless some partition is marked as active in the partition table11:32
rameshg87lucasagomes, we have to do it in partition table11:32
rameshg87lucasagomes, may be parted can do it i guess11:32
lucasagomesrameshg87, +1 indeed, true...11:33
lucasagomesas part of parted we should indicate it indeed11:33
rameshg87lucasagomes, for now from the installed image, i just went into fdisk and did 'a' on root partition11:34
rameshg87lucasagomes, that marked partition as active11:34
rameshg87lucasagomes, and then it started booting11:34
rameshg87lucasagomes, http://www.gnu.org/software/parted/manual/parted.html11:34
lucasagomesdef add_partition(self, size, part_type='primary', fs_type='',11:34
lucasagomes                      bootable=False):11:34
lucasagomeswe can pass it in Ironic already11:34
rameshg87lucasagomes, oh11:34
lucasagomesbut I think I'm not passing it when formating the disk11:35
lucasagomeswe may have everything we need tho, we know it's local boot so we should add the root partition as bootable11:35
lucasagomesrameshg87, I will put a patch up for that soonish if u want11:35
lucasagomesor if u want to go ahead and do it no problem too11:35
rameshg87lucasagomes, i am leaving for home right now, i will be back in a few hours11:36
rameshg87lucasagomes, if you are not doing that by that time, i will pick it up11:36
lucasagomesrameshg87, right, I'm just finishing adding some tests to IPA11:36
rameshg87lucasagomes, okay11:36
lucasagomesif I finish soon I do it, otherwise u can pick it11:36
lucasagomesyeah11:36
lucasagomesthanks rameshg87 !11:36
rameshg87thanks :)11:36
rameshg87bye11:36
*** rameshg87 has quit IRC11:36
*** smoriya has quit IRC11:43
openstackgerritPavlo Shchelokovskyy proposed openstack/ironic: Remove docs in proprietary formats  https://review.openstack.org/15655411:46
*** andreykurilin_ has quit IRC11:57
*** andreykurilin__ has joined #openstack-ironic11:57
openstackgerritLucas Alvares Gomes proposed openstack/ironic-python-agent: Add iscsi extension  https://review.openstack.org/15572711:59
openstackgerritSirushti Murugesan proposed openstack/ironic: Adds support for deploying whole disk images  https://review.openstack.org/15014212:04
openstackgerritDmitry Tantsur proposed openstack/ironic: WIP: add module for in-band inspection using ironic-discoverd  https://review.openstack.org/15656212:09
*** BertieFulton has joined #openstack-ironic12:10
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Vendorpassthru doesn't get correct 'self'  https://review.openstack.org/15624412:22
lucasagomesadded tests to ^12:22
*** dprince has joined #openstack-ironic12:25
*** lucasagomes is now known as lucas-hungry12:28
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Support i18n part3  https://review.openstack.org/15611912:38
*** antonym has quit IRC12:43
*** pradipta has quit IRC12:49
*** jjohnson2 has joined #openstack-ironic12:49
openstackgerritNaohiro Tamura proposed openstack/ironic: Fix ml2_conf.ini settings  https://review.openstack.org/15609212:54
*** antonym has joined #openstack-ironic12:58
*** yuikotkada has joined #openstack-ironic13:00
*** pas-ha has quit IRC13:00
*** Nisha has quit IRC13:00
*** athomas has quit IRC13:01
*** pas-ha has joined #openstack-ironic13:01
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Support i18n part3  https://review.openstack.org/15611913:01
openstackgerritNaohiro Tamura proposed openstack/ironic: Add iRMC Management module for iRMC Driver  https://review.openstack.org/14680313:01
*** athomas has joined #openstack-ironic13:06
*** rameshg87 has joined #openstack-ironic13:13
rameshg87is there some issue with sshing to review.openstack.org ?13:15
rameshg87i can access review.openstack.org through web, but not able to raise review13:15
*** martini has joined #openstack-ironic13:17
gilliardrameshg87: I've just been able to pull a patch over ssh. It did take a minute or so though...13:18
rameshg87gilliard, thanks .. will wait for a few mins and see13:19
*** athomas has quit IRC13:22
*** Marga_ has joined #openstack-ironic13:22
*** pas-ha has quit IRC13:27
*** athomas has joined #openstack-ironic13:28
*** pensu has quit IRC13:28
openstackgerritRamakrishnan G proposed openstack/ironic: Add driver interface for RAID configuration  https://review.openstack.org/15523013:28
gilliardrameshg87: you got it, then?13:29
rameshg87gilliard, yeah just got it back working  :)13:29
openstackgerritNaohiro Tamura proposed openstack/ironic: Add iRMC Virtual Media Deploy module for iRMC Driver  https://review.openstack.org/15195813:29
*** lucas-hungry is now known as lucasagomes13:29
*** pas-ha has joined #openstack-ironic13:42
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Add AgentVendorPasshtru for the PXE driver  https://review.openstack.org/15572813:43
*** yog__ has quit IRC13:43
*** Marga_ has quit IRC13:44
*** pensu has joined #openstack-ironic13:45
openstackgerritRamakrishnan G proposed openstack/ironic: Root partition should be marked as bootable  https://review.openstack.org/15658713:46
*** Nisha has joined #openstack-ironic13:47
*** HenryG has quit IRC13:49
*** HenryG has joined #openstack-ironic13:52
*** rloo has joined #openstack-ironic13:53
rameshg87lucasagomes, hi13:56
lucasagomesrameshg87, hi there13:56
*** dprince has quit IRC13:56
rameshg87lucasagomes, https://review.openstack.org/#/c/156244/2/ironic/tests/drivers/test_base.py13:56
lucasagomesrameshg87, yeah, making sure the references are different13:57
rameshg87lucasagomes, i am still wondering instantiating twice is the real culprit of the problem13:57
lucasagomesrameshg87, why?13:57
lucasagomes(if you remove ur change on base.py, you'll see those tests failing)13:57
rameshg87lucasagomes, i agree tests will fail13:58
rameshg87lucasagomes, but is that the real problem ?13:58
lucasagomesrameshg87, with the inheritance you mean?13:58
lucasagomesthe problem was that we were passing the same dictionary reference across all instances13:58
rameshg87lucasagomes, yeah13:58
lucasagomesinherited or not, so all the references would be pointing to 'func' of the last instantiate object13:59
rameshg87lucasagomes, but the actual problem was that 'func' in all those instances were wrong, right ?13:59
lucasagomesthat's the problem I see, not sure if there's more hidden stuff there13:59
lucasagomesrameshg87, they all were pointing to the last instantiate object func13:59
rameshg87lucasagomes, but if i look at code14:00
lucasagomesbecause that's the last modification to the dictionary (which was being referencied across all instances)14:00
rameshg87lucasagomes, we create a new instance everytime here: https://github.com/openstack/ironic/blob/master/ironic/drivers/base.py#L44614:00
rameshg87lucasagomes, right ?14:00
*** stendulker has joined #openstack-ironic14:00
lucasagomesrameshg87, yes14:01
lucasagomesbut the decorators add _vendor_routes and _driver_routes14:01
lucasagomesin the class, before instantialization14:01
lucasagomesso it's the same for all instances14:01
*** stendulker_ has joined #openstack-ironic14:02
*** trown|outttypeww is now known as trown14:02
*** Guest90435 has joined #openstack-ironic14:02
rameshg87lucasagomes, but each instance had it's own vendor route, right ?14:02
*** Guest90435 is now known as annegentle14:02
rameshg87lucasagomes, and we did inspect each instance to get the methods: https://github.com/openstack/ironic/blob/master/ironic/drivers/base.py#L45114:03
rameshg87lucasagomes, i mean we inspected the actual child classes14:03
lucasagomesrameshg87, yeah, the _vendor_routes are pretty much the same across all isntances... but on __new__ we make each instance to have it's own vendor_routes (no _ prefixed) pointing to the functions in that instance14:04
*** stendulker has quit IRC14:05
lucasagomesrameshg87, I'm happy to add more tests re inheritance too14:05
rameshg87lucasagomes, but where is _vendor_routes ? :)14:05
rameshg87i am not able to find them ..14:05
lucasagomesrameshg87, https://github.com/openstack/ironic/blob/master/ironic/drivers/base.py#L40414:06
lucasagomes_vendor_metadata sorry14:06
lucasagomesit's added as a attribute to the function definition in the class14:06
rameshg87lucasagomes, but func is a bound method, right ?14:07
lucasagomesrameshg87, yes, and you can add attributes to it14:07
*** mjturek1 has joined #openstack-ironic14:07
lucasagomesIn [1]: def func():14:07
lucasagomes   ...:     pass14:07
lucasagomes   ...:14:07
lucasagomesIn [2]: func._test = "aaaaaaaa"14:07
lucasagomesIn [3]: func._test14:07
rameshg87lucasagomes, so since func is a bound method, wouldn't it be different for each instances ?14:07
lucasagomesOut[3]: 'aaaaaaaa'14:07
lucasagomesrameshg87, we add it in the decorator, so it's before instantiation14:08
rameshg87lucasagomes, hmm .. i will do one thing, i really haven't seen _passthru in detail14:08
rameshg87lucasagomes, i will check this in more detail and will ping you again14:09
lucasagomesrameshg87, yup check it out, it's a bit blackmigicish14:09
rameshg87lucasagomes, yeah it really is :)14:09
lucasagomesheh14:09
lucasagomesbut decorators are like that14:09
lucasagomessame for metaclasses14:09
lucasagomesrameshg87, IPA does something similar AFAIR14:09
rameshg87lucasagomes, okay14:09
rameshg87lucasagomes, the problem is i still don't have a full understanding of where the problem that i am solving is created14:10
lucasagomesrameshg87, https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/extensions/base.py#L27214:10
rameshg87lucasagomes, i kind of know the problem, know the solution which works, but don't know where it is getting created :)14:10
rameshg87lucasagomes, i think i will need to learn this more14:10
lucasagomesadding attributes to functions as part of the decorator14:10
lucasagomesit's a normal thing actually, tho it's not striagh forward14:11
lucasagomesrameshg87, the problem is being created at the instantiation time14:11
rameshg87okay ..14:11
lucasagomessay, you instantiate a class once14:11
lucasagomesone of the methods is decorated with our @passhtru decorator14:11
lucasagomesso it will get the _vendor_metadata that was added by the decorator to the method decorated with @passthru14:12
lucasagomesthen as we didn't do a copy() of it, it will add a key 'func' pointing to the reference of the method decorated from the instance object14:12
lucasagomesbecause we can't call Class.method() if it's not a staticmethod14:12
lucasagomesneeds to come from an instance14:13
lucasagomesthen... we instantiate it again14:13
lucasagomessame thing, but on the second instance we are changing 'func' to point to the method of the new instance14:13
lucasagomesremmeber it wasn't copy()'ed14:13
lucasagomesso it will also change the metadata from the instance 114:13
lucasagomesbecause that metadata was the same dictionary14:14
lucasagomesrameshg87, gotcha?14:14
rameshg87lucasagomes, yeah ..14:14
rameshg87lucasagomes, i understood the explanation ..14:14
rameshg87lucasagomes, i will try to add the inheritance test case later ..14:14
lucasagomesrameshg87, ack14:14
rameshg87lucasagomes, might come back again with more questions if i stumble upon something there14:15
rameshg87:)14:15
lucasagomesrameshg87, cool np14:15
rameshg87lucasagomes, btw https://review.openstack.org/#/c/156587/14:15
lucasagomesmaybe there's a better way to create those maps too, this way seems blackmagic as I said14:15
rameshg87lucasagomes, the bootable partition issue14:15
rameshg87:)14:15
*** Marga_ has joined #openstack-ironic14:15
lucasagomesrameshg87, cool, thanks!14:16
*** rameshg87 is now known as rameshg87-brb14:19
stendulker_lucasgomes: Hi14:20
*** Marga_ has quit IRC14:20
stendulker_lucasgomes: This is regarding code review - Ilo drivers sets capabilities:boot_mode in node https://review.openstack.org/#/c/155731/14:20
lucasagomesstendulker_, hi there, thanks I will take a look14:21
stendulker_lucasgomes: You had few questions on implementation, have answered tham in the review.14:22
stendulker_lucasgomes: Thank you14:22
lucasagomesthanks u for the reply14:23
openstackgerritVictor Sergeyev proposed openstack/ironic: Run tests in py34 environment  https://review.openstack.org/15619214:23
openstackgerritVictor Sergeyev proposed openstack/ironic: Use mock from standard library in py3x env  https://review.openstack.org/15660014:23
openstackgerritYuiko Takada proposed stackforge/ironic-discoverd: Support i18n part3  https://review.openstack.org/15611914:24
*** yuikotkada has quit IRC14:24
*** stendulker has joined #openstack-ironic14:26
*** stendulker_ has quit IRC14:28
*** yog__ has joined #openstack-ironic14:30
*** derekh has quit IRC14:33
*** derekh has joined #openstack-ironic14:35
*** zz_jgrimm is now known as jgrimm14:40
gilliardlucasagomes: I tried to review your nova patch and now I'm watching baha men!!?!14:47
lucasagomesgilliard, what is that? hah14:47
lucasagomeswhich patch?14:48
gilliardhttps://review.openstack.org/#/c/145302/4/nova/tests/unit/virt/ironic/test_driver.py14:48
lucasagomesLOL14:48
lucasagomesohhhhhh hah14:48
lucasagomesgilliard, that's a super funny patch to review man :P14:48
gilliardsrsly though. Many of the changes in the test don't seem to be related to the change in the driver.14:50
lucasagomesgilliard, :/ yeah, I just fixed some stuff to use the alreayd created node object14:51
lucasagomesinstead of creating it all the time14:51
lucasagomesI could remove it tho, but doesn't really affect anything14:52
lucasagomesgilliard, as a background, that bit was part of the previous patch that merged with the base config driver14:52
lucasagomesso I split that up, the changes came from that so I just left as is14:52
gilliardRight - I thought it would be something like that.14:52
gilliardAnd the changes all look fine, of course :)14:53
*** yog__ has quit IRC14:55
lucasagomesgilliard, cool :)14:55
gilliard+1.  If it still doesn't merge, you will get a lot more core-reviewer-eyeballs if it links to a bug somehow.14:55
gilliardBut 9 +1s and a +2 should be....14:55
*** lazy_prince is now known as killer_prince14:56
openstackgerritRamakrishnan G proposed openstack/ironic: Add localboot support for iscsi_ilo driver  https://review.openstack.org/15660814:58
lucasagomesgilliard, I see, yeah I posted in the -nova channel to get some more [core] eyeballs into it14:59
lucasagomesthanks for the tips14:59
*** naohirot has quit IRC15:04
*** BadCub_ has joined #openstack-ironic15:05
BadCub_Morning Ironic15:05
NobodyCamgood morning Ironicers :)15:06
NobodyCammorning BadCub_ , lucasagomes , gilliard :)15:06
lucasagomesNobodyCam, morning15:06
jrollmorning BadCub_ NobodyCam lucasagomes gilliard and everyone else :D15:06
lucasagomesjroll, morning15:07
NobodyCammorning jroll :)15:07
*** ndipanov has quit IRC15:07
NobodyCam:)15:08
*** absubram has joined #openstack-ironic15:09
*** pas-ha has quit IRC15:10
*** ndipanov has joined #openstack-ironic15:10
*** yog__ has joined #openstack-ironic15:13
*** Marga_ has joined #openstack-ironic15:16
*** Marga_ has quit IRC15:21
*** pas-ha has joined #openstack-ironic15:21
openstackgerritVictor Sergeyev proposed openstack/ironic: Use oslo_utils replace oslo.utils  https://review.openstack.org/14945015:25
viktorsjiangfei: around?15:26
lucasagomesjroll, wondering where I should add the installation of bootloader on IPA, in a extension or as part of the hardware manager thing15:31
lucasagomeswill do on extension as first stab15:31
* lucasagomes jumps on a call15:32
*** achanda has joined #openstack-ironic15:32
jrolllucasagomes: with an extension, it has to be called by ironic, dunno if that's desired15:33
jrollI would add it as part of the image writing15:33
jrollif image is partition and localboot, write bootloader15:33
*** BertieFulton has quit IRC15:35
*** dlpartain has joined #openstack-ironic15:39
*** dlpartain has left #openstack-ironic15:39
*** Marga_ has joined #openstack-ironic15:39
*** Marga_ has quit IRC15:40
*** Marga_ has joined #openstack-ironic15:41
*** achanda has quit IRC15:41
*** pas-ha has quit IRC15:46
*** anderbubble has joined #openstack-ironic15:52
*** Marga_ has quit IRC15:53
*** r-daneel has joined #openstack-ironic15:54
lucasagomesjroll, right, I will have to add as a separated call, due the iscsi one. Because for that methodology, ironic is the one partitioning and writting the image15:55
jrollah, right15:56
lucasagomesbut yeah, as an extension it looks good15:56
lucasagomesand it's good to be separated as well, makes things more atomic-ish15:56
jrollyeah, indeed15:56
jroll"ish"15:56
lucasagomesheh15:57
*** stendulker_ has joined #openstack-ironic15:59
jlvillalMorning all!16:01
*** stendulker has quit IRC16:02
NobodyCammorning jlvillal :)16:03
*** Sam______ has joined #openstack-ironic16:04
*** achanda has joined #openstack-ironic16:05
*** pensu has left #openstack-ironic16:05
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Move packet queue into IO thread  https://review.openstack.org/15663916:06
*** achanda has quit IRC16:06
openstackgerritRamakrishnan G proposed openstack/ironic: Add localboot support for iscsi_ilo driver  https://review.openstack.org/15660816:08
rameshg87-brbjroll, can you please have a look at inband raid configuration spec: https://review.openstack.org/#/c/147803/16:11
rameshg87-brbjroll, two +2s and waiting for feedback from a rackspace guy :)16:11
openstackgerritRamakrishnan G proposed openstack/ironic: Add driver interface for RAID configuration  https://review.openstack.org/15523016:13
*** Sam______ has quit IRC16:13
*** rameshg87-brb has quit IRC16:14
* jroll looks16:16
openstackgerritMerged stackforge/pyghmi: Move packet queue into IO thread  https://review.openstack.org/15663916:17
*** Nisha_away has joined #openstack-ironic16:20
*** Nisha has quit IRC16:21
jrollJayF: you should also look at16:25
jroll...16:25
jrollhttps://review.openstack.org/#/c/147803/16:26
jrollthat16:26
lucasagomesjlvillal, morning :)16:28
jlvillalNobodyCam: lucasagomes: Thanks16:28
NobodyCam:)16:29
jrollmorning jlvillal :)16:31
*** jrist-afk is now known as jrist16:31
jlvillal jroll: Morning16:31
* jlvillal trying to get back into work mode after three day weekend...16:32
lucasagomesjlvillal, btw, I left some comments on the stable state patch16:34
jlvillallucasagomes: Thanks.  I'll go look!16:34
*** andreykurilin__ has quit IRC16:34
lucasagomesjlvillal, more about the reason about it, code-wise it looks good. please take a look when you have some time16:34
lucasagomessure16:34
lucasagomesnp16:34
*** andreykurilin_ has joined #openstack-ironic16:34
jlvillallucasagomes: I will reply.  But basically we had initial patches where target was not going to a stable/passive state.  So trying to help people to not make errors.16:37
*** derekh has quit IRC16:37
openstackgerritMerged openstack/ironic-specs: In-band RAID configuration using agent ramdisk  https://review.openstack.org/14780316:38
lucasagomesjlvillal, right, to avoid programmatic errors then16:38
*** derekh has joined #openstack-ironic16:38
jlvillallucasagomes: Yes16:38
*** gridinv has quit IRC16:39
jlvillallucasagomes: Though I'll admit I like the term 'stable' more than 'passive'16:40
* dtantsur too16:40
lucasagomesjlvillal, yeah me too16:40
dtantsurmaybe we should change the spec?16:40
jlvillaldtantsur: I would like that, if it is allowed16:41
lucasagomesre terminology wise I was just a bit concern with getting different from the spec, but grand16:41
lucasagomesjlvillal, thanks for the replies anyway16:41
lucasagomesI will change my vote on that16:41
jlvillallucasagomes: Okay to leave it as 'stable' then?16:41
dtantsurjlvillal, you can propose a patch to ironic-specs clarifying the wording. Would be very nice16:42
lucasagomesjlvillal, I would prefer + if people agree in updating the spec for that would be nice too16:42
dtantsur+1 for stable16:42
jlvillaldtantsur: Okay.  I will do a patch for the spec16:42
NobodyCammornign dtantsur :)16:43
dtantsurNobodyCam, oh morning :) sorry for not noticing you (and maybe someone else). I'm sick for the 3rd day already...16:43
dtantsur.. and for that reason I'll be calling it a day, I guess16:44
NobodyCamdtantsur: :( ugg being sick sucks16:44
dtantsuryeah16:44
NobodyCamhave a good rest dtantsur16:44
dtantsurthanks16:44
dtantsurg'night16:44
*** dtantsur is now known as dtantsur|afk16:44
NobodyCamlucasagomes: looking at your comment on https://review.openstack.org/#/c/155460/4/ironic/drivers/modules/pxe.py16:44
openstackgerritVictor Sergeyev proposed openstack/ironic: Use oslo_utils replace oslo.utils  https://review.openstack.org/14945016:45
NobodyCamwould :                 LOG.warn("root_uuid key not found. Unable to verify PXE config"16:45
lucasagomesNobodyCam, hi there16:45
NobodyCam                         " for node %(node)s", {"node": task.node.uuid})16:45
NobodyCambe what your looking for there?16:45
openstackgerritJohn L. Villalovos proposed openstack/ironic-specs: Use the term 'stable' state instead of 'passive'  https://review.openstack.org/15665516:45
dtantsur|afkthat ^^^ was fast Oo16:45
dtantsur|afkok, gone for real now :)16:45
NobodyCamhehehe16:45
jlvillaldtantsur|afk: ;)16:45
lucasagomesNobodyCam, yeah, also, if that KeyError appears we are skipping the else:16:46
lucasagomesso the switch one be changed16:46
*** ndipanov has quit IRC16:46
lucasagomesNobodyCam, /me thinking16:47
*** devanand_ has joined #openstack-ironic16:48
lucasagomesNobodyCam, something like "The UUID for the root partition can't be found, unable to switch the pxe config from deployment mode to service mode for node %s"16:49
*** andreykurilin_ has quit IRC16:49
lucasagomesNobodyCam, makes sense?16:49
*** andreykurilin_ has joined #openstack-ironic16:49
*** Marga_ has joined #openstack-ironic16:49
lucasagomesNobodyCam, or "... skipping trying to switch ..."16:50
*** stendulker_ has quit IRC16:50
*** viktors is now known as viktors|afk16:51
*** coolsvap is now known as coolsvap_16:51
*** rwsu has joined #openstack-ironic16:52
NobodyCamlucasagomes: ya16:53
lucasagomesNobodyCam, cool, there's some comments on the tests as well16:58
lucasagomeslike verifying that the root_uuid is written to the driver_internal_info as well16:58
*** ndipanov has joined #openstack-ironic16:59
*** Guest31726 is now known as dank_17:01
NobodyCamlucasagomes: ack attempting to see if test will run in my local env :/17:02
*** mmorais_ has quit IRC17:02
lucasagomesNobodyCam, ack, should be fine :)17:02
lucasagomesit's unittests17:02
*** mmorais has joined #openstack-ironic17:04
NobodyCamlol pbr start hating my mac for some reason17:04
NobodyCam:(17:04
NobodyCamdidn't we land a patch to the client for --configdrive?17:04
jroll--config-drive17:05
martiniJayF, you around?  Figured out what I was doing wrong on the dib build, and also thinking of a different way to disentangle17:05
JayFI'm here, what's up?17:05
lucasagomesNobodyCam, oh, yeah idk about mac :(17:06
lucasagomesNobodyCam, we did yes17:06
*** jcoufal_ has quit IRC17:06
NobodyCamyep found it :)17:06
NobodyCamyep pbr hates me: ImportError: No module named pbr.version17:07
martiniInstead of pulling the entire 'element' out of diskimage-builder and making a separate repo for it, we could move the code that actually gets executed into a python module and have the diskiamge-builder simply call the script that that provides17:07
lucasagomesNobodyCam, :( any bugs filled for that?17:07
lucasagomesmartini, is it about using diskimage-builder with IPA or something?17:08
NobodyCamlucasagomes: I think so... just have to break out my brick :)17:08
martiniThat way https://github.com/openstack/diskimage-builder/blob/master/elements/deploy-ironic/init.d/80-deploy-ironic becomes a simple call out to a python script.  Which incidentally would make it easy to add the same agent to any other ramdisk17:09
martiniWell, splitting the actual deployment code from the image.  diskimage-builder is good for building the image and pulling in dependencies, but the network reachable agent that gets installed doesn't necessarily have to be part of the diskimage-builder piece17:10
*** ukalifon1 has quit IRC17:11
martiniUnless there a limiting factor that requires the diskimage-builder component to be an inline shell script?17:12
JayFlucasagomes: we talked at the SF mid-cycle about breaking up the bits Ironic uses for ramdisks; for existing pxe/dib ramdisk making sure Ironic devs can hack on it without being gated by cores from another project (DIB) and for IPA/CoreOS ramdisk, we're splitting the builder out from the agent itself so other things (perhaps discoverd) can use it17:13
JayFmartini: I don't know, really, but just splitting out the actual ramdisk code seems like a godo start17:14
lucasagomesJayF, I see so having a diff repo for the ramdisk image building, where the DIB element, or coreos stuff used to biuld the images will leave?17:16
lucasagomessounds resonable17:16
jrollI'd rather just nuke DIB stuff, personally17:17
JayFlucasagomes: exactly; see my email to the list about 'coreos-image-builder'17:17
lucasagomesJayF, will take a look17:18
lucasagomesjroll, +0 coreos doesn't seem to do an excellent job on building ramdisk images either17:18
lucasagomestho better than DIB I assume17:19
jrolllucasagomes: I think that's a tooling failure rather than a coreos failure17:19
lucasagomesjroll, fair enough yeah17:20
*** jistr has quit IRC17:24
openstackgerritLucas Alvares Gomes proposed openstack/ironic: Address final comments of a4cf7149fb  https://review.openstack.org/15667117:26
*** eghobo has joined #openstack-ironic17:28
martiniI see there's a pypi module for ironic-discoverd.  I'm thinking a new module, let's call it ironic-deploy for the sake of discussion, to wrap the active code that lives in dib into a true module.  Assuming we go that route: how do we create a new repo for it, and how does code from that repo get uploaded to pypi?17:28
martini(getting ahead of myself anyway; I can mock it up without those details sorted out)17:28
JayFI'd call it something like ironic-pxe-deploy or ironic-iscsi-deploy since it's explicitly for the pxe driver17:33
*** anderbubble has quit IRC17:42
devanandaJayF: i'm missing something - what's specific to the iscsi/pxe deploy?17:45
JayFdevananda: martini is looking at splitting out the code that runs in pxe ramdisk from DIB; that code is only used for iscsi/pxe deploy17:47
devanandaJayF: oh. urgh. right. that's going in a separate place from the coreos image building bits ...17:49
devanandasomehow this feels unnecessarily complicated17:49
devanandabut it's probably not17:49
martiniironic-iscsi-deploy makes sense to me for the code that's currently in DIB.  It's independent of whether it was booted via PXE or virtual media though17:49
devanandamartini: right. and some of it should be independent of whether it is built with DIB or coreos17:50
devanandamartini: though it sounds like we're not going that far with the separation?17:50
martiniThe idea is to turn this bit of shell script - https://github.com/openstack/diskimage-builder/blob/master/elements/deploy-ironic/init.d/80-deploy-ironic - which is inlined into /init in the dib process, into a python script which will then be called by that inline process17:50
lucasagomesmartini, I have an extension to IPA that does the iscsi bit17:51
lucasagomesin python17:51
lucasagomeshttps://review.openstack.org/#/c/155727/17:51
lucasagomesdevananda, morning17:51
lucasagomesdevananda, also, wanted to talk to you re IPA as default ramdisk17:51
lucasagomesdevananda, I got it working, we may need to start looking it in gate perhaps?17:52
lucasagomesidk what's the plan is, how we are deprecating the old ramdisk etc17:52
martiniWould that extension require installing the rest of IPA as well?  If it doesn't add too many pip/binary dependencies, its not really an issue, just asking17:53
devanandalucasagomes: if we can get that running in the gate, and if it doesn't require bumping the VM RAM requirement, then I would imagine we can swap it in ironic's pxe_ssh gate job quite soon17:53
devanandalucasagomes: I'll be talking with tripleo folks this week in seattle about a lot of things, this among them17:53
lucasagomesmartini, well yes? it's an extension for IPA so it requires the rest of IPA in order to it to work17:54
lucasagomesbut can be refactored, idk if I got ur idea completely about splitting all the bits tho17:54
lucasagomesdevananda, if the image is built with the coreos and not DIB yes, it doesn't require RAM bumping17:54
lucasagomeswe already use coreos to build the image for the agent in devstack so it seems fine17:55
devanandalucasagomes: let's test it -- should be easy to do.17:55
jrolllucasagomes: right now ipa requires 1gb of ram in the gate, dib/iscsi requires 512mb17:55
JayFjroll: but IPA has to load the image into ramdisk before writing17:55
devanandalucasagomes: we don't build the coreos image in the devstack-tempest-dsvm-ironic ... it is downloaded17:55
lucasagomesjroll, oh, right ok didn't know that17:55
JayFjroll: iscsi+IPA means the image is done locally17:55
JayFjroll: so it's def. worth a shot imo17:56
devanandaso we need to change words a bit17:56
lucasagomesJayF, yeah, I will try to run with 512 MB17:56
jrollI'm not saying it's not doable17:56
lucasagomessee what's up17:56
jrollbut it won't boot on 512mb iirc17:56
devanandaIPA can now do both an agent-fetch-from-glance deploy and an iscsi-deploy17:56
devanandathe theory we discussed last week is that, using iscsi, the IPA ramdisk will *not* require more than 512MB17:56
devanandabecause in that case, it won't need a tmpfs to cache the image17:57
devanandawe THINK tht's why it is taking 2x the RAM right now ...17:57
devanandaso17:57
lucasagomesyeah i will give it go locally17:57
jrollI thought it didn't boot on 512mb, but ok17:57
jrollworth a try17:57
devanandaI would think you can test this i the gate with a simple patch to devstack-gate17:57
lucasagomesdevananda, right, we need to get things merged first17:58
lucasagomesboth in IPA and Ironic17:58
devanandalucasagomes: oh ok17:58
lucasagomesI think both patches are fine, already. For now I created a new driver iscsi_ssh17:58
lucasagomesthat uses pxe and IPA17:58
lucasagomesnote that only the vendor interface is different then the pxe_ssh17:58
jrollI mean, you would need a patch to devstack, too, to download the image etc17:58
jrollor at least add iscsi_ssh to the decision whether to download/use ipa ramdisk17:59
lucasagomesI made it use the same pxe config file for both etc, to facilitaty backwards compat17:59
devanandalucasagomes: so what I think our goal there should be: get the pxe_ssh driver working with the IPA ramdisk that is produced by IPA's post-merge job17:59
devanandaand test that with a patch to devstack that changes the default (pxe_ssh) job from using dib to downloading that image -- but doesn't change anything else17:59
lucasagomesjroll, sure yeah17:59
devanandalucasagomes: why would you need a different driver?18:00
lucasagomesdevananda, we don't, I just did to keep things separately, peaple used to use pxe_ssh may want to use it with the DIB ramdisk18:00
lucasagomesI theorically could make the same vendor interface work for both ramdisks tho18:01
lucasagomesI can try that18:01
devanandalucasagomes: if we're going to change the default, we need to provide a migration path, which means compatibility, which means the new default must work with the old ramdisk18:01
*** anderbubble has joined #openstack-ironic18:01
devanandaso that folks who are in production right now with the dib-built ramdisk can continue using that with the new driver18:01
lucasagomesdevananda, right, ack I will try to get the same vendor interface we have now in PXE to work with both ramdisks18:01
lucasagomesthat would facilitate a bunch18:01
lucasagomesdevananda, gotcha!18:02
*** derekh has quit IRC18:02
lucasagomesfor ref: https://review.openstack.org/#/c/155728/7/ironic/drivers/modules/pxe.py18:02
lucasagomesdevananda, jroll JayF thanks for the inputs!18:03
jrollnp :)18:04
*** davideagnello has joined #openstack-ironic18:09
*** harlowja_away is now known as harlowja_18:10
lucasagomesJoshNang, hey, if you think it's odd the 'provide' we may want to update the spec to reflect that18:11
JoshNanglucasagomes: i mean, it makes more sense in the user facing api18:11
lucasagomesJoshNang, right18:11
JoshNanglucasagomes: so reflecting it in the state machine is fine with me18:12
lucasagomesgotcha18:12
JoshNangit'll looks odd in states.py, but reasonable everywhere else18:12
JoshNang*look18:12
lucasagomesyeah, I don't have a strong opnion on that, I understand 'provide' means go from manageable to available18:12
lucasagomesand it will pass cleaning if enabled18:12
lucasagomesso it sort of makes sense to me18:13
lucasagomesJoshNang, yeah18:13
JoshNangright. this works for me, and prevents me from having to bump the api microversion, so ++ heh18:13
lucasagomesJoshNang, cool thanks18:13
JoshNangnp! thanks for the review18:13
lucasagomesI will +2 after the changes then18:13
lucasagomesrest lgtm18:13
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Fix exceptions on sdr read  https://review.openstack.org/15669518:13
lucasagomesdevananda, adam_g btw, I also was thinking about microversioning and backports18:14
lucasagomeshow would that work18:14
*** andreykurilin_ has quit IRC18:14
lucasagomesif for e.g we have to backport something that adds version 1.5 but not 1.3 or 1.418:14
lucasagomesdevananda, adam_g food for though18:14
*** andreykurilin_ has joined #openstack-ironic18:14
adam_glucasagomes, i dont think bumping API versions with new things is a suitable backport?18:14
lucasagomesadam_g, right, yeah well sounds resonable18:15
adam_glucasagomes, do you have an example of something that would get backported with a bump there?18:15
lucasagomesadam_g, not really, it was just really thinking about stuff18:15
*** jxiaobin has joined #openstack-ironic18:15
lucasagomesadam_g, and was wondering about how that would work18:15
adam_glucasagomes, ah. yeah, i cant really think of anything there. sorta similar, for things like non-alembic DB migrations, we would leave a gap between, say, last migration # for kilo and first of L. 34-last_kilo_migration.py ... 44-first_l_migration.py, to allow space for fixes18:17
* jlvillal likes the price for the OpenStack summit with his discount code :)18:18
*** achanda has joined #openstack-ironic18:18
devanandalucasagomes: short version - anything that changes the API should NOT be back ported18:19
*** korekhov has joined #openstack-ironic18:19
lucasagomesadam_g, yeah18:19
lucasagomesdevananda, +1, yeah adam pointed out that and it clicked in my head18:20
lucasagomesI was just worrying whether we have thought about it or not18:20
lucasagomesso brought that up18:20
devanandalucasagomes: have you read teh backport guidelines?18:20
lucasagomesdevananda, not that I remember18:20
devanandalucasagomes: https://wiki.openstack.org/wiki/StableBranch#Stable_branch_policy18:21
devanandaSome types of changes are completely forbidden:18:21
devananda Changes to the external HTTP APIs18:21
devananda Changes to .. internal AMQP API18:21
devananda DB schema changes18:21
devananda Incompatible config file changes18:21
lucasagomesa-ha alright awesome18:21
adam_gdevananda, this reminds me, if you get a sec can you create a 2014.2.1 milestone on https://launchpad.net/ironic ? i will tag and upload what we have in stable/juno as 2014.2.1?18:22
devanandaadam_g: hm, lemme try18:22
lucasagomesdevananda, jroll: "Entering emergency mode. Exit the shell to continue." 512MB ram doesn't work with IPA18:22
adam_gi should have access to do everything else18:22
jrolllucasagomes: ya18:23
* jroll has a good memory for once18:23
lucasagomesthat said, in our dev guidelines we change it to 1GB18:23
lucasagomeshttp://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack18:23
lucasagomesnot sure how that plays on gate tho18:23
jrolllucasagomes: right, and it will be fine for tempest but not for tempest parallel18:23
devanandalucasagomes: yea, in the gate we need it to be smaller for the tempest parallel job to run18:24
* adam_g wonders about the future of that job18:24
lucasagomesdevananda, jroll I see18:24
lucasagomeswell hmmm18:24
lucasagomesis it "check-tempest-dsvm-ironic-parallel-nv" ? cause it's non-voting and failing right now in our gate18:25
devanandaadam_g: heh... you tell me - is that job, or any job that runs the compute tests against nova+ironic in parallel, worth having?18:25
lucasagomesadam_g, that worth fixing?18:25
adam_glucasagomes, i have a patch up to fix it. a new test merged to tempest that fails in that run... because we aren't running it anywhere outside our gate, we dont catch those things18:25
lucasagomesI see18:26
devanandaadam_g: "a new test" related to ironic?18:26
adam_gdevananda, running tests in parallel is worht having, and doing it with tenant isolation is too.. but running a whole bunch of tests that aren't really relevant to our interests seems not important. and it souonds like the attitude about testing is migrating away from 'test everythign' to 'test what you need to test'18:26
adam_gdevananda,18:27
adam_ghttps://review.openstack.org/#/c/156415/18:27
devanandaadam_g: ++ to everything you just said18:27
devanandaso yea, this is an example of "we should only be running the tests we want" -- and the job is failing because it's trying to run all the tests18:28
lucasagomesfair enuff18:28
adam_gyeah18:29
devanandaadam_g: re: 2014.2.1 release - i found the right page. first time I've done this ... and I see that nova has a 2014.2.2 already18:29
jrollhttps://gigaom.com/2015/02/17/openstack-comes-up-huge-for-walmart/ <- ironic shoutout18:29
devanandaadam_g: we didn't do a 2014.2.1 back in december. is that ok? our 2014.2.1 will be out of sync with everyone else's18:29
adam_gdevananda, yeah, there have been 2 official point releases so far for the integrated juno stuff18:29
adam_gdevananda, non-integrated stuff is free to follow their own schedule. ill ping ttx just to double check that, but ive seen other projects cut their own point releases18:30
devanandaack18:30
lucasagomesjroll, awesome! will read18:30
jroll:)18:30
lucasagomeswe should have a "success stories" in our wiki18:31
lucasagomesfor people using Ironic18:31
jrollwell, they aren't using it yet :P18:31
lucasagomesyeah, well but you guys are18:31
*** harshs has joined #openstack-ironic18:31
jrollsuccess story: OS_AUTH_URL=...rackspace.com... nova boot --flavor onmetal-compute118:31
devanandalucasagomes: the challenge with corporate success stories is you need the corporation to authorize it18:32
devanandalucasagomes: we are not allowed to just add taht to our wiki18:33
lucasagomesdevananda, oh, right18:33
*** romcheg has quit IRC18:33
jrollyay legal departments18:33
lucasagomesheh18:33
lucasagomesok folks, I will call it a day. It's a bit late here18:34
lucasagomesthanks for the chat/suggestions!18:34
jrollnight lucasagomes :)18:34
lucasagomesgood night everyone18:34
*** lucasagomes is now known as lucas-dinner18:34
jlvillallucasagomes: Good night18:34
BadCub_gnite lucas-dinner18:34
openstackgerritMerged stackforge/pyghmi: Fix exceptions on sdr read  https://review.openstack.org/15669518:34
adam_gNobodyCam, any idea how this might be happening? https://bugs.launchpad.net/tempest/+bug/142283218:35
openstackLaunchpad bug 1422832 in tempest "tempest.api.compute.admin.test_baremetal_nodes API validation inaccurate" [Undecided,New]18:35
*** spandhe has joined #openstack-ironic18:40
*** devlaps has joined #openstack-ironic18:40
devanandaadam_g: https://launchpad.net/ironic/+milestone/2014.2.118:41
adam_gdevananda, great thanks. waiting to hear from ttx before i push tags18:41
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Add missing generic discrete codes  https://review.openstack.org/15670418:42
devanandaadam_g: I'm a bit confused by the new tests for Nova os-baremetal-nodes - somehow I had it in my brain that Nova wanted to deprecate/remove those after Kilo18:43
adam_gdevananda, im not sure either. i went offline for a week and came back and they are running and failing18:44
adam_gone of the failures is valid as its relevant to the juno migration and is a bug in grenade18:44
adam_gthe other failure (which is only hitting me locally) is that bug18:45
*** athomas has quit IRC18:45
*** devlaps has quit IRC18:49
*** zer0c00l has quit IRC18:54
NobodyCamoh adam_g sorry was looking at another window and didn't see your ping18:55
openstackgerritMerged stackforge/pyghmi: Add missing generic discrete codes  https://review.openstack.org/15670418:58
NobodyCamdevananda: I was under the same impression as you with reguard to Nova wanting to deprecate/remove those18:58
adam_gNobodyCam, no worries. i think ive got it.18:58
NobodyCam:)18:58
*** ifarkas has quit IRC18:59
*** zer0c00l has joined #openstack-ironic19:00
*** athomas has joined #openstack-ironic19:06
Nisha_awaydevananda, request to look at inspection patches19:06
Nisha_awayNobodyCam, ^^^19:06
Nisha_awayjroll ^^^19:06
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Reduce severity of a non-redundant state  https://review.openstack.org/15671219:07
openstackgerritChris Krelle proposed openstack/ironic: Add logging when no reservation are cleared on startup.  https://review.openstack.org/15671319:10
jrollO.o19:12
jrollNobodyCam: ...19:13
devanandaadam_g: checked with nova - they do not plan to remove os-baremetal-nodes ext19:13
NobodyCam:)19:13
jrolldevananda: wat19:13
*** pelix has quit IRC19:14
devanandaNobodyCam: ^ does not make sense to me. "not clearing reservations" is perfectly normal expected behavior19:14
jrollI'm thinking on -2'ing that19:14
NobodyCam:)19:14
jrollcommit message also is bonkers19:15
openstackgerritMerged stackforge/pyghmi: Reduce severity of a non-redundant state  https://review.openstack.org/15671219:15
Nisha_awaydevananda, regarding nova ffe19:16
devanandajroll: yea19:16
jrollI left a -1 to be nice19:17
Nisha_awayhow do we want to put the value in the instance_info19:17
Nisha_awaydevananda, do we want to have operators also populated in the instance_info and do the required actions in ironic?19:18
Nisha_awayNobodyCam, jroll ^^^19:19
devanandaNisha_away: huh?19:19
jrollNisha_away: I don't think I understand the question19:19
*** Nisha_away is now known as Nisha19:20
*** openstackgerrit has quit IRC19:20
devanandaNisha_away: when using nova with ironic, only nova should be updating instance_info19:20
devanandabut I also do not understand the qeustion19:20
*** openstackgerrit has joined #openstack-ironic19:20
Nishadevananda, jroll this is in regards to this comment19:20
NishaAren't you just throwing away all the operators? Is the point of all this code just to filter out the operators if they're not <all-in> or <or> ?19:20
Nishaactually i drop the operator and copy the value in instance_info19:21
Nishathats where my question is now19:21
jrolloh, those kind of operators19:21
Nishayes19:21
devanandaNisha: why are you dropping the operators?19:21
Nishadevananda, else ironic will need to drop the operator, correct?19:22
devanandaNisha: why?19:22
Nishaexample19:22
jrollaren't the operators meant to be used, not just dropped?19:22
Nishasay flavor has 'capabilities:BootMode':'<in> uefi'19:23
*** wanyen has joined #openstack-ironic19:23
wanyenhi Jroll,19:23
Nishaso right now i copy the value uefi only in instance_info19:23
Nishainstead of <in> uefi19:23
jrollwanyen: hi19:23
wanyenI like to discuss secure_boot19:24
Nishaif we have BootMode = '<in> uefi' means we will have to evaluate that in ironic19:24
wanyenSecure_boot is not a boot mode , it is a UEFI boot option19:24
Nishaif we have BootMode = '<in> uefi' in instance_info means we will have to evaluate that in ironic19:24
jrollwanyen: I understand. I've stated my opinion on the review. you should do the same19:25
wanyensecure boot can be used with UEFI or other uefi options, e.g., UEFI HTTP boot or UEFI iscsi boot19:25
Nishabasically it means may be we will have to do what nova scheduler and nova extra_specs_op.py is doing19:25
Nishadevananda, ^^^19:26
wanyenjroll, yes.  I entered a comment as well.19:26
jrollwanyen: I tend to think we shouldn't have a separate management interface method for every boolean variable about boot mode19:26
jrollwanyen: ok, then I will reply when I have time19:26
jroll[/b 219:26
jrolloops19:26
wanyenjroll, tx19:26
Nishajroll, ^^^19:26
jrollNisha: link to review?19:27
Nisha#link https://review.openstack.org/#/c/141012/25/nova/virt/ironic/patcher.py19:27
devanandaNisha: what happens when there are multiple capabilities with different operators?19:28
Nishathe code will create a dictionary with all the capabilities and their values but will drop the operator19:29
jrollNisha: it looks like you should talk to dansmith about this... also, I tend to agree that we should fail if we hit an unsupported operator19:29
Nishafor unsupported operator i have already failed. He has given comment on nested capability key. this i wll address19:30
Nishabut the comment above which we are discussing is something depends on how ironic wants information in instance_info19:30
devanandaNisha: stripping the operators seems like a really bad thing19:31
jrollNisha: I just see a log.warning if there's an unsupported operator19:31
jrolldevananda++19:31
devanandaNisha: operators are such things as ">" and "<" and "==" and "!="19:32
Nishathen actually i can just copy the exact value in instance_info and then ironic will strip off the operator as per desired action?19:32
devanandaNisha: how is throwing that information away before passing it to Ironic helpful?19:32
devanandaNisha: wat? why would Ironic strip that off too?19:32
devanandaI'm missing something19:32
devanandawhy are the operators not important to you?19:32
devanandaif this only supports very simple "capability:foo":19:33
devanandaif this only supports very simple "capability:foo":"bar" style, then we should error on having ANY operator19:33
devanandabecause stripping the operator, when the flavor says something like "capability:foo":"!= bar" is going to be, well, wrong19:34
Nishadevananda, yes19:35
devanandaNisha: so, what am I missing? why are you stripping operators off AT ALL ?19:35
Nishai was initially just supporting for <in> operator which we can use for multiple values in the capabilitis values at ironic node19:36
Nishadevananda, ok so i will pass on the information as it is to ironic19:37
Nishathat makes the code easy19:37
Nishadevananda, as of now i dont plan to support nested key...is that fine?19:38
devanandaNisha: declaring what operators or structure is supported seems OK to me -- but it should error (not fail silently) in that case19:40
*** lucas-dinner is now known as lucasagomes19:40
devanandaNisha: also, <in> doesn't make sense to me19:40
Nishadevananda, why <in> is a supported operator19:41
devanandaNisha: if I say "capabilities:boot_mode" : "<in> bios, uefi, vmedia, unicorns" -- then what is Ironic actually supposed to do with this list?19:41
devanandaNisha: it seems like you want to use only the "==" operator19:41
Nishadevananda, no above is wrong19:41
devanandaoh?19:41
Nishait will be 'capabilities:boot_mode' : '<in> uefi' at flavor19:42
Nishaat ironic it will be a list like capabilities = 'boot_mode:bios uefi vmedia'19:42
Nishain this case the node gets selected19:43
Nishawith <in> operator19:43
devanandaNisha: what prevents Nova from having 'capabilities:boot_mode' : '<in> uefi, bios' ?19:44
devanandait is, after all, the "in" operator -- it can take a list19:44
Nishanow when we copy the flavor value '<in> uefi' to the instance_info19:44
devanandaand a deployer will undoubtedly customize their flavors19:44
Nishafor the above example the operator is <all-in>19:44
Nishanow when we copy the flavor value '<in> uefi' to the instance_info, ironic has to see what operator is being passed by operator and take action based on that19:45
Nishaso for <in> operator we basically just need the value 'uefi' fo rthe driver to take any action19:46
Nishafor <all-in> operator even i am not sure how ironic shall behave. May be ironic can say for certain capabilities that the oerator is not supported.19:47
wanyenIronic does not have a use case for all-in yet, so not supported sounds reasonable19:50
wanyendevananda, Nisah initially proposed to use 'capability:boot_mode':'uefi' but it got shutdown by Nova becasue they believe <in> operator can fulfill what she proposed.19:53
rloowanyen, Nisha, devananda: if this capabilities mechanism from nova is meant to be generic and used for any capabilities in ironic, how do we know which operators are/are not of interest? doesn't it depend on the actual capability?19:53
Nisharloo, +119:53
wanyenrloo: yes19:53
rlooNisha: so I am now thinking that the nova.ironic driver should just pass the value down to ironic, and the appropriate ironic driver should interpret the value19:54
Nisharloo, ok19:54
rlooNisha, wanyen: does that make sense? Don't just say ok to get the patch approved ;)19:55
*** devanand_ has quit IRC19:55
Nisharloo, it makes sense...but then we will need to handle nested keys also in this19:55
rlooNisha: yes, ironic will need to handle it.19:56
Nishaas of now it looks tricky to handle nested keys19:56
wanyenrloo, it's the matter whether we take incremental approach or not.19:57
jrollbecause how dare we use dictionaries to define capabilities :|19:57
wanyenif we have a use case now then we should implement everything19:57
rloowanyen: it seems to me that it is easier/faster to iterate on code in ironic, than in nova...19:57
jroll++19:57
rloowanyen: you cannot implement 'everything' in nova because we don't know what 'everything' is.19:57
*** lucasagomes is now known as lucas-dinner19:58
rloowanyen: implementing a particular usecase means that it most likely may not be general enough for other use cases.19:58
Nisharloo, jroll in my opinion we cant have nested capabilities from ironic19:58
jrollNisha: why19:59
jrollI don't pretend to understand what nested capabilities are, but I'm curious what would hold us back19:59
Nisha#link https://github.com/openstack/nova/blob/master/nova/virt/ironic/driver.py#L235-24320:00
*** nosleep77 has joined #openstack-ironic20:00
NobodyCambrb ... quick run to starbucks :)20:01
Nishaironic virt driver considers the string 'key1:val1,key2:val2,key3:val3..' as the valid capability20:01
mrdaMorning20:01
Nishait doesnt takes it as a dictionary which is allowed by other drivers in nova20:02
jrollhuh, weird20:02
jrollmrda: morning :)20:02
jrollI think I'm done caring about this capabilities thing20:02
jrollbut I don't thinki we should drop operators20:02
*** romcheg has joined #openstack-ironic20:03
*** Marga_ has quit IRC20:03
Nishajroll, thats fine but about nested keys we should error  out?20:03
mrdajroll: \o20:03
jrollNisha: I guess? idk20:03
jrollNisha: we support dictionaries now20:03
jrollbut backwards compat20:03
jrollmaybe we should just do all of this next cycle?20:04
Nishaat flavor side, u can have capability built as 'capabilities:opt1:b:aa': '2'20:04
jrollsince we're 3 days from getting this patch frozen anyway and I don't want to rush bad code in20:04
jrollafter kilo is released we can start using dictionaries for capabilities20:04
Nishajroll, fine then also backward compatibility will be a quest20:05
jrollNisha: what do you mean?20:06
jrollwe'll have to handle backwards compat in ironic, but not in nova, if we bump this to L20:06
Nishaya20:06
wanyenjroll, what to bump to L?20:07
jrollwanyen: this capabilities work. I'm not saying we should, just wondering out loud20:07
wanyenjroll,we need capability to pass to ironic to support secure boot, local boot for partiontion image and trusted boot20:08
jrollNisha: although thinking more... not sure why we can't do nested capabilities20:08
jrolljson.dumps is a thing20:08
jrollwanyen: I understand why we need it20:08
* devananda reads backscroll, then goes off to re-read the nova spec20:08
wanyenjroll, so I think we can take incremental approach to support these features20:09
Nishajroll, how do u defined the capability at ironic node for node to get selected by nova scheduler20:09
* devananda notes the ratio of approved:completed specs in Nova ... http://specs.openstack.org/openstack/nova-specs/specs/kilo/index.html20:09
jrollwanyen: I agree, it's possible, I'm wondering if it's worth the effort20:09
jrolldevananda: I think that's not up to date :P20:09
Nishajroll, however as of now we cant define nested capability keys in ironic , so its worth to error out in nova virt driver in case of nested key....20:11
wanyenjroll, ironic takes incremental approach for other features as well.  I see 'todo' quite often20:11
jrollNisha: ok, after reading the spec... why aren't we just doing something like node.instance_info['capabilities'] = flavor.extra['capabilities']20:12
jrollNisha: and let ironic handle everything20:12
jrollNisha: ironic doesn't need to support every possible option nova passes, but I tend to think we should just pass it along directly20:13
jrollNisha: this is what the spec says as well, as far as I can tell20:13
devanandajroll: that's my understanding after reviewing the spec again, too20:13
Nishayes, but at that time we didnt know the operators case :(20:14
openstackgerritOpenStack Proposal Bot proposed openstack/python-ironicclient: Updated from global requirements  https://review.openstack.org/15558320:14
Nishawe always thought it is exact match :(20:14
jrollNisha: so pass the operators along too, and let ironic handle it?20:14
Nishajroll, ++20:14
jrollalternatively lay that out in the spec, because it's clearly contentious20:14
devanandaNisha: but nova reviewers did when they approved the spec20:15
devanandaNisha: if that's not what you expected, the spec should have been revisited20:15
Nishadevananda, :(20:15
devanandaNisha: proposing to use a feature, then actually only use a subset of that feature without documenting that you're only supporting a small subset of it ....20:16
devanandaNisha: I'm sorry, but that looks fairly poor and last-minute right now :(20:16
wanyenNisah, as Jroll, suggested pass all capability info to ironic and ironic can error out the unspported operator or nested cap20:16
Nishasince ironic itself is inot capable to have nested capabilities keys, is it ok to error out in ironic virt driver in that case? anyway the code will not hit till ironic supports nested capability key20:17
Nishawanyen yes20:17
Nishadevananda, is above fine?20:17
devanandajroll: as far as ironic handling the entire range of nova's capabilities -- at what point do you see Ironic type checking this data?20:18
jrolldevananda: I haven't thought that far ahead yet20:18
devanandajroll: usually we type check input at the API layer. this sounds like it is driver-specific. which is, IMO, bad form20:18
devanandajroll: :(20:18
jrollmmm.20:18
jrollyeah20:18
devanandajroll: even if we exclude the possibliity of nested caps, we're still left with two problems20:18
Nishadevananda, which two?20:19
jrolldevananda: I don't really see a good solution to that, though. which is lame.20:19
devananda- operators (==, !=, <, >, ...), requested capabilities (on node.instance_info) and actual capabilities (on node.properties) that need to be evaluated at some layer20:19
*** athomas has quit IRC20:20
Nishayes true20:20
devananda- the failure mode where a deploy is requested and the driver can not enforce the requested capabilities, even if they matched the operator check above20:20
devanandathe latter one we already have to deal with (though I'm not sure how you were planning to, Nisha)20:20
devanandathe former one is entirely new20:21
Nishadevananda, i didnt get latter one...why driver will not be able to enforce it , if the ndoe is selected?20:21
openstackgerritJosh Gachnang proposed openstack/ironic: Implement Cleaning States  https://review.openstack.org/15344420:22
devanandathe whole point of driver capabilities was to allow drivers to expose different sets of capabilities that they support20:22
devanandaand allow the scheduler to find nodes appropriately20:22
devanandathat's /separate/ from this, right? except if we're passing the whole flavor extra specs down to Ironic, is it?20:23
* devananda might be confused20:23
Nishathe node got selected because capabilities matched. but yes if two or more capabilities are given and node is selected then one has to take prefernece if they change/deal with the same hardware property20:23
Nishayes20:24
Nishathats seperate20:24
jrollhow are driver capabilities exposed to nova?20:24
Nisharight now its only enabling nova to select the node20:24
wanyenNisah, isn't flavor telling ironic why the node get selected?20:24
jrollor are they not, and thus we cannot schedule against them20:24
devanandaNisha: scheduler matching uses the operators, though. so Ironic has to evaluate those in the same way ...20:24
devanandajroll: node.properties.capabilities20:25
openstackgerritJosh Gachnang proposed openstack/ironic: Implement Cleaning States  https://review.openstack.org/15344420:25
jrolldevananda: that seems like node capabilities, are driver capabilities added to that?20:25
devanandajroll: that field is interpolated by nova.virt.ironic.driver20:25
Nishajroll, through inspection some capabilities gets populated which can be used for scheduling20:26
devanandaeh... right, driver capabilities. I used the wrong word earlier -- I don't think we've implemented that20:26
devanandaI meant node capabilities20:26
jrollok.20:26
wanyendeva, nova supposed to match flavor with node capabilitites and it should take operator as part of the matching. right?20:26
Nishadevananda, yes ironic will have to evaluate20:26
devanandawanyen: right. taht's all part of the nova scheduler20:26
devanandaNisha: this is what confused me so much about dropping the operators. you *cant* do that20:27
devanandabeacuse Nova already used those to determine which node to select20:27
wanyendeva, what will ironic driver need to evaluate oeprator?20:27
* NobodyCam is back20:27
Nishadevananda, now i am confused :(20:27
devanandaremoving the operators before passing it to Ironic could result in a node that doesn't meet the requirements20:27
Nishadevananda, yes20:27
devanandaok, example20:27
Nisha++20:27
jrolldevananda: by the time it gets to ironic, we've got it narrowed down to one node20:28
* jroll is trying to think of an example that wouldn't work20:28
Nishajroll, yes20:28
Nishainstance_info applies to one node20:28
Nishaso when nova has populated that means now ironic has to take further action20:28
openstackgerritJohn L. Villalovos proposed openstack/ironic-specs: Use the term 'stable state' instead of 'passive state'  https://review.openstack.org/15665520:28
wanyenby the time it gets to ironic, nova has choosen a node20:29
jrollNisha: what would be put into instance_info if the capability for the flavor is "<in> bios,uefi"20:29
Nishajroll, the above example is wrong20:29
Nishafor <in> operator you can have a single value20:29
Nishathat said it will be20:29
jrolloh, I see20:29
jrolland the node exposes bios,uefi20:29
Nisha'<in> bios'20:29
jrolland for <in> bios it could pick that node20:30
Nishayes20:30
jrollright, ok20:30
Nishajroll, yes20:30
devanandanode.properties.capabilities == {'boot_mode': 'uefi', 'turbo': 'on', 'storage_type': 'hdd'}    &&    nova flavor.extra_specs ['capabilities:turbo': '<in> on,off', 'capabilities:boot_mode': 'uefi', 'capabilities:storage_type': '!= ssd'}20:30
wanyenbased on instance instance_info, said bios, the ironic driver will deploy bios20:30
devanandathat will match in the nova scheduler20:30
devanandabut if you strip off the operators <in> and !=20:30
devanandait will not match in Ironic20:30
devanandait will fail both on turbo setting and storage_type20:31
Nishadevananda, yes totally agreed not to strip operators20:31
wanyendeva, ironic driver will just see that boot_mode=uefi in instance info and perform uefi mode20:31
Nishadevananda, above example is from some testcase?20:32
jrollI just keep getting more confused about this20:32
devanandawanyen: no, it wont20:32
* jroll reads nova docs20:32
devanandaNisha: I made up the example just now20:32
Nishadevananda, :)20:32
devanandawanyen: nova isn't setting node.instance_info['boot_mode': 'uefi']20:32
devanandawanyen: *isn't just setting ...20:33
Nishawanyen with this discussion instance_info will have 'boot_mode': '<in> uefi'20:33
devanandait would also be setting the other two20:33
Nishadevananda, yes20:33
jrollextra_specs is completely unstructured eh20:33
devanandaand ironic will need to interpolate "turbo: <in> on,off" and "storage_type: != ssd" as well20:33
Nishajroll, yeah20:33
devanandawhich is not something we currently do, nor have a spec for20:33
devanandajroll: yes20:34
devanandajroll: well no20:34
devanandajroll: it has some very loose structure defined20:34
Nishadevananda, "turbo : <all-in> on,off"20:34
wanyendeav, ironic needs toact on all capabilitites specified but Nova did the node selection.  right?20:34
jrolldevananda: I'm just going source-diving20:34
Nishayes20:35
Nisha:)20:35
devanandawanyen: that is my understanding, yes20:35
jroll'=': lambda x, y: float(x) >= float(y),20:35
jrollthat's fun20:35
devanandaeither we pass the entire field down from nova -- and then interpolate it in Ironic20:35
Nishadevananda, ++20:35
wanyendeva, as long as driver know how to hander its supprted capability, what wouldbe the problem?20:35
devanandaor we clearly declare, in the nova driver, what is (and is not) allowed -- and then pass only that down20:36
*** achanda has quit IRC20:36
devanandawanyen: the problem is validation. this should not be implemented uniquely within each driver in Ironic20:36
devanandawanyen: non-discoverable variations in behavior between drivers is bad for operators20:37
Nishadevananda, with second option the deploy will fail saying unspported flavor value used?20:37
devanandawanyen: if we can validate the request before actually trying to do a deploy -- that's great.20:37
Nishadevananda, but the node is specific to a driver20:38
Nishahow it can be outside driver20:38
devanandaNisha: sure. and even some nodes managed by the same driver will have different capabilities20:38
Nishadevananda, yes true20:38
jrolldeploy validation is syncronous, yes? and reaches into the driver?20:38
devanandaNisha: but the interface for determining whether the requested capabilities are valid for that node should be common across drivers20:38
jrollimbw20:39
devanandajroll: it calls node.driver.deploy.validate() synchronously - yes20:39
wanyendeva,  It can be done via common lib20:39
Nishadevananda, that sounds like doing outside the driver layer when it has to be common across all drivers20:40
*** andreykurilin_ has quit IRC20:40
jrolldevananda: yeah, so I think we can handle validation there, seems fine20:40
devanandajroll: I may have worded that poorly. this is something JayF and I have talked about several times.20:40
Nishadevananda, am not so sure how it should be handles20:40
*** andreykurilin_ has joined #openstack-ironic20:40
devanandaI would like  capabilities to be abstracted in some way and NOT left solely up to the driver20:40
jrolldevananda: yeah, agree there20:41
devanandaan off the cuff and silly example of what I *dont* want: ilo driver to use "boot_mode: uefi" and the drac driver to use "boot-mode: Uefi"20:41
Nishadevananda, that means we should have a seperate end point for capabilities20:41
jrollfor the purposes of the nova driver change, I think we can all agree that the virt driver should pass along all extra specs with operators attached and we can deal with ironic when we get there20:42
wanyendeva, each driver may support differnt capabiltites.  We can have common library to parse capabilities20:42
devanandajroll: yes. except one more thing -- I want validation of the passed parameters to happen at the API layer, not in the conductor20:42
jrolldevananda: sure, that's tangential to this change20:43
jrolldevananda: we have an extra month to think about ironic compared to this nova stuff20:43
jrollnot tangential, but you get what I mean20:43
devanandajroll: not really. people are going to start using this -- and passing arbitrary, vendor-specific things through this mechanism, with no validation20:43
devanandajroll: it will "just work" with their downstream changes, but not be portable, and we'll be guaranteed to break it soon20:43
devanandaand then folks will complain that we aren't offering backwards-compat20:44
jrolldevananda: we can't reasonably support downstream changes, if it breaks it's their fault20:44
devanandathat is the problemw ith landing changes like this in Nova20:44
jrolldevananda: there's no code in ironic to handle this stuff right now20:44
jrolldevananda: if we cared about downstream changes I would throw a fit about using CLEANING over DECOMMISSIONING20:44
devanandajroll: again, poor choice of words. by downstream changes I mean their local use of flavor extra specs20:45
devanandawhich is a completely permissible operator change20:45
jrolldevananda: in out of tree drivers or?20:45
devanandajroll: nah. doesn't need to be in a driver. just set in node.properties['capabilities']20:45
devanandaactually20:45
devanandayes20:46
devanandathe UEFI stuff20:46
jrolldevananda: blah20:46
jrolldevananda: maybe before this lands we ninja in a change that does the validation20:46
jrollstarting with if node.instance_info.get('capabilities'): raise...20:46
jrollsince we don't support any yet afaik20:46
Nishajroll, but local boot uses it20:47
jrollactually, we might support uefi or localboot today, validate those, drop anything else20:47
jrollright20:47
Nishawhich got merged last week20:47
jrollso we allow localboot20:47
jrollnothing else20:47
jrollwhen something lands to support uefi, we do it20:47
Nishaand secureboot also uses20:47
wanyenjroll, why limited tolocal boot?20:48
jrolldo you not understand my point20:48
*** Marga_ has joined #openstack-ironic20:48
jrollvalidate what we have today20:48
jrollblock everything else20:48
jrolladd as needed20:48
jrollit's likely not the best way to deal with this but it is better than allow everything20:48
wanyenjroll, ok.  We should allow secure boot and trusted boot then20:48
Nishaboot modes?20:49
wanyennisah, that's uefi stugg20:49
wanyens/stugg/stuff20:49
Nishawanyen, so its ok to block at validate layer?20:49
jrollI only see localboot using capabilities afaict20:50
Nishayes, and secure boot code in review also uses it20:50
jrollright, and that code can also patch the validation to add secure boot20:50
wanyenjroll, uefi, secureboot and trusted boot also need to use capability20:50
jrollwanyen: they can add it.20:51
jrollI'm not going to provide backwards compat for a feature in review20:51
*** jgrimm is now known as zz_jgrimm20:51
Nishajroll, fine. so do we agree that ironic virt driver will not handle nested capability keys as of now?20:52
jrollI have no idea what nested capability keys are, so I don't know.20:52
jrollI don't see support for it in the scheduler filter20:52
jrollafaict20:52
jrollhttps://github.com/openstack/nova/blob/master/nova/scheduler/filters/extra_specs_ops.py20:53
Nishanested capability at node should look like20:53
Nisha{'stats': {'opt1': {'a': 1, 'b': {'aa': 2}}, 'opt2': 2}}20:53
Nishaat flavor it can be like this20:53
Nisha'opt1:a': '1', 'capabilities:opt1:b:aa': '2',20:53
Nisha 'trust:trusted_host': 'true'20:53
jrollNisha: is that something nova supports today?20:53
Nishajroll its supported20:53
Nishayes20:53
jrolland if so, how does it schedule on them20:53
Nishai copied above from a test case in "nova/tests/unit/scheduler/filters/test_compute_capabilities_filters.py"20:54
jrollok20:54
Nishathe node selection is done compute_capabilities filter20:54
wanyennisha, I think it's reasonable to error out with not supported for now snce ironic does not have a use case yet20:55
Nishawanyen, ++20:55
wanyenit seems complicated and we don't want to rush it in20:55
Nishawanyen, plus ironic doesnt has such nested capabilities supported right now20:56
Nishaironic virt driver computes the capability as a string before passing it to nova for scheduler to consume it20:57
wanyendeva and jroll, is it ok not to support nested cap in K20:57
openstackgerritJim Rollenhagen proposed openstack/ironic: WIP: POC to validate capabilities  https://review.openstack.org/15676820:57
jrolldevananda: here's what I had in mind for doing this, if we land it before nova then things should work out20:58
jrollwanyen: it's likely fine, we can talk about it later20:58
*** zz_jgrimm is now known as jgrimm20:58
wanyenjroll, tx.  we need to merge nova code by Feb. 20 midnight UTC that's why we like to get agreement20:59
jrollwanyen: right.20:59
jrollNisha: wanyen: we can pass along the nested stuff to ironic and decide from there20:59
Nishajroll, i a not sure how to deal with nested stuff in nova right now21:00
Nishajroll, i am not sure how to deal with nested stuff in nova right now21:00
devanandawanyen: I agree that we should error, in the nova.virt.ironic driver, on any nested capabilities passed in. For now.21:00
Nishadevananda, thanks21:01
wanyendeva, ty21:01
jrollNisha: maybe pass it along in the same format21:01
jrolloh, or that21:01
devanandaBadCub_: if you're around, please jump in to #openstack-meeting for the cross project meeting21:01
devanandaBadCub_: probably nothing to do but watch and learn today21:02
jrolloh, I've been meaning to lurk there21:02
devanandajroll: yes. something like that, but ofc a little cleaner :)21:02
Nishajroll, yes that can be done that said the instance_info will have 'key1:subkey' : '<op> value'21:03
jrolldevananda: sure, just throwing it up21:03
devanandajroll: we should maybe define the acceptable caps ironic/common/capabilities.py ... or something21:03
jrollright21:03
devanandajroll: but the idea, yes21:03
jrollidk, do you want me to pursue it?21:03
jrollwould be nice to have before nova change merges21:03
wanyenjroll, if we error out nested cap in ironic virt driver, why to pass it to ironic?21:07
jlvillalrloo: I added the original author of the spec to https://review.openstack.org/#/c/156655/  and hopefully I answered your questions.21:08
jrollwanyen: I'm saying do one or the other, not both21:08
wanyenjroll, I see.  I think we will error it out in ironic virt driver.21:10
jrollthat's fine21:11
jrollI think we could avoid it an error on the ironic side, but I guess it doesn't matter21:11
jrolldevananda: do you want me to continue pursuing that validation patch?21:11
rloojlvillal: thx. the reason for leaving 'passive' in the spec is because it had been there before, and it shows better (to me) the diff between active states and 'stable' states.21:11
devanandajroll: please21:11
*** achanda has joined #openstack-ironic21:11
*** achanda has quit IRC21:11
jrolldevananda: ok, I kind of wonder about out-of-tree drivers, but they can patch capabilities.py downstream21:12
devanandawanyen: we should error on nested caps in the nova.virt.ironic driver, yes. but the work jroll just proposed further establishes a set of supported capabilities, and enforces them in ironic's API service21:12
*** achanda has joined #openstack-ironic21:12
devanandajroll: the /right/ approach is for us to somehow expose that set via the REST API ... but21:12
devanandabut that's not designed yet21:12
jrollme thinks everyone should read this, or at least the cores https://review.openstack.org/#/c/150653/21:12
wanyendeva, that's fine.21:13
jrolldevananda: right, agree, also do you want api bump for this? that would allow setting anything you want depending on api version so I'm thinking not21:13
devanandayes21:13
devanandai mean21:13
devananda"yes everyone should read that" :)21:13
Shrewsjroll: yes. read it. loved it.21:14
jrollheh21:14
jrollikr21:14
jrollnow I just need 30 hour days21:14
jlvillalrloo: Okay, I will put passive in there.21:15
jlvillal:)21:15
rloothx jlvillal21:16
jlvillalrloo: Are you okay with "stable (aka passive)" ?21:17
wanyendeva, just need a clrification, ironic can limit what capabilities that requires action from ironic driver but user should be able to define other capabilities that only used for scheduling purpose, e.g., finding a machine with specified  server model, nic capacities, etc... right?21:17
jrollwanyen: hrm, that's a good point21:17
rloojlvillal: yeah, although 'aka' -> 'or' is ok with you? Not sure if people know what 'aka' means.21:17
jrollblah21:18
jrolldevananda: wrt wanyen's point, my thing won't work :|21:18
jlvillalrloo: I like 'aka' better (Also Known As).  But I can do 'or' :)21:18
jrollunless we have an api to get valid capabilities to be passed to ironic... that could get fragile21:18
jrolljlvillal: gotta think about non-native english speakers21:19
rloojlvillal: hmm, maybe we don't want aka then, if you really want to call them 'stable'. I'm not sure I like 'stable', but I don't want to spend too much time thinking of something better.21:19
jlvillalrloo: jroll: I'll go with 'or'21:19
devanandawanyen: urgh...21:22
devanandawanyen: how does the nova.virt.ironic driver know which capabilities to pass down to Ironic?21:22
devanandawanyen: or if it passes them all, how does Ironic know which ones to assert on the node?21:22
*** LiveOne_ has joined #openstack-ironic21:22
openstackgerritJohn L. Villalovos proposed openstack/ironic-specs: Use the term 'stable state' instead of 'passive state'  https://review.openstack.org/15665521:23
wanyendeva,  I think it will depends on driver.  driver know whick one needs toact on vs. not21:23
devanandaif Nova psses 10 capabilities down to Ironic, silently ignoring 9 of them, and only using the "boot_mode" capability, would be undiscoverable and unacceptable behavior21:23
devanandawanyen: driver can not just choose to ignore a bunch of things taht were requested by the user (ie, by nova)21:24
*** Marga_ has quit IRC21:24
devanandaurgh, well, except that actually, today, if I pass inkey:value pairs, they are just ignored ....21:25
*** Marga_ has joined #openstack-ironic21:25
wanyendeva, driver is not ignoring them bu t it know which one requires action.21:25
*** Marga_ has quit IRC21:25
devanandawanyen: as a user, how would I know which ones the driver acted on, and which it did not?21:25
*** Marga_ has joined #openstack-ironic21:25
wanyendeva, user does not need to know.21:25
devanandawanyen: !?!?21:25
wanyendeva, as long as node is selected and the action is taken for the capabilities that requie work in driver, that should be fine. right?21:26
*** LiveOne_ has left #openstack-ironic21:26
devanandawanyen: "and the action is taken" -- how does the user know if the action they requested WAS taken?21:27
devanandawanyen: what if the user asks for turbo mode, and the driver doesn't support it -- in your proposal, it would silently ignore that requset21:27
wanyendeva, it will be whether the deploy is successful they way they expect.21:27
devanandawanyen: as a user, that is never what I want21:27
devanandawanyen: so the user has to log into the machine and manually check if all the things they requested were done? ....21:28
wanyendeva, if driver does not support turbo mode, it should returns a not supoorted error21:28
devanandawanyen: I agree - it should error.21:28
devanandawanyen: except that's not what you said a minute ago21:29
wanyendeva, I meant if the flavor is only for scheduling purpose such as specific server model, then driver will have no op but for unsupported caps, it should error out.21:30
devanandajroll: if ironic were to expose valid_capabilities.keys() in some way, so nova only passed those caps (and then used all others only for scheduling purposes)21:32
jroll21:18:54           jroll | unless we have an api to get valid capabilities to be passed to ironic... that could get fragile21:32
jroll:)21:32
devananda...21:32
devanandaright21:32
jrollso we do need an api for this21:33
devanandaok. i feel like I understand this now. sorry if I'm a bit slower than others today21:33
jrollso who wants to write the spec for this api endpoint?21:36
Nishadevananda, I plan to not error out for nested capabilities....21:36
devanandajroll: going that route is a much larger change in the nova virt driver, and i'm fairly sure would not make it in this cycle21:36
jrolldevananda: yeah, agree21:37
devanandajroll: so, is there a middle ground we can do now, to get enough support for UEFI in, without making upgrades broken in the future?21:37
devanandaremember, what ever we land in nova now, we'll need Ironic's API to continue to support for 12 months21:38
jrolldevananda: right, I'm scared21:38
devananda:(21:38
JayFTo ask a blunt question: HP seems to care a lot about this; why not downstream it for K then upstream for L?21:39
JayFlike we did for a lot of the early agent features21:39
devanandawanyen: ^ ?21:39
JayFI know it's not perfect, but it's better than rushing to form an API contract we might regret21:39
JayFand us running some of the stuff downstream led to a better version upstream21:40
wanyenwe would really like to be able to support secuer boot, local boot options for K21:40
jrollbut does it need to be *upstream* in K?21:43
jroll(not voicing an opinion here, just asking)21:43
jrollwanyen: ^21:43
NobodyCambrb21:44
wanyenjroll, upstream in K is much preferable.21:44
* mrda is always wary on prematurely agreeing on a public API21:44
JayFmrda: that's mainly where I'm coming from. I feel like if there was 2 hours of IRC discussion about it, there should be something more permanent (like ML or spec) to nail it down21:45
JayFand/or improve the existing spec so folks know *exactly* what's being implemented21:45
jrollwanyen: of course, I also tend to think this isn't near ready21:47
mrdaJayF: I've just been burned too many times when afterwards I realise I haven't considered everything21:47
wanyenjroll, so with your API idea, can it be checked at ironic rather than at ironic virt dirver?21:47
jrollwanyen: no, at ironic we're validating which capabilities drivers can handle, but nova is passing all of them21:48
wanyenjroll, can conductor check?21:49
rloofwiw, lucas-dinner has some feature/change that needs capabilities passed from nova too21:49
jrollwanyen: that... doesn't help?21:49
jrollrloo: yeah, localboot21:49
Nishajroll, so whats the consclusion21:50
jrollwanyen: we want to validate at the API layer that ironic can handle all capabilities passed to it. so nova needs to know what to pass to it.21:50
jrollNisha: there is no conclusion (yet)21:50
Nishai am confused what to pursue for nova patch21:50
Nisha:(21:50
Nishai have done the changes to pass entire capabilities to instance_info (even nestedkey)21:51
Nishabefre posting the patch wanted an opinion21:51
rloojroll: w/o the API part, seems like the only thing we can do in the next few days is to 'hardcode' in the ironic.driver, the actual capabilities that ironic will handle in the near future. that still doesn't handle how the user knows they didn't get turbo whatever, unless we also error from the nova.ironic.driver if other capabilities are specified.21:52
wanyennisha, we were discussing how to differentiate cap for scheduling only and cap that requires action from driver21:52
jrollrloo: that isn't the worst idea21:53
Nishawanyen, i read it but if it requires changes more than what is there in nova spec, then the changes will not go in K21:53
wanyennisha, there is not way to differntiate them. right?21:53
jrollNisha: go ahead and push that patch, we can go from there21:53
wanyens/not/no21:54
Nishawanyen, No as of now ao differentiation. but may be that can be done as part of inspection21:54
Nishawanyen, No as of now no differentiation. but may be that can be done as part of inspection21:54
Nishajroll, ok thanks21:54
*** eghobo has quit IRC21:54
wanyennisha, how can inspection handle that?21:55
NobodyCamwoo hoo /me was able to get unit test kinda working again on his mac21:56
Nishamay be while updating capabilities to node.properties some hook could be added...not sure though...but then it will again per capability which may differ driver to driver21:56
wanyennisha, yes.  I think it's driver specific as well.21:57
jrollNobodyCam: day well spent :P21:57
NobodyCamuggh21:58
Nishawanyen, jroll rloo devananda so as of now i post the patch with passing capabilities as it is to ironic even the nested keys as it is21:58
jrollNisha: cool, thanks for that21:59
wanyennisha, why you decided not to error out nested cap?21:59
wanyennisah, I meant error out at ironic virt driver22:00
Nishawanyen, just because its possible to code that way. In any case as of now ironic itself is not capable to have nested capabilities, so instance_info will never have such a key till ironic supports it22:01
jlvillaljroll: I think you did the 'oslo.config' to 'oslo_config' renaming22:02
jrolljlvillal: possibly22:02
Nishaonly thing is when we dont block at nova layer , we have a way open for future to handle it within ironic whenever ironic starts supporting nested capabilities22:02
jrolljlvillal: that was beyond yesterday so I don't remember22:02
jrollNisha: ++22:02
jlvillalI noticed :)22:02
jlvillals/I noticed :)/:)/22:03
jrolljlvillal: had a question about it or?22:03
jlvillaljroll: I noticed: ironic/drivers/modules/virtualbox.py22:03
*** Hefeweizen has quit IRC22:03
jroll:P22:03
jrolloh, did that bring in another oslo.config22:03
jlvillalShould that file also be done?  I was reviewing a different patch22:03
wanyennisha, ++22:03
Nishajroll, wanyen thanks22:04
jlvillaljroll: I can do a patch for it, if it is appropriate22:04
jrolljlvillal: yep, it should be, probably missed inr eview22:04
jrolljlvillal: there's a few in there now22:04
jlvillaljroll: Should some remain as 'oslo.config'?22:04
jlvillalI did a 'git grep' and noticed a few22:04
jlvillalI wasn't sure if intentional or not.22:05
jrolljlvillal: just openstack/common/ stuff22:05
jlvillalopenstack/common should remain 'oslo.config'?22:05
jrollyep22:05
jlvillalEverything else should be 'oslo_config22:05
jlvillalEverything else should be 'oslo_config'22:05
jlvillalOkay.  Thanks!22:05
jrollyep!22:05
jrollnp :)22:05
openstackgerritJohn L. Villalovos proposed openstack/ironic: Add concept of stable states to the state machine  https://review.openstack.org/15552922:08
openstackgerritJohn L. Villalovos proposed openstack/ironic: Move oslo.config references to oslo_config  https://review.openstack.org/15679722:08
devanandaJayF: suggestion: make https://launchpad.net/coreos-image-builder run by the same team as IPA22:08
devanandaJayF: oh -- https://launchpad.net/ironic-python-agent never mind22:08
JayF:)22:08
devanandaJayF: so that should exist, right?22:09
JayFIf you think we should give IPA it's own place, we can22:09
JayFwhen we originally made ipa22:09
JayFwe said ironic would handle bugs22:09
devanandayea, i remember22:09
JayFso no lp22:09
devanandabut IPA has artefacts which are separate from Ironic's releases22:09
devanandaJayF: where did we end up on the "should IPA have versioned releases" discussion?22:10
*** Hefeweizen has joined #openstack-ironic22:10
openstackgerritJohn L. Villalovos proposed openstack/ironic: Move oslo.config references to oslo_config  https://review.openstack.org/15679722:10
*** achanda has quit IRC22:10
JayFdevananda: everytime I've been in one of those, the answer has been to punt on the question22:11
JayFI think it's a /very/ good candidate for a design session at Vancouver, honestly22:11
JayFassuming j* will all be able to go :P22:11
devanandaJayF: IIRC, we said IPA wouldn't have versioned releases because it would produce artefacts, and the whole thing was one unified non-versioned thing22:11
devanandaexcept two things have changed22:11
devanandaa) coreos-image-builder is now separate from IPA's repo22:11
devanandab) zigo pointed out in grenoble that he wants to package IPA so folks can install it. he had a good reason why, which I've now forgotten22:12
devanandaI think (b) was so folks could build their own images with it, but use debian packages to get those tools (rather than git clone)22:12
NobodyCamhumm we dont test iscsi_deploy continue_deploy in test_iscsi_deploy22:13
jlvillaljroll: You are a hard man to add as a review :(22:13
zigodevananda: Correct. *everything* should be in Debian, otherwise, that's non-free ! :)22:13
jlvillals/review/reviewer/22:13
devanandaJayF: ^22:13
JayFzigo: I'm really curious what you'd do with an ironic-python-agent debian package, or what use case you see it being useful for22:13
JayFzigo: I also don't buy into the notion if debian doesn't package it, it's not free :P22:14
Nishadevananda, review for https://review.openstack.org/147857 (states for inspection)22:14
jrolljlvillal: my gerrit id is busted :/22:14
devanandaJayF: hm. perhaps only coreos-image-builder needs to have releases / have a debian package then22:14
zigoJayF: Ok, let me rephrase then. Nothing in Debian should be, IMO, relying on any external source.22:14
openstackgerritRuby Loo proposed openstack/ironic: Removed unused image file  https://review.openstack.org/15680022:14
zigoJayF: Everything should be self-contained in the distribution.22:14
jlvillaljroll: :(22:14
* jroll looks22:15
zigoJayF: If you rely on some external blobs which you can't rebuild yourself, that's IMO a very crappy situation where you have no control over things.22:15
jrollzigo: would you package the ironic ramdisk built by DIB?22:15
jrollslash do you package it?22:15
zigojroll: I have packaged DIB ...22:15
devanandajroll: yes, debian does package it (it == all the bits to build that ramdisk)22:15
*** korekhov has quit IRC22:16
zigojroll: I very much would like to have scripts in Debian so that it's possible to use DIB to create the ramdisk.22:16
*** korekhov has joined #openstack-ironic22:16
JayFzigo: I think what devananda said fits in this case then; coreos-image-builder should have releases22:16
JayFzigo: and that would build IPA ramdisks on demand22:16
devanandaJayF: it goes a step further22:16
zigoGreat ! :)22:16
JayFzigo: the tight coupling between IPA and the build system is something I'm working to change right now22:16
zigoJust tag a release, and ping me, and I'll package and upload in Debian.22:17
devanandaJayF: c-i-b needs to have a release, yes, but when it builds the ramdisk, it shouldn't be pulling IPA from git22:17
JayFdevananda: this is aside from whether or not IPA should have releases, I went from "very no" to "on the fence" about releasing22:17
JayFdevananda: I think I'd be OK with IPA doing client-style releases, as long as we aren't on the 6 month deathmarch release :P22:17
JayFjroll: ^ have any opinion?22:17
devanandaJayF: I'm glad you agree that c-i-b should have releases. and yea, both of them should be on the client model (tag when ever you want)22:18
jrollidk, I guess I don't care22:18
jrollno feature freeze pls22:18
JayFdevananda: and when I say 'releases', I'm explicitly leaving the artifact (pip package? tarball?) up in the air22:18
JayFFor now I have to get CIB merged at all, hehe22:18
devanandacoreos-image-builder tags should get published on pip. it's a utility.22:18
zigoJayF: FYI, I had the same issue with Sahara. It uses an image which contains Hadoop, which can't be built in Debian: we don't have an Hadoop package in Debian, plus it needs a very specific DIB version. I very much would like to fix the situation, but there's not much I can do if upstream don't do things correctly (ie: if Sahara doesn't use DIB correcly, of if DIB changes too fast... I'm not sure who's at fault here...).22:18
zigoSo, let's not have the same kind of bad issue with Ironic. ! :)22:19
JayFdevananda: ++ I was talking about IPA when saying that22:19
zigoCouldn't we use openstack-debian-images to build the image?22:19
zigoOr embedded Debian ? :)22:19
devanandaironic-python-agent is a client. if I can run it in a container inside a ramdisk, why couldn't I pip install and run it locally? (ignoring the fact that it would hose my machine if I did)22:19
JayFzigo: part of why we're splitting builder from contents is because we want other folks to be able to build IPA in other ways, if they see fit22:19
zigohttp://www.emdebian.org/22:19
JayFzigo: You're welcome to contribute new build methods if you'd like :). I would not use such of a thing and don't have an interest in building it22:20
zigo"As of July 2014, updates to the Emdebian distributions ceased. There will be no further updates and no further stable releases. " <--- crap !!! :(22:20
zigoI didn't know about this.22:20
JayFdevananda: To add to your argument, ironic-python-agent --standalone is a thing now22:20
JayFdevananda: for local testing without an Ironic installation22:20
devanandaJayF: fantastic!22:20
* jroll imagines a ramdisk that boots up and pip installs ipa22:20
devanandaJayF: so yes, that definitely should have tagged versions, be on pip, and so on22:20
JayFdevananda: (skips lookup and heartbeat, but still takes commands via REST api)22:20
*** anderbubble has quit IRC22:21
JayFdevananda: /me outsources to BadCub_22:21
devanandaJayF: along with nice big warnings about what it does22:21
devanandaJayF: ++22:21
JayFhe'll be our new secret agent man22:21
zigoProbably it should be possible to tweak openstack-debian-images to make a much much smaller image, but it will never be as small as coreos, for sure!22:21
zigojroll: Please go to hell with your pip install ... :)22:22
jroll...22:22
jrolla smiley face doesn't make that any less abrasive22:22
*** jjohnson2 has quit IRC22:22
zigojroll: How about you rewrite everything in PHP, and use pear install? Or CPAN in Perl?22:22
devanandazigo: so as JayF said, the coreos image building scripts are being separated from the actual agent that we use in the ramdisk, to enable others to build ramdisks in different ways that embed the same agent22:23
devanandazigo: .... really?22:23
jrollright.22:23
zigojroll: Sorry, it's just that my hair stands up each time I see someone talking about pip install.22:23
zigojroll: I'm convince that one of the reason TrippleO is still what it is right now (eg: failing every odd days), is because it uses that.22:24
jrollzigo: and that makes it ok to be rude to someone that you're asking to do a thing for you?22:24
zigojroll: I didn't want to appear as rude, sorry.22:24
devanandazigo: maybe you meant that to be humorous, but it did not parse that way to me (or, it seems, to others)22:26
devanandawe try to be tolerant of as many different ways to do things as there are thigns to do22:26
devananda(and, fwiw, I used to install almost everyhing from CPAN ... and it worked far better than PIP)22:27
zigoYeah, I had a big smile on my face when I wrote it, and I really didn't mean to hurt anyone.22:27
*** achanda has joined #openstack-ironic22:29
jrolljlvillal: +2 btw22:30
jlvillaljroll: Thanks :)22:30
jrollnp22:31
*** Marga_ has quit IRC22:32
*** Marga_ has joined #openstack-ironic22:32
*** anderbubble has joined #openstack-ironic22:35
openstackgerritMerged openstack/ironic: Remove docs in proprietary formats  https://review.openstack.org/15655422:43
*** Marga_ has quit IRC22:44
*** sdake_ws has quit IRC22:44
*** Marga_ has joined #openstack-ironic22:44
*** andreykurilin_ has quit IRC22:45
*** lucas-dinner has quit IRC22:52
victor_lowtherSo, after getting overly annoyed at devstack and not quite as peeved at dockstack, I wrote a thing: https://github.com/VictorLowther/dockonic22:55
victor_lowtherPossibly the world's stupidest way to run Ironic in a Docker container.22:56
jrollvictor_lowther: heh, neat22:57
*** foexle has quit IRC22:58
jrollI wrote this yesterday https://gist.github.com/jimrollenhagen/ac768558233e0e37415f22:58
*** Marga_ has quit IRC23:05
*** Marga_ has joined #openstack-ironic23:06
*** chlong has joined #openstack-ironic23:08
* devananda notes that the non-glance image ref patch is > 1K LOC23:10
NobodyCamdevananda: quick question. on lines 515 & 516 of https://review.openstack.org/#/c/155460/4/ironic/drivers/modules/pxe.py is there a reason you used task.node instead of just node.?23:13
devanandaNobodyCam: just habit, I guess23:14
NobodyCam:)23:14
Nishadevananda, NobodyCam reviews on inspection patches23:21
*** yuanying has joined #openstack-ironic23:23
openstackgerritChris Krelle proposed openstack/ironic: Correctly rebuild the PXE file during takeover of ACTIVE nodes  https://review.openstack.org/15546023:24
NobodyCamdevananda: please take a look at the dance I had to do to get the test to pass on https://review.openstack.org/#/c/155460/5/ironic/drivers/modules/pxe.py lines 519-52223:25
jrollNobodyCam: yeah, I hate that about our objects23:26
jrollbut never found time to care enough to fix it :/23:26
NobodyCamok so hit that too.. :)23:26
*** wanyen has quit IRC23:27
jrollyeah, I think it's setattr() insanity breaking it23:29
NobodyCam:) we prob should file a bug for it :-p23:29
*** anderbubble has quit IRC23:30
openstackgerritChris Krelle proposed openstack/ironic: Correctly rebuild the PXE file during takeover of ACTIVE nodes  https://review.openstack.org/15546023:38
NobodyCamhad white space :-p23:38
openstackgerritShiina, Hironori proposed openstack/ironic: Fix typos in documentation: Capabilities  https://review.openstack.org/15642523:42
NobodyCamJoshNang: you happen to see 153444 is "Patch in Merge Conflict" ?23:45
JoshNangNobodyCam: blah yeah, i'm not sure why it didn't ask me to rebase when i submitted :/23:48
JoshNangi figured i'd take care of it when i push the dependent patch (when i finish writing the tests)23:48
NobodyCamsweet :)23:53
NobodyCamwas one of the reviews in a open tab23:53

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