File: nova-manage-online-migrations-exit-status-9de5ea7836d0e368.yaml

package info (click to toggle)
nova 2%3A18.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 49,532 kB
  • sloc: python: 383,759; pascal: 1,610; xml: 1,184; sh: 917; makefile: 140; sql: 43
file content (13 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
upgrade:
  - |
    The ``nova-manage db online_data_migrations`` command now returns exit
    status 2 in the case where some migrations failed (raised exceptions) and
    no others were completed successfully from the last batch attempted. This
    should be considered a fatal condition that requires intervention. Exit
    status 1 will be returned in the case where the ``--max-count`` option was
    used and some migrations failed but others succeeded (updated at least one
    row), because more work may remain for the non-failing migrations, and
    their completion may be a dependency for the failing ones. The command
    should be reiterated while it returns exit status 1, and considered
    completed successfully only when it returns exit status 0.