Activity log for bug #1990839

Date Who What changed Old value New value Message
2022-09-26 11:26:20 kiran pawar bug added bug
2022-09-26 11:26:36 kiran pawar description Issue ===== Manila services are created(in DB) in the start() method. DB consider unique service, based on service-name and host-name combination. However when services are stopped or restarted, the DB entries are not deleted, they are destroyed only in kill() method. scenario ======== 1. In big cluster where multiple instances of manila-scheduler are launched, unique host-name (we use node-name of k8s) and service-name the entries are created in DB. 2. However when deployed again and launched on new hosts, the old entries of manila-scheduler remains as it is. Solution ======== To overcome this situation, we should remove the DB entry each time service is stopped or killed and create new entry again in start() method. Exception ======== 1. This issue does not reproduce on devstack where single host and single instance of manila-scheduler is used. 2. This issue does not observed for manila-share services since hostname is host@backend which is unique across deployments. Issue ===== Manila services are created(in DB) in the start() method. DB consider unique service, based on service-name and host-name combination. However when services are stopped or restarted, the DB entries are not deleted, they are destroyed only in kill() method. scenario ======== 1. In big cluster where multiple instances of manila-scheduler are launched, unique host-name (we use node-name of k8s) and service-name the entries are created in DB. 2. However when deployed again and launched on new hosts, the old entries of manila-scheduler remains as it is. Solution ======== To overcome this situation, we should remove the DB entry each time service is stopped or killed and create new entry again in start() method. Exception ======== 1. This issue does not reproduce on devstack where single host and single instance of manila-scheduler is used. 2. This issue is not observed for manila-share services since hostname is host@backend which is unique across deployments.
2022-09-26 14:29:38 OpenStack Infra manila: status New In Progress
2022-09-27 19:56:57 Vida Haririan manila: assignee kiran pawar (kpdev)
2022-09-27 19:57:08 Vida Haririan tags db
2023-02-16 13:56:55 Carlos Eduardo manila: milestone antelope-3
2023-02-24 23:53:03 OpenStack Infra manila: status In Progress Fix Released