Creating Service Credentials
Perform the following operations on controller nodes.
- Log in to the OpenStack CLI as the user admin.
1source /etc/keystone/admin-openrc
- Create a neutron user and set a password.
1openstack user create --domain default --password-prompt neutron
The password for the neutron user must be the same as the password for accessing the Neutron database described in section Creating the Neutron Database.
- Add the admin role to the neutron user.
1openstack role add --project service --user neutron admin
- Create a neutron service entity.
1openstack service create --name neutron --description "OpenStack Networking" network
- Create API endpoints of the network servers.
1 2 3
openstack endpoint create --region RegionOne network public http://controller:9696 openstack endpoint create --region RegionOne network internal http://controller:9696 openstack endpoint create --region RegionOne network admin http://controller:9696
Parent topic: Installing, Configuring, and Verifying Neutron