/opt/stack/new/devstack/functions-common:1128 Keystone fail to get token

Bug #1281902 reported by Dolph Mathews
6
This bug affects 1 person
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-gate-setup-* failures are the most suspect AFAICT.

http://logs.openstack.org/37/69137/5/check/check-tempest-dsvm-postgres-full/3cf2f41/

-- 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.sh:1128:die_if_not_set
2014-02-19 03:14:20.579 | 2014-02-19 03:14:17 /opt/stack/new/devstack/functions-common:212:die
2014-02-19 03:14:20.579 | 2014-02-19 03:14:17 [ERROR] /opt/stack/new/devstack/functions-common:1128 Keystone fail to get token

-- devstack-gate-setup-host.txt --

+ 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/new/tempest -m tempest
useradd: user 'tempest' already exists

-- devstack-gate-setup-workspace-new.txt --

+ git fetch http://zm01.openstack.org/p/openstack/marconi refs/zuul/master/Z8cc999b87e114ba792987bcef0fbdc72
fatal: Couldn't find remote ref refs/zuul/master/Z8cc999b87e114ba792987bcef0fbdc72
Unexpected end of command stream

+ git_checkout openstack/keystone FETCH_HEAD
+ local project=openstack/keystone
+ local branch=FETCH_HEAD
+ local reset_branch=FETCH_HEAD
+ [[ FETCH_HEAD != \F\E\T\C\H\_\H\E\A\D ]]
+ git checkout FETCH_HEAD
error: The following untracked working tree files would be overwritten by checkout:
 keystone/openstack/common/config/__init__.py
 keystone/openstack/common/config/generator.py
 tools/config/README
 tools/config/check_uptodate.sh
 tools/config/generate_sample.sh
 tools/config/oslo.config.generator.rc
Please move or remove them before you can switch branches.
Aborting

Revision history for this message
James E. Blair (corvus) wrote :

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.

Changed in openstack-ci:
status: New → Fix Released
status: Fix Released → Invalid
Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: New → Invalid
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.