<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hey Chris,<div><br><div><div>On 24 Apr 2014, at 4:28 pm, Chris Behrens <<a href="mailto:cbehrens@codestud.com">cbehrens@codestud.com</a>> wrote:</div><br><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div><div>On Apr 23, 2014, at 6:36 PM, Sam Morrison <<a href="mailto:sorrison@gmail.com">sorrison@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Yeah I’m not sure what’s going on, I removed my hacks and tried it using the conductor rpcapi service and got what I think is a recursive call in nova-conductor.<div><br></div><div>Added more details to <a href="https://bugs.launchpad.net/nova/+bug/1308805">https://bugs.launchpad.net/nova/+bug/1308805</a></div><div><br></div><div>I’m thinking there maybe something missing in the stable/havana branch or else cells is doing something different when it comes to objects.</div><div>I don’t think it is a cells issue though as debugging it, it seems like it just can’t back port a 1.13 object to 1.9.</div><div><br></div><div>Cheers,</div><div>Sam</div></div></blockquote><br></div></div><div>Oh. You know, it turns out that conductor API bug you found…was really not a real bug, I don’t think. The only thing that can backport is the conductor service, if the conductor service has been upgraded. Ie, ‘use_local’ would never ever work, because it was the local service that didn’t understand the new object version to begin with. So trying to use_local would still not understand the new version. Make sense? (This should probably be made to fail gracefully, however :)</div></div></blockquote><div><br></div><div>Yeah I understand that now, thanks for that.</div></div><div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">And yeah, I think what you have going on now when you’re actually using the conductor… is that conductor is getting a request to backport, but it doesn’t know how to backport…. so it’s kicking it to itself to backport.. and infinite recursion occurs. Do you happen to have use_local=False in your nova-conductor nova.conf? That would cause nova-conductor to RPC to itself to try to backport, hehe. Again, we should probably have some graceful failing here in some way. 1) nova-conductor should probably always force use_local=True. And the LocalAPI should probably just implement object_backport() such that it raises a nice error.</div></blockquote><div><br></div><div>Hmm I may have but I’ve just done another test with everything set to use_local=False except nova-conductor where use_local=True</div><div>I also reverted that change I put though as mentioned above and I still get an infinite loop. Can’t really figure out what is going on here. </div><div>Conductor is trying to talk to conductor and use_local definitely equals True.</div>(this is all with havana conductor btw)</div><div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>So, does your nova-conductor not have object version 1.13? As I was trying to get at in a previous reply, I think the only way this can possibly work is that you have Icehouse nova-conductor running in ALL cells.</div></div></blockquote><div><br></div><div>OK so in my compute cell I am now running an Icehouse conductor. Everything else is Havana including the DB version.</div><div><br></div><div>This actually seems to make all the things that didn’t work now work. However it also means that the thing that did work (booting an instance) no longer works.</div><div>This is an easy fix and just requires nova-conductor to call the run_instance scheduler rpcapi method with version 2.9 as opposed the icehouse version 3.0.</div><div>I don’t think anything has changed here so this might be an easy fix that could be pushed upstream. It just needs to change the scheduler rpcapi to be aware what version it can use.</div><div>I changed the upgrade_levels scheduler=havana but that wasn’t handled by the scheduler rpcapi and just gave a version not new enough exception.</div><div><br></div><div>I think I’m making progress…..</div><div><br></div><div>Sam</div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>- Chris</div><div><br></div><div><br></div><div><br></div></div></blockquote></div><br></div></body></html>