[OVN]Metadata get warn logs after boot instance server about "MetadataServiceReadyWaitTimeoutException"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
huanghailun |
Bug Description
The operation:
1. Create virtual machines in batches
2. View neutron-server logs
Warning logs as:
2021-10-10 19:18:08.384 78 WARNING neutron.
This is due to:
The value about neutron-
When call function set_port_status_up, it check self._wait_
```
...
try:
except MetadataService
# If we reach this point it means that metadata agent didn't
# provision the datapath for this port on its chassis. Either
# the agent is not running or it crashed. We'll complete the
# provisioning block though.
...
```
Get datapath:
def get_logical_
for port in self._tables[
if port.logical_port == name:
Get neutron-
def get_chassis_
"""Return a list with the metadata networks the chassis is hosting."""
try:
chassis = self.lookup(
except idlutils.
return []
return proxy_networks.
I fix it by this way:
def get_logical_
for port in self._tables[
if port.logical_port == name:
Version: stable/wallaby
tags: | added: metadata ovn |
Changed in neutron: | |
importance: | Undecided → High |
assignee: | nobody → hh (lnun) |
Changed in neutron: | |
status: | New → Fix Released |
Fix proposed to branch: stable/wallaby /review. opendev. org/c/openstack /neutron/ +/813376
Review: https:/