← Back to team overview

maas-devel team mailing list archive

Re: Nonce already used

 

There is an existing bug[1] and some nonce-cleanup changes coming (maas
will run nonce cleanup once a day IIRC).  In our heavily utilized MAAS in
OIL, it's not enough.

The 8 character nonce produces way too many collisions, we generated 65k
unique nonces in 30 minutes.

Greg (on CC) had a branch that replaced the none generator with
uuid.uuid4() which runs just as fast, but creates longer unique strings.


1. https://bugs.launchpad.net/maas/+bug/1190986



On Thu, Jul 10, 2014 at 5:11 PM, David Britton <david.britton@xxxxxxxxxxxxx>
wrote:

> I thought I saw this bug a while ago, but maybe it's different now.
> I've been running a bootstrap loop test (just keep bootstrapping over
> and over), and just hit the following:
>
> 2014-07-10 21:32:30 ERROR juju.provider.common bootstrap.go:119 bootstrap
> failed: refreshing addresses: gomaasapi: got error back from server: 401 OK
> (Nonce already used: 70320620)
>
> Should I file a bug?
>
>
>
> Full Log:
> ---------
>
> http://paste.ubuntu.com/7777233/
>
>
> Environment:
> ------------
>
> - Juju 1.20.1
> - Maas 1.5.2+bzr2282-0ubuntu0.2
> - Trusty
>
>
>
> Historical bug, maybe relevant?:
> --------------------------------
>
> https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1187704
> https://bugs.launchpad.net/maas/+bug/1190986
>
>
> --
> David Britton <david.britton@xxxxxxxxxxxxx>
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References