Neutron VS Keystone
I installed OpenStack in 3 nodes :
- 1 controller
- 1 compute
- 1 network
When I run neutron agent-list
or
openstack network list
This is the out put in /var/log/neutron/neutron-server.log
2016-12-08 10:39:50.291 20205 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-12-08 10:39:50.303 20205 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-12-08 10:39:50.305 20205 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data
My config file :
/etc/neutron/neutron.conf
[DEFAULT]
verbose = True
debug = True
auth_strategy = keystone
core_plugin = ml2
rpc_backend = rabbit
service_plugins = router
bind_host = 0.0.0.0
[keystone_authtoken]
auth_url = http://controller01:35357
auth_uri = http://controller01:5000
memcached_servers = controller01:11211
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = neutron
password = neutron
[database]
connection = mysql://neutron:neutron@controller01/neutron
[oslo_messaging_rabbit]
rabbit_host = controller01
rabbit_userid = openstack
rabbit_password = rabbit
[nova]
auth_url = http://controller01:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = regionOne
project_name = service
username = nova
password = nova
[oslo_concurrency]
lock_path = /var/lock/neutron
my openstackrc
file
export OS_URL=http://controller01:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_PROJECT_NAME=admin
export OS_PROJECT_DOMAIN_NAME=default
export OS_USERNAME=admin
export OS_USER_DOMAIN_NAME=default
export OS_PASSWORD=admin
#export OS_IMAGE_API_VERSION=2
export MY_PRIVATE_IP=controller01
I guess admin credentials were not sourced.
no no it is sourced because other commands like
openstack user list
orglance image-list
works but with neutron it saysCheck status of Neutron Server && /var/log/neutron/* .log all of them , specially server.log.
Check status of neutron-server service . Looks like it is down.
root@controller01:/etc/nova# ps -ef | grep neutron