Thursday, 2014-02-13

russell_hor I could add a way to passthrough a call to a driver, then and implement the search API-side00:00
*** dkehn__ is now known as dkehn_00:00
russell_hthe latter has some complications with how conductors work though.00:00
NobodyCamrussell_h: https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/pxe.py#L15300:01
russell_hNobodyCam: right, if I understand correctly, that passes the node ID in as a kernel parameter00:02
NobodyCamyep00:02
NobodyCamif I recall correctly00:02
russell_hI'd rather not do that if possible00:02
NobodyCamahh00:04
russell_hI'm leaning towards adding a vendor_passthru type method off the drivers API00:05
russell_hso I could do something like POST to /drivers/my_custom_driver/new_vendor_passthru/locate_node00:06
NobodyCamhow would it work?00:06
russell_hthen the API would pick a random conductor with that driver00:06
*** dkehn has quit IRC00:06
russell_hIs there a desire that the API not directly execute driver code?00:07
*** dkehn has joined #openstack-ironic00:07
NobodyCamwhat would you use to identify the node you are trying locate00:08
*** dkehn_ has quit IRC00:09
russell_hI don't want to specify that as part of my driver's API, I'd just submit an inventory of the server to it and it does its best to find or create a node00:09
*** dkehn is now known as dkehn_00:09
*** harlowja is now known as harlowja_away00:09
*** dkehn_ has quit IRC00:09
russell_hbut it'd be like looking at serial numbers and mac addresses00:09
*** dkehn has joined #openstack-ironic00:10
*** dkehn_ has joined #openstack-ironic00:10
NobodyCamhummm00:10
russell_hthe nice thing about this is that all I need to do is power on a server, it PXE boots an image with only the Ironic API URL as a parameter and automatically adds itself to inventory00:11
russell_hI'm sure I'd wind up needing to work out.. other complications00:11
NobodyCamya .. :)00:11
NobodyCamthat auto add need to be configurable00:12
NobodyCamnot everyone will want that00:12
russell_hright, well I plan to put all of this in a driver00:12
russell_hreally all I need is a way to call my code without having to know a node ID00:13
NobodyCami could see a vendor_passthru/locate_nodeuuid?mac=aa:bb:cc:dd:ee:ff type call00:13
russell_hwhich isn't really possible today without me doing something terrible00:13
russell_hright00:13
russell_hI mean, I could also just make it possible to filter on a GET to /nodes00:13
russell_hbut then I either need to upstream the inventory stuff, or figure out how to do filtering in a driver00:14
NobodyCamdevananda: what do you think about some thing like "vendor_passthru/locate_nodeuuid?mac=aa:bb:cc:dd:ee:ff" returns node.uuid00:14
russell_hI don't think either of those is really appropriate00:14
russell_hNobodyCam: the thing is, the current vendor_passthru hangs off of a node00:14
russell_hits like /nodes/<node_uuid>/vendor_passthru00:14
russell_hthe reference I made to "me doing something terrible" is where I add a fake node with UUID 000-000-000 whatever00:15
*** romcheg1 has quit IRC00:15
russell_hbut00:15
russell_hI want to think I have some degree of engineering integrity left00:16
NobodyCamlol00:16
NobodyCam:)00:16
NobodyCamwhat if /port/<MAC ADDR>/vendor_passthru/locate_nodeuuid00:18
NobodyCamwere to exist?00:18
russell_hI mean00:18
russell_hwait, are ports identified by mac addr?00:18
russell_hif they are I can just do GET /ports/<mac_addr> and pull the node UUID from there00:19
NobodyCamsomething is saying that they currently are not00:19
russell_hhmm00:20
russell_hit seems like you really need the node_uuid and optionally a port_uuid00:20
russell_hI could add something like00:21
russell_hGET /ports?mac_address=<mac_address>00:21
russell_hto filter the list00:21
NobodyCamya .. I could see such a think here https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/port.py00:21
NobodyCams/think/thing/00:22
*** dkehn__ has joined #openstack-ironic00:23
russell_hwait00:24
russell_hhuh00:24
russell_hhttps://github.com/openstack/ironic/blob/master/ironic/db/sqlalchemy/api.py#L10800:24
russell_hso dbapi.get_port(mac_address)00:25
devanandaback00:25
russell_hwould appear to work00:25
NobodyCamahh00:25
russell_h(which seems bizarre actually)00:25
russell_hbut, in any case, isn't exposed in the API00:26
NobodyCamya00:26
russell_hthere's also no index on mac address00:26
*** dkehn__ has quit IRC00:26
*** dkehn_ has quit IRC00:26
*** dkehn has quit IRC00:26
*** dkehn__ has joined #openstack-ironic00:27
NobodyCamWb devananda00:27
russell_hI could also just stand up an elasticsearch cluster and have it index everything00:28
russell_hand have my deploy agent hit that00:28
*** dkehn has joined #openstack-ironic00:28
NobodyCambut wouldn't that tie the driver to your search cluster00:30
NobodyCamlol :-p00:30
russell_hha, yeah...00:31
devanandarussell_h: so port has an index on mac00:31
devanandarussell_h: but let me start from the beginning00:31
devanandarussell_h: you are asking about an auto-discovery feature, yes?00:31
devanandarussell_h: whereby a new node, not yet in the DB, would power on, boot a default/discovery ramdisk, then POST some information to the Ironic API00:31
devanandawithout any authentication00:32
devanandaand get added to the DB00:32
devanandarussell_h: that about right?00:37
russell_hdevananda: right00:37
russell_hdevananda: and if its already in the DB I want to get back its ID00:37
devanandarussell_h: ok, so two things00:38
devananda1) enrollment00:38
devananda2) search for existing node00:38
devananda(2) is possible -- but you need to be authenticated00:38
devananda(1) is terrible without authentication00:38
devanandaif you're concerned about security, then allowing anonymous enrollment of hardware exposes a pretty big security risk, no?00:39
russell_hwell.. it won't be entirely anonymous00:40
devanandabut i'm side tracking on security again00:40
russell_hbut yeah, there are definitely risks00:40
russell_h(this is going to be happening inside of a more-or-less trusted network)00:40
devanandak00:40
devanandaso if we put some caveats about security around it, then yes, auto-discovery by DHCP BOOT is definitely possible00:41
devanandathe DHCP server should respond differently to BOOT requests coming from known vs unknown MACs00:41
devanandaeg, if the server is already known, serve this ramdisk. if it's unknown, serve that ramdisk00:42
russell_hwhy?00:42
devanandayou don't need to re-run discovery on a node that's already been discovered (unless something changed and you /want/ to do that)00:42
russell_hI actually want to avoid any of that and just have only one ramdisk with the API URL as its only parameter00:42
devanandawhy?00:43
russell_hI want to avoid having to reconfigure DHCP a bunch00:45
devanandarussell_h: why is that?00:46
russell_hlike if I understand the PXE deploy driver, every time the hash ring gets rebalanced I'm going to have to make a neutron call for every port and rewrite a bunch of pxe configs00:46
devanandayep00:47
devananda"every time" == if a conductor comes on/goes offline00:47
devanandawhat is the problem you're trying to solve?00:48
russell_hless state in the conductors00:49
russell_hwell, thats my goal00:50
devanandathat's not a problem statement, that's a goal :)00:50
devanandai'm trying to see your motivation, but not getting it yet00:50
russell_hyeah, sorry, really distracted, trying to pretend like I'm paying attention in this meeting00:51
devananda:)00:51
russell_hdevananda: let me stew on this overnight and come back to you with a more considered approach tomorrow00:51
russell_hI might be prematurely optimizing00:51
russell_hthe short story is that I'm concerned about cascading failures when we lose a conductor00:52
devanandarussell_h: sounds good. what you're asking isn't impossible - but i'd like to understand the reason behind it :)00:52
devanandaahh00:52
devanandathe load from deploy is in transferring the user image00:53
devanandanot the kernel& ramdisk, which are very small by comparison00:53
devanandauser image is likely several GB. k & r probably no larger than 15MB00:53
devanandaso in eg a power failure / recovery situation, we're only looking at PXE boot transferring the k & r -- not the user images00:54
devanandarussell_h: fwiw, i'm sure we'll hit some scaling issues once ironic starts being deployed00:56
devanandarussell_h: i'd like us to focus on getting _there_ before we look at what comes after ;)00:57
russell_hfair00:57
NobodyCamdoh found my missing ssh key :( *face in palms*00:59
NobodyCamok /me calls it a day too01:09
*** dkehn_ has joined #openstack-ironic01:17
*** dkehn_ has quit IRC01:19
*** dkehn has quit IRC01:19
*** dkehn_ has joined #openstack-ironic01:20
*** dkehn__ has quit IRC01:20
*** dkehn has joined #openstack-ironic01:21
openstackgerritJosh Gachnang proposed a change to openstack/ironic: Fix leaking DB details to API on error  https://review.openstack.org/7312001:27
JoshNangWhoops, grabbed the wrong bug ID there.01:29
openstackgerritJosh Gachnang proposed a change to openstack/ironic: Fix leaking DB details to API on error  https://review.openstack.org/7312101:33
*** rloo has quit IRC01:33
*** harlowja_away is now known as harlowja01:43
*** nosnos has joined #openstack-ironic02:00
openstackgerritYongli He proposed a change to openstack/ironic: Use six.moves.urllib.parse instead of urlparse  https://review.openstack.org/7288902:02
*** wusWWW has quit IRC02:09
*** wusWWW has joined #openstack-ironic02:10
*** mdurnosvistov_ has joined #openstack-ironic02:13
*** harlowja_ has joined #openstack-ironic02:13
*** aignatov_ has quit IRC02:13
*** mtaylor has joined #openstack-ironic02:13
*** mikal_ has joined #openstack-ironic02:14
*** mikal has quit IRC02:14
*** BLZbubba has quit IRC02:14
*** mordred has quit IRC02:15
*** SpamapS has quit IRC02:15
*** russell_h has quit IRC02:15
*** nosnos_ has joined #openstack-ironic02:15
*** davidlenwell_ has joined #openstack-ironic02:15
devanandaJoshNang: why two patch sets?02:16
*** max_lobur has joined #openstack-ironic02:16
*** dkehn__ has joined #openstack-ironic02:16
*** wusWWW has quit IRC02:16
devanandaJoshNang: oh - you can amend the commit and post a new revision without creating a whole new patch set02:16
devanandaJoshNang: https://wiki.openstack.org/wiki/GerritWorkflow#Updating_a_Change02:17
*** max_lobur_afk has quit IRC02:18
*** dkehn_ has quit IRC02:18
*** mdurnosvistov has quit IRC02:19
*** dshulyak has quit IRC02:19
*** harlowja has quit IRC02:19
*** creiht has quit IRC02:19
*** pradipta has quit IRC02:19
*** nosnos has quit IRC02:22
*** davidlenwell has quit IRC02:22
*** pquerna has quit IRC02:22
*** hemna has quit IRC02:22
openstackgerritYongli He proposed a change to openstack/ironic: Use six.moves.urllib.parse instead of urlparse  https://review.openstack.org/7288902:22
*** BLZbubba has joined #openstack-ironic02:23
*** pquerna_ has joined #openstack-ironic02:23
*** aignatov_ has joined #openstack-ironic02:23
JoshNangdevananda: sorry about that. I had too many tabs open at the end of the day. Thanks for the link. Hopefully I won't need it next time :)02:23
*** aignatov_ is now known as aignatov02:23
devanandaJoshNang: no worries02:24
*** SpamapS has joined #openstack-ironic02:24
*** SpamapS has quit IRC02:24
*** SpamapS has joined #openstack-ironic02:24
*** BLZbubba has quit IRC02:26
*** davidlenwell has joined #openstack-ironic02:28
*** max_lobur has quit IRC02:28
*** SpamapS has quit IRC02:29
*** SpamapS has joined #openstack-ironic02:30
*** coolsvap has quit IRC02:30
*** max_lobur has joined #openstack-ironic02:30
*** nosnos has joined #openstack-ironic02:32
*** dkehn__ has quit IRC02:33
*** davidlenwell_ has quit IRC02:33
*** nosnos_ has quit IRC02:33
*** aignatov has quit IRC02:34
*** russell_h has joined #openstack-ironic02:34
*** dkehn has quit IRC02:35
*** SpamapS has quit IRC02:36
*** SpamapS has joined #openstack-ironic02:36
*** SpamapS has quit IRC02:36
*** SpamapS has joined #openstack-ironic02:36
*** BLZbubba has joined #openstack-ironic02:38
*** pquerna_ has quit IRC02:38
*** pquerna has joined #openstack-ironic02:38
*** aignatov_ has joined #openstack-ironic02:39
*** aignatov_ is now known as aignatov02:40
*** thedodd has joined #openstack-ironic02:41
*** dkehn_ has joined #openstack-ironic02:42
*** mdurnosvistov has joined #openstack-ironic02:43
*** russellb_ has joined #openstack-ironic02:45
*** BLZbubba_ has joined #openstack-ironic02:46
*** pquerna has quit IRC02:47
*** BLZbubba has quit IRC02:47
*** marty has joined #openstack-ironic02:47
*** creiht_ has joined #openstack-ironic02:48
*** mgoddard_ has joined #openstack-ironic02:49
*** mikal has joined #openstack-ironic02:49
*** nosnos has quit IRC02:49
*** mikal_ has quit IRC02:49
*** mdurnosvistov_ has quit IRC02:49
*** rwsu has quit IRC02:50
*** hstimer has quit IRC02:50
*** mgoddard has quit IRC02:50
*** lifeless has quit IRC02:50
*** jrist has quit IRC02:50
*** anteaya has quit IRC02:50
*** russellb has quit IRC02:50
*** pquerna has joined #openstack-ironic02:50
*** russellb_ is now known as russellb02:50
*** nosnos has joined #openstack-ironic02:56
*** anteaya has joined #openstack-ironic02:56
*** jrist has joined #openstack-ironic02:57
*** lifeless has joined #openstack-ironic02:58
*** pquerna_ has joined #openstack-ironic02:59
*** rwsu has joined #openstack-ironic03:01
*** pleia2 has quit IRC03:03
*** pleia2 has joined #openstack-ironic03:04
*** pquerna has quit IRC03:04
*** creiht_ is now known as creiht03:16
*** dkehn_ has quit IRC03:21
*** dkehn has joined #openstack-ironic03:22
*** hemna has joined #openstack-ironic03:29
*** harlowja_ has quit IRC03:30
*** harlowja_ has joined #openstack-ironic03:30
*** mikal has quit IRC04:26
*** mikal has joined #openstack-ironic04:27
*** thedodd has quit IRC05:12
*** john-n-seattle2 has quit IRC05:40
*** pradipta has joined #openstack-ironic05:41
*** dkehn has quit IRC05:52
*** loki__ has joined #openstack-ironic05:54
*** dkehn has joined #openstack-ironic05:54
*** marty has quit IRC05:54
*** dkehn_ has joined #openstack-ironic06:06
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/7119206:06
openstackgerritYongli He proposed a change to openstack/ironic: Remove extraneous vim configuration comments for horizon and tools  https://review.openstack.org/7316006:12
Haomengdevananda: ping06:12
openstackgerritA change was merged to openstack/ironic: Updated from global requirements  https://review.openstack.org/7144906:14
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Add testing and doc sections to docs/dev-quickstart  https://review.openstack.org/7163806:17
*** pquerna_ is now known as pquerna06:24
loki__hi planning to add documentation to ironic let me know the requirements06:32
*** mgoddard has joined #openstack-ironic06:35
*** john-n-seattle has joined #openstack-ironic06:37
*** mgoddard_ has quit IRC06:37
openstackgerritYongli He proposed a change to openstack/python-ironicclient: Remove vim header  https://review.openstack.org/7316606:40
openstackgerritA change was merged to openstack/python-ironicclient: Fix Iterface misspelling from node-validate cmd  https://review.openstack.org/7308206:43
*** harlowja_ is now known as harlowja_away06:44
openstackgerritA change was merged to openstack/python-ironicclient: Remove tox locale overrides  https://review.openstack.org/7223706:45
openstackgerritA change was merged to openstack/python-ironicclient: Add node.states() to the client library  https://review.openstack.org/7097906:50
openstackgerritA change was merged to openstack/ironic: Remove unnecessary json dumps/loads from tests  https://review.openstack.org/7041306:52
openstackgerritDevananda van der Veen proposed a change to openstack/python-ironicclient: Node power state is not printed after set  https://review.openstack.org/7317006:52
openstackgerritA change was merged to openstack/ironic: Fix API inconsistence when changing node's states  https://review.openstack.org/6750606:54
*** john-n-seattle has quit IRC07:03
openstackgerritYongli He proposed a change to openstack/python-ironicclient: Remove vim header  https://review.openstack.org/7316607:08
*** rongze has joined #openstack-ironic07:17
*** dkehn__ has joined #openstack-ironic07:19
*** rsacharya has joined #openstack-ironic07:21
*** dkehn__ has quit IRC07:21
*** dkehn__ has joined #openstack-ironic07:21
*** dkehn_ has quit IRC07:22
*** dkehn has quit IRC07:22
*** dkehn has joined #openstack-ironic07:24
*** lazy_prince has joined #openstack-ironic07:40
GheRiveromorning all07:43
*** john-n-seattle has joined #openstack-ironic07:44
*** ifarkas has joined #openstack-ironic07:47
*** john-n-seattle has quit IRC07:57
*** hemna has quit IRC08:05
*** SpamapS has quit IRC08:14
*** greghaynes has quit IRC08:14
*** bigjools_ has joined #openstack-ironic08:15
*** SpamapS has joined #openstack-ironic08:15
*** SpamapS has quit IRC08:15
*** SpamapS has joined #openstack-ironic08:15
*** bigjools has quit IRC08:15
*** creiht has quit IRC08:15
*** aignatov has quit IRC08:15
*** creiht has joined #openstack-ironic08:16
*** openstackgerrit has quit IRC08:16
*** aignatov_ has joined #openstack-ironic08:17
*** aignatov_ is now known as aignatov08:17
*** lifeless has quit IRC08:17
*** lifeless has joined #openstack-ironic08:19
*** comstud has quit IRC08:21
*** comstud has joined #openstack-ironic08:22
*** romcheg1 has joined #openstack-ironic08:46
*** yuriyz has joined #openstack-ironic08:47
*** saju_m has joined #openstack-ironic08:50
HaomengGheRivero: morning:)08:52
*** dshulyak has joined #openstack-ironic09:06
*** derekh has joined #openstack-ironic09:09
romcheg1Morning Haomeng, GheRivero! How are you?09:09
romcheg1nick /romcheg_ltp09:10
romcheg1whoops09:10
*** romcheg1 is now known as romcheg_ltp09:10
yuriyzmorning all09:10
romcheg_ltpMorning yuriyz09:10
romcheg_ltpyuriyz: We had a discussion about you patch that exposes lock breaking features to the API last night09:11
romcheg_ltpSo if you're interested you can read the logs09:11
yuriyzok, thanks09:11
yuriyzromcheg, what is ltp?09:12
*** john-n-seattle has joined #openstack-ironic09:12
romcheg_ltpLapToP :)09:12
romcheg_ltpI have IRC client running on my PC at the office so I cannot use romcheg09:13
*** john-n-seattle has quit IRC09:21
*** lucasagomes has joined #openstack-ironic09:30
*** john-n-seattle has joined #openstack-ironic09:30
*** athomas has joined #openstack-ironic09:37
mdurnosvistovMorning all! :)09:52
Haomengromcheg_ltp: morning:)09:52
Haomengromcheg_ltp: find and you?09:52
romcheg_ltpHaomeng: And I find :D09:53
Haomengromcheg_ltp: :)09:53
*** tatyana has joined #openstack-ironic09:55
*** bigjools_ is now known as bigjools10:04
*** bigjools has quit IRC10:05
*** bigjools has joined #openstack-ironic10:05
lucasagomesmorning all!10:06
*** greghaynes has joined #openstack-ironic10:14
*** martyntaylor has joined #openstack-ironic10:26
max_loburmorning Ironic10:28
*** killer_prince has quit IRC10:30
Haomengmax_lobur: morning:)10:47
Haomenglucasagomes: morning:)10:47
*** rsacharya has quit IRC11:06
*** pbrooko has joined #openstack-ironic11:10
romcheg_ltpMorning lucasagomes11:16
romcheg_ltpand max_lobur11:16
max_loburmorning11:16
Haomengmax_lobur: :)11:18
*** pleia2 has quit IRC11:31
*** pleia2 has joined #openstack-ironic11:32
*** dkehn_ has joined #openstack-ironic11:32
*** dkehn_ has quit IRC11:35
*** dkehn__ has quit IRC11:35
*** dkehn has quit IRC11:35
lucasagomesHaomeng, romcheg_ltp morning11:35
*** dkehn_ has joined #openstack-ironic11:35
lucasagomesmax_lobur, morning11:35
*** dkehn has joined #openstack-ironic11:37
max_loburhey lucasagomes11:40
lucasagomesanyone can have a q look at https://review.openstack.org/#/c/72698/ ?11:40
max_loburneeds +2?11:41
Haomenglucasagomes: Lucas, I remember nova compute driver has such same interface methods:)11:41
lucasagomesmax_lobur, heh yea11:41
lucasagomescause I want to add another patch which will be a dependency of 7299811:42
max_loburlucasagomes, done11:42
lucasagomesbut in gerrit I can't have 2 patches as dependency11:42
lucasagomesonly linear dependency :(11:42
lucasagomesmax_lobur, cheers11:42
Haomenglucasagomes: how do you think what is differece between our nova computer console interface and our ironic console interface?11:42
lucasagomesHaomeng, yea :D they do for diff types of protocols11:42
lucasagomesvnc, spice etc11:42
Haomenglucasagomes: yes11:42
max_loburbtw, how you create dependent patches in gerrit?11:42
Haomenglucasagomes: but how nova launch our ironic console?11:42
lucasagomesHaomeng, their driver don't have a dedicated console interface11:42
max_loburdo I need to create branch from parent patch branch?11:43
lucasagomesso they need to add one method for each protocol11:43
lucasagomeswhere us have an abstraction11:43
Haomenglucasagomes: yes11:43
lucasagomesmax_lobur, exactly11:43
max_loburand gerrit handles that automatically?11:43
max_loburor needs some additional comments magic>11:43
max_lobur?11:43
lucasagomesHaomeng, so the api trigger is being added by 7299811:43
Haomenglucasagomes: but i still has concern, how to launch our console from nova?11:43
lucasagomesmax_lobur, ah so11:43
yuriyzmax_lobur, http://www.mediawiki.org/wiki/Gerrit/Advanced_usage11:43
lucasagomesmax_lobur, you create a new branch from the parent one11:44
lucasagomesadd the changes11:44
Haomenglucasagomes: yes we have api already, great work:)11:44
lucasagomesand then do a "git review -R"11:44
lucasagomesHaomeng, yea not yet :) being added11:44
lucasagomesbut not merged yet heh11:44
lucasagomeshope soon11:44
Haomenglucasagomes: great11:44
lucasagomesmax_lobur, yuriyz links describe it better than I did :D thanks yuriyz11:45
Haomenglucasagomes: for this bp - https://blueprints.launchpad.net/ironic/+spec/serial-console-access , we support serial console for ironic bm nodes11:46
Haomenglucasagomes: so how to launch this serial console from horizon like the existing console function11:46
max_loburlucasagomes, yuriyz thanks11:47
Haomenglucasagomes: should we add nova compute interface and add horizon code to support our serial console, I think that is Unified entrance to launch console11:47
lucasagomesHaomeng, yea, first we need a way to trigger it in the ironic api11:47
Haomenglucasagomes: yes11:47
lucasagomesHaomeng, then we could use the ironic driver on nova11:47
Haomenglucasagomes: ok11:48
lucasagomesto get the request from nova11:48
Haomenglucasagomes: great:)11:48
lucasagomesand route to ironic11:48
lucasagomesusing our client libraries11:48
Haomenglucasagomes: yes11:48
Haomenglucasagomes:  The final effect is we can launch our ironic ipmi node serial console from  horizon:)11:49
lucasagomesHaomeng, yea11:49
lucasagomesthat would be great11:50
Haomenglucasagomes: maybe next release:)11:50
lucasagomesyea, in the moment the requirement is having us to support it11:50
Haomenglucasagomes: yes11:51
lucasagomesintegration with other projects will probably be part of J release11:51
lucasagomescause of time11:51
Haomenglucasagomes: yea11:51
Haomenglucasagomes: we have to focus our ironic part first:)11:51
lucasagomes+111:52
lucasagomes:D11:52
Haomenglucasagomes: :)11:53
*** vkozhukalov has joined #openstack-ironic11:59
max_loburAnybody familiar with oslo.config?12:00
max_loburat what point it considered fully loaded12:00
max_lobure.g. the values from ironic.conf already available12:01
agordeevmax_lobur: let me help you12:04
max_loburagordeev, would be great12:06
agordeevmax_lobur: i found the calling of parser. it's cfg.CONF() in prepare_service at ironic/common/service.py12:11
max_loburhttps://github.com/openstack/ironic/blob/master/ironic/common/service.py#L6512:12
Haomengagordeev: cfg.CONF(argv[1:], project='ironic')?12:12
max_loburthis one?12:12
agordeevmax_lobur: right!12:12
max_loburthanks12:12
max_loburthis helps12:12
Haomengmax_lobur: Max, what is your question?12:12
max_loburI need to check first12:13
max_loburseems I found a bug12:13
Haomengmax_lobur: ok:)12:13
*** loki__ has quit IRC12:14
Haomengmax_lobur: I have another clue, cfg.CONF will try to search the <project>.conf file from different folders12:14
Haomengmax_lobur: the first folder is current folder, 2nd one is the current user's home, then more folders including /etc/<project>/<project>.conf12:15
Haomengmax_lobur: hope these helps you:)12:15
max_loburah, thanks12:16
Haomengmax_lobur: :)12:16
max_loburmine is slightly different12:16
max_loburfilling it12:16
Haomengmax_lobur: ok12:16
Haomengmax_lobur: about "./tools/config/generate_sample.sh" ?12:18
max_loburHaomeng, haha, nope :D12:21
max_loburcold12:21
Haomengmax_lobur: :)12:22
agordeevmax_lobur: so your question is at what stage do the option get into cfg.CONF ?12:24
max_loburagordeev, yea, we have a few places broken12:24
max_loburbecause they read CONF prior to initialization12:25
max_loburalmost completed the bug12:25
agordeevafair it gets loaded on python module importing stage12:25
Haomengbefore prepare_service() method call12:26
max_loburHaomeng, +12:26
Haomeng:)12:26
Haomengmax_lobur: because our "CONF = cfg.CONF" is global , outside of any class, will be run on py initialization time12:28
max_loburyea, the object will be ok, but the options are default12:29
Haomengmax_lobur: yea12:29
Haomenglet me check other project's behavior12:29
*** dshulyak has quit IRC12:30
*** dshulyak has joined #openstack-ironic12:31
Haomengcan we move "cfg.CONF(argv[1:], project='ironic')" code to the position before prepare_service() call?12:33
max_loburhttps://bugs.launchpad.net/ironic/+bug/127977412:35
Haomengcool:)12:36
max_loburwell, not very cool :)12:37
Haomeng:)12:37
max_loburIdk how to fix https://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L350 without obfuscating the code12:37
max_loburperiodic services would need to configured after start12:38
max_loburand so on12:38
max_loburyuriyz, lucasagomes , what do you think about 2nd part of deva's coment ? https://review.openstack.org/#/c/69135/5/ironic/conductor/worker_pool.py12:40
max_loburdo you feel like a worker pool should better be built in into conductor?12:40
max_loburor it's better to have it as a separate util12:41
max_loburI thought it might be used outside conductor as well.. but not sure12:42
max_loburdevananda, once you're here, pls take a look at my last comment at https://review.openstack.org/#/c/69135/4/ironic/conductor/worker_pool.py (I noticed that with worker pool we actually doubling possible IO workload)12:47
*** bigjools has quit IRC12:48
*** bigjools has joined #openstack-ironic12:48
*** bigjools has joined #openstack-ironic12:48
lucasagomesmax_lobur, I will take a look, yea interesting comment about oslo instantiation I didn't know that as well12:48
lucasagomesabout being baked inside the conductor hmm12:49
lucasagomesonly conductors are going to use that pool right? So I think it makes sense to have a scope on it12:49
lucasagomes(the worker_pool.py is placed /conductor/ as well)12:50
max_loburlucasagomes, that's the question :) Do we want to issue background workers from some deploy utils, or from conductor only12:50
max_loburyea, probably better to issue from conductor only, otherwise it will be mess12:51
lucasagomesmax_lobur, heh I'm not sure12:51
lucasagomeswell if it's our use case for now we could just have it in the conductor12:51
lucasagomesif we need it on the utils after we could move it12:51
lucasagomesand even create a singleton class that would manage instantiate and manage the pool12:52
lucasagomeswould instantiate and manage*12:52
max_loburlucasagomes, agree12:52
lucasagomesso other parts of the code can use that12:52
lucasagomesbut for now just adding to the conductor is grand12:52
lucasagomesand does the job we need12:52
* lucasagomes going to grab some lunch12:53
*** lucasagomes is now known as lucas-hungry12:53
*** nosnos has quit IRC13:10
*** jdob has joined #openstack-ironic13:14
*** jbjohnso has joined #openstack-ironic13:17
*** rloo has joined #openstack-ironic13:38
*** lucas-hungry is now known as lucasagomes13:48
*** matty_dubs|gone is now known as matty_dubs13:58
*** tatyana_ has joined #openstack-ironic14:07
*** tatyana has quit IRC14:09
*** tatyana_ is now known as tatyana14:09
yuriyzlucasagomes, next bug in wsme https://bugs.launchpad.net/wsme/+bug/127975714:13
lucasagomesyuriyz, ouch lemme take a look14:14
lucasagomesyuriyz, I've two patches in wsme that I submitted long time ago14:14
lucasagomes:( no reviews14:14
lucasagomeswell there's reviews but it's hanging in the queue for looooong time14:15
lucasagomeshttps://review.openstack.org/#/q/status:open+project:stackforge/wsme,n,z14:15
*** rongze has quit IRC14:21
*** saju_m has quit IRC14:28
*** rongze has joined #openstack-ironic14:29
max_loburbbiaw14:35
*** max_lobur is now known as max_lobur_afk14:36
NobodyCamgood morning Ironic says the man mak'n coffee15:08
matty_dubsNobodyCam: for all of us?15:09
matty_dubsNobodyCam: ;) Good morning!15:09
NobodyCammatty_dubs: hehhee I only have a single cup coffee maker in this trailer :-p15:09
NobodyCamoh and good morning :)15:11
*** rloo has quit IRC15:15
*** rloo has joined #openstack-ironic15:16
*** rloo has quit IRC15:16
*** rloo has joined #openstack-ironic15:17
GheRiveromorning all15:19
matty_dubsHowdy GheRivero15:19
lucasagomesmorning folks NobodyCam matty_dubs GheRivero15:19
NobodyCammorning GheRivero & lucasagomes15:20
devanandamorning, all15:20
lucasagomesmorning devananda15:21
NobodyCammorning devananda :)15:21
devanandalucasagomes: try poking jd__ on irc?15:21
NobodyCammax_lobur_afk: any reason you didn't +a https://review.openstack.org/#/c/72698/  ??15:22
lucasagomesdevananda, not directly but I've asked on the #wsme channel for reviews15:23
matty_dubsAnyone heard from Sun Jing? I just noticed new comments from her on https://review.openstack.org/#/c/64100/15:24
matty_dubsWonder if it's getting revived15:24
devanandalucasagomes: i'd try pinging him or ryanpetrello in openstack-dev, particularly if if's fixing a bug and taking this long and you're not getting a response elsewhere15:25
*** loki__ has joined #openstack-ironic15:26
NobodyCammatty_dubs: Sun got reassigned by IBM15:26
NobodyCamI have been looking for Linggao15:26
NobodyCamwho was going to pick up Sun's patches15:27
lucasagomesdevananda, ack lemme ping them15:27
matty_dubsNobodyCam: She just commented on the console patch last night, though. Hence my confusion.15:27
devanandaso folks, just got an answer from ttx re: graduation deadline -- "some time in march, before the 28th"15:27
devanandasomewhere between i3 and release15:28
NobodyCamdevananda: ok :)15:28
lucasagomesdevananda, oh good15:29
devanandaso the code sprint in Santa CLara will reeallly be a sprint :)15:29
NobodyCam:)15:29
devanandaquick check - do the folks here want to try our first code jam today?15:30
lucasagomesbtw, devananda max_lobur_afk, take a look at #64336 please. markmc just commented on that15:30
lucasagomesI think we should consider his points15:31
lucasagomestl;dr, sync the last object code from nova, get the dick-like behaviour removed in nova and submit the code to oslo15:31
NobodyCamlucasagomes: you have any time for a quick look at https://review.openstack.org/#/c/7046815:32
devanandalucasagomes: yep - he's spot on. I tried to get it into oslo when we started, but there was push-back because ironic was new15:33
devanandalucasagomes: i also think there's absolutely no benefit to removing the dict-like behavoir in the first place15:33
lucasagomesdevananda, consistence15:33
lucasagomesbut yea, it's not urgent15:33
devanandai mean,yes, consistency - but if we only used dict-like access, that's fine too15:34
lucasagomesNobodyCam, sure thing! /me spawns a vm15:34
lucasagomesdevananda, yes I agree with that15:34
devanandaanyhow, i would rather see someone (mikhail?) move this into oslo than keep diverging it15:36
lucasagomesyeah, maybe we should accept the patches from that series but the one modifying the base.py15:37
devananda++15:37
*** loki__ has quit IRC15:38
devanandahm, so i need to take a call in ~20 minutes...15:39
*** rloo has quit IRC15:39
devanandai'll be unavailable at the start of our code jam, assuming folks want to do that today15:39
*** rloo has joined #openstack-ironic15:39
lucasagomesack, we can start with the more cosmetic patches in the queue15:40
lucasagomesthat won't raise much doubts etc15:40
NobodyCami was going to ask max_lobur_afk about: https://review.openstack.org/#/c/68980 & https://review.openstack.org/#/c/6898515:41
NobodyCamI was thinking start on page #3 of the outstanding reviews and work oldest to newest15:41
*** dshulyak has quit IRC15:42
*** vkozhukalov has quit IRC15:42
devanandaNobodyCam: ++15:43
devanandaya'll should also be aware of http://status.openstack.org/reviews/15:44
devanandait may not be the best choice for ordering today -- the goal of that page is to put the most important / hottest activity at the top15:44
devanandabut it's a good resource to check when reviewing15:44
*** rloo has quit IRC15:45
NobodyCamdevananda: ++ /me bookmarks15:45
*** rloo has joined #openstack-ironic15:46
lucasagomesNobodyCam, ok I gave it a try, it didn't work but my env is not reliable15:46
lucasagomesNobodyCam, I was checking whether neutron would start dnsmasq at least15:46
lucasagomesit should right?15:46
lucasagomesI'm fine with that patch tho, code looks good15:46
lucasagomesthinking about +a that and then we can dig more into the problem15:47
*** openstackgerrit has joined #openstack-ironic15:47
NobodyCamlucasagomes: ++ thats the plan for today.. land and fix!15:47
lucasagomesNobodyCam, ack15:47
lucasagomeswill do15:47
lucasagomesNobodyCam, +a15:49
devanandalucasagomes: on my doc patch, mind land+fixing it?15:49
lucasagomesdevananda, grand for me15:49
devanandalucasagomes: there are, i believe, folks who are coming on board in HP now() who are looking at docs.openstack.org for that info15:49
lucasagomesdevananda, ack, will +a and fix the fedora/rhel related steps15:50
devanandaawesome, ty15:50
lucasagomesdevananda, done15:52
*** rloo has quit IRC15:52
*** rloo has joined #openstack-ironic15:53
rloodevananda, lucasagomes, ahhh. wait. i have some other comments.15:53
lucasagomesrloo, ouch!15:53
lucasagomesrloo, idk if I can cancel that :/15:53
NobodyCamlucasagomes: up for a rebase on https://review.openstack.org/#/c/6898015:53
lucasagomesmind adding the comments anyway and I can address it at the review fixing the rhel/fedora stuff?15:53
lucasagomesrloo, ^15:53
*** rloo has quit IRC15:54
lucasagomesNobodyCam, sure15:54
*** max_lobur has joined #openstack-ironic15:54
max_loburback15:54
NobodyCamWb max_lobur15:54
*** aignatov is now known as aignatov_15:54
NobodyCammax_lobur: any reason you didn't +a https://review.openstack.org/#/c/72698/  ??15:54
*** rloo has joined #openstack-ironic15:54
lucasagomesNobodyCam, btw, looking at max_lobur review at #6898015:55
NobodyCamyes15:55
lucasagomesmax_lobur, yea I'd like to remove the node parameters15:55
lucasagomesbut hmm idk if it would be better to do it in a separated patch15:55
lucasagomesremoving the node from all methods15:55
lucasagomessince it's node needed by any method not only validate15:55
lucasagomesthoughts?15:55
max_loburNobodyCam: nope15:56
max_lobur+A 'ing15:57
lucasagomesNobodyCam, max_lobur if you guys can +a that I would be very happy, cause I want that patch to depend on another patch (the one adding the wsme custom boolean type)15:57
lucasagomesmax_lobur, magic! thanks15:57
NobodyCamlucasagomes: 68980?15:58
lucasagomesNobodyCam, nop15:58
lucasagomesNobodyCam, 7269815:58
NobodyCamApproved15:58
NobodyCam:-p15:58
*** rloo has quit IRC15:59
max_loburlucasagomes: devananda was going to fix other method in subsequent patch15:59
* devananda hops on a phone call .... bbiab15:59
lucasagomesmax_lobur, removing the node from validate u mean?16:00
lucasagomesmax_lobur, right16:00
*** rloo has joined #openstack-ironic16:00
max_loburyep16:00
max_loburseems he commented that16:00
NobodyCamok how are We tracking the fixes to patches we land that need them16:00
NobodyCammax_lobur: you mean his comment on https://review.openstack.org/#/c/7046816:01
*** rloo has quit IRC16:01
*** rloo has joined #openstack-ironic16:01
max_loburah, right16:01
max_lobursorry16:02
max_loburlooking what is 6898016:02
max_loburhttps://review.openstack.org/#/c/68980/2/ironic/conductor/manager.py16:03
max_loburlucasagomes: I agree, separate patch would be ok16:03
lucasagomesmax_lobur, ack16:03
max_loburlemme change to +1 then16:03
lucasagomesmax_lobur, I will rebase i16:03
lucasagomesit*16:03
max_loburah, ok16:03
max_loburNobodyCam: seems we don't have any doc to track that16:04
max_loburso we may forget16:04
NobodyCamwith the remove node praram should we tg the reviews with : https://bugs.launchpad.net/ironic/+bug/125934616:04
NobodyCamdo we want to file bugs.. that seems a tad overkill16:05
max_loburNobodyCam: +16:05
max_loburjust need to publish fix right after landing16:06
max_loburNobodyCam: what is tg? :)16:06
NobodyCamllol a type-o for tag16:07
*** mtaylor is now known as mordred16:07
*** mordred has quit IRC16:07
*** mordred has joined #openstack-ironic16:07
max_lobur:)16:07
*** saju_m has joined #openstack-ironic16:08
max_loburNO16:08
max_lobursorry)16:08
NobodyCamhehee16:08
max_loburignore this)16:08
NobodyCamdon't need to yell16:08
NobodyCamlol16:08
NobodyCam:-p16:08
max_loburNobodyCam: looks like that's it16:08
max_loburIMO we should tag16:08
NobodyCam:)16:09
*** ifarkas has quit IRC16:10
max_loburbrb16:11
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Task object as paramater to validate() methods  https://review.openstack.org/6898016:13
max_loburback16:15
NobodyCamwe talked about switching away from sql Alchemy to alembic, but I don't recall what we decided? this is in ref to https://review.openstack.org/#/c/67415/16:15
NobodyCamWb max_lobur16:15
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: PXE and SSH validate() method to check for a port  https://review.openstack.org/6898516:16
max_loburAs I remember we decided to switch, because alchemy_migrate doesn't supported anymore16:16
max_loburother projects migrating as well16:16
lucasagomesyea, devananda also sent an email about it16:18
lucasagomesthe strategy is to move to alambic yes16:18
lucasagomesalembic*16:19
max_loburyep, remembered email too16:20
lucasagomesuhul! https://review.openstack.org/#/c/64715/ got approved16:20
NobodyCam:)16:21
openstackgerritA change was merged to openstack/ironic: Implement _update_neutron in PXE driver  https://review.openstack.org/7046816:23
openstackgerritA change was merged to openstack/ironic: Add testing and doc sections to docs/dev-quickstart  https://review.openstack.org/7163816:23
* devananda is back, sort of16:28
*** rsacharya has joined #openstack-ironic16:29
NobodyCamWb (kinda) devananda :-p16:29
yuriyzlucasagomes, https://review.openstack.org/#/c/71449/16:30
lucasagomesyuriyz, ohhhh16:30
lucasagomesyuriyz, sorry I haven't seem that16:31
lucasagomesyuriyz, will re-vote16:31
yuriyzthanks16:31
openstackgerritA change was merged to openstack/ironic: Add get_console() method  https://review.openstack.org/7269816:31
lucasagomesyuriyz, I'm sorry, I pulled my master yesterday so it didn't have the  change when I looked at it16:32
devanandaso, hi guys! looks like ya'll are getting it done! awesome! :-D16:33
NobodyCami;m thinking the alambic would be best to wait on as it may collide with https://review.openstack.org/#/c/6841316:33
NobodyCamhi devananda :)16:33
devanandaI saw a question about how are we tracking follow-in patchsets - maybe an etherpad?16:34
max_loburNobodyCam: nope, I think they different16:34
max_loburdevananda: I think we can just post them right after the original . If we track them - they become not follow-in :)16:37
max_loburand it will be one more point to forget to update etc16:37
devanandai mean - who's posting them :)16:37
devanandamax_lobur: but yes, they should just be posted16:37
*** hemna has joined #openstack-ironic16:38
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Fix autodoc formatting in pxe.py  https://review.openstack.org/6699716:38
NobodyCamI'm thinking for the next review day we actually come up with some kinda of review agenda16:39
max_loburso, are we starting our first review hangout hangout? :)16:39
NobodyCammax_lobur: we kinda have already16:39
NobodyCam:-p16:39
max_lobur:)16:39
NobodyCambut sure16:39
devanandaNobodyCam: care to invite me?16:40
max_loburhow about to start from Get rid object model `dict`16:41
max_lobur5 patches16:41
max_lobur6th will be abandoned as per latest updates16:41
*** pbrooko has quit IRC16:41
NobodyCammax I dont have your gmail16:41
devanandaromcheg_ltp: g-hang invite sent. max_lobur - i don't have your google contact either16:41
max_loburmlobur@mirantis.com16:41
lucasagomesmax_lobur, I think #1 also modifies base.py16:42
max_loburthat's google16:42
*** athomas has quit IRC16:42
* max_lobur looking16:43
devanandamax_lobur: giving your latest patchset for the race condition a quick exercise16:43
devanandaif nothing breaks, i think we should land it16:43
max_loburdevananda: k16:44
max_loburI plan to post vendor patch today16:44
max_loburlucasagomes:  youre right16:44
max_lobur2 lines in base16:44
max_loburmdurnosvistov: are u around?16:44
lucasagomesyea16:44
NobodyCammax get the invite?16:45
*** yuriyz has quit IRC16:45
max_loburyup16:45
NobodyCam:)16:45
max_loburah that's real hangout :)16:45
max_loburlemme check if it works on my laptop16:46
NobodyCam:)16:46
NobodyCamhttps://etherpad.openstack.org/p/IronicReviewDay16:47
*** athomas has joined #openstack-ironic16:49
NobodyCamhttps://review.openstack.org/#/c/67415/16:50
devanandahttp://paste.openstack.org/show/65096/16:59
*** matty_dubs is now known as matty_dubs|lunch17:01
NobodyCamhttps://review.openstack.org/#/c/71974/17:04
NobodyCamhttps://review.openstack.org/#/c/69135/6/ironic/api/controllers/v1/node.py17:07
*** anniec has joined #openstack-ironic17:14
devanandahttps://review.openstack.org/#/c/72632/17:16
*** rongze has quit IRC17:19
romcheg_ltpmdurnosvistov: Ping17:19
*** rongze has joined #openstack-ironic17:20
*** rongze has quit IRC17:24
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Remove None as default value for dict get()  https://review.openstack.org/7263217:25
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Log IPMI power on/off timeouts  https://review.openstack.org/5826617:28
NobodyCamhttps://review.openstack.org/#/c/7285117:30
*** martyntaylor has quit IRC17:31
NobodyCamhttps://review.openstack.org/#/c/6467417:33
*** lazy_prince has quit IRC17:35
openstackgerritRoman Prykhodchenko proposed a change to openstack/ironic: Removes use of timeutils.set_time_override  https://review.openstack.org/6743217:36
devanandahttps://review.openstack.org/#/c/73005/17:39
NobodyCam7300517:39
devanandarloo: for your patch ^, we'll need a change to the python lib and the CLI -- are you working on those?17:41
devanandarloo: also, thanks for ^ :)17:42
rloodevananda will work on it but didn't want to if this patch wasn't ok ;)17:43
devanandarloo: ah, so, actually we shouldn't load drivers in the AP Iservice17:43
*** vkozhukalov has joined #openstack-ironic17:43
devanandarloo: list of available drivers is specific to each conductor instance and can vary by config17:43
devanandathey're loaded via entrypoints, so it's possible for different systems to have different drivers installed17:44
rloodevananda in meeting now.17:45
devanandak, i'll leave comments17:45
openstackgerritA change was merged to openstack/ironic: Fix race condition when changing node states  https://review.openstack.org/6913517:45
*** tatyana has quit IRC17:48
*** anniec has quit IRC17:48
rloodevananda: back now.17:49
openstackgerritRoman Prykhodchenko proposed a change to openstack/ironic: Process public API list as regular expressions  https://review.openstack.org/6662117:53
openstackgerritA change was merged to openstack/ironic: Add topic to the change_node_maintenance_mode() RPC method  https://review.openstack.org/7272417:55
*** matty_dubs|lunch is now known as matty_dubs17:55
openstackgerritA change was merged to openstack/python-ironicclient: Return node_uuid from a port-show cmd  https://review.openstack.org/7309117:55
openstackgerritA change was merged to openstack/python-ironicclient: Node power state is not printed after set  https://review.openstack.org/7317017:57
openstackgerritA change was merged to openstack/python-ironicclient: Remove vim header  https://review.openstack.org/7316617:58
NobodyCamhttps://review.openstack.org/#/c/7300617:59
*** killer_prince has joined #openstack-ironic18:02
romcheg_ltphttps://review.openstack.org/#/c/7288918:04
*** rsacharya has quit IRC18:04
*** anniec has joined #openstack-ironic18:08
*** hstimer has joined #openstack-ironic18:12
*** hstimer has quit IRC18:13
*** marty_ has joined #openstack-ironic18:13
*** marty_ is now known as Guest1963418:13
*** derekh has quit IRC18:13
*** harlowja_away is now known as harlowja_18:15
NobodyCamhttps://etherpad.openstack.org/p/IronicReviewDay18:16
NobodyCamAwesome meeting Guys!18:17
NobodyCamThank You all18:17
max_lobur:)18:17
max_loburdid anybody use webcam from mac book air for hangouts?18:18
max_loburmine does not recognized18:18
NobodyCamI did18:18
max_loburwhat's the trick?18:18
max_loburhaswell air?18:18
NobodyCam?? I just click video18:18
max_loburnope18:18
max_loburno device found18:18
lucasagomesgnight guys18:18
* lucasagomes runs to catch the train18:19
max_loburnight lucasagomes!18:19
NobodyCamnight lucasagomes18:19
*** lucasagomes has quit IRC18:19
matty_dubsI have a 2010-vintage Air; Hangouts work for me but really tax the CPU18:19
rloooops, missed lucasagomes. NobodyCam: what about https://review.openstack.org/#/c/71638/? Is lucas going to fix?18:19
NobodyCamI have two vbox vm running along with several other windows open18:19
max_loburI'll try to google18:20
max_loburwould like to speak from beach as well :-З18:20
NobodyCam:)18:21
NobodyCamrloo: that is approved18:21
rlooNobodyCam. Yes, but lucas had two? comments about it and I think he said he would fix later. and I also had some comments. ie, some of the instructions don't work.18:22
rlooso should i just fix/address the comments i put in?18:22
max_loburAlso I'd like to discuss https://review.openstack.org/#/c/68413/4 once everyone here18:22
max_loburbrb18:22
rlooNobodyCam: just ignore me. I'll just add a fix to it, seems easiest.18:23
NobodyCamrloo: yea18:23
NobodyCamok :-p18:23
NobodyCamrloo: also please add to https://etherpad.openstack.org/p/IronicReviewDay just so we know its being worked on18:24
rlooNobodyCam: okey dokey18:24
NobodyCam:)18:26
*** anniec has quit IRC18:33
max_loburgate-ironic-python26 LOST what the hell18:34
max_loburNobodyCam: what's the phone are you waiting for? :)18:36
NobodyCamlol a Lg f3q18:38
NobodyCam:-p only phone i could find with a real keyboard18:38
NobodyCam:-p i'm so old school18:38
max_loburheh18:38
romcheg_ltpI' have to go for a while and clean up the apartment. Otherwise I'm going to be killed18:39
romcheg_ltpWill be later18:39
NobodyCamlol ok romcheg_ltp :)18:40
NobodyCamenjoy18:40
romcheg_ltpNo :)18:40
*** wusWWW has joined #openstack-ironic18:41
max_loburI recently bought http://en.meizu.com/products/mx3-product.html18:41
max_loburand it's surprisingly cool18:42
NobodyCamnice18:42
max_loburwas about 450 $ here18:42
*** athomas has quit IRC18:42
*** anniec has joined #openstack-ironic18:43
NobodyCammax_lobur: http://www.youtube.com/watch?v=ct1_r_61sk818:45
devanandaeep, jenkins failed all the remaining patch sets18:46
* devananda goes and gets food anyawy18:46
max_loburNobodyCam: lol, something like that :D18:47
NobodyCamuggg18:47
NobodyCam:)18:47
openstackgerritA change was merged to openstack/ironic: Add samples to serve API through Apache mod_wsgi  https://review.openstack.org/7206918:52
openstackgerritA change was merged to openstack/ironic: Remove POST calls in tests for resource creation  https://review.openstack.org/6467418:53
NobodyCamoh I forgot to mention on the call I will be away most of tomorrow. Will be here in the morning but away after that18:55
* NobodyCam needs to spend time with family18:56
openstackgerritA change was merged to openstack/ironic: Fix autodoc formatting in pxe.py  https://review.openstack.org/6699718:57
openstackgerritA change was merged to openstack/ironic: Remove _load_one_plugin fallback  https://review.openstack.org/7300618:58
max_loburNobodyCam: ack18:58
*** anniec has quit IRC19:00
*** anniec has joined #openstack-ironic19:02
openstackgerritRuby Loo proposed a change to openstack/ironic: Update docs/dev-quickstart  https://review.openstack.org/7338019:15
* devananda has food now19:23
devanandaanyone working on the merge fails? NobodyCam ? max_lobur ?19:23
devanandaif not, i'll start19:24
NobodyCamnot I19:28
*** rloo has quit IRC19:28
devanandaok, taking  stab at https://review.openstack.org/#/c/67415/19:28
*** rloo has joined #openstack-ironic19:28
max_loburnot I yet19:35
NobodyCamstarted recheck on https://review.openstack.org/#/c/7285119:35
max_loburI'll fix my follow-ups firsh19:36
max_lobur*first19:36
openstackgerritVictor Sergeyev proposed a change to openstack/ironic: WIP: Use oslo.db module (DRAFT)  https://review.openstack.org/4215919:38
devanandalooks like the py26 failures may be coming from -infra19:38
devanandanot a change we landed19:38
devanandathey moved the py26 jobs to different nodes19:38
NobodyCamya19:41
NobodyCamI just started a recheck on https://review.openstack.org/#/c/7324819:41
*** rloo has quit IRC19:42
*** rloo has joined #openstack-ironic19:42
devanandaif you're seeig py26 failures, hold off19:43
devanandainfra is working on that19:43
devanandaif it's something else -- carry on :)19:43
NobodyCamack19:46
*** rloo has quit IRC19:46
*** rloo has joined #openstack-ironic19:47
max_loburhttps://review.openstack.org/#/c/68413/ folks, what do you think about last comment?19:49
NobodyCammax_lobur: to show your encoding something a little different19:53
NobodyCami like that19:53
openstackgerritMax Lobur proposed a change to openstack/ironic: Replace nonexistent mock assert methods with real ones  https://review.openstack.org/7034919:57
devanandamax_lobur: https://review.openstack.org/#/c/73380/ could use another +220:04
max_loburdone20:06
devanandaNobodyCam: https://review.openstack.org/#/c/70382/ as well20:06
NobodyCamlooking20:07
max_loburhttps://review.openstack.org/#/c/70382/ this one may not merge20:07
max_loburI'm currently checking it20:07
max_loburbecause of conflicts with race patch20:07
devanandaah20:09
max_loburyep, merging it20:10
max_loburthere some conflicts20:11
*** saju_m has quit IRC20:19
*** jrist is now known as jrist-afk20:24
*** jrist-afk is now known as jrist20:24
*** epim has joined #openstack-ironic20:36
openstackgerritA change was merged to openstack/ironic: Remove None as default value for dict get()  https://review.openstack.org/7263220:39
*** anniec has quit IRC20:51
*** anniec has joined #openstack-ironic20:51
openstackgerritMax Lobur proposed a change to openstack/ironic: Replace assertEqual(None, *) with assertIsNone in tests  https://review.openstack.org/7038220:57
NobodyCamso we're in holding pattern for the py26 fixes from infra?20:57
*** anniec has quit IRC20:57
* NobodyCam looks for food!20:58
*** anniec has joined #openstack-ironic21:02
devanandahttps://review.openstack.org/#/c/58266/ could use another +2/+A21:02
devanandaNobodyCam: looks like they were transient? not sure yet21:02
*** mdurnosvistov_ has joined #openstack-ironic21:05
NobodyCamdevananda: +a'd21:08
*** thedodd has joined #openstack-ironic21:09
NobodyCamyour rechecking 6741521:09
NobodyCam:021:09
NobodyCam:)21:09
devanandaalso needs a +A https://review.openstack.org/#/c/70349/21:10
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Removes use of timeutils.set_time_override  https://review.openstack.org/6743221:14
NobodyCamty for rebase mdurnosvistov21:17
*** romcheg_ltp has quit IRC21:18
*** rloo has quit IRC21:21
*** rloo has joined #openstack-ironic21:21
NobodyCamdevananda: we're still getting 26 failures21:22
devananda:(21:22
NobodyCam:( seems intermitent21:23
*** derekh has joined #openstack-ironic21:23
*** rloo has quit IRC21:24
*** rloo has joined #openstack-ironic21:25
devanandahttps://review.openstack.org/#/c/70382/ passed21:29
NobodyCamya21:30
NobodyCamand 6743221:30
NobodyCamrecheck?21:31
devanandahang on21:31
devanandafungi and i are looking at it. something is off....21:31
NobodyCam:)21:31
* NobodyCam jumps in to infra to lurk21:32
openstackgerritA change was merged to openstack/ironic: Log IPMI power on/off timeouts  https://review.openstack.org/5826621:38
*** derekh is now known as derekh_afk21:39
*** vkozhukalov has quit IRC21:41
devanandaNobodyCam: looks like non-deterministic test fail in py26 ...21:44
NobodyCamoh joy21:44
devanandamax_lobur: i see you working on https://review.openstack.org/#/c/70382/ -- is it ready to go?21:46
openstackgerritA change was merged to openstack/ironic: Replace nonexistent mock assert methods with real ones  https://review.openstack.org/7034921:47
*** anniec has quit IRC21:48
max_loburdevananda: yea it's ready21:53
max_loburthere's also a note in etherpad - Fix order of in test_conductor_utils21:54
devanandaNobodyCam: trivial +A https://review.openstack.org/#/c/70382/21:54
devanandaso i am going to need to head out fairly soon, and will probably be gone for the rest of the day21:55
max_loburi thought we came up that those patch which landed recently fixed only API tests, I don't see why we should fix test_conductor_utils as follow-up. Maybe to fix all the remaining assertEqual stuff? though there will be a lo21:55
devanandaif ya'll keep hitting the py26 issue, i've opened a bug -- https://bugs.launchpad.net/ironic/+bug/127999221:55
max_lobur* a lot21:55
devanandamax_lobur: right. it's not a required follow-up. but if folks want to do clean up work, it's there21:56
devanandajust a wishlist item21:56
max_loburah, ok21:56
max_loburmakes sense21:56
max_loburIs something still needs to be investigated/fixed?22:03
max_loburfrom our today's patches22:03
devanandawe have 3 patches that were +A'd but didnt land22:04
devanandabecause of bug 127999222:04
devananda** 2 patches,22:05
devanandahttps://review.openstack.org/#/c/73248/22:05
devanandahttps://review.openstack.org/#/c/67415/22:05
devanandathis one also failing, but wasn't approved: https://review.openstack.org/#/c/66621/22:05
*** jdob has quit IRC22:05
max_loburack22:07
max_loburany Ideas about DriverNotFound: Failed to load driver fake_pxe.22:07
max_lobur?22:07
devanandanope22:08
max_loburstrange that it's only 2.622:08
devanandawell, one22:08
devanandarace condition between greenthreads22:09
devanandasome other test not cleaning up22:09
devanandajust an idea -- and probably wrong22:09
max_loburhmm22:09
devanandaoddly, all the failures so far are in the same test22:09
devanandatest__update_neutron_fails22:09
max_loburrelated to recent merges?22:09
NobodyCamwell we just landed the update neutron [atch22:10
max_loburso we probably introduced change that made the test unstable22:10
max_loburit's passed its gate22:10
max_loburbut failing now22:10
devanandafailing only some of the time22:11
NobodyCamhttps://review.openstack.org/#/c/70468/22:11
NobodyCamline 338 of test_pxe22:11
NobodyCamadded that test22:11
max_loburbut22:12
max_loburFailed to load driver fake_pxe.22:12
max_loburwhy do you think it's race..22:12
max_loburI'd expect NodeAlreadyLocked from race22:13
*** matty_dubs is now known as matty_dubs|gone22:15
devanandaPXEPrivateMethodsTestCase does not start a conductorManager22:15
devanandait's loading drivers directly via TaskManager22:16
devanandathere's a singleton for the driver_factory22:16
devanandaso my *guess* is a race somehow in driver_factory22:16
devanandabut like i said, i haven't dug into it -- jsut guessing22:16
*** anniec has joined #openstack-ironic22:17
devanandamax_lobur: oh -- we also landed your greenthread patch, which refactored task_manager22:25
max_loburyes22:25
devanandamax_lobur: i have a nagging suspicion __exit__ isn't working the way you think22:25
devanandai recall (but couldn't find on google) that contextlib was necessary to avoid a race with __exit__ not cleaning up22:26
max_loburnot called on exception?22:26
max_loburI remember I tested that before removing context lib, though i'm not sure i covered everything22:26
max_loburyep, basically there was a try/finally block, that might change situation22:27
max_loburah, of course, i tried that on 2.7. probably __exit__ behaving different on 2.622:28
*** jbjohnso has quit IRC22:28
max_loburcan you reproduce that 2.6 fail on local env? (mine is not complete, i can try only tomorrow on office desktop)22:30
devanandai need to spin up a 2.6 as well :(22:30
devanandamax_lobur: ahhh22:31
devanandaso here is a problem22:31
devanandaugh, i should have seen this22:31
devanandaold task_manager.acquire22:32
devanandawhen passed multiple nodes22:32
devanandawill acquire resources for al lof them22:32
devananda124         for id in node_ids:22:32
devananda125             t.resources.append(resource_manager.NodeManager.acquire(22:32
devanandaif it fails part way through, finally: clause kicks in22:32
devanandaand it releases them22:32
devananda!!!22:32
openstackdevananda: Error: "!!" is not a valid command.22:32
max_loburtrue22:33
max_loburthat's bad22:33
devanandamax_lobur: are we sure that, on exception inside of acquire, it's going to call __exit__22:33
max_loburI completely missed that22:33
devanandait never actually enterrred22:33
devanandaI remembers looking at an issue like this and decided to use contextlib with a generator when coding this almost a year ago :)22:34
*** anniec has left #openstack-ironic22:35
devanandaok. unfortunately i need to run to an appt22:35
max_lobur:)22:36
max_loburthought it may be fixed without context lib22:36
devanandaindeed22:36
devanandai would expect there's more than one way to solve it22:36
max_loburby wrapping in try/except in acquire shortcut22:36
max_loburhere https://github.com/openstack/ironic/blob/master/ironic/conductor/task_manager.py#L131-L13322:37
max_loburmakes sense?22:37
max_loburI'll make a patch22:37
devanandamax_lobur: what about moving functionality that is inside TaskManager.acquire_resources into TaskManager.__init__22:37
devanandaand adding try: except:22:38
devanandai think your approach would work but does nto address TaskManager.acquire_resources22:38
devanandawhich is a public method and may be called directly22:38
devanandaok - i'm really late now ....22:39
max_loburright22:39
devananda:) ttyl!22:39
NobodyCamnight max_lobur22:39
max_lobur:D22:40
max_loburI said right? :D22:40
NobodyCamoh see I thought you said you were late :-p22:41
max_lobur:)22:41
NobodyCami have told you I need glasses havent I?22:41
max_loburhehe22:42
max_loburI liked you monocle22:42
NobodyCamlol22:42
max_loburwear it :D22:42
NobodyCamsad part I REALLY do need them.. just haven't gone to get them22:43
max_loburlast time I'm feeling like I need glasses as well..22:44
max_loburneed to spend more time outside22:44
NobodyCamya :)22:44
*** med_ has quit IRC22:52
*** med_ has joined #openstack-ironic22:52
*** thedodd has quit IRC22:56
openstackgerritMax Lobur proposed a change to openstack/ironic: Fix task_manager acquire post landing for c4f2f26ed  https://review.openstack.org/7344022:58
*** mdurnosvistov_ has quit IRC22:59
openstackgerritMax Lobur proposed a change to openstack/ironic: Fix task_manager acquire post landing for c4f2f26ed  https://review.openstack.org/7344023:01
NobodyCamlol I just opened the first one23:01
max_loburHope this will help23:02
max_loburthat was the con of quick review :)23:03
max_loburI hope the last one for today23:03
NobodyCamyep, but we knew that going in23:03
NobodyCamneed to do a quick walkies.. brb23:04
NobodyCammax_lobur: py27 failing on ^^^23:10
max_loburNobodyCam: looking23:12
max_loburI don't have full-func local env now so have to check code through jenkins23:12
max_loburahh23:13
max_loburtests23:13
max_loburright23:13
max_loburthanks mr jenkins :)23:13
NobodyCam__init__() takes at least 3 arguments (2 given)23:13
NobodyCam:-p23:13
max_loburyup23:13
*** ndipanov has joined #openstack-ironic23:16
openstackgerritA change was merged to openstack/ironic: Replace assertEqual(None, *) with assertIsNone in tests  https://review.openstack.org/7038223:24
*** ndipanov has quit IRC23:29
openstackgerritMax Lobur proposed a change to openstack/ironic: Fix task_manager acquire post landing for c4f2f26ed  https://review.openstack.org/7344023:29
*** anniec has joined #openstack-ironic23:31
NobodyCamsuccess with py2723:33
NobodyCam:)23:33
max_lobur:)23:37
max_lobur26 more interesting23:37
NobodyCam26 running now23:39
max_loburI'm watching as well :)23:39
max_loburyey!23:41
max_loburseems that was the problem23:42
max_loburk, I'm going sleep23:46
max_loburnight NobodyCam23:46
max_loburah, tempest started23:47
max_loburcan't sleep without results23:47
NobodyCamhehehe23:53
NobodyCamanother 20 minutes23:54
*** derekh_afk is now known as derekh23:56
max_lobur:)23:57

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