Hi,

It looks like groupbased policy project is using different version of yang 
models than the Honeycomb version you are using.
Please ask GBP developers which Honeycomb&VPP version is compatible with the 
GBP version you are using.

Regards,
Marek

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Srikanth Vavilapalli
Sent: 10 kwietnia 2017 16:58
To: John Lo (loj) <l...@cisco.com>; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Unable to install vpp 17.04 on ubuntu 16.04

Thanks John for the inputs.

I used the following commands to install vpp/honeycomb:


1.      echo "deb 
https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main/ 
./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list

2.      Set the vm.nr_hugepages to 1024 and related changes in 
/etc/sysctl.d/80-vpp.conf

3.      sudo apt-get install -y --allow-unauthenticated vpp-lib vpp vpp-dev 
vpp-plugins

4.      sudo apt-get -qq install -y --allow-unauthenticated honeycomb

5.      Edit /opt/honeycomb/config/honeycomb.json to update the “restconf-port” 
and other fields.

6.      Restart VPP and Honeycomb services

So after removing “vpp-dpdk-dkms” from the list of packages getting installed, 
seems like the VPP service is operational (below is the output). However I see 
OpenDaylight reporting an error “Node does not contain all capabilities 
required by vpp-renderer” with this version of VPP 17.04. Anyone in this forum 
can help me with this error?


ericsson@cs02:~$ sudo service vpp status

● vpp.service - vector packet processing engine

   Loaded: loaded (/lib/systemd/system/vpp.service; enabled; vendor preset: 
enabled)

   Active: active (running) since Sat 2017-04-08 20:21:06 PDT; 1 day 11h ago

  Process: 96400 ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)

  Process: 96501 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited, 
status=0/SUCCESS)

  Process: 96498 ExecStartPre=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)

Main PID: 96504 (vpp_main)

    Tasks: 3

   Memory: 54.4M

      CPU: 1d 11h 20min 5.920s

   CGroup: /system.slice/vpp.service

           └─96504 /usr/bin/vpp -c /etc/vpp/startup.conf



Apr 08 20:21:08 cs02 vpp[96504]: Segment 170: phys:0x38d1400000, len:4194304, 
virt:0x7efc33600000, socket_id:1, hugepage_sz:2097152, nchannel:0, nrank:0

Apr 08 20:21:08 cs02 vpp[96504]: Segment 171: phys:0x38d7000000, len:2097152, 
virt:0x7efc33200000, socket_id:1, hugepage_sz:2097152, nchannel:0, nrank:0

Apr 08 20:21:08 cs02 vpp[96504]: Segment 172: phys:0x3/usr/bin/vpp[96504]: 
dpdk_ipsec_process:241: DPDK Cryptodev support is disabled, default to OpenSSL I

Apr 08 20:21:08 cs02 /usr/bin/vpp[96504]: dpdk_ipsec_process:241: DPDK 
Cryptodev support is disabled, default to OpenSSL IPsec

Apr 08 20:21:14 cs02 vpp[96504]: /usr/bin/vpp[96504]: set interface state: 
unknown interface `GigabitEthernet0/9/0 up

Apr 08 20:21:14 cs02 /usr/bin/vpp[96504]: set interface state: unknown 
interface `GigabitEthernet0/9/0 up

Apr 08 20:21:14 cs02 vpp[96504]: /usr/bin/vpp[96504]: set interface state: 
unknown interface `GigabitEthernet0/a/0 up

Apr 08 20:21:14 cs02 /usr/bin/vpp[96504]: set interface state: unknown 
interface `GigabitEthernet0/a/0 up

Apr 08 20:21:15 cs02 vpp[96504]: /usr/bin/vpp[96504]: set interface ip address: 
unknown interface `GigabitEthernet0/9/0 10.0.0.3/...

Apr 08 20:21:15 cs02 /usr/bin/vpp[96504]: set interface ip address: unknown 
interface `GigabitEthernet0/9/0 10.0.0.3/...


From: John Lo (loj) [mailto:l...@cisco.com]
Sent: Saturday, April 08, 2017 3:11 PM
To: Srikanth Vavilapalli 
<srikanth.vavilapa...@ericsson.com<mailto:srikanth.vavilapa...@ericsson.com>>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: RE: Unable to install vpp 17.04 on ubuntu 16.04

