RHOSP13- R5.0-214- SRIOV- agent is not coming up, issue while sourcing network-functions-vrouter in agent-functions.sh
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
alexey-mr | |||
Trunk |
Fix Committed
|
High
|
alexey-mr |
Bug Description
For SRIOV setup, agent is not coming up.
Error seen in agent log:
2018-09-06 Thu 16:57:31:439.228 UTC overcloud-
2018-09-06 Thu 17:04:21:996.312 UTC overcloud-
2018-09-06 Thu 17:18:02:209.200 UTC overcloud-
docker logs 479049ab979b:
/agent-
INFO: agent started in vrouter mode
INFO: vhost0 is already up
INFO: Kernel version does not support the driver required for vrouter to vrouter encryption
/agent-
/agent-
ERROR: either phys nic or mac is empty: phys_int='vhost0' phys_int_mac=''
Issue seems to be in value of AGENT_MODE, which is set to 'vrouter' and corresponding file network-
agent-functions.sh:
source /network-
as a workaround, removing "-${AGENT_MODE}" in agent-functions.sh and restarting docker worked fine for me.
setup Info:
undercloud hypervisor: 10.204.217.133
undercloud IP: 192.168.122.46
(undercloud) [stack@queensa ~]$ openstack server list
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 25ce07e7-
| df7a05ee-
| a9e496c2-
| 0c8171eb-
| 81411179-
| bfd01366-
| 47930b28-
| ab209461-
| 3522c775-
+------
Review in progress for https:/ /review. opencontrail. org/46210
Submitter: alexey-mr (<email address hidden>)