summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-10-01 11:50:48 -0400
committerScott Moser <smoser@ubuntu.com>2012-10-01 11:50:48 -0400
commitf8b23b39bdf8753986df9ecf5948ffd8e8fdee74 (patch)
tree2be0d98d9bba220b5e52564f393539009f5e1f4c /tools
parent497972223afd5193a40e3e9c4e69ce31319a1ebc (diff)
downloadvyos-cloud-init-f8b23b39bdf8753986df9ecf5948ffd8e8fdee74.tar.gz
vyos-cloud-init-f8b23b39bdf8753986df9ecf5948ffd8e8fdee74.zip
fix oauth time skew. actual implementation was returning 401 not 403.
This fixes (tested) bug 978127. The server was actually returning a 401 not a 403. As such, the fix here was insufficient. This will now take either of those 2 error codes. I've also tested it by changing the clock in the cloud-init upstart job with a stanza like below, and verifying that we do see the problem and then it resolve itself: pre-start script offset="10 minutes ago" past=$(date -R --date "$offset") date --set "$past" && echo ===== "set date to $past [$offset]" ===== || echo ===== "failed to set date to $past [$offset]" ==== end script LP: #978127
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions