Probably the right list would be vpp-...@fd.io <mailto:vpp-...@fd.io>.
As for your question, is vpp actually up and running? What does ps -ef | grep vpp show? Florin > On Aug 1, 2018, at 10:40 AM, jkzcristiano <jkzcristi...@gmail.com> wrote: > > Hi all, > > This is the first time I write to this group and I am completely novel to > vpp, so sorry if I write in the wrong list. I will share with you the > following issue so you might guess what is happening. > > I am starting a virtual machine (VM) in OpenStack using cloud trusty Ubuntu > image (http://cloud-images.ubuntu.com/ <http://cloud-images.ubuntu.com/>). > > This VM is a packet generator so let us named it as 'vPG VM'. > > During VM initiallization, the following bash scripts are also executed: > > 'v_vpacketgen_install.sh' which calls 'v_vpacketgen_init.sh' > > (scripts can be found here > https://nexus.onap.org/content/sites/raw/org.onap.demo/vnfs/vfw/1.2.1/ > <https://nexus.onap.org/content/sites/raw/org.onap.demo/vnfs/vfw/1.2.1/>) > > For instance, this is exactly where vpp appears in the scripts > > # Start VPP > start vpp > sleep 1 > > # Configure VPP > IPADDR1=$(ifconfig eth1 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut > -d':' -f2) > HWADDR1=$(ifconfig eth1 | grep HWaddr | tr -s ' ' | cut -d' ' -f5) > FAKE_HWADDR1=$(echo -n 00; dd bs=1 count=5 if=/dev/urandom 2>/dev/null | > hexdump -v -e '/1 ":%02X"') # Generate a random MAC > PROTECTED_NET_CIDR=$(cat /opt/config/protected_net_cidr.txt) > FW_IPADDR=$(cat /opt/config/fw_ipaddr.txt) > SINK_IPADDR=$(cat /opt/config/sink_ipaddr.txt) > > IPADDR1_MASK=$(ifconfig eth1 | grep "Mask" | awk '{print $4}' | awk -F ":" > '{print $2}') > IPADDR1_CIDR=$(mask2cidr $IPADDR1_MASK) > > ifconfig eth1 down # Needed to change the MAC > ifconfig eth1 hw ether $FAKE_HWADDR1 # Change eth1 MAC with the random MAC > ip addr flush dev eth1 # Remove all IP information of an > interface > ifconfig eth1 up > vppctl tap connect tap111 hwaddr $HWADDR1 # In this > sentence, the error occurs > vppctl set int ip address tap-0 $IPADDR1"/"$IPADDR1_CIDR # Again, in this > sentence, the error occurs > vppctl set int state tap-0 up # Again, in this > sentence, the error occurs > brctl addbr br0 > brctl addif br0 tap111 > brctl addif br0 eth1 > ifconfig br0 up > vppctl ip route add $PROTECTED_NET_CIDR via $FW_IPADDR # Again, in this > sentence, the error occurs > sleep 1 > > The following error appears in the logs of the VM every time a vppctl > sentence is executed > > vl_map_shmem:381: region init fail > connect_to_vlib_internal:123: vl_client_api map rv -2 > Couldn't connect to vpe, exiting... > > I attached with you the OpenStack log of the VM when is created. > > Once the VM completes the initialization process, if I ssh into the VM and > try to execute any vpp command (e.g., vppctl show hardware) the console waits > for long and then outputs the same above error. > Do you have any guess of what is happening? > > Kind regards, > > Xoan > <vpg_logs.txt>-=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#530): https://lists.fd.io/g/discuss/message/530 > Mute This Topic: https://lists.fd.io/mt/24050397/675152 > Group Owner: discuss+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/discuss/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10011): https://lists.fd.io/g/vpp-dev/message/10011 Mute This Topic: https://lists.fd.io/mt/24055536/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-