latest devstack install ocata fail

Bug #1710445 reported by jinke
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Expired
Undecided
Unassigned

Bug Description

env:
vm os;CentOS Linux release 7.3.1611 (Core)
vm kernel version:Linux localhost.localdomain 3.10.0-514.el7.x86_64

1. I install ocata on kvm machine using latest devstack, but it always fail when start keystone.
error as below:
2017-08-13 05:19:09.136 | +./stack.sh:main:1128 create_keystone_accounts
2017-08-13 05:19:09.141 | +lib/keystone:create_keystone_accounts:329 local admin_project
2017-08-13 05:19:09.147 | ++lib/keystone:create_keystone_accounts:330 oscwrap project show admin -f value -c id
2017-08-13 05:19:09.152 | ++functions-common:oscwrap:2530 local out
2017-08-13 05:19:09.158 | ++functions-common:oscwrap:2531 local rc
2017-08-13 05:19:09.163 | ++functions-common:oscwrap:2532 local start
2017-08-13 05:19:09.168 | ++functions-common:oscwrap:2533 local end
2017-08-13 05:19:09.173 | +++functions-common:oscwrap:2537 date +%s%3N
2017-08-13 05:19:09.179 | ++functions-common:oscwrap:2537 start=1502601549174
2017-08-13 05:19:09.185 | +++functions-common:oscwrap:2538 command openstack project show admin -f value -c id
2017-08-13 05:19:09.190 | +++functions-common:oscwrap:2538 openstack project show admin -f value -c id
2017-08-13 05:19:12.131 | Failed to discover available identity versions when contacting http://192.168.100.124/identity. Attempting to parse version from URL.
2017-08-13 05:19:12.131 | Could not determine a suitable URL for the plugin
2017-08-13 05:19:12.194 | ++functions-common:oscwrap:2538 out=
2017-08-13 05:19:12.201 | ++functions-common:oscwrap:2539 rc=1
2017-08-13 05:19:12.206 | +++functions-common:oscwrap:2540 date +%s%3N
2017-08-13 05:19:12.213 | ++functions-common:oscwrap:2540 end=1502601552207
2017-08-13 05:19:12.218 | ++functions-common:oscwrap:2541 echo 3033
2017-08-13 05:19:12.223 | ++functions-common:oscwrap:2543 echo ''
2017-08-13 05:19:12.228 | ++functions-common:oscwrap:2544 return 1
2017-08-13 05:19:12.233 | +lib/keystone:create_keystone_accounts:330 admin_project=
2017-08-13 05:19:12.238 | +lib/keystone:create_keystone_accounts:1 exit_trap
2017-08-13 05:19:12.243 | +./stack.sh:exit_trap:521 local r=1
2017-08-13 05:19:12.249 | ++./stack.sh:exit_trap:522 jobs -p
2017-08-13 05:19:12.254 | +./stack.sh:exit_trap:522 jobs=
2017-08-13 05:19:12.259 | +./stack.sh:exit_trap:525 [[ -n '' ]]
2017-08-13 05:19:12.264 | +./stack.sh:exit_trap:531 '[' -f /tmp/tmp.ZdCkGUoj1b ']'
2017-08-13 05:19:12.269 | +./stack.sh:exit_trap:532 rm /tmp/tmp.ZdCkGUoj1b
2017-08-13 05:19:12.279 | +./stack.sh:exit_trap:536 kill_spinner
2017-08-13 05:19:12.284 | +./stack.sh:kill_spinner:417 '[' '!' -z '' ']'
2017-08-13 05:19:12.289 | +./stack.sh:exit_trap:538 [[ 1 -ne 0 ]]
2017-08-13 05:19:12.294 | +./stack.sh:exit_trap:539 echo 'Error on exit'
2017-08-13 05:19:12.294 | Error on exit
2017-08-13 05:19:12.299 | +./stack.sh:exit_trap:540 generate-subunit 1502599798 1754 fail
2017-08-13 05:19:13.078 | +./stack.sh:exit_trap:541 [[ -z /opt/stack/logs ]]
2017-08-13 05:19:13.084 | +./stack.sh:exit_trap:544 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2017-08-13 05:19:13.860 | +./stack.sh:exit_trap:550 exit 1
[stack@localhost devstack]$ curl -g -k --noproxy '*' -s -o /dev/null -w '%{http_code}' http://192.168.100.124/identity/v3/

3. install step
useradd -s /bin/bash -d /opt/stack -m stack
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
su - stack
./stack.sh
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack
config local.conf
./stack.sh

local.conf:
[[local|localrc]]

# use TryStack git mirror
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git

#OFFLINE=True
RECLONE=True

# Define images to be automatically downloaded during the DevStack built process.
#DOWNLOAD_DEFAULT_IMAGES=False
#IMAGE_URLS="http://images.trystack.cn/cirros/cirros-0.3.4-x86_64-disk.img"

HOST_IP=192.168.100.124

ADMIN_PASSWORD=123456
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

HORIZON_BRANCH=stable/ocata
KEYSTONE_BRANCH=stable/ocata
NOVA_BRANCH=stable/ocata
NEUTRON_BRANCH=stable/ocata
GLANCE_BRANCH=stable/ocata
CINDER_BRANCH=stable/ocata
#keystone
KEYSTONE_TOKEN_FORMAT=UUID

##Heat
HEAT_BRANCH=stable/mitaka
enable_service h-eng h-api h-api-cfn h-api-cw

# Enabling Neutron (network) Service
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-metering
enable_service neutron

## Neutron options
Q_USE_SECGROUP=True
FLOATING_RANGE="192.168.27.0/24"
FIXED_RANGE="10.0.0.0/24"
Q_FLOATING_ALLOCATION_POOL=start=192.168.27.102,end=192.168.27.110
PUBLIC_NETWORK_GATEWAY="192.168.27.2"
Q_L3_ENABLED=True
PUBLIC_INTERFACE=eth0
Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex

# #VLAN configuration.
Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True

# Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

3. but I download devstack-stable-ocata.zip from https://github.com/openstack-dev/devstack/tree/stable/ocata, and reinstalling on the same vm succeed

So I want to confirm whether it is a bug or not, thanks

Revision history for this message
Aizuddin Zali (mymzbe) wrote :

What was your git clone command ? Did you checked out stable/ocata branch?

Changed in devstack:
assignee: nobody → Aizuddin Zali (mymzbe)
status: New → Incomplete
Changed in devstack:
assignee: Aizuddin Zali (mymzbe) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devstack because there has been no activity for 60 days.]

Changed in devstack:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.