sonata-nfv / son-emu

Attention! Legacy! This repo will be replaced with https://github.com/containernet/vim-emu
https://github.com/containernet/vim-emu
Apache License 2.0
36 stars 32 forks source link

Bug: OSM does not find mgmt nertwork #297

Closed mpeuster closed 5 years ago

mpeuster commented 5 years ago

Bug

Upon instantiation of the SFB demo service (which worked with an early version of OSMr4 + vim-emu) OSM reports the following error:

ERROR Waiting for management IP address reported by the VIM. Updating VNFRs: ns_update_vnfr: Not fou
nd member_vnf_index=2 vdur=vdu01 interface=v2-out at RO info

However, all three VNFs containers are started and running.

LCM Module reports

ERROR lcm.ns ns.py:1060 Task ns=ff7d10c4-0347-43e5-9245-4e27962dd112 instantiate=620d42ad-d951-403b-b814-74c782bb4b59 Exit Exception while 'Waiting for management IP address reported by the VIM. Updating VNFRs': ns_update_vnfr: Not found member_vnf_index=2 vdur=vdu01 interface=v2-out at RO info

Reproduce

Helper:

mpeuster commented 5 years ago

Solution:

Problem was that vnf0 had an input interface defined and vnf2 had an output interface defined but both interfaces were NOT used in the NSD!

So this error seems to always point to unused connection points defined in VNFDs but not used in the NSD!