<div dir="ltr"><div>Yep and that patch was backported into kilo last month[0]. If others are experiencing pain, they could try the head of stable/kilo.<br><br></div><div>Given this is possibly causing some operator pain, it might be worth cutting a bug-fix release, or updating the installation instructions.<br></div><div><div><div><div><br>[0] <a href="https://review.openstack.org/#/c/195762/">https://review.openstack.org/#/c/195762/</a><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 1:09 AM, Mike Dorman <span dir="ltr"><<a href="mailto:mdorman@godaddy.com" target="_blank">mdorman@godaddy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I had this frustration, too, when doing this the first time.<br>
<br>
FYI (and for the Googlers who stumble across this in the future), this<br>
patch [1] fixes the --max_number thing.<br>
<br>
[1] <a href="https://review.openstack.org/#/c/175890/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/175890/</a><br>
<div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
On 7/27/15, 8:45 AM, "Jay Pipes" <<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>> wrote:<br>
<br>
>On 07/26/2015 01:15 PM, Lars Kellogg-Stedman wrote:<br>
>> So, the Kilo release notes say:<br>
>><br>
>>      nova-manage migrate-flavor-data<br>
>><br>
>> But nova-manage says:<br>
>><br>
>>      nova-manage db migrate_flavor_data<br>
>><br>
>> But that says:<br>
>><br>
>>      Missing arguments: max_number<br>
>><br>
>> And the help says:<br>
>><br>
>>      usage: nova-manage db migrate_flavor_data [-h]<br>
>>        [--max-number <number>]<br>
>><br>
>> Which indicates that --max-number is optional, but whatever, so you<br>
>> try:<br>
>><br>
>>      nova-manage db migrate_flavor_data --max-number 100<br>
>><br>
>> And that says:<br>
>><br>
>>      Missing arguments: max_number<br>
>><br>
>> So just for kicks you try:<br>
>><br>
>>      nova-manage db migrate_flavor_data --max_number 100<br>
>><br>
>> And that says:<br>
>><br>
>>      nova-manage: error: unrecognized arguments: --max_number<br>
>><br>
>> So finally you try:<br>
>><br>
>>      nova-manage db migrate_flavor_data 100<br>
>><br>
>> And holy poorly implement client, Batman, it works.<br>
><br>
>LOL. Well, the important thing is that the thing eventually worked. ;P<br>
><br>
>In all seriousness, though, yeah, the nova-manage CLI tool is entirely<br>
>different from the main python-novaclient CLI tool. It's not been a<br>
>priority whatsoever to clean it up, but I think it would be some pretty<br>
>low-hanging fruit to make the CLI consistent with the design of, say,<br>
>python-openstackclient...<br>
><br>
>Perhaps something we should develop a backlog spec for.<br>
><br>
>Best,<br>
>-jay<br>
><br>
>_______________________________________________<br>
>Mailing list:<br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div>>Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
>Unsubscribe :<br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<span class="">_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</span>Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>