Timing issue in remote-keystone deployment model.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powervc-driver |
Fix Committed
|
Medium
|
Le Tian Ren |
Bug Description
If keystone service is deployed in another node separately from other OpenStack api services like glance, neutron, we define this as remote-keystone mode, if they are all in the same node, we define this as local-keystone mode.
This bug is much easier to reproduce in remote-keystone mode when an OpenStack api services node is rebooted, all the api services will automatically start as planned in /etc/rc3.d/, this takes some time before all the services are ready. At the same time our powervc-driver sync services in the same node also start automatically after reboot, since the keystone server is in another node, which means it doesn't need restart, then our client factory's initialize_
2014-08-18 05:46:00.730 2601 INFO powervc.
Then when the corresponding sync service call the missing version api, the NoneType(NULL) client will report errors like.
2014-08-18 05:46:13.892 2601 WARNING powervc.
2014-08-18 05:46:13.892 2601 INFO powervc.
Then if manually restart the sync serivce after a while when all OpenStack api services are ready, initialize_
2014-08-18 06:11:24.274 4626 INFO powervc.
Then everything goes fine.
tags: | added: initialize issue keystone local remote servicecatalog timing |
tags: |
added: initialize-service-catalogue remote-keystone removed: initialize keystone local remote servicecatalog |
tags: |
added: timing-issue removed: issue timing |
Changed in powervc-driver: | |
assignee: | nobody → Le Tian Ren (gpanda+) |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
Fix proposed to branch: master /review. openstack. org/115519
Review: https:/