Activity log for bug #1832287

Date Who What changed Old value New value Message
2019-06-11 02:01:25 cao biao bug added bug
2019-06-11 02:01:33 cao biao python-zvm-sdk: assignee cao biao (flytiger)
2019-06-14 06:58:08 cao biao description when the item in the database table commented as {'migrated':1}, guest_list will report out of index error. This is because the operation self._GuestDbOperator.get_migrated_guest_list() is "SELECT userid FROM guests " , but should be "SELECT * FROM guests ". use "SELECT * FROM guests " will fix this. when the item in the database table commented as {'migrated':1}, guest_list will report out of index error. This is because the operation self._GuestDbOperator.get_migrated_guest_list() is "SELECT userid FROM guests " , but should be "SELECT * FROM guests ".use "SELECT * FROM guests " will fix this. But this change will result in other problems, guest_register() API will use get_migrated_guest_list operation and expect it works like: "SELECT * FROM guests ": guests = self._GuestDbOperator.get_migrated_guest_list() if userid in str(guests): ... So a new API need be created or guest_vm_list need to be changed.