Now we need to create the required services which the users can authenticate with. nova-compute, nova-volume, glance, swift, keystone and ec2 are some of the services that we create.
keystone service-create --name service_name --type service_type --description 'Description of the service'
keystone service-create --name nova --type compute --description 'OpenStack Compute Service' keystone service-create --name volume --type volume --description 'OpenStack Volume Service' keystone service-create --name glance --type image --description 'OpenStack Image Service' keystone service-create --name swift --type object-store --description 'OpenStack Storage Service' keystone service-create --name keystone --type identity --description 'OpenStack Identity Service' keystone service-create --name ec2 --type ec2 --description 'EC2 Service'
Each of the services that have been created above will be identified with a unique id which can be obtained from the following command:
keystone service-list +----------------------------------+----------+--------------+----------------------------+ | id | name | type | description | +----------------------------------+----------+--------------+----------------------------+ | 1e93ee6c70f8468c88a5cb1b106753f3 | nova | compute | OpenStack Compute Service | | 28fd92ffe3824004996a3e04e059d875 | ec2 | ec2 | EC2 Service | | 7d4ec192dfa1456996f0f4c47415c7a7 | keystone | identity | OpenStack Identity Service | | 96f35e1112b143e59d5cd5d0e6a8b22d | swift | object-store | OpenStack Storage Service | | f38f4564ff7b4e43a52b2f5c1b75e5fa | volume | volume | OpenStack Volume Service | | fbafab6edcab467bb734380ce6be3561 | glance | image | OpenStack Image Service | +----------------------------------+----------+--------------+----------------------------+
The 'id' will be used in defining the endpoint for that service.
