/opt/stack/new/devstack/functions-common:1128 Keystone fail to get token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Invalid
|
Undecided
|
Unassigned | ||
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Note: the title doesn't seem to be relevant to the root cause here, but it should help people find this issue.
I've copied a few snippets from various logs that stand out to me, but the devstack-
http://
-- console.html --
2014-02-19 03:14:20.487 | 2014-02-19 03:14:17 ++ keystone token-get
2014-02-19 03:14:20.490 | 2014-02-19 03:14:17 ++ grep ' id '
2014-02-19 03:14:20.490 | 2014-02-19 03:14:17 ++ get_field 2
2014-02-19 03:14:20.500 | 2014-02-19 03:14:17 ++ read data
2014-02-19 03:14:20.501 | 2014-02-19 03:14:17 Could not find project, admin. (HTTP 401)
2014-02-19 03:14:20.503 | 2014-02-19 03:14:17 + TOKEN=
2014-02-19 03:14:20.516 | 2014-02-19 03:14:17 + die_if_not_set 1128 TOKEN 'Keystone fail to get token'
2014-02-19 03:14:20.531 | 2014-02-19 03:14:17 + local exitcode=0
2014-02-19 03:14:20.545 | 2014-02-19 03:14:17 ++ set +o
2014-02-19 03:14:20.560 | 2014-02-19 03:14:17 ++ grep xtrace
2014-02-19 03:14:20.563 | 2014-02-19 03:14:17 + FXTRACE='set -o xtrace'
2014-02-19 03:14:20.570 | 2014-02-19 03:14:17 + set +o xtrace
2014-02-19 03:14:20.578 | 2014-02-19 03:14:17 [Call Trace]
2014-02-19 03:14:20.579 | 2014-02-19 03:14:17 ./stack.
2014-02-19 03:14:20.579 | 2014-02-19 03:14:17 /opt/stack/
2014-02-19 03:14:20.579 | 2014-02-19 03:14:17 [ERROR] /opt/stack/
-- devstack-
+ sudo useradd -U -s /bin/bash -d /opt/stack/new -m stack
useradd: user 'stack' already exists
+ sudo useradd -U -s /bin/bash -d /opt/stack/
useradd: user 'tempest' already exists
-- devstack-
+ git fetch http://
fatal: Couldn't find remote ref refs/zuul/
Unexpected end of command stream
+ git_checkout openstack/keystone FETCH_HEAD
+ local project=
+ local branch=FETCH_HEAD
+ local reset_branch=
+ [[ FETCH_HEAD != \F\E\T\
+ git checkout FETCH_HEAD
error: The following untracked working tree files would be overwritten by checkout:
keystone/
keystone/
tools/
tools/
tools/
tools/
Please move or remove them before you can switch branches.
Aborting
The "useradd: user 'stack' already exists" error is harmless and was due to a sub-optimal refactor in devstack-gate that has since been fixed.
The git checkout error is unusual, but d-g handles that case with a reset and clean, so the correct ref was eventually checked out (in the log lines that immediately follow the excerpt).
So I don't think there's an infra bug here.