Bug 1203160
| Summary: | Add compatibility code to PCIRequest NovaObject and a migration script, so that upgrades will work for RHOS6->RHOS7 | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Nikola Dipanov <ndipanov> | |
| Component: | openstack-nova | Assignee: | Nikola Dipanov <ndipanov> | |
| Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 7.0 (Kilo) | CC: | berrange, dasmith, eglynn, jschluet, kchamart, ltoscano, mbooth, mlopes, ndipanov, nlevinki, ohochman, pbrady, sbauza, sclewis, sferdjao, sgordon, stoner, tvvcox, vromanso, yeylon | |
| Target Milestone: | ga | Keywords: | Reopened | |
| Target Release: | 7.0 (Kilo) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-nova-2015.1.0-14.el7ost | Doc Type: | Release Note | |
| Doc Text: |
After fully upgrading to Red Hat Enterprise Linux OpenStack Platform 7 from version 6 (and all nodes are running version 7 code), you should start a background migration of PCI device NUMA node information from the old location to the new location. Version 7 conductor nodes will do this automatically when necessary, but the rest of the idle data needs to be migrated in the background. This is critical to complete before the version 8 release, where support for the old location will be dropped. Use '$ nova-manage db migrate_rhos_6_pci_device_data --max-number X' to perform this transition (where X is the maximum number of devices to be migrated in one run).
Note that this is relevant only for users making use of the PCI pass-through features of Compute.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1250248 (view as bug list) | Environment: | ||
| Last Closed: | 2015-08-05 13:22:20 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: | ||||
| Bug Depends On: | 1104926 | |||
| Bug Blocks: | 799011, 1038706, 1077198, 1250248 | |||
|
Description
Nikola Dipanov
2015-03-18 09:51:01 UTC
The 2 proposed changes elaborate a bit more on the discussion in the Description of the bug. Once a user upgrades their RHOS 6 environment to RHOS 7 there is nothing they need to worry about immediately as the above code will make sure that the data is being migrated to the new format as the cloud is running. Under normal operating circumstances, restarting the nova-compute service (done anyway when doing an upgrade of a compute node to the new release) should be enough to migrate all relevant data. However there are scenarios where this would not happen, so we are in addition providing a script that administrators can use to do upgrades in small batches (maybe in a cron job) so that they are not disruptive to the operation of the cloud. We provide a new nova-manage command that can take a number of records to migrate at a time. (actual invocation tbd once the review process is done and the patch is merged) As the compatibility code will be dropped in future versions of the product - it will be strongly advised that all users running RHOS 6 Nova and using PCI pass-trough support, to complete the data migration of PCI device data. To fully test the following feature it is necessary to upgrade an ideally multi-node RHOS 6 deployment that makes use of PCI pass-through functionality to RHOS 7, and observe that the information about the PCI device in the pci_device DB table is being moved from the extra_info column to numa_node column after service restart. Another useful use case to test could be to disable (through the use of whitelists) some PCI devices that were enabled at one point, and do the upgrade, and then run the nova-manage command described in the doc-text and observe that it migrates all the outstanding records (for the disabled devices). Quality Engineering Management has reviewed and declined this request. You may appeal this decision by reopening this request. The following bug blocks the verification of this bug, https://bugzilla.redhat.com/show_bug.cgi?id=1246665 *** Bug 1228267 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2015:1548 |