With 17.04/17.07, DPDK is moved to plugin and thus reside in vpp-plugin. Thus, 
vpp-dpdk-dkms is obsolete and should be removed.  -John

From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Srikanth Vavilapalli
Sent: Saturday, April 08, 2017 3:01 PM
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: [vpp-dev] Unable to install vpp 17.04 on ubuntu 16.04

Hi

I tried to install VPP version 17.04 on a Ubuntu 16.04 server and even though 
installation was successful, the service status reports “Inactive” with some 
core-dump (output below). Can anyone point me if I am missing anything here? 
Appreciate your help.

PS: I was able to install VPP 17.01 or VPP latest master (17.07) on this same 
machine, but for some reasons, OpenDaylight-groupbasedpolicy was reporting some 
errors with these two versions (With 17.01, I see errors “Unknown augmentation 
node detected” and with 17.07, errors like “Node cs02 does not contain all 
capabilities required by vpp-renderer”)




ericsson@cs02:~/all-in-one/vpp-binaries$ sudo bash install-vpp.sh

Installing VPP...

W: The repository 
'https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main 
./ Release' is not signed.

….

WARNING: The following packages cannot be authenticated!

  vpp-lib vpp vpp-dev vpp-dpdk-dkms vpp-plugins

Authentication warning overridden.

Get:1 
https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main 
./ vpp-lib 17.04-rc1~23-gb970bb7~b23 [1,572 kB]

Get:2 
https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main 
./ vpp 17.04-rc1~23-gb970bb7~b23 [261 kB]

Get:3 
https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main 
./ vpp-dev 17.04-rc1~23-gb970bb7~b23 [432 kB]

Get:4 
https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main 
./ vpp-dpdk-dkms 17.02-vpp2 [7,816 B]

Get:5 
https://nexus.fd.io/content/repositories/fd.io.stable.1704.ubuntu.xenial.main 
./ vpp-plugins 17.04-rc1~23-gb970bb7~b23 [1,359 kB]

Fetched 3,632 kB in 2s (1,539 kB/s)

Selecting previously unselected package vpp-lib.

…

DKMS: install completed.

Building initial module for 4.4.0-72-generic

Done.



igb_uio:

Running module version sanity check.

- Original module

   - No original module exists within this kernel

- Installation

   - Installing to /lib/modules/4.4.0-72-generic/updates/dkms/



depmod....



DKMS: install completed.

Setting up vpp-plugins (17.04-rc1~23-gb970bb7~b23) ...

Processing triggers for libc-bin (2.23-0ubuntu7) ...

Installing VPP done.



ericsson@cs02:~/all-in-one/vpp-binaries$ sudo service vpp status

● vpp.service - vector packet processing engine

   Loaded: loaded (/lib/systemd/system/vpp.service; enabled; vendor preset: 
enabled)

   Active: inactive (dead) (Result: core-dump) since Sat 2017-04-08 11:44:01 
PDT; 31s ago

  Process: 63210 ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)

  Process: 62983 ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf (code=dumped, 
signal=ABRT)

  Process: 62977 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited, 
status=0/SUCCESS)

  Process: 62966 ExecStartPre=/bin/rm -f /dev/shm/db /dev/shm/global_vm 
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)

Main PID: 62983 (code=dumped, signal=ABRT)



Apr 08 11:44:00 cs02 systemd[1]: vpp.service: Unit entered failed state.

Apr 08 11:44:00 cs02 systemd[1]: vpp.service: Failed with result 'core-dump'.

Apr 08 11:44:01 cs02 systemd[1]: vpp.service: Service hold-off time over, 
scheduling restart.

Apr 08 11:44:01 cs02 systemd[1]: Stopped vector packet processing engine.

Apr 08 11:44:01 cs02 systemd[1]: vpp.service: Start request repeated too 
quickly.

Apr 08 11:44:01 cs02 systemd[1]: Failed to start vector packet processing 
engine.

ericsson@cs02:~/all-in-one/vpp-binaries$





Thanks

Srikanth
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to