在controller节点执行以下操作。
1 | source /etc/keystone/admin-openrc |
1 | openstack user create --domain default --password-prompt nova |
1 | openstack role add --project service --user nova admin |
1 | openstack service create --name nova --description "OpenStack Compute" compute |
1 2 3 | openstack endpoint create --region RegionOne compute public http://controller:8774/v2.1 openstack endpoint create --region RegionOne compute internal http://controller:8774/v2.1 openstack endpoint create --region RegionOne compute admin http://controller:8774/v2.1 |