Thursday, 2014-04-10

JoshNangwell, no lockups. but i can't get it to lock up without the patch either00:04
adam_gShrews was having success reproducing it on demand, maybe he can help confirm tomorrow00:06
*** killer_prince has joined #openstack-ironic00:09
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647500:11
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647500:22
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647500:23
*** matsuhashi has joined #openstack-ironic00:26
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Close file handle after use  https://review.openstack.org/8647600:27
openstackgerritA change was merged to openstack/ironic: Fix hosts mapping for conductor's periodic tasks  https://review.openstack.org/8414200:45
*** jrist has quit IRC00:52
*** jrist has joined #openstack-ironic00:52
Shrewsadam_g: omg, i hope that's it. i spent most of today trying to track that frickin' bug down01:09
Shrewswill try the patch tomorrow01:09
*** killer_prince has quit IRC01:15
*** wendar_ has joined #openstack-ironic01:19
*** GheRivero_ has joined #openstack-ironic01:19
*** SpamapS_ has joined #openstack-ironic01:21
*** lynxman_ has joined #openstack-ironic01:22
*** rushiagr has quit IRC01:22
*** SpamapS has quit IRC01:22
*** dshulyak has quit IRC01:22
*** antonym has quit IRC01:23
*** lynxman has quit IRC01:23
*** mordred has quit IRC01:23
*** dividehex has quit IRC01:23
*** wendar has quit IRC01:23
*** GheRivero has quit IRC01:23
*** sanek11 has joined #openstack-ironic01:23
*** agordeev has quit IRC01:24
*** rushiagr has joined #openstack-ironic01:24
*** lynxman_ is now known as lynxman01:24
*** mordred has joined #openstack-ironic01:24
*** dividebin has joined #openstack-ironic01:24
*** dshulyak has joined #openstack-ironic01:24
*** lynxman has quit IRC01:24
*** lynxman has joined #openstack-ironic01:24
*** antonym has joined #openstack-ironic01:25
*** killer_prince has joined #openstack-ironic01:39
*** nosnos has joined #openstack-ironic01:48
*** Haomeng has joined #openstack-ironic02:02
*** coolsvap|afk is now known as coolsvap02:12
*** rloo has quit IRC02:18
openstackgerritJim Rollenhagen proposed a change to openstack/ironic: Bring agent deploy driver up to date with virt  https://review.openstack.org/8649002:23
*** radsy has quit IRC02:31
*** radsy has joined #openstack-ironic02:31
*** harlowja is now known as harlowja_away02:39
*** harlowja_away is now known as harlowja02:39
*** datajerk has quit IRC02:51
*** jgrimm has joined #openstack-ironic03:14
*** matsuhashi has quit IRC03:22
*** matsuhashi has joined #openstack-ironic03:32
*** dwalleck has joined #openstack-ironic03:35
*** eghobo has joined #openstack-ironic03:43
*** BadCub01 has quit IRC03:43
*** nosnos has quit IRC04:09
*** dwalleck_ has joined #openstack-ironic04:15
*** dwalleck has quit IRC04:19
*** dwalleck_ has quit IRC04:41
*** nosnos has joined #openstack-ironic04:47
*** jgrimm has quit IRC05:08
*** rameshg87 has joined #openstack-ironic05:09
*** russell_h has quit IRC05:09
*** russell_h has joined #openstack-ironic05:10
*** harlowja is now known as harlowja_away05:10
*** russell_h has quit IRC05:10
*** russell_h has joined #openstack-ironic05:10
*** vkozhukalov has joined #openstack-ironic05:16
*** ilives has joined #openstack-ironic05:19
*** vkozhukalov has quit IRC05:19
*** ilives has quit IRC05:25
*** ilives has joined #openstack-ironic05:25
*** pradipta_away is now known as pradipta05:26
*** vkozhukalov has joined #openstack-ironic05:26
*** radsy has quit IRC05:29
*** eghobo has quit IRC05:37
*** eghobo has joined #openstack-ironic05:38
*** ilives has quit IRC05:47
*** ilives has joined #openstack-ironic05:47
*** ilives has quit IRC05:49
*** eguz has joined #openstack-ironic05:51
*** ilives has joined #openstack-ironic05:53
*** eghobo has quit IRC05:55
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/8395606:07
*** ilives has quit IRC06:08
*** vkozhukalov has quit IRC06:15
*** lsmola has joined #openstack-ironic06:16
*** ewindisch has quit IRC06:16
*** SpamapS_ is now known as SpamapS06:20
*** SpamapS has joined #openstack-ironic06:20
*** ewindisch has joined #openstack-ironic06:27
openstackgerritRussell Haering proposed a change to openstack/ironic: Factor hash ring management out of the conductor  https://review.openstack.org/8481406:42
*** ilives has joined #openstack-ironic06:55
*** ilives has quit IRC07:06
*** ilives has joined #openstack-ironic07:07
*** rameshg87 has left #openstack-ironic07:10
rushiagrhello Ironic!07:19
rushiagrIn the docs, 'exercising the services locally'07:19
rushiagrhttp://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#exercising-the-services-locally07:19
*** max_lobur has joined #openstack-ironic07:19
rushiagrCan I specify a fake mac address, IPMI credentials, and make the node creation etc things work?07:20
rushiagror will I need to use a 'real' node? The doc is slightly ambiguous07:20
*** rameshg87 has joined #openstack-ironic07:23
Haomengrushiagr: welcome07:23
*** mdickson has quit IRC07:24
Haomengrushiagr: depends on what you want07:24
Haomengrushiagr: what case you want to run07:24
rushiagrI just wanted to check the node-create, etc APIs. I just wanted to play around with Ironic, on my local machine (laptop)07:25
rushiagrHaomeng: ^07:25
Haomengrushiagr: :)07:25
Haomengrushiagr: if you just run node-create without any true deployment, you can use any fake mac address and ipmi credentials, but ipmi poweron/off function will not work I think:)07:26
rushiagrHaomeng: okay. Cool.  That will do the job for me07:27
*** romcheg has joined #openstack-ironic07:28
*** zigo has quit IRC07:29
*** romcheg has quit IRC07:31
*** romcheg has joined #openstack-ironic07:32
*** romcheg has quit IRC07:32
Haomengrushiagr: :)07:33
rushiagrHaomeng: thanks07:33
Haomengrushiagr: welcome:)07:33
*** ndipanov has joined #openstack-ironic07:38
*** yuriyz has joined #openstack-ironic07:39
*** vkozhukalov has joined #openstack-ironic07:39
*** max_lobur has quit IRC07:43
*** romcheg has joined #openstack-ironic07:48
*** eguz has quit IRC07:49
*** jistr has joined #openstack-ironic08:07
*** lucasagomes has joined #openstack-ironic08:13
openstackgerritA change was merged to openstack/ironic: Handling validation in conductor consistently  https://review.openstack.org/8437408:17
*** romcheg has quit IRC08:19
*** matsuhashi has quit IRC08:21
*** matsuhashi has joined #openstack-ironic08:21
*** zigo has joined #openstack-ironic08:23
*** matsuhashi has quit IRC08:25
*** killer_prince has quit IRC08:26
*** derekh has joined #openstack-ironic08:26
*** killer_prince has joined #openstack-ironic08:27
*** romcheg has joined #openstack-ironic08:28
*** lazy_prince has joined #openstack-ironic08:29
*** killer_prince has quit IRC08:32
*** lazy_prince is now known as killer_prince08:32
*** aignatov has quit IRC08:32
*** aignatov has joined #openstack-ironic08:34
*** matsuhashi has joined #openstack-ironic08:37
*** athomas has joined #openstack-ironic08:42
dtantsurMorning Ironic08:42
Haomengdtantsur: morning:)08:42
* dtantsur needs 3rd cup of coffee today :(08:42
*** lsmola has quit IRC08:46
romchegMorning folks!08:47
*** athomas has quit IRC08:49
lucasagomesmorning Haomeng romcheg dtantsur08:54
lucasagomesdtantsur, I didn't know about that list vs tuple performance08:55
Haomenglucasagomes: morning:)08:55
yuriyzmorning all08:55
romchegMorning lucasagomes!08:55
lucasagomesdtantsur, any links you can point me to that talks about it?08:55
lucasagomesyuriyz, morning :D08:55
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Do not sync power state for new invalidated nodes  https://review.openstack.org/8652908:57
dtantsurlucasagomes, Morning! To put it simply, both tuples and list require O(N) for 'in' operation, but as list is a complex mutable structure, creating it just for 2 comparisons may be suboptimal. Also, afaik Python compiler under come conditions can even pre-construct this tuple as a constant08:57
dtantsurlucasagomes, if this explanation does not satisfy you, I can try find something serious on this :)08:57
*** tatyana has joined #openstack-ironic08:57
dtantsurmorning romcheg, yuriyz08:58
lucasagomesdtantsur, heh, it's grand to me, just curious08:58
lucasagomesI haven't heard about it that's why I'm questioning08:58
lucasagomesand yeah, for a list/tuple of 2 items it won't hit any performance impact I be08:59
lucasagomesbet*08:59
lucasagomesdtantsur, so its more about the creation of it, not searching in it itself08:59
*** lsmola has joined #openstack-ironic09:00
lucasagomescool thanks, here's a good explanation about it: http://stackoverflow.com/questions/3340539/why-tuple-is-faster-than-list09:02
dtantsurlucasagomes, well yeah, I think list (which can grow) is much harder to construct (and takes essentially more memory) that tuple (which is of fixed size). Searching may be only slightly different due to the fact tuple is simpler09:02
dtantsurlucasagomes, ah, ok :)09:02
dtantsurlucasagomes, I actually like the 3rd answer, it goes into some implementation details: http://stackoverflow.com/a/334162909:04
*** athomas has joined #openstack-ironic09:04
lucasagomescool thanks09:05
*** romcheg has quit IRC09:10
Mikhail_D_wkMorning all! :)09:13
Mikhail_D_wk lucasagomes: morning! :)09:13
lucasagomesMikhail_D_wk, morning09:13
dtantsurmorning Mikhail_D_wk09:13
*** martyntaylor has joined #openstack-ironic09:16
*** ilives has quit IRC09:18
*** ilives has joined #openstack-ironic09:19
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Cleanup mock patch without `with` part 2  https://review.openstack.org/7325609:21
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Cleanup mock patch without `with` part 1  https://review.openstack.org/7322309:21
HaomengMikhail_D_wk: morning:)09:22
*** tatyana has quit IRC09:22
*** lazy_prince has joined #openstack-ironic09:24
*** killer_prince has quit IRC09:24
*** lazy_prince is now known as killer_prince09:24
*** max_lobur has joined #openstack-ironic09:25
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Cleanup mock patch without `with` part 3  https://review.openstack.org/8653609:26
*** mrda is now known as mrda_away09:27
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Cleanup mock patch without `with` part 3  https://review.openstack.org/8653609:29
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Get rid of the newline "\"  https://review.openstack.org/6679309:29
*** matsuhashi has quit IRC09:30
*** matsuhashi has joined #openstack-ironic09:34
*** uberj has quit IRC09:35
*** uberj_ has joined #openstack-ironic09:36
*** romcheg has joined #openstack-ironic09:39
*** radsy has joined #openstack-ironic09:42
*** max_lobur1 has joined #openstack-ironic09:52
*** max_lobur has quit IRC09:54
*** ilives has quit IRC10:16
*** ilives has joined #openstack-ironic10:17
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Get rid object model `dict` methods part 3  https://review.openstack.org/6410810:19
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Get rid object model `dict` methods part 1  https://review.openstack.org/6002510:19
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Get rid object model `dict` methods part 2  https://review.openstack.org/6233110:19
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Get rid object model `dict` methods part 5  https://review.openstack.org/6427810:19
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Old value 'updated_at' field returned after update  https://review.openstack.org/7543010:19
*** matsuhashi has quit IRC10:20
*** matsuhashi has joined #openstack-ironic10:25
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added lvm partitioner  https://review.openstack.org/8567210:34
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added disk partitioner  https://review.openstack.org/8616310:36
*** mrda_away is now known as mrda10:40
*** overlayer has joined #openstack-ironic10:55
*** radsy has quit IRC10:58
*** nosnos has quit IRC10:59
*** nosnos has joined #openstack-ironic10:59
lucasagomesdtantsur, ping re @patch decorator11:00
dtantsurlucasagomes, sure11:00
lucasagomesdtantsur, so if I use the decorator, it give me the mocked object as a parameter11:00
lucasagomeshow can I stop that mock?11:00
lucasagomescalling mock.stop() doesn't seems to be working11:01
dtantsurlucasagomes, yep. It will be stopped once you live decorated method. No stop() required11:01
lucasagomes(I used the @patch.mock, on the class itself so all the methods has this mock being passed by parameters)11:01
dtantsur* live = leave11:01
lucasagomesdtantsur, but for some tests I don't want it to be mocked11:01
lucasagomesthat's why I created that stopPatchers() method11:01
lucasagomesso I could call stop()11:02
lucasagomesor you think that for that specific tests I should create a new class?11:02
lucasagomeswhere it won't be mocked11:02
dtantsurlucasagomes, I think there are two Correct(tm) ways of doing it: 1. seperate into two test cases. this what I vote for - if you need different setUp's - then they are different cases11:03
lucasagomesack11:03
lucasagomesdtantsur, yeah I thought about #111:03
dtantsurok, I think it's better11:03
lucasagomesbut was thinking if there was a nice way to stop it11:03
lucasagomesso I could just use the same class11:03
lucasagomesdtantsur, cheerios11:03
dtantsur:)11:03
*** nosnos has quit IRC11:03
*** overlayer has quit IRC11:12
*** coolsvap is now known as coolsvap|afk11:12
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Replace sfdisk with parted  https://review.openstack.org/8439611:14
*** matsuhashi has quit IRC11:14
*** overlayer has joined #openstack-ironic11:15
*** ndipanov has quit IRC11:16
*** rameshg87 has left #openstack-ironic11:19
*** matsuhashi has joined #openstack-ironic11:22
*** mkerrin has quit IRC11:25
*** ndipanov has joined #openstack-ironic11:31
*** matsuhashi has quit IRC11:31
*** mkerrin has joined #openstack-ironic11:32
*** sanek11 is now known as agordeev11:33
*** matsuhas_ has joined #openstack-ironic11:33
*** mrda is now known as mrda_away11:44
*** mdickson has joined #openstack-ironic11:47
openstackgerritAndrey Kurilin proposed a change to openstack/python-ironicclient: Sync latest code and reuse exceptions from oslo  https://review.openstack.org/7150011:51
*** mdickson has quit IRC11:54
*** matsuhas_ has quit IRC11:57
*** mdickson has joined #openstack-ironic11:57
*** mdickson has quit IRC12:04
*** jistr has quit IRC12:07
*** jistr has joined #openstack-ironic12:07
*** romcheg has quit IRC12:08
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Do not sync power state for new invalidated nodes  https://review.openstack.org/8652912:09
*** romcheg has joined #openstack-ironic12:10
*** jdob has joined #openstack-ironic12:32
*** linggao has joined #openstack-ironic12:35
*** romcheg has quit IRC12:35
*** romcheg has joined #openstack-ironic12:37
*** foexle has joined #openstack-ironic12:41
foexleheyho guys, could anyone give an answer of this question? https://ask.openstack.org/en/question/26901/ironic-if-the-compute-node-fails/ it would be very helpful. sry for the push12:42
Shrewslucasagomes: i highly recommend that 86473 gets merged today.12:49
lucasagomesShrews, will take a quick look12:50
Shrewslucasagomes: it fixes the OOM problem12:50
lucasagomesShrews, great! only one objection about using tearDown()12:55
lucasagomesShrews, http://lists.openstack.org/pipermail/openstack-dev/2013-October/016203.html12:55
lucasagomesShrews, I will comment on the patch12:55
lucasagomesbut otherwise it lgtm12:55
*** pradipta is now known as pradipta_away12:55
Shrewslucasagomes: ah, that's interesting12:56
lucasagomesShrews, yeah, I left a snippet inline12:57
Shrewsgreat12:57
*** rloo has joined #openstack-ironic12:57
lucasagomesonce it's get's update I will +2 it and then we ping another core to approve it12:57
Shrewsawesome. adam_g ^^^^12:58
lucasagomes:)12:59
*** jbjohnso_ has joined #openstack-ironic13:00
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add FlowExtension  https://review.openstack.org/8541213:04
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Resolve circular import, introduce ExecuteCommandMixin  https://review.openstack.org/8634113:04
*** matty_dubs|gone is now known as matty_dubs13:08
*** dtantsur is now known as dtantsur|bbl13:11
*** mdickson has joined #openstack-ironic13:20
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: IPMINative to use the new ManagementInterface  https://review.openstack.org/8658813:22
*** mdickson has quit IRC13:24
openstackgerritA change was merged to openstack/python-ironicclient: Updated from global requirements  https://review.openstack.org/8348813:36
*** mdickson has joined #openstack-ironic13:47
*** saju_m has joined #openstack-ironic13:50
*** mdickson has quit IRC13:52
*** dwalleck_ has joined #openstack-ironic13:54
openstackgerritJim Rollenhagen proposed a change to openstack/ironic-python-agent: Use configurable driver name in lookup URL  https://review.openstack.org/8620113:57
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add FlowExtension  https://review.openstack.org/8541213:59
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Resolve circular import, introduce ExecuteCommandMixin  https://review.openstack.org/8634113:59
*** mdickson has joined #openstack-ironic13:59
NobodyCamgood morning Ironic14:04
agordeevNobodyCam: good morning14:06
NobodyCammorning agordeev14:06
Mikhail_D_wkNobodyCam: morning :)14:06
NobodyCammornig Mikhail_D_wk :)14:06
*** dwalleck_ has quit IRC14:10
*** dwalleck has joined #openstack-ironic14:12
*** datajerk has joined #openstack-ironic14:13
openstackgerritJim Rollenhagen proposed a change to openstack/ironic-python-agent: Use # instead of """ for copyright blocks  https://review.openstack.org/8645514:14
openstackgerritJim Rollenhagen proposed a change to openstack/ironic: Bring agent deploy driver up to date with virt  https://review.openstack.org/8649014:16
jrollmorning ironic :)14:18
NobodyCamgood morning jroll14:20
jbjohnso_morning14:20
NobodyCammorning jbjohnso_ :)14:21
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added disk partitioner  https://review.openstack.org/8616314:21
*** mdickson2 has joined #openstack-ironic14:22
*** mdickson has quit IRC14:22
agordeevjroll: morning14:24
Mikhail_D_wk jroll: morning :)14:25
*** mdickson2 has quit IRC14:28
*** jgrimm has joined #openstack-ironic14:29
*** jgrimm has quit IRC14:29
*** mdickson has joined #openstack-ironic14:30
*** jgrimm has joined #openstack-ironic14:30
rloolucasagomes: when do you +2 vs +1? https://review.openstack.org/#/c/85600/14:33
NobodyCammorning rloo14:33
rloomorning NobodyCam (and all ironic'ers)14:34
lucasagomesrloo, heh I can't +2 that because it's in another branch14:34
lucasagomesthe milestone proposed branch14:34
lucasagomesmorning rloo NobodyCam14:34
NobodyCammorning lucasagomes14:34
lucasagomesrloo, these are back-port patches14:34
rloolucasgomes: ahh, so core isn't all-that powerful :-)14:35
lucasagomesrloo, https://review.openstack.org/#/q/status:open+project:openstack/ironic+branch:milestone-proposed,n,z14:35
lucasagomesrloo, heh not really14:35
lucasagomes:(14:35
rloolucasagomes: otherwise, do you normally +2 instead of +1?14:35
lucasagomesrloo, yup14:35
lucasagomesrloo, but, sometimes I use +114:35
NobodyCamlucasagomes: question, have any thought on why I cn not force debug logging?14:35
lucasagomesrloo, one example, https://review.openstack.org/#/c/84374/14:36
lucasagomesrloo, the code lgtm, but I was a bit concerned about issuing IPMI commands synchronously... As I don't have much experience/knowledge of IPMI I +1 and put my concerns in the comment14:36
lucasagomesNobodyCam, hey, idk really... I saw ur patch yesterday14:37
NobodyCamheheheh14:37
lucasagomesI didn't do any investigation on it, but that looked fine, setting the debug=True in the ironic.conf works in my env as far as I can tell14:37
lucasagomesNobodyCam, lemme test it14:37
rloolucasagomes: ahh, got it. That explains your comment there ;)14:37
lucasagomesNobodyCam, 2014-04-10 13:01:55.085 12077 DEBUG ironic.conductor.manager [req-11921e85-8747-461e-a27a-b97549a95a8a admin admin] RPC update_node called for node cda524d3-93d4-477d-8f3e-dc2caa0899ee. update_node /opt/stack/ironic/ironic/conductor/manager.py:18814:38
*** mdickson2 has joined #openstack-ironic14:38
lucasagomesNobodyCam, I see debug logs in my env14:38
*** mdickson has quit IRC14:39
lucasagomesrloo, yeah :)14:39
NobodyCamlucasagomes: your running devstack. and the default conf option in openstack/common/log to true14:39
NobodyCams/and the/and set the/14:40
lucasagomesright14:40
agordeevrloo: morning14:40
NobodyCamack14:40
mdickson2I have an ironic "philosophy" question...   Is Ironic targeting hardware provisioning or hardware management?  That is, how in scope is full management of the hardware (BIOS settings, firmware management, real time hardware monitoring, etc)?14:43
rloomorning/afternoon? agordeev14:44
*** dwalleck_ has joined #openstack-ironic14:45
NobodyCammdickson2: provisioning.. thou that may involve some management. like setting vt bit in bios14:45
lucasagomesmdickson2, ^, no monitoring14:46
mdickson2Ok, understood.  So things that relate to provisioning..  But it wouldn't be a replacement for a hardware management and monitoring solution.14:47
NobodyCamnot at all14:47
*** ilives has quit IRC14:47
NobodyCam(wouldn't be a replacement for a hardware management and monitoring solution)14:47
mdickson2I see some issues if you do full management with tenants.  Being able to assign bare metal resources to projects and then losing control of the server.14:47
NobodyCamyes there are many securty conserns with untrusted tentants in baremetal14:48
mdickson2Ok, thank you.  Having some internal discussions in my group and its been represented differently. I understood it as more focused on the provisioning issue.14:48
*** lazy_prince has joined #openstack-ironic14:48
*** ilives has joined #openstack-ironic14:48
*** dwalleck has quit IRC14:49
NobodyCammdickson2: prob because of blueprints like this: https://blueprints.launchpad.net/ironic/+spec/send-data-to-ceilometer14:50
agordeevrloo: morning/evening :)14:50
rlooagordeev: not night? :-)14:51
NobodyCamwe can talk to the chassis' bmc and there for it is possible for ironic to get that data14:51
*** dwalleck_ has quit IRC14:51
agordeevrloo: not night, right. The sun will go down within a hour14:52
mdickson2I do understand that some drivers might be able to provide sensor information, etc.  And I dont see a real issue with that.  But thing like managing firmware revisions and configuring storage, etc.. Things that would normally be handled by a hardware management platform seem out of scope.14:53
rlooagordeev: ok, your night is my noon then ;)14:54
mdickson2I know there is a blueprint for firmware for instance but that seems more focused on loading nic firmware and that sort of thing vs something that might keep track of compatible firmware versions or manage chassis and bmc firmware, etc.14:54
jbjohnso_so, does anyone think a blueprint for that console service I youtubed would be of interest?14:54
NobodyCamjbjohnso_: I do14:55
NobodyCammdickson2: yes we may be able to do the FW upgrade about we do not track anything about it14:55
jbjohnso_I need to see what keystone auth would mean for the http half...14:55
lucasagomesjbjohnso_, do you have the youtube link handy?14:56
jbjohnso_https://www.youtube.com/watch?v=G_lDaktYnsQ14:56
mdickson2Thanks for the clarification!14:57
NobodyCam:) happy to :)14:57
jbjohnso_lucasagomes, I kept it at 5 minutes, which is about as much attention span as I can generally spare for videos14:57
NobodyCambrb14:58
lucasagomesjbjohnso_, heh thanks14:58
jbjohnso_I saw a 45 minute video about tmux...I love tmux but man....14:58
jbjohnso_well, saw that there *was* a 45 minute video, couldn't watch it14:58
devanandag'morning, all14:59
NobodyCamgood morning devananda14:59
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add FlowExtension  https://review.openstack.org/8541214:59
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Resolve circular import, introduce ExecuteCommandMixin  https://review.openstack.org/8634114:59
agordeevdevananda: morning15:00
jbjohnso_lucasagomes, also, http://sourceforge.net/p/xcat/confluent/ci/master/tree/15:00
jbjohnso_for people to bash code15:00
lucasagomesjbjohnso_, nice... btw when you changed address there and the title changed to unconnected, would the right world be disconnected?15:02
lucasagomeswouldn't*15:03
lucasagomesword*15:03
lucasagomesgosh15:03
lucasagomeshah15:03
jbjohnso_I think it disconnects the wrong world15:03
jbjohnso_I need to dictionary up15:04
lucasagomesright, I thought unconnected was used only if something was never connected before15:04
lucasagomesjbjohnso_, no worries just wondering, I'm not even a native speaker15:05
*** ifarkas has quit IRC15:05
jbjohnso_well, that is a possible state too..15:05
lucasagomesjust curiosity15:05
*** saju_m has quit IRC15:05
jbjohnso_didn't know if 'was connected and no longer' was worth distinguishing from 'never was connected'15:05
lucasagomesjbjohnso_, great video!15:05
lucasagomesjbjohnso_, yeah, english is tricky, in portuguese we have no distinction for no connectivity... but english sometimes has different words for very specific things, like unconnected vs disconnected15:07
lucasagomesanyhoo15:07
openstackgerritRussell Haering proposed a change to openstack/ironic: Factor hash ring management out of the conductor  https://review.openstack.org/8481415:09
lucasagomesromcheg, https://review.openstack.org/#/c/85996/ w00t!15:10
romcheglucasagomes: yup :)15:11
jbjohnso_lucasagomes, dictionaries just confused me15:11
lucasagomesjbjohnso_, lol15:11
lucasagomesjbjohnso_, google says15:11
lucasagomesunconnected: not joined together or to something else.15:11
romcheglucasagomes: Let's wait until it's merged and try re-checking your patch again.15:11
lucasagomesdisconnected: having had a connection broken.15:11
lucasagomesjbjohnso_, disconnected sounds more accurate to me for that case15:12
romcheglucasagomes: I'm going to disappear in about an hour or so to drink much alcohol regarding to my birthday last Monday15:12
*** foexle has quit IRC15:12
NobodyCam:) enjoy romcheg :)15:12
NobodyCamand good morning15:12
romchegMorning NobodyCam and everyone else15:13
lucasagomesromcheg, oh enjoy it and happy birthday (late)!!15:13
romchegHopefully this patch merges faster than I will have to go :)15:13
lucasagomesromcheg, yeah, I can trigger the recheck (and remove the WIP) once it's merged15:14
lucasagomesNobodyCam, btw, I want to remove that driver_fields mapping from the driver15:15
NobodyCamlucasagomes: sure15:15
NobodyCamit was a first stab15:15
lucasagomesNobodyCam, reason: if ironic have to translate some field, like swap_mb -> swap_gb, it doesn't fits very well on that model15:15
lucasagomesNobodyCam, yeah15:15
*** coolsvap|afk is now known as coolsvap15:16
lucasagomesI want to encapsulate it in a class and make it get the fields/do conversions for me15:16
lucasagomeslet's see, /me looking the code15:16
lucasagomeslooking at*15:16
NobodyCam:)15:16
*** datajerk has quit IRC15:17
NobodyCamahh ha15:21
NobodyCamlucasagomes: do you have any logging.conf files in your /etc/ironic dir?15:21
lucasagomesNobodyCam, not really15:22
lucasagomes[stack@localhost devstack]$ ls /etc/ironic/15:22
lucasagomesironic.conf  policy.json  rootwrap.conf  rootwrap.d15:22
NobodyCamhttps://github.com/openstack/tripleo-image-elements/blob/master/elements/ironic-conductor/os-apply-config/etc/ironic/logging-conductor.conf15:22
NobodyCamboo ya15:22
lucasagomesNobodyCam, oh15:23
lucasagomesNobodyCam, so that might be changing the logging level you think?15:23
NobodyCamputting up a patch to remove them now15:23
lucasagomesright15:23
NobodyCamnope just going to remove them.15:23
lucasagomesI c15:23
rlooNobodyCam: do we need to document the ordering/how log levels are determined?15:25
*** dwalleck_ has joined #openstack-ironic15:26
*** mdickson2 has quit IRC15:27
*** dwalleck has joined #openstack-ironic15:28
*** dwalleck_ has quit IRC15:31
*** dwalleck has quit IRC15:33
NobodyCamrloo: hummm...15:37
rlooNobodyCam: just thinking that if it took you awhile to figure out what was going on, maybe there is something we can do to make it easier next time ;)15:38
NobodyCamya but the logging level are standard.. this was / is a config error15:39
rlooNobodyCam: ok. I wasn't paying much attention. I thought you set Debug=true in ironic.conf, but that was overruled by the logging.conf file?15:40
Shrewslucasagomes: thx for your explanation on HTTPBadRequest. based on your comments, I think I'll just remove handling that from the wrapper and let the calling code deal with it. sound good?15:42
lucasagomesShrews, yup it sounds good15:42
russell_hthis just needs one more +2: https://review.openstack.org/#/c/82773/15:43
lucasagomesit's my patch otherwise I would +2/A :)15:43
NobodyCami'll take a look right after quick walkies15:44
rloorussell_h: am actually looking at it now.15:45
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Encapsulate Ironic client retry logic  https://review.openstack.org/8310515:45
*** mdickson has joined #openstack-ironic15:47
*** mdickson2 has joined #openstack-ironic15:49
rloorussell_h: ok, I approved it ;)15:50
*** mdickson has quit IRC15:51
*** mdickson2 has quit IRC15:51
NobodyCamw00t Ty rloo :)15:53
rlooNobodyCam: yw ;)15:54
*** eghobo has joined #openstack-ironic15:54
*** mdickson has joined #openstack-ironic15:55
*** comstud has quit IRC15:55
*** comstud has joined #openstack-ironic15:55
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add FlowExtension  https://review.openstack.org/8541215:58
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Resolve circular import, introduce ExecuteCommandMixin  https://review.openstack.org/8634115:58
*** russellb has quit IRC15:59
*** russellb has joined #openstack-ironic15:59
russell_hagordeev: we discovered yesterday that its really hard to mock with open('/foo')16:00
russell_hagordeev: although I think we got it sort of working eventually16:00
agordeevrussell_h: have you seen this ? http://stackoverflow.com/questions/1289894/how-do-i-mock-an-open-used-in-a-with-statement-using-the-mock-framework-in-pyth16:06
NobodyCamlucasagomes: rloo: and anyone else: mind taking a quick look at https://review.openstack.org/8663916:06
* NobodyCam get mo coffee16:07
rlooNobodyCam: am in the middle of another review (and then want to grab some food). Will look in a bit.16:07
NobodyCamrloo: ack :) Ty16:08
agordeevrussell_h: using of mock_open looks very simple and clear16:09
lucasagomesNobodyCam, so os-apply-config on both of that element is only applying that logging.conf file?16:12
lucasagomesNobodyCam, I see u'r removing the dependency there16:13
NobodyCamonly frm api.. on conductor its still used for ssh key16:13
lucasagomesah yeah sorry for the api16:13
lucasagomesNobodyCam, ack, so it lgtm :)16:13
NobodyCam:) +1 helps seepd landing16:14
NobodyCamspeed even16:14
NobodyCam:-p16:14
*** dtantsur|bbl is now known as dtantsur16:15
lucasagomesheh16:16
*** martyntaylor has left #openstack-ironic16:23
devanandalucasagomes: on https://review.openstack.org/#/c/84687/5/ironic/nova/virt/ironic/driver.py, whhy do you think a powered ON node, with no instance and not in maintenance, is ok for nova?16:25
devanandalucasagomes: iiuc, ironic will prevent an instance association because the power state isn't OFF16:25
NobodyCamdevananda: yes true that16:26
lucasagomesdevananda, because it has a valid state16:26
lucasagomesdevananda, but yeah hmmm16:26
* lucasagomes thinking16:26
lucasagomesdevananda, yeah I can see that conditional16:27
lucasagomes                if node_obj['power_state'] != states.POWER_OFF:16:28
lucasagomes                    raise exception.NodeInWrongPowerState(16:28
devanandaright16:28
devanandaand virt.ironic.driver L40016:28
devanandasets the instance_uuid at the top of spawn(), before checking/changing power state16:29
devanandaso calling spawn() on a node in states.POWER_ON will fail, i think16:29
lucasagomesdevananda, it will16:29
devanandaoooh16:29
devanandaso that totally prevents the workflow that jroll and folks want to have16:30
devanandawith long-lived agents and always-on machines16:30
lucasagomesdevananda, it something we cna discuss, if the node is on but has no association or is not in maintenance mode16:30
*** dwalleck has joined #openstack-ironic16:30
lucasagomesshould we just reboot it when deploying?16:30
lucasagomesset boot device to pxe, reboot it16:30
devanandawell, taht'll depend on the driver16:31
devanandaright?16:31
devanandapxe driver will need to reboot it. agent driver will need it to NOT reboot. ilo driver will ... do what ilo driver does16:31
lucasagomesheh yeah16:31
lucasagomesI didn't fully get the always-on thing16:31
devanandaso yea, i can see accepting power state ON, because the driver can then make that decision16:31
devanandai don't like it16:31
devanandabut i understand the goal -- save ~5 minutes16:32
lucasagomeswhy you would have always on machines?!16:32
lucasagomesah16:32
devanandabecase POST is very slow on hardware16:32
lucasagomesyeah save 5 minutes in the deployment and spent a lot of money with electricity16:32
devanandaright16:32
*** yuriyz has quit IRC16:32
lucasagomessounds a bit hmm "goofy" but ok it's valid16:32
* NobodyCam would choose save the $$$16:33
JayFIn our hardware lab, it's more like 10m for a reboot ;)16:33
lucasagomesdevananda, so, if someone has a use case for that we might want to remove that conditional from ironic16:33
devanandaright16:33
lucasagomesdevananda, you want me to fill a bug about it? or you are doing that already?16:34
devanandaactually16:34
lucasagomesJayF, yeah, well people has different uses cases so we have to incorporate both16:34
devanandaJayF: hi! mind if i toss a bug and some doc work your way (or to your team, at least)16:34
JayFtechnically it's russell_h's team ;)16:35
*** vkozhukalov has quit IRC16:35
devanandasince this is more relevant to your use case than any one else's right now16:35
devanandaheh16:35
JayFI think this was on jroll's todo list16:35
devanandaJayF: i'll just say "ya'll" from now on16:35
JayFdevananda: y'all ;)16:35
lucasagomesheh16:35
lucasagomesye?16:35
jrolldevananda: this is indeed on my todo list16:35
jrollso yes16:35
jrolltoss away16:35
devanandaawesome16:35
jrollfor version one we're using the no always on model16:36
jrolland then I was going to poke at that stuff16:36
devananda* file a bug that instance association isn't possible while a node is in state POWER_ON16:36
devanandamaybe fix it. should actually be trivial to fix16:36
devanandaalso, as part of that, add some RST docs (or diagram or something) showing the different permutations of power, association, and maintenance state16:37
jrollsure16:37
devanandai think we're going to all need that to avoid confusion as different drivers follow different workflows around power state16:37
lucasagomesdevananda, as _right now_ we don't support the always on thing, do you think I should edit that patch and remove the POWERON (since it's going fail)16:38
*** lazy_prince has quit IRC16:38
devanandalucasagomes: yep16:38
lucasagomesor just leave it to not add extra work later?16:38
lucasagomesdevananda, ack16:38
lucasagomeswill update16:38
devanandalucasagomes: better to not land something that we know is broken. adding that later is one line in that file :)16:38
lucasagomesdevananda, +116:38
devanandalucasagomes: you can always tag a #TODO in there16:39
* devananda loves #TODOs16:39
lucasagomesheh16:39
devanandajroll: and thanks!16:39
jrollyep :)16:41
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Properly mock _cmd so blockdev does not run  https://review.openstack.org/8664516:42
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647516:44
lucasagomesdevananda, the TODO would be nice if I had more insight about the always on thing or a bug ticket16:45
lucasagomesotherwise it will be a bit "loose"16:45
*** hemna_ has joined #openstack-ironic16:45
devanandalucasagomes: ah, good point16:45
devanandalucasagomes: while you're still here, any thoughts on parted change?16:45
devanandalucasagomes: i see your reply on 8439616:46
lucasagomesdevananda, I left a big log there16:46
devanandaah, /me reads16:46
lucasagomesdevananda, so I was investigating it this morning, tl;dr, idk as the same time that sfdisk says its not aligned16:46
lucasagomesparted says it's aligned16:46
lucasagomesdevananda, and oddly, sfdisk just complain about misalignement if the partition is < 8GB16:47
devananda:(16:47
lucasagomesdevananda, if it's >=8GB sfdisk is pretty happy with it (even if it starts at the same offset as before)16:47
lucasagomesdevananda, but if you do an align-check with parted it says "aligned"16:48
*** saju_m has joined #openstack-ironic16:48
lucasagomesso idk it's like parted vs sfdisk args here16:48
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Better check for available nodes  https://review.openstack.org/8468716:49
devanandaretrying my tests with 9GB root16:49
lucasagomesdevananda, ack lemme know16:49
lucasagomesdevananda, I want to dig more into the sfdisk code16:49
lucasagomesI will do it, idk strace or something16:49
lucasagomescause for me it makes no sense that >=8GB it doesn't complain16:50
lucasagomesit starts at the exactly same offset16:50
*** epim has joined #openstack-ironic16:56
devanandalucasagomes: so with 9GB root, i'm not seeing the CHS alignment issue16:57
*** derekh has quit IRC16:57
devanandalucasagomes: but sfdisk -V still complains16:57
lucasagomesdevananda, right16:57
lucasagomes:( I gotta dig more into it16:57
devananda"partition does not start at a cylinder boundary" probably does not matter, but "start of partition 1 has impossible value for head"16:58
devanandaseems suspicious16:58
lucasagomesdevananda, yeah, idk if it's something that parted is actually doing that sfdisk doesn't understand/like16:58
lucasagomescause for parted it seems fine, you can run align-check there16:59
lucasagomesand it says "aligned"16:59
devanandayea16:59
devanandaodd :(16:59
lucasagomesgotta find the root cause of it, but def these two doesn't understand each other16:59
NobodyCambrb17:00
devanandalucasagomes: so I think we should go ahead with the change and the back port, even with the alignment concern17:02
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Properly mock _cmd so blockdev does not run  https://review.openstack.org/8664517:02
devanandalucasagomes: afaict, things still _work_. so it's clearly an improvement. and it'll sync up the tooling for icehouse & juno, so later backports of fixes, if needed, would be possible17:03
lucasagomesdevananda, right, I'm not concerned about breakage, but if it's really misaligned as sfdisks says it might impact in performance17:03
lucasagomesso it worth have a bug open about it17:03
devanandalucasagomes: if we leave sfdisk in icehouse, we can't backport parted to it after the release17:03
lucasagomesdevananda, yeah17:03
devanandalucasagomes: yea. perf issue is, IMO, acceptable at this point17:03
lucasagomesdevananda, +117:03
devanandabroken deploys if swap != 0 ... not acceptable17:04
* devananda lands the fixes17:04
lucasagomesdevananda, I will open a bug about it17:04
devanandathanks17:04
lucasagomesthe aligment thing17:04
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647517:05
devanandaany other cores want to go approve 84396?17:06
*** harlowja_away is now known as harlowja17:07
lucasagomesI came to the office today... so i gotta go now (take the train)17:07
lucasagomeshave a good night everyone17:07
NobodyCamhave a good night lucasagomes17:07
lucasagomesdevananda, I will try to dig more into it tomorrow, see if I can get some more info about the problem17:08
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647517:08
lucasagomesnight!17:08
JoshNangso i broke a couple tempest test trying to fix the db details leak bug https://review.openstack.org/#/c/73121/. where do i go to fix those tests?17:08
*** lucasagomes has quit IRC17:09
*** yongli has quit IRC17:13
*** yongli has joined #openstack-ironic17:14
*** datajerk has joined #openstack-ironic17:17
NobodyCamdevananda: looks like mr Jenkins broke on https://review.openstack.org/#/c/84814/ .. is that recheck or reverify?17:18
JayFlots of jenkins failures from network breakage :z17:20
*** jistr has quit IRC17:20
NobodyCamyea :(17:20
*** jistr has joined #openstack-ironic17:21
devanandayea, recheck is fine17:25
NobodyCam:)17:25
devanandathey changed things a while back and reverify isn't really needed now ... heh17:25
NobodyCamahh I was alway confuzzled by it17:25
*** jistr has quit IRC17:28
* NobodyCam grabs mo coffee17:37
NobodyCamrloo: you commented on 78787 about node_id='123' vs node_id = self.node.id .. but +1'd it17:42
rlooNobodyCam. yeah, I didn't know what to give. Anything but a +/-2. Life was easier when I only had to deal with one's.17:42
NobodyCamhehehe17:43
rlooNobodyCam -- there were so many +1s there. Maybe I should be more hard-nosed. What do you think I should have done?17:43
NobodyCamare you good with it landing as 123?17:43
rlooNobodyCam. yes, that's why I didn't -1 it ;)17:44
rlooalso, the 123 was there already. Lucas just refactored it.17:44
NobodyCamack.. ya..17:44
rlooso it didn't totally seem fair to block his changes cuz of previous changes ;)17:44
NobodyCamI'll land it.. we can refactor it with another patch17:45
rlooNobodyCam -- let me know when you land it and I'll open a low-hanging-fruit bug for those ;)17:45
* rloo thinks it might be nice to somehow reserve really-low-hanging-fruit for newbies.17:46
NobodyCamyes!!! +a'd should land shortly17:46
NobodyCamdevananda: your comments on 84396 (short-term fix sfdisk with parted) still valid after you chat with lucas? patch LGTM. I'm ready to +a just want to dbl check as lucas ended with "I will try to dig more into it tomorrow"17:58
devanandaNobodyCam: yea. i still have some small reservations about parted in general, but i havent been able to resolve the bug another way yet18:00
devanandaNobodyCam: the issue appears to be just that sfdisk is not happy with the alignment that parted is creating with a root partition < 8GB18:00
NobodyCamdevananda: ack, I recall us trying parted with BM18:01
NobodyCamdevananda: http://h10025.www1.hp.com/ewfrf/wc/document?cc=uk&lc=en&dlc=en&docname=c0347932618:04
jrolldevananda: here's that bug for deploying to nodes with power state on https://bugs.launchpad.net/ironic/+bug/130620218:05
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Close file handle after use  https://review.openstack.org/8647618:07
NobodyCamactually this reads a easier: http://rainbow.chard.org/2013/01/30/how-to-align-partitions-for-best-performance-using-parted/18:07
JayFagordeev: russell_h: Re-implemented the file close with a context_manager and fixed the tests. Awaiting a re-review here -> https://review.openstack.org/#/c/8647618:08
NobodyCamBagel Time..brb18:10
devanandaNobodyCam: I also opened a bug to add better tests for how we're doing partitioning18:13
NobodyCamdevananda: ack I'll land that now!18:17
linggaoHi devananda and NobodyCam,  now I am ready to check in the console patch.18:21
linggaoI am on the branch that sjing was using.18:21
*** uberj_ is now known as uberj18:21
NobodyCam\o/18:21
linggaowhen going git commit -a it asks me to put some message18:21
linggaoI thougt I do not need to because sjing already had messages in there.18:22
NobodyCamshould have the orginal message there to edit18:22
devanandalinggao: i think you want "git commit -a --amend"18:22
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Cleanup running conductor services in tests  https://review.openstack.org/8647318:22
devanandaso that it reuses same commit18:22
linggaoah, forgot --amend  :)18:23
*** zul has quit IRC18:25
openstackgerritlinggao proposed a change to openstack/ironic: Support serial console access  https://review.openstack.org/6410018:25
linggaocool!18:26
NobodyCam:>18:26
rlooshould we be doing 'recheck' of reviews, or wait til the network hiccups subside?18:27
NobodyCam???18:28
NobodyCamprob should check with -infra18:28
*** vkozhukalov has joined #openstack-ironic18:33
openstackgerritA change was merged to openstack/ironic-python-agent: Close file handle after use  https://review.openstack.org/8647618:33
NobodyCambrb18:36
*** max_lobur1 has quit IRC18:39
*** zul has joined #openstack-ironic18:40
*** overlayer has quit IRC18:46
devanandagoing for a walk // getting coffee, bbiab18:47
*** coolsvap is now known as coolsvap|afk18:48
*** ndipanov has quit IRC18:55
openstackgerritA change was merged to openstack/ironic: Replace sfdisk with parted  https://review.openstack.org/8439619:01
* devananda is back19:08
*** dwalleck_ has joined #openstack-ironic19:08
*** dwalleck has quit IRC19:12
*** ilives has quit IRC19:24
*** dwalleck has joined #openstack-ironic19:29
*** dwalleck_ has quit IRC19:32
*** krtaylor has quit IRC19:36
*** dwalleck has quit IRC19:37
JayFvkozhukalov: I responded to your comments on https://review.openstack.org/#/c/86475 -- most of them sounded like good features to be added in the future or concerns about preexisting code.19:45
JayFvkozhukalov: I'd appreciate you to take another look and file bugs for the concerns on the preexisting stuff19:46
JayFvkozhukalov: although, fwiw, I'm going to undertake migrating all the shell out stuff to processutils as my next task19:46
openstackgerritA change was merged to openstack/ironic-python-agent: Properly mock _cmd so blockdev does not run  https://review.openstack.org/8664519:47
vkozhukalovJayF: thank you for your answers, I agree that most of my comments are about future plans. I'll take a look. and fyi right now I am working on kind of design doc for partitioning, so as to make it clearer for everyone how we are going to use lvm, md, and how to make data driven19:52
JayFvkozhukalov: yeah, given the chatter in here yesterday about whether or not ironic should support md and lvm, I'd like deva to +1 putting LVM/MD stuff in the agent and get a general consensus for doing that19:53
*** romcheg1 has joined #openstack-ironic19:54
*** dividebin has quit IRC19:56
devanandacomstud: in your make-things-use-objects, have you touched tests/api/v1/test_ports ?19:57
devanandacomstud: if not, i'm going to fix that now, since I need to patch that file anyway for another thing19:58
NobodyCamwoo hoo only need one more +2 on https://review.openstack.org/#/c/86639/20:01
comstuddevananda: looking20:02
comstudi'm fixing my patches right now20:02
*** dividehex has joined #openstack-ironic20:03
comstuddevananda: I've touched it very little... in 1 patch where I add 'create' on Node20:03
*** krtaylor has joined #openstack-ironic20:03
openstackgerritChris Behrens proposed a change to openstack/ironic: Fix Node object version  https://review.openstack.org/8669620:05
openstackgerritChris Behrens proposed a change to openstack/ironic: Sync object list stuff from Nova  https://review.openstack.org/8669720:05
openstackgerritChris Behrens proposed a change to openstack/ironic: Add create() and destroy() to Node  https://review.openstack.org/8482320:05
openstackgerritChris Behrens proposed a change to openstack/ironic: Make tests use Node object instead of dict  https://review.openstack.org/8486020:05
openstackgerritChris Behrens proposed a change to openstack/ironic: Clean up calls to get_node()  https://review.openstack.org/8457320:05
openstackgerritChris Behrens proposed a change to openstack/ironic: Remove a DB query for get_ports_by_node()  https://review.openstack.org/8486120:05
openstackgerritChris Behrens proposed a change to openstack/ironic: Remove DB query from _sync_power_states  https://review.openstack.org/8486220:05
comstuddevananda: https://review.openstack.org/#/c/84823/4/ironic/tests/api/v1/test_ports.py20:06
comstudI think those are the only changes I have so far20:06
comstudalthough20:07
devanandacomstud: ok. the file's kinda a mess afaict20:07
comstudI might have messed up something here, because I don't see what this change does at all20:07
devanandatest_ports is not mocking the rpc call -- it's using a conductor instance and mocking just a part of that20:08
comstudyeah, I was going to hit all Port stuff next, but haven't gotten there yet20:08
comstudgotcha20:08
devanandawhich is why it's breaking when i'm changing how conductor service loads drivers20:08
devanandalemme take tthat file :)20:08
comstudyeah, go for it... i can fix up anything i end up doing20:09
devanandafwiw, https://review.openstack.org/#/c/8357220:09
devanandabut once i fix up test_ports, i'll post a new version20:09
comstudhttps://review.openstack.org/#/c/86696/20:09
comstud^ found this as I was rebasing20:09
comstudbrb20:10
devanandacomstud: thanks, +2'd20:11
NobodyCamrloo: you happen to be around?20:12
rlooNobodyCam: it so happens, yes :-)20:12
NobodyCamhehehe20:12
NobodyCamquick question.. would hate me if I asked to add the irc channel to 8509620:13
rlooNobodyCam: I think that crossed my mind. I actually copied this from ironic. But I can add irc channel to it.20:14
rlooNobodyCam: I'll even add your nick to it ;)20:15
NobodyCam:) has just about everything else :)20:15
NobodyCamieek20:15
NobodyCam:)20:15
*** NobodyCam is now known as NotNobodyCam20:15
NotNobodyCamo_o20:15
rlooha ha20:15
*** NotNobodyCam is now known as NobodyCam20:16
JoshNangheh20:16
NobodyCam:-p20:16
rlooI think, though, NobodyCam, that if you have a comment about a review, you have to be nice enough to provide the wording ;)20:16
NobodyCamI can do that20:16
rloogood, then you can't -1 me for that part!20:17
NobodyCam:-p /me -1 hehehe20:17
NobodyCammaybe -.520:17
*** epim has quit IRC20:18
rlooNobodyCam, you can do better than that, write something that deserves a +2!20:18
*** epim has joined #openstack-ironic20:27
*** saju_m has quit IRC20:28
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647520:28
*** saju_m has joined #openstack-ironic20:29
NobodyCamrloo: pre your request -1'd :)20:30
NobodyCamhehehe20:30
rlooNobodyCam: thx I think :-)20:30
NobodyCamheheh20:30
linggaodevananda, NobodyCam,  pep8 failed on my patch. https://review.openstack.org/#/c/64100/  I cannot figure out why from the error log. Could you please help?20:31
* NobodyCam looks20:31
rloolinggao: there have been some network issues. might be due to that.20:31
NobodyCamhumm looks like ironic.conf.sample20:32
linggaorloo, but other tests seem proceeded well.20:32
NobodyCamcheck_uptodate.sh: ironic.conf.sample is not up to date.20:33
rloolinggao: just looked. NobodyCam is right, the sample isn't correct.20:34
NobodyCamlinggao: source the venv and run ./tools/config/generate_sample.sh -b ./ -p ironic -o ./etc/20:34
linggaoNobodyCam, rloo. I did not regenerate the sample file after the rebase. Let me work on that. Thanks.20:34
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Implement version 2 payload with more hw info  https://review.openstack.org/8647520:36
linggaoNobodyCam, I ran that command, a new file sample file is created, but git status does not show it.20:44
linggaoThat means it is up to date.20:45
NobodyCamwhat does git status20:45
NobodyCamsho20:45
NobodyCamw20:45
NobodyCam:-p20:45
openstackgerritChris Behrens proposed a change to openstack/ironic: Add create() and destroy() to Node  https://review.openstack.org/8482320:46
openstackgerritChris Behrens proposed a change to openstack/ironic: Sync object list stuff from Nova  https://review.openstack.org/8669720:46
openstackgerritChris Behrens proposed a change to openstack/ironic: Make tests use Node object instead of dict  https://review.openstack.org/8486020:46
openstackgerritChris Behrens proposed a change to openstack/ironic: Clean up calls to get_node()  https://review.openstack.org/8457320:46
openstackgerritChris Behrens proposed a change to openstack/ironic: Remove a DB query for get_ports_by_node()  https://review.openstack.org/8486120:46
openstackgerritChris Behrens proposed a change to openstack/ironic: Remove DB query from _sync_power_states  https://review.openstack.org/8486220:46
NobodyCamieek20:46
NobodyCam:-p20:46
comstudsorry, had to rebase :)20:46
devanandaNobodyCam: https://review.openstack.org/#/c/84497/ could really use an approval20:46
devanandaNobodyCam: it's a backport potential, and we need to alnd the one on master first20:46
linggaoNobodyCam, git status shows: nothing to commit (working directory clean)20:47
NobodyCamahh yes I was going to approve lastnight but both gates jobs failes to I rechecked. and ofc haven't gotten back to it...20:47
NobodyCamlooking now20:48
devananda:)20:48
devanandathanks20:48
openstackgerritRuby Loo proposed a change to openstack/python-ironicclient: Documentation for contributors  https://review.openstack.org/8509620:49
NobodyCamdevananda: it hadn't changed so it got a quick +2 / +a20:49
devanandagreat, thanks20:50
NobodyCamwow rloo I like your working much better then mine :)20:50
NobodyCamwording even20:51
rlooNobodyCam: I haven't even finished replying to your comment!20:51
NobodyCam:-p20:51
NobodyCam:)20:51
rlooNobodyCam: I couldn't plagiarize when I was in school, but now ...20:52
NobodyCamlol20:52
*** killer_prince has quit IRC20:53
NobodyCamrloo: should I run it thru http://www.dustball.com/cs/plagiarism.checker/20:53
rlooNobodyCam. ha ha. So, I think that as part of the OpenStack family, we should all speak the same, so it is OK to use similar wording as other members ;)20:54
rlooNobodyCam, and believe me, after looking around at other openstack doc, there's quite a bit of copy/paste :-)20:55
*** harlowja is now known as harlowja_away20:56
NobodyCamhehheeh yes <ctrl-v> there <crtl-v> IS.20:56
NobodyCamTy rloo +2'ing20:57
rloothx NobodyCam! Our newbies thank you too ;)20:57
*** vkozhukalov has quit IRC20:59
*** mrda_away is now known as mrda21:01
*** matty_dubs is now known as matty_dubs|gone21:01
mrdamorning all21:04
NobodyCamgood morning mrda21:04
*** mrda is now known as manslaughter21:05
*** radsy has joined #openstack-ironic21:06
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Deprecate hardware._cmd in favor of utils.execute  https://review.openstack.org/8671121:13
NobodyCamdevananda: did you want to keep https://review.openstack.org/#/c/72538/ blocked?21:14
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Better handling of missing drivers  https://review.openstack.org/8357221:16
* devananda looks21:17
devanandaooh, no21:17
devanandaNobodyCam: thanks for the ping21:17
devanandaHaomeng:thanks for the patch!21:17
NobodyCam:)21:18
*** jbjohnso_ has quit IRC21:19
*** linggao has quit IRC21:21
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Deprecate hardware._cmd in favor of utils.execute  https://review.openstack.org/8671121:27
openstackgerritA change was merged to openstack/ironic: Fix Nova rescheduling tear down problem  https://review.openstack.org/8449721:27
JayFproper formatting for the header license is # prepended to each line, not """ around the whole thing, correct?21:34
NobodyCam?? I use """ for doc strings and Comments (#) for headers21:34
JayFthat's what I thought, thanks21:35
JayFlots of files in ipa that don't match that now, and we have licenses in empty files21:35
JayFso I'm going to fix that21:35
JoshNangJayF: didn't jroll just do a big patch to fix that?21:35
jrollhm21:35
NobodyCamelse you'll end up with headers inthe generated docs21:35
JayFum. If he did I missed it.21:35
jrollI did21:35
jrollfor the agent21:35
JayFah21:35
JayFthen I should probably review and +2 it, shouldn't I21:36
JoshNang:)21:36
jrollhttps://review.openstack.org/#/c/86455/21:36
*** vkozhukalov has joined #openstack-ironic21:36
JayFyup, I completely missed it21:36
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Better handling of missing drivers  https://review.openstack.org/8357221:39
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Better handling of missing drivers  https://review.openstack.org/8357221:40
*** harlowja_away is now known as harlowja21:45
*** tatyana has joined #openstack-ironic21:46
*** krtaylor has quit IRC21:46
devanandahmm, the bot didn't post my next patch21:47
devanandahttps://review.openstack.org/8672221:47
*** yonglihe_ has joined #openstack-ironic21:49
rloohey, for the ironic install guide, nova.conf needs to be modified. Is it just nova-compute that needs the changes? Am wondering if I should say to make the change to controller and compute nodes, and restart all nova services.21:50
*** yongli has quit IRC21:50
*** stack_ has joined #openstack-ironic21:51
devanandarloo: hmm. no, it is both compute and scheduler, i believe21:51
rloodevananda: yes, you're right. the scheduler_host_manager is also changed. thx, I say restart EVERYTHING!21:52
devanandahehehe21:53
devanandarloo: fwiw, nova conductor and api probably dont need to restart21:53
rloodevananda: just nova-compute and nova-scheduler.21:53
rloodevananda. I was thinking to be safe, if things change in the future, restart it all, but I guess that's kind of cheating.21:54
devanandaya21:54
devanandathis should represent current usage21:54
devanandaso if something changes, we should change th docs!21:54
devananda:)21:54
devanandaalso -- it's in teh same code repo21:54
rlooboo hoo21:54
devanandaso we can -1 a change that updaets functionality and does not updaet the relevant docs21:54
rloosure, if you remember ;)21:55
devanandawell. if *someone* remembers21:55
NobodyCamand DocImpact tag in commit message21:55
rlooat some point, the nova-related code will be in nova repo (we hope), will the docs move there too? ha ha.21:56
devanandarloo: some of it, yes! heehee21:58
devanandarloo: or into the docs repo for nova21:58
devanandarloo: the end goal is for all the user/deployer/etc docs to move out of our tree and into the doc team21:58
devanandawe'll jus tkeep the developer docs in tree21:58
rloodevananda: oh yeah, I forgot about that. Seems so far into the future!21:59
devananda.....21:59
rlooand is it 'compute service', 'compute services', argh, they don't know how to describe themselves...21:59
*** tatyana has quit IRC22:01
openstackgerritJim Rollenhagen proposed a change to openstack/ironic-python-agent: Accept new parameters for `prepare_image`  https://review.openstack.org/8672322:01
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Better handling of missing drivers  https://review.openstack.org/8357222:05
devanandarloo: as for the doc, i get that it's a WIP -- it's just so good I want to land it now :)22:08
devanandajroll: re your comment on https://review.openstack.org/#/c/81919/2, could that be done in a follow on patch?22:09
jrolldevananda: without that, it doesn't... work22:10
jrolllike all methods get routed to the base driver22:10
devanandajroll: heh, gotcha22:11
devanandahmm22:14
devanandai think MixinVendorInterface should be in base, not utils22:14
devanandaanyway, battery is about to die, heading home22:14
devanandabbiab22:14
rloodevananda: I'm almost done with the install BUT you'll have to wait a few more hours cuz I'm being called for dinner ;)22:14
NobodyCamok :) enjoy the walk22:15
*** saju_m has quit IRC22:20
NobodyCamhumm 84687 has no tests22:33
NobodyCambut devananda +2'd it22:33
*** tatyana has joined #openstack-ironic22:49
NobodyCambrb22:50
openstackgerritJim Rollenhagen proposed a change to openstack/ironic-python-agent: Use a released version of Pecan  https://review.openstack.org/8672922:52
*** jgrimm has quit IRC22:52
openstackgerritA change was merged to openstack/ironic-python-agent: Deprecate hardware._cmd in favor of utils.execute  https://review.openstack.org/8671122:52
*** tatyana has quit IRC22:53
openstackgerritJosh Gachnang proposed a change to openstack/ironic: Adding swift temp url support  https://review.openstack.org/8139122:55
*** vkozhukalov has quit IRC22:55
openstackgerritJosh Gachnang proposed a change to openstack/ironic: Adding a reference driver for the agent  https://review.openstack.org/8479522:56
*** romcheg1 has quit IRC23:03
openstackgerritRussell Haering proposed a change to openstack/ironic: Drivers may expose a top-level passthru API  https://review.openstack.org/8191923:03
NobodyCami wish global updates had a link as to why we need them. would save all the digging23:11
JayFagordeev: https://review.openstack.org/#/c/86341/ needs a rebase and I think you'll have to fix an import in tests/agent.py afterwards23:14
NobodyCamfor example: https://review.openstack.org/#/c/85820 looks like it stems from https://github.com/openstack/requirements/commit/f3a3d620191b9b79b885e799edbee8dbfc08507023:15
*** mikal is now known as stillbert23:19
*** eguz has joined #openstack-ironic23:21
*** eghobo has quit IRC23:25
openstackgerritA change was merged to openstack/ironic: Move duplicated _get_node(s)_mac_addresses()  https://review.openstack.org/7878723:30
openstackgerritJosh Gachnang proposed a change to openstack/ironic: Drivers to determine acceptable power states  https://review.openstack.org/8674423:40
openstackgerritA change was merged to openstack/ironic: Fix Node object version  https://review.openstack.org/8669623:41

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