nova-compute can not regist resource_provider when nova-compute start before placement endpoint created
Bug #1697825 reported by
zhang zhenzhong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Chris Dent |
Bug Description
1.When nova-compute start,bug placement's endpoint is not ready, it get the keystone session whitout placement's endpoint, cause nova-comuter regist resource_provider in nova_api failed.
2.Then create placement's endpoint, but nova-compute can not regist resource_provider automatic because of the old keystone session. In this case, It must restart the nova-compute to regist the resource_provider
I think the keystone client session should be reload when regist resource_provider failed.
Changed in nova: | |
assignee: | nobody → zhang zhenzhong (zzzhang0118) |
tags: | added: placement |
summary: |
- nova-compute and not regist resource_provider when nova-compute start - before placement endpoint create + nova-compute can not regist resource_provider when nova-compute start + before placement endpoint created |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: compute |
Changed in nova: | |
assignee: | nobody → zhang zhenzhong (zzzhang0118) |
Changed in nova: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Which release are you testing on? Newton or Ocata? Or master (pike)? Because we do continue to retry in the compute service to connect to placement even if the first attempt fails:
https:/ /github. com/openstack/ nova/blob/ stable/ ocata/nova/ scheduler/ client/ report. py#L192
Or is the problem with the ksa session created here?
https:/ /github. com/openstack/ nova/blob/ stable/ ocata/nova/ scheduler/ client/ report. py#L190