<div dir="ltr">I don't have any further suggestions. Since the 7th parameter was added in API version 4.2 the issue you're having doesn't really surprise me. However it seems like you have a workaround for migrating either direction. Is that not enough for what you're trying to accomplish?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="margin-top:8px;margin-bottom:8px;font-family:Helvetica,Verdana,Arial,sans-serif;font-size:0.85em;color:rgb(51,51,51);line-height:1.4"><span style="font-size:0.85em;line-height:1.4">___</span><br></p><p style="margin-top:8px;margin-bottom:8px;font-family:Helvetica,Verdana,Arial,sans-serif;font-size:1.1em;color:rgb(51,51,51);line-height:1.4">John Petrini</p><p style="margin-top:8px;margin-bottom:8px;font-family:Helvetica,Verdana,Arial,sans-serif;font-size:0.85em;color:rgb(51,51,51);line-height:1.6">NOC Systems Administrator // <strong>CoreDial, LLC</strong> // <a href="http://coredial.com/" title="CoreDial" style="color:rgb(35,104,179);text-decoration:none" target="_blank">coredial.com</a> // <a href="https://twitter.com/coredial" target="_blank"><img src="http://cdn2.hubspot.net/hub/210539/file-2353637622-gif/email/twitter-1.gif" alt="Twitter" style="vertical-align:text-bottom"></a> <a href="http://www.linkedin.com/company/99631" target="_blank"><img src="http://cdn2.hubspot.net/hub/210539/file-2351103565-gif/email/linkedin-1.gif" alt="LinkedIn" style="vertical-align:text-bottom"></a> <a href="https://plus.google.com/104062177220750809525/posts" target="_blank"><img src="http://cdn2.hubspot.net/hub/210539/file-2353637617-gif/email/googleplus-1.gif" alt="Google Plus" style="vertical-align:text-bottom"></a> <a href="http://success.coredial.com/blog" target="_blank"><img src="http://cdn2.hubspot.net/hub/210539/file-2351103560-gif/email/rss-1.gif" alt="Blog" style="vertical-align:text-bottom"></a> <br>Hillcrest I, 751 Arbor Way, Suite 150, Blue Bell PA, 19422 <br><strong>P: </strong><a style="color:rgb(35,104,179)">215.297.4400</a> x232 // <strong>F: </strong><a style="color:rgb(35,104,179)">215.297.4401</a> // <strong>E: </strong><a href="mailto:jpetrini@coredial.com" style="color:rgb(35,104,179);text-decoration:none" target="_blank">jpetrini@coredial.com</a></p><p style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><a href="http://cta-redirect.hubspot.com/cta/redirect/210539/4c492538-6e4b-445e-9480-bef676787085" target="_blank"><img src="https://no-cache.hubspot.com/cta/default/210539/4c492538-6e4b-445e-9480-bef676787085.png" alt="Exceptional people. Proven Processes. Innovative Technology. Discover CoreDial - watch our video" style="border-width:0px"></a></p><p style="padding-top:15px;padding-bottom:15px;max-width:600px;font-family:Helvetica,Verdana,Arial,sans-serif;font-size:0.6em;color:rgb(51,51,51);line-height:1.4">The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.</p></div></div></div></div><a href="http:///" target="_blank"></a></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Oct 26, 2016 at 9:12 PM, Oisin O'Malley <span dir="ltr"><<a href="mailto:oisin.omalley@iocane.com.au" target="_blank">oisin.omalley@iocane.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks John,<br>
<span class=""><br>
> I think it may be your API version. See here: <a href="https://github.com/openstack/nova/blob/2014.2/nova/compute/rpcapi.py#L270" rel="noreferrer" target="_blank">https://github.com/openstack/<wbr>nova/blob/2014.2/nova/compute/<wbr>rpcapi.py#L270</a><br>
<br>
</span>There seems to be a discrepancy in the rpcapi.py "kilo" alias between the Kilo and Liberty releases. In the Kilo release the compute alias is "kilo=3.40" but in Liberty it is "kilo=4.0". Setting the compute API version to 4.0 on the Kilo compute node or removing it entirely appears to resolve the issue. Though has either caused or led to another issue.<br>
<br>
I've testing and can live migrate from Kilo -> Liberty compute nodes, but fails on migrating from Liberty -> Kilo. I suspect another API version issue. With compute API level pined to 4.0 across all Nova nodes, the following error is raised in the Liberty Nova compute nodes log when I try live migrate from Liberty to Kilo;<br>
<span class=""><br>
File "/usr/lib/python2.7/site-<wbr>packages/oslo_messaging/rpc/<wbr>dispatcher.py", line 142, in _dispatch_and_reply<br>
executor_callback))<br>
File "/usr/lib/python2.7/site-<wbr>packages/oslo_messaging/rpc/<wbr>dispatcher.py", line 186, in _dispatch<br>
executor_callback)<br>
</span> File "/usr/lib/python2.7/site-<wbr>packages/oslo_messaging/rpc/<wbr>dispatcher.py", line 129, in _do_dispatch<br>
result = func(ctxt, **new_args)<br>
File "/usr/lib/python2.7/site-<wbr>packages/nova/exception.py", line 89, in wrapped<br>
payload)<br>
File "/usr/lib/python2.7/site-<wbr>packages/oslo_utils/excutils.<wbr>py", line 195, in __exit__<br>
six.reraise(self.type_, self.value, self.tb)<br>
File "/usr/lib/python2.7/site-<wbr>packages/nova/exception.py", line 72, in wrapped<br>
<span class=""> return f(self, context, *args, **kw)<br>
</span> File "/usr/lib/python2.7/site-<wbr>packages/nova/compute/manager.<wbr>py", line 400, in decorated_function<br>
<span class=""> return function(self, context, *args, **kwargs)<br>
</span> File "/usr/lib/python2.7/site-<wbr>packages/nova/compute/manager.<wbr>py", line 378, in decorated_function<br>
<span class=""> kwargs['instance'], e, sys.exc_info())<br>
</span> File "/usr/lib/python2.7/site-<wbr>packages/oslo_utils/excutils.<wbr>py", line 195, in __exit__<br>
six.reraise(self.type_, self.value, self.tb)<br>
File "/usr/lib/python2.7/site-<wbr>packages/nova/compute/manager.<wbr>py", line 366, in decorated_function<br>
<span class=""> return function(self, context, *args, **kwargs)<br>
</span> TypeError: live_migration() takes exactly 7 arguments (6 given)<br>
<br>
There appears to of been a few bugs raised previously for this. The 4.2 API version of live_migration with 7 parameters appears to be getting called with the 6 parameters from API version 4.0. I'm not sure why.<br>
<br>
<a href="https://bugs.launchpad.net/nova/+bug/1595864" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>nova/+bug/1595864</a><br>
I've unsuccessful tried the suggestion in the above and restarted all nova-conductor services to no effect.<br>
<br>
Any suggestions?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Oisin O'Malley<br>
Systems Engineer<br>
Iocane Pty Ltd<br>
763 South Road<br>
Black Forest SA 5035<br>
<br>
Office:<a href="tel:%2B61%20%288%29%208413%201010" value="+61884131010">+61 (8) 8413 1010</a><br>
Fax:<a href="tel:%2B61%20%288%29%208231%202050" value="+61882312050">+61 (8) 8231 2050</a><br>
<a href="mailto:Email%3Aoisin.omalley@iocane.com.au">Email:oisin.omalley@iocane.<wbr>com.au</a><br>
Web:<a href="http://www.iocane.com.au" rel="noreferrer" target="_blank">www.iocane.com.au</a><br>
<br>
Better for business<br>
</div></div></blockquote></div><br></div>