I just encountered this in precise MAAS, on brand new metal nodes which
had dates sometime in 2011.  Adding the NTP hack to the ephemeral image
helped get around it. (Thanks for the recipe, Jeff!  FYI, a public NTP
server can work just as well, ntp.ubuntu.com in my case.)

Scott Moser: "Basically, if we fail by 403 unauthorized, we set a "skew"
(skew = local_current_time - server_response_time) and future requests
will have the oauth header time adjusted by that skew."

Here's the problem though.  From what I saw, the MAAS server was
returning 401 because of the skewed oauth, not 403.  I can provide
tcpdump captures if desired.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/978127

Title:
  incorrect time on node causes failed oauth

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/978127/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to