man page needed for "nova-manage db online_data_migrations"
Bug #1670738 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Hesam Chobanlou |
Bug Description
This came up in the openstack-operators mailing list:
http://
There is confusion around the online_
1. There is no summary table output.
2. The command exits with 0 meaning there were no migrations performed. This is probably the best case to follow when checking/scripting for this.
We need a man page explaining this in the nova docs:
https:/
Changed in nova: | |
assignee: | nobody → Dave Johnston (dave-johnston) |
Changed in nova: | |
assignee: | Dave Johnston (dave-johnston) → Stephen Finucane (stephenfinucane) |
Changed in nova: | |
assignee: | nobody → Hesam Chobanlou (hesamchobanlou) |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
assignee: | Hesam Chobanlou (hesamchobanlou) → Matt Riedemann (mriedem) |
assignee: | Matt Riedemann (mriedem) → Stephen Finucane (stephenfinucane) |
Changed in nova: | |
assignee: | Stephen Finucane (stephenfinucane) → Hesam Chobanlou (hesamchobanlou) |
To post a comment you must log in.
Here is an example of online_ data_migrations running during a grenade job:
http:// logs.openstack. org/52/ 440652/ 2/check/ gate-grenade- dsvm-neutron- ubuntu- xenial/ 74bea3f/ logs/grenade. sh.txt. gz#_2017- 03-02_20_ 38_11_797
2017-03-02 20:38:11.797 | + /opt/stack/ new/grenade/ projects/ 60_nova/ upgrade. sh:main: 74 : /usr/local/ bin/nova- manage --config-file /etc/nova/nova.conf db online_ data_migrations lib/python2. 7/dist- packages/ pymysql/ cursors. py:166: Warning: (3090, u"Changing sql mode 'NO_AUTO_ CREATE_ USER' is deprecated. It will be removed in a future release.") instances_ add_request_ spec, 0 migrated ------- ------- ------- ------- ------- ----+-- ------- -----+- ------- ---+ ------- ------- ------- ------- ------- ----+-- ------- -----+- ------- ---+ uuids_online_ data_migration | 0 | 0 | build_requests_ with_no_ instance_ uuid | 0 | 0 | aggregate_ reset_autoincre ment | 0 | 0 | flavor_ reset_autoincre ment | 0 | 0 | instance_ groups_ to_api_ db | 0 | 0 | instance_ keypairs | 0 | 0 | instances_ add_request_ spec | 2 | 0 | keypairs_ to_api_ db | 0 | 0 | ------- ------- ------- ------- ------- ----+-- ------- -----+- ------- ---+
2017-03-02 20:38:14.031 | Running batches of 50 until complete
2017-03-02 20:38:14.044 | /usr/local/
2017-03-02 20:38:14.045 | result = self._query(query)
2017-03-02 20:38:14.306 | 2 rows matched query migrate_
2017-03-02 20:38:14.331 | +------
2017-03-02 20:38:14.332 | | Migration | Total Needed | Completed |
2017-03-02 20:38:14.332 | +------
2017-03-02 20:38:14.332 | | aggregate_
2017-03-02 20:38:14.332 | | delete_
2017-03-02 20:38:14.332 | | migrate_
2017-03-02 20:38:14.332 | | migrate_aggregates | 0 | 0 |
2017-03-02 20:38:14.332 | | migrate_
2017-03-02 20:38:14.332 | | migrate_flavors | 0 | 0 |
2017-03-02 20:38:14.332 | | migrate_
2017-03-02 20:38:14.332 | | migrate_
2017-03-02 20:38:14.332 | | migrate_
2017-03-02 20:38:14.332 | | migrate_
2017-03-02 20:38:14.332 | +------