Service Function Chaining is supported in newton release (Not Devstack)?
Service Function Chaining is supported in newton release? I'm using openstack newton in centos 7. I follow this document to do the install http://docs.openstack.org/newton/install-guide-rdo/ but changing the linuxbridge to openvswitch (http://docs.openstack.org/newton/networking-guide/deploy-ovs-selfservice.html).
All installation work fine and is stable. All openstack and neutron command work fine. I want to try SFC in my lab.
To install SFC I follow this guide http://docs.openstack.org/developer/n... and using "pip install networking-sfc
" in controller node (where I have neutron).
After that, when execute all neutron command, receive the message "An auth plugin is required to fetch a token"
.
Openstack command now show warning "WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/lib/python2.7/site-packages/designateclient/osc/plugin.py"
[root@os-controller-1 ~]# . admin-openrc
[root@os-controller-1 ~]# neutron port-pair-create --description "VNF 1" --ingress p1 --egress p2 PP1
An auth plugin is required to fetch a token
[root@os-controller-1 ~]# neutron port-create --name p3 net1
An auth plugin is required to fetch a token
[root@os-controller-1 ~]# openstack service list
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/lib/python2.7/site-packages/designateclient/osc/plugin.py
+----------------------------------+----------+----------+
| ID | Name | Type |
+----------------------------------+----------+----------+
| 087febad22a54ccba0e5db2e75f0abf1 | nova | compute |
| 4a15d32ff5cf40f5bf016db31460f66d | keystone | identity |
| 9b916429cd5e4f2a9023361387bed606 | neutron | network |
| fe46ce4b2e784f1a9422fdb794d2668c | glance | image |
+----------------------------------+----------+----------+
[root@os-controller-1 ~]# openstack port show p1
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils. This warning is caused by an out-of-date import in /usr/lib/python2.7/site-packages/designateclient/osc/plugin.py
__init__() got an unexpected keyword argument 'additional_headers'
[root@os-controller-1 ~]#
New 1/13/2017
keystone_authtoken section from neutron.conf (Remove all comments):
[keystone_authtoken]
auth_uri = http://os-controller-1:5000
auth_url = http://os-controller-1:35357
memcached_servers = os-controller-1:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = XXXXXX
file demo-openrc:
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=demo
export OS_USERNAME=demo
export OS_PASSWORD=XXXXXX
export OS_AUTH_URL=http://os-controller-1:5000/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
file admin-openrc:
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=XXXXXX
export OS_AUTH_URL=http://os-controller-1:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
Before SFC install "pip install networking-sfc"
[root@os-controller-1 ~]# . demo-openrc
[root@os-controller-1 ~]# neutron port-create --name p1 net1
Created a new port:
+-----------------------+------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:vnic_type | normal |
| created_at | 2017-01-13T16:46:34 |
| description | |
| device_id | |
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": |
| | "73d0fcd9-2dbb-4028-8bd2-6252dd3977ee", |
| | "ip_address": "10.10.0.4"} |
| id | 256c617e-0f3e-41d3-b219-8e865170cdc6 |
| mac_address | fa:16:3e:69:e7:12 |
| name | p1 |
| network_id | 9df0168f-4e3f-4051-bb40-2ba1a216ce25 |
| port_security_enabled | True |
| security_groups | 20460214-5ef2-4ec0-a8d5-0b1518281f36 |
| status | DOWN |
| tenant_id | 8c474052f6124915a6d38b898988ebe5 |
| updated_at | 2017-01-13T16:46:34 |
+-----------------------+------------------------------------------------------+
After SFC install (command "yum install python-pip" and "pip install networking-sfc")
[root@os-controller-1 ~]# . demo-openrc
[root@os-controller-1 ~]# neutron port-create --name p4 net1
An auth plugin is required to fetch a token
[root@os-controller-1 ~]#
could you paste your keystone_authtoken section from neutron.conf?
Eduardo, I add the requested information. neutron.conf was the same before and after SFC installation. Add as well content of demo-openrc and admin-openrc files. If you need anything else let me know