Pod1 and RegionOne already exits after devstack installation

1. what is the problem?
    https://bugs.launchpad.net/trio2o/+bug/1795117
    Region Pod1 and RegionOne already exists after devstack installation

2. What is the solution to the problem?

   fix the bug in doc/source file installation guide

3. What the features to be implemented in the Trio2o to realize the solution?

   none

   Signed-off-by: zhangchi <zhangchi@szzt.com.cn>
   co-Authored-By: tangzhuo <ztang@hnu.edu.cn>

Change-Id: I8e127353e94b275981fbb654259325e8035ee2ea
This commit is contained in:
BruceChiZhang 2018-09-29 15:39:51 +08:00 committed by chzhang8
parent 3ea5c24e99
commit fdc50d86d9

View File

@ -66,12 +66,17 @@ installing DevStack in virtual machine.
- 8 Get token for the later commands. Run:: - 8 Get token for the later commands. Run::
openstack --os-region-name=RegionOne token issue token=$(openstack --os-region-name=RegionOne token issue | awk 'NR==5 {print $4}')
- 9 Create pod instances for the Trio2o to manage the mapping between - 9 GET pod instances for the Trio2o to manage the mapping between
availability zone and OpenStack instances, the "$token" is obtained in the availability zone and OpenStack instances, the "$token" is obtained in the
step 7:: step 7::
curl -X GET http://127.0.0.1:19996/v1.0/pods -H "Content-Type: application/json" \
-H "X-Auth-Token: $token"
if return empty results, use commands following::
curl -X POST http://127.0.0.1:19996/v1.0/pods -H "Content-Type: application/json" \ curl -X POST http://127.0.0.1:19996/v1.0/pods -H "Content-Type: application/json" \
-H "X-Auth-Token: $token" -d '{"pod": {"pod_name": "RegionOne"}}' -H "X-Auth-Token: $token" -d '{"pod": {"pod_name": "RegionOne"}}'
@ -218,7 +223,7 @@ Add another pod to Trio2o with DevStack
- 12 Get token for the later commands. Run:: - 12 Get token for the later commands. Run::
openstack --os-region-name=RegionOne token issue token=$(openstack --os-region-name=RegionOne token issue | awk 'NR==5 {print $4}')
- 13 Create Pod2 instances for the Trio2o to manage the mapping between - 13 Create Pod2 instances for the Trio2o to manage the mapping between
availability zone and OpenStack instances, the "$token" is obtained in the availability zone and OpenStack instances, the "$token" is obtained in the