maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #01812
Re: Nonce already used
On 11/07/14 08:21, Ryan Harper wrote:
> 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
Can you point me at the branch please? It's worth getting into the
1.6.0 release, especially if it helps the OIL.
Follow ups
References