cloud-init/cloudinit
Scott Moser 10c3781ab0 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
2012-10-01 11:50:48 -04:00
..
config Make byobu more tolerant of the user not being 2012-09-28 14:17:42 -07:00
distros Sync with head and fix conflicts. 2012-09-28 14:21:02 -07:00
filters improvements for launch index, one fix for cloud-archive 2012-09-01 20:00:34 -04:00
handlers fix pep8 complaints. 2012-08-22 14:12:32 -04:00
sources fix oauth time skew. actual implementation was returning 401 not 403. 2012-10-01 11:50:48 -04:00
__init__.py remove warning message to console on empty user-data 2012-06-28 13:10:56 -04:00
cloud.py Update so that the content types searched for launch-index 2012-08-27 10:56:47 -07:00
helpers.py Return a more useful name for the file lock (which shows what file is being locked). 2012-07-09 20:34:10 -07:00
importer.py 1. Add an importer function that will search for a given module in a set of search module 'prefixes' 2012-06-20 23:40:00 -07:00
log.py fix pep8 complaints. 2012-08-22 14:12:32 -04:00
netinfo.py Readd the original prefix to the netinfo (if provided). 2012-06-29 12:28:44 -07:00
patcher.py fix pylint 2012-09-24 16:59:23 -04:00
safeyaml.py fix pep8 and pylint 2012-09-28 16:35:53 -04:00
settings.py Add a 'none' datasource as a last resort fallback 2012-08-19 22:28:14 -07:00
signal_handler.py do not disable logging on signal 2012-09-19 16:33:56 -04:00
ssh_util.py Add support for printing out the authkey's for the default user. 2012-08-18 21:15:52 -07:00
stages.py do not create 'sems' directory. 'sem' is proper instance/ path 2012-09-24 14:45:31 -04:00
templater.py Revert back to using cheetah + adjust resultant code + templates 2012-07-09 16:41:45 -04:00
url_helper.py DataSourceMAAS: if a oauth request fails due to 403 try updating local time 2012-09-24 17:13:38 -04:00
user_data.py When a parts content type is found to be different than 2012-08-31 18:12:30 -07:00
util.py Sync with head and fix conflicts. 2012-09-28 14:21:02 -07:00
version.py Added a python file which can be used internally to determine the version of cloud init that is running for internal messaging, if desired 2012-06-15 17:39:42 -07:00