[Maas-devel] Nonce already used

Ryan Harper ryan.harper at canonical.com
Thu Jul 10 22:21:21 UTC 2014


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 at canonical.com>
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 at canonical.com>
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20140710/eb6913b7/attachment.html>


More information about the Maas-devel mailing list