Rate This Document
Findability
Accuracy
Completeness
Readability

Creating Service Credentials

Perform the following operations on controller nodes.

  1. Log in to the OpenStack CLI as the user admin.
    1
    source /etc/keystone/admin-openrc
    
  2. Create a neutron user and set a password.
    1
    openstack 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.

  3. Add the admin role to the neutron user.
    1
    openstack role add --project service --user neutron admin
    
  4. Create a neutron service entity.
    1
    openstack service create --name neutron --description "OpenStack Networking" network
    
  5. 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