Displaying of floating IPs takes a lot of time
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | ||||||
4.1.x |
Triaged
|
Low
|
MOS Nova | |||
5.0.x |
Invalid
|
Low
|
MOS Nova |
Bug Description
Release: Mirantis OpenStack 4.0
Steps to reproduce:
Launch instances (as many as you can). Assign floating IPs to these instances.
Check how much time is needed for displaying all of them in Horizon
Expected result:
Information about floating IPs appears immediately after assignment to an instance
Actual result:
There is a delay between floating IPs assignment and displaying they both in Horizon and "nova list"
There is the more detailed description:
Network information is placed in "InstanceInfoCache" entry in the database
Nova compute runs periodic task for updating network information every 60 seconds (by default)
But due to implementation of task, only one instance can be processed in each run.
So every new instance on node will increase update period for specific instance by 1 minute
There is a snippet from nova-compute.log
2014-05-23 02:04:47 DEBUG nova.compute.
2014-05-23 02:05:50 DEBUG nova.compute.
2014-05-23 02:06:53 DEBUG nova.compute.
The configuration option "heal_instance_
Anyway, applying of patch to fix this bug is just workaround that is able to reduce delay.
Also, if the interval is too small, it can lead to some nova-compute service are sporadically going down (It's not confirmed that there is the root cause, but issue appeared after changing the value of "heal_instance_
I verified how it works in Mirantis OpenStack 5.0
There are the following messages are writed in the nova-compute.log every minute:
<183>May 30 17:40:28 node-1 nova-nova.
<183>May 30 17:40:28 node-1 nova-nova.
<183>May 30 17:40:28 node-1 nova-nova.
It seems this logic eliminates subsequent info cache update for each instance
Information about Floating IPs appears in Horizon IMMEDIATELY (before next info cache update happens)
Also I've checked that the value of "heal_instance_
Would you please backport code from 5.0 to the previous versions (4.x)
Changed in fuel: | |
milestone: | none → 4.1.1 |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
Changed in fuel: | |
importance: | Undecided → Low |
milestone: | 4.1.1 → 4.1.2 |
Changed in mos: | |
milestone: | none → 4.1.2 |
assignee: | nobody → MOS Nova (mos-nova) |
Changed in mos: | |
importance: | Undecided → Low |
no longer affects: | fuel/4.0.x |
Changed in mos: | |
status: | New → Triaged |
tags: | added: nova |
no longer affects: | mos/5.1.x |
Changed in mos: | |
status: | Confirmed → Triaged |
no longer affects: | mos |
Also, backport to 4.0 is required