Service edit (scale out number of members) - cause exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-kubernetes |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
****** The root cause of this bug is Octavia**********
A. In case of LB backend=Octavia, all the List+filter fields functions at Kuryr-controller LB driver (e.g: [1]) will fail on exception at Octavia code since current Octavia code doesn't support GET list + filters option.
B. There's an open patch at Octavia/master to address this case [2].
C. This bug @Octavia causes Kuryr's failures/exception (mainly in service edit use cases).
for example, the following use case:
kubectl run --image=
kubectl scale deploy/kuryr-demo1 --replicas=2
kubectl expose deploy/kuryr-demo1 --port 80 --target-port 8080
wait till service/Openstack LoadBlancer is Active and run:
kubectl scale deploy/kuryr-demo1 --replicas=4
Will cause the following [3] exception @Kuryr.
[2] https:/
[3] Exception @Kuryr:
Apr 30 11:53:54 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: /namespaces/
Apr 30 11:53:55 fgfgfgfg python[30687]: Neutron server returns request_ids: ['req-6e76e33e-
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
Apr 30 11:53:55 fgfgfgfg python[30687]: 2018-04-30 11:53:54.995 30687 ERROR kuryr_kubernete
lines 599-648/1
A. It seems that running the use case described above doesn't lead to call of function [1].
which means no exception raised.
B. Anyhow, any use case that will lead to '_find_ loadbalancer' function call --> will trigger an exception
[1]https:/ /github. com/openstack/ kuryr-kubernete s/blob/ master/ kuryr_kubernete s/controller/ drivers/ lbaasv2. py#L250