maas throws unauthorized sometimes for no reason
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
juju-core |
Fix Released
|
Medium
|
Unassigned |
Bug Description
adam reported this on irc, he's running into it roughly half the time on automated testing deploys for openstack. This looks like its happening pretty early during provider storage validation, wnen the oauth token fails.
Started by command line by jenkins
Building on master in workspace /var/lib/
Copying file to pipeline_parameters
[workspace] $ /bin/sh -xe /tmp/hudson6223
+ . ./pipeline_
+ export OPENSTACK_
+ export INSTALLATION_
+ export PIPELINE_
+ export OPENSTACK_
+ export DEPLOY_
+ export UBUNTU_
+ export OPENSTACK_
+ /var/lib/
INFO:root:Archiving Jenkins job.
DEBUG:root:Checking env for parameter: PIPELINE_ID
DEBUG:root:Found: 929b8d1d-
DEBUG:root:Checking env for parameter: STATUS
DEBUG:root:Checking env for parameter: BUILD_TAG
DEBUG:root:Found: jenkins-
DEBUG:root:Checking env for parameter: PARENT_BUILD_TAG
DEBUG:root:Found: jenkins-
DEBUG:root:Checking env for parameter: OPENSTACK_BRANCH
DEBUG:root:Found: manual_trigger
DEBUG:root:Checking env for parameter: OPENSTACK_COMPONENT
DEBUG:root:Found: manual_trigger
DEBUG:root:Checking env for parameter: UBUNTU_RELEASE
DEBUG:root:Found: saucy
DEBUG:root:Checking env for parameter: OPENSTACK_RELEASE
DEBUG:root:Found: havana
DEBUG:root:Checking env for extra parameter: GIT_COMMIT
DEBUG:root:Checking env for extra parameter: AUTHOR
DEBUG:root:Checking env for extra parameter: BUILD_URL
DEBUG:root:Checking env for extra parameter: DEPLOYMENT
DEBUG:root:Checking env for extra parameter: DEPLOY_TOPOLOGY
DEBUG:root:Checking env for extra parameter: INSTALLATION_SOURCE
INFO:root:Test job saved: jenkins-
INFO:root:Archived job, pipeline id: 929b8d1d-
debug
[workspace] $ /bin/bash -ex /tmp/hudson8734
+ . ./pipeline_
++ export OPENSTACK_
++ OPENSTACK_
++ export INSTALLATION_
++ INSTALLATION_
++ export PIPELINE_
++ PIPELINE_
++ export OPENSTACK_
++ OPENSTACK_
++ export DEPLOY_
++ DEPLOY_
++ export UBUNTU_
++ UBUNTU_
++ export OPENSTACK_
++ OPENSTACK_
+ export DEPLOYMENT_
+ DEPLOYMENT_
+ export JUJU_ENVIRONMEN
+ JUJU_ENVIRONMEN
+ rm -rf openstack-
+ bzr branch lp:openstack-ubuntu-testing
Branched 495 revisions.
+ nosetests -svd openstack-
test_001_deploy (tests.
2013-08-29 23:15:58 [DEBUG] deployer.import: Getting charms...
2013-08-29 23:15:58 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/nova-compute/trunk @ saucy/nova-compute
2013-08-29 23:16:05 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/nova-cloud-controller/trunk @ saucy/nova-
2013-08-29 23:16:15 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/ceph/trunk @ saucy/ceph
2013-08-29 23:16:20 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/keystone/trunk @ saucy/keystone
2013-08-29 23:16:26 [DEBUG] deployer.charm: Branching charm lp:charms/rabbitmq-server @ saucy/rabbitmq
2013-08-29 23:16:31 [DEBUG] deployer.charm: Branching charm lp:charms/mysql @ saucy/mysql
2013-08-29 23:16:38 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/openstack-dashboard/trunk @ saucy/openstack
2013-08-29 23:16:43 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/cinder/trunk @ saucy/cinder
2013-08-29 23:16:49 [DEBUG] deployer.charm: Branching charm lp:~openstack-ubuntu-testing/charms/precise/glance/trunk @ saucy/glance
2013-08-29 23:16:56 [DEBUG] deployer.deploy: Resolving configuration
2013-08-29 23:16:56 [INFO] deployer.import: Deploying services...
2013-08-29 23:16:56 [INFO] deployer.import: Deploying service nova-compute using local:saucy/
2013-08-29 23:16:58 [DEBUG] deployer.import: Waiting for deploy delay
2013-08-29 23:17:03 [INFO] deployer.import: Deploying service nova-cloud-
2013-08-29 23:17:04 [ERROR] deployer.env: Error deploying service 'nova-cloud-
2013-08-29 23:17:04 [ERROR] deployer.env: Command (juju deploy -e maas --config /tmp/tmph9jbrV --repository=. local:saucy/
error: gomaasapi: got error back from server: 401 UNAUTHORIZED
tags: | added: maas |
tags: | added: intermittent-failure |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-core: | |
importance: | High → Medium |
Changed in juju-core: | |
status: | Triaged → Fix Released |
Changed in maas: | |
status: | Incomplete → Invalid |
Currently using maas 1.3+bzr1461+ dfsg-0ubuntu2. 2 from raring-proposed, but we've been seeing this for a while prior to upgrading.