Bug 1253843

Summary: nova-manage db migrate_flavor_data is broken (missing patch to stable)
Product: Red Hat OpenStack Reporter: Lars Kellogg-Stedman <lars>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED UPSTREAM QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: berrange, dasmith, eglynn, kchamart, lars, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: ---Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-05 19:13:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lars Kellogg-Stedman 2015-08-14 21:31:20 UTC
Description of problem:

The 'nova-manage db migrate_flavor_data' command does not properly handle the --max-number argument.  We are missing this patch:

https://github.com/openstack/nova/commit/e013ebf394191054bc887297106d9b39abfaf7db

Comment 10 Artom Lifshitz 2018-01-05 19:13:15 UTC
> The 'nova-manage db migrate_flavor_data' command does not properly handle
> the --max-number argument.  We are missing this patch:
> 
> https://github.com/openstack/nova/commit/
> e013ebf394191054bc887297106d9b39abfaf7db

That patch is definitely in OSP7 [1], though at this point it'd be a waste of time to try and find the exact build in which it first appeared to set the fixed-nvr.

[1] https://code.engineering.redhat.com/gerrit/gitweb?p=nova.git;a=commit;h=e013ebf394191054bc887297106d9b39abfaf7db