deployment occasionally breaks with this error: 401 UNAUTHORIZED Nonce already used

Bug #1234971 reported by David Britton
This bug report is a duplicate of:  Bug #1190986: [SRU] ERROR Nonce already used. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Confirmed
Undecided
David Britton

Bug Description

This happens periodically, but is very annoying when it does, since juju doesn't seem to retry it, and I can't do anything to fix it other than destroying the node. Back 6 months ago when I was using an older version of MAAS, I would get this Nonce error showing up during random juju

This is maas/juju-core from the UCA:

ubuntu@peuchen:~/src$
ubuntu@peuchen:~/src$ juju^C
ubuntu@peuchen:~/src$ juju status juju-gui
environment: maas
machines:
  "19":
    agent-state-info: '(error: could not access file ''tools/juju-1.14.1-precise-i386.tgz'':
      gomaasapi: got error back from server: 401 UNAUTHORIZED (Nonce already used:
      33410643))'
    instance-id: pending
    series: precise
services:
  juju-gui:
    charm: local:precise/juju-gui-80
    exposed: false
    units:
      juju-gui/0:
        agent-state: pending
        machine: "19"
ubuntu@peuchen:~/src$ juju status | less
ubuntu@peuchen:~/src$
ubuntu@peuchen:~/src$ juju get swift-storage-z1^C
ubuntu@peuchen:~/src$
ubuntu@peuchen:~/src$ ls
openstack-ha openstack-ubuntu-testing precise
ubuntu@peuchen:~/src$ juju^C
ubuntu@peuchen:~/src$ juju deploy --repository . local:juju-gui juju-gui-2
error: invalid service name "juju-gui-2"
ubuntu@peuchen:~/src$ juju deploy --repository . local:juju-gui juju-gui2
ubuntu@peuchen:~/src$ juju status juju-gui2
environment: maas
machines:
  "20":
    agent-state: pending
    dns-name: yq8af.master
    instance-id: /MAAS/api/1.0/nodes/node-e265f4a8-2c5e-11e3-8dff-2c59e59ad1e4/
    series: precise
services:
  juju-gui2:
    charm: local:precise/juju-gui-80
    exposed: false
    units:
      juju-gui2/0:
        agent-state: pending
        machine: "20"
ubuntu@peuchen:~/src$

Here is a log of my interaction

ubuntu@peuchen:~/src$ juju deploy --repository . local:juju-gui
ubuntu@peuchen:~/src$ juju status juju-gui
environment: maas
machines:
  "19":
    agent-state-info: '(error: could not access file ''tools/juju-1.14.1-precise-i386.tgz'':
      gomaasapi: got error back from server: 401 UNAUTHORIZED (Nonce already used:
      33410643))'
    instance-id: pending
    series: precise
services:
  juju-gui:
    charm: local:precise/juju-gui-80
    exposed: false
    units:
      juju-gui/0:
        agent-state: pending
        machine: "19"
ubuntu@peuchen:~/src$ juju deploy --repository . local:juju-gui juju-gui2
ubuntu@peuchen:~/src$ juju status juju-gui2
environment: maas
machines:
  "20":
    agent-state: pending
    dns-name: yq8af.master
    instance-id: /MAAS/api/1.0/nodes/node-e265f4a8-2c5e-11e3-8dff-2c59e59ad1e4/
    series: precise
services:
  juju-gui2:
    charm: local:precise/juju-gui-80
    exposed: false
    units:
      juju-gui2/0:
        agent-state: pending
        machine: "20"
ubuntu@peuchen:~/src$

Tags: theme-oil
Revision history for this message
David Britton (dpb) wrote :

assigned to me since we are still triaging.

Changed in maas:
assignee: nobody → David Britton (davidpbritton)
status: New → Confirmed
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.