Fixup the manual devstack guide

The guide has been outdated and a contributor reported that it
didn't work. This commit is for fixing it.

Change-Id: I58bb55319aa005837eba5e0b047dc6f196be01b4
This commit is contained in:
Hongbin Lu 2017-02-16 18:28:10 -06:00
parent 68946f7182
commit 95403d183a

View File

@ -65,7 +65,7 @@ Clone and install zun::
cd ~
git clone https://git.openstack.org/openstack/zun
cd zun
sudo pip install -e .
sudo pip install -c /opt/stack/requirements/upper-constraints.txt -e .
Configure zun::
@ -114,6 +114,7 @@ Configure zun::
iniset $ZUN_CONF keystone_authtoken password password
iniset $ZUN_CONF keystone_authtoken project_name service
iniset $ZUN_CONF keystone_authtoken auth_url ${OS_AUTH_URL/v2.0/v3}
iniset $ZUN_CONF keystone_authtoken auth_uri ${OS_AUTH_URL/v2.0/v3}
iniset $ZUN_CONF keystone_authtoken auth_version v3
iniset $ZUN_CONF keystone_authtoken auth_type password
iniset $ZUN_CONF keystone_authtoken user_domain_id default
@ -124,7 +125,7 @@ Clone and install the zun client::
cd ~
git clone https://git.openstack.org/openstack/python-zunclient
cd python-zunclient
sudo pip install -e .
sudo pip install -c /opt/stack/requirements/upper-constraints.txt -e .
Install docker::
@ -144,11 +145,12 @@ Configure the keystone endpoint::
openstack service create --name=zun \
--description="Zun Container Service" \
container
openstack endpoint create --publicurl http://127.0.0.1:9512/v1 \
--adminurl http://127.0.0.1:9512/v1 \
--internalurl http://127.0.0.1:9512/v1 \
--region=RegionOne \
container
openstack endpoint create --region RegionOne container public \
http://127.0.0.1:9512/v1
openstack endpoint create --region RegionOne container internal \
http://127.0.0.1:9512/v1
openstack endpoint create --region RegionOne container admin \
http://127.0.0.1:9512/v1
Start the API service in a new screen::