Tuesday, 2013-11-19

devanandaheading out for a smoothie and a movie, ttyatmw00:14
*** matsuhashi has joined #openstack-ironic00:15
*** datajerk has joined #openstack-ironic00:20
openstackgerritA change was merged to openstack/ironic: Accessing a subresource that parent does not exist  https://review.openstack.org/5474200:23
*** datajerk has quit IRC00:25
rloodevananda: ^^^ thanks!00:42
rlooNobodyCam: thank you too!00:42
NobodyCam:-p00:43
NobodyCamyou did all the great work00:43
*** hemna has quit IRC00:45
rlooNobodyCam: to be honest, devananda is great (and a great communicator), and the feedback/comments I got from everyone really helped.00:47
NobodyCam:)00:47
NobodyCamseems the gate jobs are acting up today... -infra is work on thing as we type. so it should land soon (-ish)00:48
NobodyCams/work/working/00:49
rloothx NobodyCam. I've waited this long. No worries :-)00:49
openstackgerritA change was merged to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/5674400:50
openstackgerritA change was merged to openstack/ironic: Changes power_state and adds last_error field  https://review.openstack.org/5446600:51
*** matsuhashi has quit IRC01:01
*** matsuhashi has joined #openstack-ironic01:02
*** matsuhashi has quit IRC01:02
*** matsuhashi has joined #openstack-ironic01:02
*** nosnos has joined #openstack-ironic01:21
*** sjing has joined #openstack-ironic01:25
*** sjing has quit IRC01:29
*** sjing has joined #openstack-ironic01:30
*** michchap has quit IRC01:38
*** michchap has joined #openstack-ironic01:38
*** epim has quit IRC01:50
*** xmltok has joined #openstack-ironic01:53
*** xmltok has quit IRC02:01
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Import missing gettext _ to fix Sphinx error  https://review.openstack.org/5660502:04
openstackgerritRuby Loo proposed a change to openstack/python-ironicclient: Shows 'last_error' property for a node  https://review.openstack.org/5708703:03
*** sjing has quit IRC03:05
*** rloo has quit IRC03:05
*** sjing has joined #openstack-ironic03:06
*** epim has joined #openstack-ironic03:10
*** coolsvap has joined #openstack-ironic03:15
*** matsuhashi has quit IRC03:29
*** matsuhashi has joined #openstack-ironic03:30
*** matsuhashi has quit IRC03:35
sandeeprping NobodyCam04:19
*** matsuhashi has joined #openstack-ironic04:46
*** nosnos has quit IRC05:23
*** nosnos has joined #openstack-ironic05:23
*** prekarat has joined #openstack-ironic05:26
*** prekarat has quit IRC05:35
*** prekarat has joined #openstack-ironic05:35
*** michchap has quit IRC06:02
*** michchap has joined #openstack-ironic06:04
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/5709906:10
*** matsuhashi has quit IRC06:41
*** matsuhashi has joined #openstack-ironic06:42
*** prekarat has quit IRC06:43
*** matsuhashi has quit IRC06:46
*** matsuhashi has joined #openstack-ironic06:48
*** epim has quit IRC06:56
*** epim has joined #openstack-ironic06:57
*** michchap has quit IRC07:03
*** michchap has joined #openstack-ironic07:04
*** nosnos_ has joined #openstack-ironic07:05
*** nosnos has quit IRC07:05
*** prekarat has joined #openstack-ironic07:07
*** matsuhashi has quit IRC07:09
*** matsuhashi has joined #openstack-ironic07:10
*** matsuhas_ has joined #openstack-ironic07:13
*** matsuhashi has quit IRC07:14
*** arata has joined #openstack-ironic07:17
*** romcheg has joined #openstack-ironic07:28
*** epim has quit IRC07:28
GheRiveromorning Ironic07:34
*** sjing has quit IRC07:36
*** sjing has joined #openstack-ironic07:38
Haomengmorning GheRivero07:47
*** tatyana has quit IRC07:48
*** tatyana has joined #openstack-ironic07:49
HaomengGheRivero:ping07:55
GheRiveroHaomeng: pong07:56
HaomengGot your comments about my patch, will add into tox.ini as exception07:56
Haomengthanks for your good idea:)07:56
GheRiveroyou are welcome :)07:56
Haomengbut not sure if this is working for our  Sphinx error07:57
Haomenglet me have a try and update the result to you07:57
GheRiverobtw, I have a comment in https://review.openstack.org/#/c/53991/7/ironicclient/v1/port_shell.py07:57
GheRiveroare the fields print in order?07:58
Haomenglet me check07:58
HaomengI am not sure the printing order, but this order is based on lifeless comments, he think this is easy to read and scan08:00
GheRiverook... i-ll check it anyway08:01
Haomengok, thank you08:01
HaomengI want to write an unittest for shell, to cover the shell output for these new fields involved by this patch08:02
*** ndipanov_gone is now known as ndipanov08:02
GheRiveronice :)08:05
Haomeng:)08:08
HaomengGheRivero: I will setup new env to test if our toxini solution work for our  doc-auto-gen with Sphinx by command "python setup.py build_sphinx ", how do you think if build_sphinx action will use our env controled by tox.ini ?08:13
lifelessHaomeng: oh, if it controls the UI order thats different08:15
lifelessHaomeng: I thought it was just an in-source list08:15
Haomengok, let me test08:17
HaomengI think it is just the order in our source, not the output order08:18
*** romcheg has quit IRC08:19
Haomenglifeless: I am trying to add shell command unittest, but not sure how to disable our keystone client connection in our unittest env, do you have idea?08:19
*** coolsvap has quit IRC08:30
*** tatyana has quit IRC08:36
*** arata has left #openstack-ironic08:39
*** romcheg has joined #openstack-ironic08:40
*** tatyana has joined #openstack-ironic08:45
GheRiveroHaomeng: lifeless: the output is alphabatically ordered, the same that in other projects, so no need to touch anything08:47
Haomengok, thanks08:47
HaomengI am running "python setup.py build_sphinx" to generate our api doc,got exception "error: 'source_dir' must be a directory name (got `/root/1251011/tox_solu/ironic/doc/source`", do you have idea?08:48
GheRiverono, sorry08:50
Haomengok, np:)08:50
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Import missing gettext _ to fix Sphinx error  https://review.openstack.org/5660508:53
*** jistr has joined #openstack-ironic08:55
openstackgerritSascha Peilicke proposed a change to openstack/ironic: Support building wheels (PEP-427)  https://review.openstack.org/5712208:56
*** tatyana has quit IRC08:59
*** ndipanov has quit IRC09:03
*** ndipanov has joined #openstack-ironic09:04
*** tatyana has joined #openstack-ironic09:05
*** lucasagomes has joined #openstack-ironic09:06
*** derekh has joined #openstack-ironic09:11
*** ndipanov_ has joined #openstack-ironic09:12
*** ndipanov has quit IRC09:13
openstackgerritSascha Peilicke proposed a change to openstack/python-ironicclient: Support building wheels (PEP-427)  https://review.openstack.org/5714209:16
*** ndipanov_ is now known as ndipanov09:19
*** ndipanov has joined #openstack-ironic09:19
*** tatyana has quit IRC09:21
*** michchap has quit IRC09:24
*** matsuhas_ has quit IRC09:25
*** matsuhashi has joined #openstack-ironic09:25
*** michchap has joined #openstack-ironic09:26
*** matsuhashi has quit IRC09:30
*** matsuhashi has joined #openstack-ironic09:30
*** nosnos_ has quit IRC09:33
*** nosnos has joined #openstack-ironic09:34
openstackgerritSascha Peilicke proposed a change to stackforge/pyghmi: Support building wheels (PEP-427)  https://review.openstack.org/5717709:45
*** coolsvap has joined #openstack-ironic10:03
*** sjing has quit IRC10:04
*** arata has joined #openstack-ironic10:07
*** prekarat1 has joined #openstack-ironic10:32
*** prekarat has quit IRC10:33
*** prekarat1 has quit IRC10:36
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API ports update for WSME 0.5b6 compliance  https://review.openstack.org/5668210:37
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Rework patch validation on Ports  https://review.openstack.org/5698410:40
*** prekarat has joined #openstack-ironic10:57
*** matsuhashi has quit IRC10:58
*** matsuhashi has joined #openstack-ironic10:59
*** prekarat has quit IRC11:03
*** matsuhashi has quit IRC11:04
*** coolsvap has quit IRC11:07
openstackgerritLucas Alvares Gomes proposed a change to openstack/python-ironicclient: Replace node_id to node_uuid on Ports  https://review.openstack.org/5719411:16
openstackgerritA change was merged to openstack/ironic: Sync common utils from Oslo  https://review.openstack.org/5651711:21
openstackgerritA change was merged to openstack/ironic: sync common.local from oslo  https://review.openstack.org/5651811:21
openstackgerritA change was merged to openstack/ironic: sync common.log from oslo  https://review.openstack.org/5652011:23
openstackgerritA change was merged to openstack/ironic: sync common.notifier.* from oslo  https://review.openstack.org/5652111:25
openstackgerritA change was merged to openstack/ironic: sync common.periodic_task from oslo  https://review.openstack.org/5652211:25
openstackgerritA change was merged to openstack/ironic: sync common.service from oslo  https://review.openstack.org/5652311:25
romchegMorning folks11:29
shadowerhey11:30
GheRiveromorning11:38
Haomengmorning11:43
Haomeng:)11:43
lucasagomesmorning :)11:45
*** ben_duyujie has joined #openstack-ironic11:48
*** arata has left #openstack-ironic11:57
max_loburMorning Ironic12:00
lucasagomesmorning max_lobur12:02
*** lucasagomes is now known as lucas-hungry12:02
Haomengmorning, max_lobur12:17
max_loburhi Haomeng12:18
Haomeng:)12:18
Haomenglucasagomes: per your comments, that is good idea, I am trying to add our ironic shell test for my patch - https://review.openstack.org/#/c/53991/12:40
Haomengneed some code to cover our ironic client shell unittest12:41
*** prekarat has joined #openstack-ironic12:45
*** prekarat has quit IRC12:48
*** prekarat has joined #openstack-ironic12:48
Haomengtired, will go to sleep, nice day ironic team:)12:59
*** gfa has left #openstack-ironic12:59
max_loburthanks, enjoy your rest :)13:00
max_loburping lucasagomes13:02
Haomeng:)13:03
*** rloo has joined #openstack-ironic13:29
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add last_error usage to deploy and teardown methods  https://review.openstack.org/5722713:31
romchegDone the BP about RPC routing13:33
romcheghttps://blueprints.launchpad.net/ironic/+spec/rpc-routing13:33
romchegdevananda: Please check it out when you're available ^13:34
GheRivero\o/13:34
*** nosnos has quit IRC13:35
*** jdob has joined #openstack-ironic13:37
max_loburcongrats! :)13:37
*** lucas-hungry is now known as lucasagomes13:46
lucasagomesmax_lobur, Haomeng pong... sorry I was having lunch13:47
lucasagomesI gotta a call right now too, so I will be right back13:47
max_loburk13:47
*** linggao has joined #openstack-ironic13:52
*** arata has joined #openstack-ironic13:55
*** coolsvap has joined #openstack-ironic14:02
*** arata has left #openstack-ironic14:04
*** ben_duyujie has quit IRC14:14
*** jdob has quit IRC14:30
*** jdob has joined #openstack-ironic14:30
*** jdob has quit IRC14:44
*** jdob has joined #openstack-ironic14:44
*** lexx has joined #openstack-ironic14:49
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add last_error usage to deploy and teardown methods  https://review.openstack.org/5722714:55
*** yuriyz has joined #openstack-ironic14:58
*** datajerk has joined #openstack-ironic15:01
NobodyCamgood morning Ironic15:05
max_loburmorning NobodyCam :)15:05
NobodyCam:)15:05
rloomornin' NobodyCam.15:05
romchegMorning NobodyCam15:06
NobodyCammorning rloo romcheg15:06
NobodyCamheheh15:06
* NobodyCam has no coffee15:06
NobodyCamyet15:07
NobodyCam:-p15:07
yuriyzMorning All15:07
NobodyCam:) morning15:07
linggaomorning all.15:07
GheRiveromorning all15:08
NobodyCammorning15:10
dkehnNobodyCam: morning15:10
NobodyCam:)15:10
NobodyCamjust started the coffee.. Was able to sleep in today15:10
yuriyzdo you make a coffee ironically? :)15:12
NobodyCamnot yet.. I have to go to see if my local home depot has the correct part. was going to do that this weekend15:14
NobodyCamwalkies brb :)15:16
* NobodyCam is back with coffee15:23
*** prekarat has quit IRC15:23
*** datajerk has quit IRC15:31
*** prekarat has joined #openstack-ironic15:33
*** prekarat has quit IRC15:36
*** prekarat has joined #openstack-ironic15:36
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Add last_error usage to deploy and teardown methods  https://review.openstack.org/5722715:39
lucasagomesyuriyz, sorry i marked ur patch as WIP by mistake, corrected already (idk why I can mark someone else patch as WIP)15:43
yuriyzok :-)15:43
*** SpamapS_ has joined #openstack-ironic15:48
max_loburlucasagomes, do you have a 5 minutes?15:50
lucasagomesmax_lobur, sure :)15:50
max_lobur:)15:50
max_loburhttps://bugs.launchpad.net/python-ironicclient/+bug/1251712 could you please take a look?15:50
* lucasagomes clicks15:51
*** jamespage has quit IRC15:52
*** SpamapS has quit IRC15:52
*** mordred has quit IRC15:52
*** gohko has quit IRC15:52
*** datajerk has joined #openstack-ironic15:53
lucasagomesmax_lobur, I see.. it's a general problem. One thing about the DriverNotFound one is that 'driver' will be a mandatory field on the API when creating a node15:54
lucasagomesand will have a check there to see if that driver is supported15:54
lucasagomescreating/updating a node15:54
lucasagomesbut yea, having an exception on the conductor and deserializing in the API is a general problem15:55
lucasagomesif it's async15:55
max_loburyes, deserializing is a separate problem which I'm trying to fix now15:56
max_loburbut driver not found is just one case15:56
max_loburI think there can be others15:56
max_loburit will catch any exception with 404 code and print "Node not found"15:57
max_loburso why not to print the original message (one that came from server)15:57
lucasagomesyes, I see urgh that's very misleading15:57
lucasagomesyea we can do that15:58
max_loburjust let ironicclient/shell.py to print it15:58
lucasagomesI think there's something in the client that grabs that message from the json15:58
max_loburyea15:58
max_loburit's stores message in exception15:59
*** datajerk has quit IRC15:59
max_loburso ironicclient/shell.py L273 prints it properly15:59
max_lobur*L27715:59
max_loburprint(str(e), file=sys.stderr)16:00
*** mordred has joined #openstack-ironic16:00
lucasagomesmax_lobur, https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/http.py#L123-L13116:00
*** gohko has joined #openstack-ironic16:00
max_loburexactly16:01
max_loburand then https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/http.py#L17516:01
lucasagomesyes16:01
lucasagomesneeds some work on those funcs16:01
max_loburI meant if we remove all our try/excepts from shell routines (do_node_update etc.) it will work properly16:02
max_lobursimilar is done in nova16:03
*** datajerk has joined #openstack-ironic16:03
max_lobursee https://github.com/openstack/python-ironicclient/blob/master/ironicclient/shell.py#L272-L27816:03
max_loburit will print all exceptions16:03
lucasagomesmax_lobur, I see, well that's fine for me :) as there's this global try/except that will take care of it16:06
max_loburyep16:06
max_loburso, don't you mind if I fix that? :)16:07
lucasagomesmax_lobur, sure not, i will thank you for that16:07
lucasagomesmax_lobur, our client is heavily based on the ceilometer client, that's from where we started it16:08
lucasagomesand https://github.com/openstack/python-ceilometerclient/blob/master/ceilometerclient/v2/shell.py#L378-L38716:08
lucasagomesso I think that's why we have this exception there16:08
max_loburoh I see16:08
max_loburthat's a potential issue in ceilometer too16:08
lucasagomesyes16:08
max_loburthey can't always know what 404 can be thrown cc.alarms.update16:09
max_loburso Alarm not found is not a valid messages for all cases16:09
lucasagomeswe just organized a bit better our client (having a shell file per resource for example) but we do a lot of copy/cat on their client16:09
lucasagomesso yea if you find a problem in our side there's a good chance to happen on their side as well16:09
lucasagomesand vice versa16:09
lucasagomes:D16:09
lucasagomesmax_lobur, +116:10
max_loburthanks =)16:10
lucasagomesthank you :)16:10
*** hemna has joined #openstack-ironic16:34
*** jistr has quit IRC16:34
NobodyCamlucasagomes: https://github.com/ppouliot/ironic16:38
NobodyCamnote the commit message16:39
lucasagomeso wow windows support!16:40
NobodyCam:)16:40
lucasagomesawesome!16:40
NobodyCamthats from primeministerp16:40
lucasagomesI will start watching this repo16:41
NobodyCamya :)16:41
lucasagomesthat's the beauty of opensource man16:42
lucasagomespeople doing such things you know, adapting for whatever use case they have16:42
NobodyCamdeva and I chatted with primeministerp at the summit16:43
*** lexx has quit IRC16:46
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: API ports update for WSME 0.5b6 compliance  https://review.openstack.org/5668216:46
lucasagomesNobodyCam, oh cool16:47
lucasagomeshow was it?16:47
NobodyCamactually he thought it was not going to be that big of a change for us16:48
NobodyCambasicly on the reboot just don't serve a kernel and rmdisk. but send a boot from local response16:49
*** datajerk has quit IRC16:49
*** hemna has quit IRC16:49
romchegcool16:49
lucasagomesgood stuff16:49
*** hemna has joined #openstack-ironic16:52
*** tatyana has joined #openstack-ironic16:53
*** lexx has joined #openstack-ironic16:55
*** datajerk has joined #openstack-ironic17:01
*** xmltok has joined #openstack-ironic17:08
*** hemna has quit IRC17:09
openstackgerritMax Lobur proposed a change to openstack/python-ironicclient: Remove in-place try/except blocks from shell commands  https://review.openstack.org/5728517:10
NobodyCambbt..brb17:12
max_loburlucasagomes, please take a look when you have time https://review.openstack.org/#/c/57285/117:12
lucasagomesmax_lobur, cool I will add myself as reviewer and give it a whirl soon17:13
lucasagomesmax_lobur, thanks max!17:13
max_loburnote - once this lands you may see huge tracebacks from conductors right in error message, there is a bug for this and I'm working on it :)17:13
max_loburyea, np =)17:13
lucasagomesyea, we need a middleware to remove the traceback17:14
max_loburyea17:14
lucasagomesmax_lobur, cool17:14
lucasagomesI think pecan has a hook called on_error17:14
lucasagomesidk if that would be the right place to strip off the traceback17:14
xmltokis it correct that you can build bare metal nodes in openstack now but the network can't do vlan tagging, and must be the default network? i think i am having a hard time finding documentation that relates to havana17:14
max_loburif anyone interested,  posted a solution https://bugs.launchpad.net/ironic/+bug/124474717:14
lucasagomesbut might be something to look at17:14
max_loburwanted to discuss with deva, but any comments are welcome17:15
lucasagomesmax_lobur, will comment on that about the hook17:15
max_loburI thought of rpc layer to remove this. If that won't be approved I'll research for pecan, thanks for this Idea =)17:15
max_loburthanks!17:16
lucasagomeshttp://pecan.readthedocs.org/en/latest/pecan_hooks.html#pecan.hooks.PecanHook.on_error17:16
max_loburTY, will add to bookmarks :)17:16
*** hemna has joined #openstack-ironic17:16
lucasagomes:) you welcome17:17
*** datajerk has quit IRC17:17
max_loburxmltok, AFAIK yes, we're not able to do vlan tagging, pls correct me someone if that's not true ;)17:19
max_loburxmltok, not sure if this documented17:19
NobodyCammax_lobur: I believe you are correct in your response17:20
xmltokthanks, that helps. i could get the tagging configuration done through salt, but then I guess i risk an ip allocation divergence with openstacks database17:21
max_loburI think for you OS running on baremetal after provisioning you may apply any tags you want, but need to make sure that it's stays discoverable through initial ip so Ironic won't loose the control17:23
xmltoki'll look at the neutron api. if i can register an ip as being assigned to the node then i can just assign another ip and call it a day. i need to have my bare metal machines in the same vlan as VMs due to legacy system requirements. im sure its possible17:24
max_loburyea, seems so17:26
*** lexx_ has joined #openstack-ironic17:26
*** lexx has quit IRC17:29
*** SpamapS_ is now known as SpamapS17:31
*** prekarat has quit IRC17:32
NobodyCamwalkies .... brb17:39
devanandagood morning, all17:42
max_loburg'morning devananda17:46
max_loburwhen you have time can you please take a look again https://review.openstack.org/#/c/56650/17:46
max_lobur(Redefined default value of allowed_rpc_exception_modules)17:46
max_loburdevananda, I also posted results of my investigation of bug "API exposes python stack trace" here https://bugs.launchpad.net/ironic/+bug/1244747 . I'd like you to take a look on it too17:49
*** derekh has quit IRC17:51
NobodyCamand back17:51
lucasagomesdevananda, morning17:53
devanandalucasagomes: morning17:53
devanandamax_lobur: for 56650, is it possible to validate this fix in a unit test?17:57
max_loburdevananda, I researched for that - 1. for rpc level no (there should be a really massive mocks to interrupt rpc responce, and this will rely on serialize implementation) 2. for config, I wasn't successful when tried to test that setting is overriden. When I stop in debug I see it is, but in test - it's not18:00
*** epim has joined #openstack-ironic18:01
devanandamax_lobur: 1. that's what I suspected. we'd need integration / devstack-style tests to see this18:03
NobodyCamsandeepr: pong :-p18:04
devanandamax_lobur: would you mind opening a bug that rpc deserialization is not tested, low priority, with some description of how this could be validated once we get devstack/tempest tests going, then adding that bug # to the inline comment?18:04
devanandamax_lobur: i'll happily approve after that. just want a breadcrumb trail so we come back and test it, so that we don't accidentally break it later18:05
max_loburyea I'll do now18:06
max_loburdo you mean a bug for Ironic?18:06
max_loburor for tempest or devstack maybe?18:06
NobodyCamdevananda: do you happen to know James Slagle's irc nic18:08
sandeeprhey hey NobodyCam18:11
NobodyCam:) sandeepr I see your ping's but am not online to reply18:12
sandeeprnp NobodyCam18:12
romchegMorning devananda18:13
max_loburfor 2. config - yea probably it's possible to find why those didn't work for me, but will it be a useful test? there is a comment in the code pointing why it's needed so I assume no one remove those accidentally. And if they'll want to remove that they'll remove a config test as well18:13
devanandamax_lobur: bug for ironic.18:16
max_loburok18:17
*** xmltok has quit IRC18:18
devanandamax_lobur: re: 2, yea, I would assume no one will remove that comment & override. but having a test which validates the expected behavior so we _can_ remove that override with confidence18:18
devanandais what I'd like18:18
devanandagranted, i agree it will need to be an integration (not unit) test18:18
devanandaromcheg: good evening!18:19
romchegdevananda: How are you?18:19
max_loburdevananda, yea that's fair18:19
devanandaromcheg: i'm still getting over the post-conference crud. got up much later than i expected18:19
max_loburthanks, will create a bug18:19
devanandamax_lobur: i swear, i'm not just arbitrarily stalling your patch :)18:19
devanandaideally, any time we fix a bug, there should be a new unit test to ensure the bug doesn't resurface18:20
romchegdevananda: We planned to talk about the RPC stuff. I filed a blueprint for it: https://blueprints.launchpad.net/ironic/+spec/rpc-routing18:20
* devananda should be better about enforcing that18:20
devanandaromcheg: yes! I will look shortly )18:20
romchegI will have to go for about an hour.18:20
max_loburhaha :) it's totally OK18:20
max_loburI agree =)18:20
romchegAfter that I will be available18:21
devanandaromcheg: ok, great. I'll make sure to read it in the next hour18:21
romchegI also uploaded some changes to infra so you can check them out https://review.openstack.org/#/c/53917/ and https://review.openstack.org/#/c/53899/18:22
romchegI changed the behaviour so the tests for Ironic won't run for other projects.18:23
romchegHowever, for Ironic they will run both in check and gate pipelines18:24
romchegI need to check whether the recent changes have broken the tests or not18:24
*** xmltok has joined #openstack-ironic18:27
devanandaromcheg: why does tempest-devstack-vm-ironic use neutron, but tempest-devstack-vm-ironic-postgres does nto?18:28
romchegdevananda: doh!18:31
romchegforgot to add that to postgres job18:32
romchegThat was the last moment change :)18:32
devananda:)18:33
devanandaromcheg: added comemnts to both patches18:34
romchegthanks18:34
romchegdevananda: you didn't notice there's no IRONIC=1 either :)18:36
devananda?18:36
*** datajerk has joined #openstack-ironic18:36
devanandaoh! hah!18:36
devanandaexport DEVSTACK_GATE_IRONIC=118:36
romchegI think I merged that wrong when rebasing18:37
devanandakinda matters :p18:37
romchegNow have to rush18:40
romchegSee you in ~1 hour18:40
romchegBye max_lobur18:40
NobodyCam:)18:41
max_loburbye romcheg18:41
openstackgerritMax Lobur proposed a change to openstack/ironic: Redefined default value of allowed_rpc_exception_modules  https://review.openstack.org/5665018:41
*** romcheg has quit IRC18:41
max_loburdevananda, I've posted a bug but it seems I have no rights to set importance https://bugs.launchpad.net/ironic/+bug/125282418:42
max_loburand I think it's can be set triaged already18:43
*** blamar has quit IRC18:45
*** blamar has joined #openstack-ironic18:48
*** datajerk has quit IRC18:51
devanandamax_lobur: you probably need to be a member of ironic-bugs team on LP. it's open, anyone can join18:53
*** jistr has joined #openstack-ironic18:54
max_loburdevananda, ah I see18:54
NobodyCamdeva question with reguard to your comment on 56605... is there a description of what # noqa does?18:54
*** jistr has quit IRC18:54
lifeless#noqa shuts flake8 up for things it would otherwise whinge about18:55
devanandaNobodyCam: it tells pep8/flake8 to ignore any errors on that line18:55
devananda:)18:55
NobodyCam:) TY (both) hehehe18:55
max_loburdevananda, joined & updated18:56
*** jistr has joined #openstack-ironic18:57
lifelessdevananda: https://review.openstack.org/#/c/56516/ needs another +218:57
*** lucasagomes has quit IRC18:59
*** tatyana has quit IRC18:59
max_loburdevananda, the last opened question to you is https://bugs.launchpad.net/ironic/+bug/1244747 (API exposes python stack trace). If you don't mind one of proposed approaches I'll do the patch tomorrow19:00
NobodyCamahh I did not add mine. that was the one with the bad SqlA version19:00
NobodyCamlifeless: +2 /+a'd19:01
devanandamax_lobur: thanks!19:01
*** xmltok has quit IRC19:02
max_loburdone for today, bye Everyone :)19:02
NobodyCamhave a good night max_lobur19:02
max_loburNICK max_lobur_afk19:03
max_loburgah19:03
NobodyCamhehehe19:03
max_loburdoes anybody know how to change nick in XChat? :)19:04
NobodyCam /raw nick <newnic> ??19:05
*** blamar has quit IRC19:06
*** max_lobur is now known as max_lobur_afk19:06
max_lobur_afkhurraah19:06
max_lobur_afkTY NobodyCam19:06
NobodyCam:)19:06
devanandamax_lobur_afk: i'll leave comments on the bug report - have a good evening :)19:07
max_lobur_afkTY :)19:07
max_lobur_afkbye again :)19:07
*** blamar has joined #openstack-ironic19:12
*** epim has quit IRC19:16
*** epim has joined #openstack-ironic19:20
openstackgerritA change was merged to openstack/ironic: Update openstack/common/lockutils  https://review.openstack.org/5671919:27
openstackgerritA change was merged to openstack/ironic: Redefined default value of allowed_rpc_exception_modules  https://review.openstack.org/5665019:27
openstackgerritA change was merged to openstack/ironic: Import missing gettext _ to fix Sphinx error  https://review.openstack.org/5660519:27
openstackgerritA change was merged to openstack/python-ironicclient: Updated from global requirements  https://review.openstack.org/5443019:27
*** datajerk has joined #openstack-ironic19:42
NobodyCambrb19:43
*** datajerk has quit IRC19:50
*** xmltok has joined #openstack-ironic20:01
*** datajerk has joined #openstack-ironic20:23
*** xmltok has quit IRC20:28
*** datajerk has quit IRC20:33
*** hemna has quit IRC20:39
*** hemna has joined #openstack-ironic20:43
*** datajerk has joined #openstack-ironic20:48
*** romcheg has joined #openstack-ironic20:53
*** datajerk has quit IRC20:53
romchegdevananda: I'm here20:53
romchegSorry, it took me longer20:53
devanandaromcheg: np21:02
*** jistr has quit IRC21:08
* NobodyCam starts to rebuild his undercloudimage and looks for some food...21:11
*** ndipanov has quit IRC21:14
devanandaromcheg: have you looked at the conductor_service_record_keepalive bit?21:15
devanandaromcheg: when a condcutor starts, it registers the list of drivers it can service21:16
devanandaromcheg: taht table also serves as a heartbeat21:16
devanandaromcheg: so you can get a list of available conductors & what driver each handles21:17
devanandaromcheg: this solves your 2.1 idea already. I think 2.2 is unscalable and has race conditions taht make it unusable..21:17
devanandaromcheg: 2.3 is viable, too.21:18
romchegI thought about using that table in 2.121:19
devanandaromcheg: i would like to see the BP also describe where & how selection will happen21:19
romchegIMO 2.3 is better because scheduling looks to be easier21:19
devanandaeg, if there are 4 conductors, and 2 can service driver FOO, how does a single conductor get chosen?21:19
romchegIf we use 2.3 we might perform scheduling in the exhanger21:20
devanandain the rpcapi (client) layer?21:20
NobodyCamglance image-list21:20
NobodyCamgah21:20
romchegIn the case you described those two conductors will be subscribed to a certain topic21:21
romchegI'm just thinking about how to delegate scheduling to rabbit21:25
devanandaso21:26
devanandathere's a wrinkle :)21:26
devanandaromcheg: if scheduling a "spawn this instance" request, and >1 conductor can service it, should we consider load on the conductors?21:26
devanandaromcheg: should we try to keep the # of instances managed by all conductors somewhat even?21:27
devanandaromcheg: what happens when one conductor dies and we need to rebalance the load?21:27
devanandaalso, I think this raises the need to actually store the conductor->instance mapping21:27
romchegWe do that in neutron21:28
romchegHowever this approach requires re-scheduling, if one of the conductors dies21:28
romchegIn neutron that's reasonable because agents host dhcp services21:29
devanandaif a conductor dies mid-task, i think we can (for now) just abort, and let the rescheduling happen at a higher layer21:29
devanandawhat i mean is, right now, there is a strong association between a conductor and a deployed instance21:30
devanandawhen conductor X deployes instance A on node N, it maintains the TFTP directory to be able to boot instance A, and Neutron (will be) configured to route DHCP BOOT requests from node N to conductor X.21:31
devanandaif X dies, part of our HA task is to update neutron to route DHCP BOOT requests from node N to conductor Y21:32
devanandaand to tell Y to rebuild the TFTP directory for instance A21:32
devananda(or to validate it, if we use shared file system)21:32
romchegI see21:33
devanandaright now, we store the I<->N relationship, but not X<->N or X<->I21:33
devanandas/I/A/21:33
romchegThen I think we need to bind conductors to instances21:33
devanandayep21:34
NobodyCamwill nova need to know that binding ?21:34
devanandaNobodyCam: no21:34
NobodyCam:)21:34
romchegI don't think so21:34
romchegThe scheduler can aggregate the data and use it for scheduling the requests21:36
devanandaNova knows about nodes for scheduling purposes (can I fulfil this requset for an ARMFH with 16GB RAM?). It then knows what instance was placed on what node.. I don't think it needs to know about /how/ that instance was deployed21:36
NobodyCamwas thinking about nova pause N & nova start N21:37
NobodyCamshould include nova stop n21:37
devanandaNobodyCam: nova shouldn't expose nodes in its API, IMO21:38
devanandawhat you might mean is, nova pause A21:38
NobodyCamyes A21:38
devanandaso that's fine -- it'll be mapped by the nova-ironic driver from the nova instance uuid to the ironic node uuid21:39
NobodyCamfor which ironic use conductor balh21:40
NobodyCam*ironic KNOWS TO use...21:40
devanandayea. so again, ironic needs to know something about the conductor <-> instance relationship internally21:41
devanandait's conceivable that certain operations on an instance will only work from the conductor which deployed that instance21:41
devanandaromcheg: is all that helpful? have more questiosn about the BP direction?21:43
romchegI think it's quite clear now21:43
romchegI also think that we have to think about the way of getting rid of the conductor <-> instance relationship for the future21:44
romchegBecause it adds certain amount of complexity to (re)scheduling21:45
*** jdob has quit IRC21:48
anteayadevananda: ttx is calling for an ironic rep in -meeting21:49
lifelessdevananda:  https://review.openstack.org/#/c/56516/ needsa rebase21:51
devanandaanteaya: thansk for the explicit ping21:54
anteayanp21:54
anteayafigured you wanted to be there for thtat21:54
devanandaromcheg: shared filesystem that lucas is working on is one way to solve that for PXE, but i'm not sure we can impose taht requirement on all drivers21:54
devanandaanteaya: yea. was followign along with the meeting intermittently :)21:55
anteayacool21:55
devanandataht reminds me, i need to learn all teh release things21:55
*** xmltok has joined #openstack-ironic21:58
romchegdevananda: thank you21:58
*** xmltok has quit IRC21:58
romchegdevananda: it's quite clear for me now.21:59
romchegIf I have any questions I will definitelly ask :)21:59
devanandaromcheg: great! is Jan 23 a reasonable target to have that done by?22:01
devanandaromcheg: https://wiki.openstack.org/wiki/Icehouse_Release_Schedule :)22:02
romchegdevananda: I think so22:02
devanandaNobodyCam, think you're 2 or 7 weeks from the nova driver?22:03
devanandaromcheg: great :)22:03
*** xmltok has joined #openstack-ironic22:03
NobodyCamthe dhcp issue a blocker right now22:03
romchegOh no! Ukraine-France 1-3 :(22:04
NobodyCamromcheg: :(22:04
NobodyCamdevananda: prob not two weeks22:04
romchegFolks, it's quite late here22:06
*** linggao has quit IRC22:06
romchegSo I have to go to bad22:06
romchegbed22:06
romchegSo have a nice day/evening22:07
NobodyCamHave a good sleep romcheg22:07
devanandag'night romcheg ! thanks for staying up to chat about the RPC BP :)22:08
devanandaNobodyCam: how can I help unblock you on that?22:08
NobodyCamgot a patch that adds dhcp setup to pxe?22:09
NobodyCam:-p22:09
*** lexx_ has quit IRC22:12
NobodyCambrb22:16
NobodyCamback22:22
NobodyCamgah now looks like another walkies...brb.. again :-p22:24
*** romcheg has left #openstack-ironic22:36
devanandalifeless: was there a reason you felt that a shared filesystem could not be used across ironic-conductors?22:36
NobodyCamand back again22:41
lifelessdevananda: performance22:42
devanandalifeless: that's a drawback, not a blocker :)22:45
devanandalifeless: IIRC, you had some concern about networking22:46
openstackgerritRuby Loo proposed a change to openstack/ironic: Adds doc strings to API FunctionalTest class  https://review.openstack.org/5734422:49
lifelessdevananda: well, in that we can't split things up at all22:52
lifelessor it becomes a big central point22:52
lifelessor we do one ip per things we're deploying too22:52
lifelessdevananda: whats the attraction of it?22:53
lifelessdevananda: like, why is it at all interesting?22:53
devanandalifeless: HA for the ir-cond service22:53
*** tatyana has joined #openstack-ironic22:53
devanandalifeless: less work rebuilding the TFTP dir. all we need to do is update neutron22:54
lifelessdevananda: which shifts all the load to another server rather than rebalancing23:00
lifelessdevananda: I think you shouldn't do that approach at all: let deployers do that one; aim for something much better as integrated code23:00
lifelessdevananda: deployers can already do what you describe with floatingip + corosync/pacemaker23:01
lifelesse.g. treat it as a scheduling thing and always provision 2 nodes with the tftp boot files, then when one fails update neutron23:02
devanandalifeless: it doesn't shift all load to another; that can be rebalanced23:04
lifelessa shared file system is a tonne of complexity: locking, concurrent updates, if it fails the node is down23:04
lifelessdevananda: if you have more than two nodes sharing the one shared fs23:05
devanandalifeless: correct23:05
lifelessdevananda: but that then means that when the shared fs fails more than 2 nodes fail23:05
devanandalifeless: it assumes the FS is HA. which, granted, isnot always true, but the point is to get the easiest solution in now and iterate for more complex ones23:06
lifelessdevananda: so the easiest solution is to do nothing : deployers can use existing layer-on-top solutions for HA23:06
lifelessI think we can do a lot better than that, but not by adding more failure modes :)23:07
devanandai like "do nothing" :)23:08
*** xmltok has quit IRC23:23
*** jdob has joined #openstack-ironic23:24
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Add sphinxcontrib-pecanwsme  https://review.openstack.org/5734623:25
devanandaHaomeng: thank you for the fix for sphinx // gettextutils._23:26
devanandaHaomeng: that was a blocking, but separate, bug. I have talked with dhellman and figured out how to start auto-generating our API docs. a WIP is ^23:26
devanandaupdating commit message23:28
devanandaand then walking home, bbiab23:29
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Add hooks to auto-generate REST API docs  https://review.openstack.org/5734623:30
Haomengdevananda: yes, we just fix our api docs, but for restapi docs, we have to run sphinx with the plugin which dhellman told us23:33
Haomengno problem, anytime23:33
*** jdob has quit IRC23:54
*** epim has quit IRC23:58

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