When running online migrations -1 rows are matched

Bug #2108000 reported by Ryan M Belgrave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
placement
New
Undecided
Unassigned

Bug Description

When running online migrations for 2024.2 (Placement 12.0.0) the manage command reports -1 rows matched and always returns exit code 1

root@openstack-placement-1:~# /usr/bin/placement-manage db online_data_migrations --max 1
-1 rows matched query create_incomplete_consumers, -1 migrated
+-----------------------------+-------------+-----------+
| Migration | Total Found | Completed |
+-----------------------------+-------------+-----------+
| set_root_provider_ids | 0 | 0 |
| create_incomplete_consumers | -1 | -1 |
+-----------------------------+-------------+-----------+
root@openstack-placement-1:~# echo $?
1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.