[Labs-l] Precise image updated

Tim Landscheidt tim at tim-landscheidt.de
Wed Dec 18 15:51:56 UTC 2013


I wrote:

> [...]

> When I create new instances in the Toolsbeta project (Pre-
> cise image, small and xsmall, no configuration), after
> building is complete:

> | scfc@:~$ sudo puppetd -tv
> | info: Creating a new SSL key for i-00000906.pmtpa.wmflabs
> | info: Caching certificate for i-00000906.pmtpa.wmflabs
> | err: Could not request certificate: The certificate retrieved from the master does not match the agent's private key.
> | Certificate fingerprint: 92:68:EB:8A:2C:C4:68:61:3B:FD:F6:C8:9E:41:B2:00
> | To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate.
> | On the master:
> |   puppet cert clean i-00000906.pmtpa.wmflabs
> | On the agent:
> |   rm -f /var/lib/puppet/ssl/certs/i-00000906.pmtpa.wmflabs.pem
> |   puppet agent -t

> | Exiting; failed to retrieve certificate and waitforcert is disabled
> | scfc@:~$

> The instance ID (906) remains the same, even though the ac-
> tual ID of the instance is for example 9d0.  Is this re-
> lated?

Apparently waiting about ten minutes resolves the issue; a
successful Puppet run seems to occur in between.

Tim




More information about the Labs-l mailing list