devstack network-sfc

asked 2016-04-05 02:41:31 -0500

jonnybomb gravatar image

Hi, I'm trying to implement service function chaining in DevStack.

I followed https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining (this tutoriel) step by step but it doesn't work. I have a strange error. I Hope you will/can help me figure it out.

here are my local.conf file:

[[local|localrc]]
SERVICE_TOKEN=tata
ADMIN_PASSWORD=tata
MYSQL_PASSWORD=tata
RABBIT_PASSWORD=tata
SERVICE_PASSWORD=tata

HOST_IP=My_Srv_IP
SERVICE_HOST=My_Srv_IP
SYSLOG=True
SYSLOG_HOST=My_Srv_IP
SYSLOG_PORT=516

LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=2

disable_service tempest

RECLONE=no
PIP_UPGRADE=False

MULTI_HOST=TRUE

# Disable Nova Networking
disable_service n-net

# Disable Nova Compute
#disable_service n-cpu

# Enable Neutron
ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3

# Cinder
disable_service c-api
disable_service c-sch
disable_service c-vol

# Disable security groups
Q_USE_SECGROUP=False
LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver

enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc stable/liberty

what i get when i do ./stack.sh :

2016-03-31 14:19:48.017 | [Call Trace]
2016-03-31 14:19:48.017 | ./stack.sh:1198:start_neutron_service_and_check
2016-03-31 14:19:48.017 | /opt/stack/devstack/lib/neutron-legacy:691:test_with_retry
2016-03-31 14:19:48.017 | /opt/stack/devstack/functions-common:2104:die
2016-03-31 14:19:48.020 | [ERROR] /opt/stack/devstack/functions-common:2104 Neutron did not start
2016-03-31 14:19:49.024 | Error on exit

tail -30 /var/log/syslog:

Apr 1 10:26:50 localhost neutron-server: Logging enabled!
Apr 1 10:26:50 localhost neutron-server: /usr/local/bin/neutron-server version 7.0.5.dev20
Apr 1 10:26:50 localhost neutron-server: command line: /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
Apr 1 10:26:50 localhost neutron-server: Unrecoverable error: please check log for details.
Apr 1 10:26:50 localhost neutron-server: TypeError: syslog facility must be one of:

q-svc.log:

stack@server:/opt/stack/devstack$ /usr/local/bin/neutron-server --config-file /e
tc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini & ec
ho $! >/opt/stack/status/stack/q-svc.pid; fg || echo "q-svc failed to start" | t
ee "/opt/stack/status/stack/q-svc.failure"
[1] 2192
/usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_con$
No handlers could be found for logger "oslo_config.cfg"
2016-04-01 10:26:50.401 2192 INFO neutron.common.config [-] Logging enabled!
2016-04-01 10:26:50.402 2192 INFO neutron.common.config [-] /usr/local/bin/neutron-server version 7.0.5.dev20
2016-04-01 10:26:50.402 2192 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-server --config-fi$
Unrecoverable error: please check log for details.
Traceback (most recent call last):
  File "/opt/stack/neutron/neutron/service.py", line 102, in serve_wsgi
    service = cls.create()
  File "/opt/stack/neutron/neutron/service.py", line 94, in create
    config.setup_logging()
  File "/opt/stack/neutron/neutron/common/config.py", line 220, in setup_logging
    logging.setup(cfg.CONF, product_name)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/log.py", line 246, in setup
    _setup_logging_from_conf(conf, product_name, version)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/log.py", line 337, in _setup_logging_from_conf
    facility = _find_facility(conf.syslog_log_facility)
  File ...
(more)
edit retag flag offensive close merge delete