I see the issue.

Before I push the fix, so I can be sure can you run vpp-config and select 
option 1 and then send me the output.

Thanks



From: <vpp-dev@lists.fd.io> on behalf of Demian Pecile 
<dpec...@sietecapas.com.ar>
Date: Wednesday, March 28, 2018 at 8:55 AM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] vpp-config fail to complete

Sure

Thanks !

The error:

root@vpp:/home/user# vpp-config

Welcome to the VPP system configuration utility

These are the files we will modify:
    /etc/vpp/startup.conf
    /etc/sysctl.d/80-vpp.conf
    /etc/default/grub

Before we change them, we'll create working copies in 
/usr/local/vpp/vpp-config/dryrun
Please inspect them carefully before applying the actual configuration (option 
3)!

What would you like to do?

1) Show basic system information
2) Dry Run (Will save the configuration files in 
/usr/local/vpp/vpp-config/dryrun for inspection)
       and user input in /usr/local/vpp/vpp-config/configs/auto-config.yaml
3) Full configuration (WARNING: This will change the system configuration)
4) List/Install/Uninstall VPP.
5) Execute some basic tests.
9 or q) Quit

Command: 2

These devices have kernel interfaces, but appear to be safe to use with VPP.

PCI ID          Kernel Interface(s)       Description
------------------------------------------------------------------------------------------
0000:02:00.1    eno2                      NetXtreme BCM5720 Gigabit Ethernet 
PCIe

Would you like to use any of these device(s) for VPP [y/N]?

These device(s) will be used by VPP.

PCI ID          Description
----------------------------------------------------------------
0000:03:00.1    Ethernet Controller 10-Gigabit X540-AT2
0000:03:00.0    Ethernet Controller 10-Gigabit X540-AT2

Would you like to remove any of these device(s) [y/N]?

These device(s) will be used by VPP, please rerun this option if this is 
incorrect.

PCI ID          Description
----------------------------------------------------------------
0000:03:00.1    Ethernet Controller 10-Gigabit X540-AT2
0000:03:00.0    Ethernet Controller 10-Gigabit X540-AT2
Traceback (most recent call last):
  File "/usr/local/bin/vpp-config", line 22, in <module>
    vpp.config_main()
  File "/usr/local/lib/python2.7/dist-packages/vpp_config.py", line 706, in 
config_main
    autoconfig_main()
  File "/usr/local/lib/python2.7/dist-packages/vpp_config.py", line 597, in 
autoconfig_main
    autoconfig_dryrun()
  File "/usr/local/lib/python2.7/dist-packages/vpp_config.py", line 370, in 
autoconfig_dryrun
    acfg.calculate_cpu_parameters()
  File "/usr/local/lib/python2.7/dist-packages/vpplib/AutoConfig.py", line 555, 
in calculate_cpu_parameters
    total_rx_queues = node['cpu']['total_rx_queues']
KeyError: 'total_rx_queues'





The output

root@vpp:/home/user# pip search vpp
dhcpkit-vpp (1.0.1)   - DHCPKit extension to use it from VPP
vpp-papi (1.4.1)      - VPP Python binding
  INSTALLED: 1.4
  LATEST:    1.4.1
csvpp (0.2.0)         - CSV reformatter to align columns
vpp-config (18.1.10)  - VPP Configuration Utility
  INSTALLED: 18.1.10 (latest)
You are using pip version 8.1.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.






El 28 mar. 2018, a las 09:23, John DeNisco (jdenisco) 
<jdeni...@cisco.com<mailto:jdeni...@cisco.com>> escribió:


Can you show the error?

Also, show the output from

# pip search vpp


From: <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> on behalf of Demian 
Pecile <dpec...@sietecapas.com.ar<mailto:dpec...@sietecapas.com.ar>>
Date: Wednesday, March 28, 2018 at 5:55 AM
To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] vpp-config fail to complete

Hi
When I run vpp-config, the script end with an error, and never end.
Do you know if its working with current version ?
Thanks
--
Demian Pecile
Siete Capas S.R.L.
Periodistas Neuquinos 136
Piso 4 - Dpto. A - 8300 Neuquen
Argentina
Tel +54-299-4479172
Cel. +549-299-5833500


--
Demian Pecile
Siete Capas S.R.L.
Periodistas Neuquinos 136
Piso 4 - Dpto. A - 8300 Neuquen
Argentina
Tel +54-299-4479172
Cel. +549-299-5833500


Reply via email to