before 'return True' in the above snippet, I added:

            import pprint
            print "%s\n%s\n%s" % ("==== begin userdata_raw ====", 
self.userdata_raw, "==== end userdata_raw ====")
            print "%s\n%s\n%s" % ("==== begin metadata ====", 
pprint.pprint(self.metadata), "==== end metadata ====")
            return True

We saw the error, and see in the console:
WARNING:INSTANCE i-489C08A5:==== begin userdata_raw ====
WARNING:INSTANCE i-489C08A5:
WARNING:INSTANCE i-489C08A5:==== end userdata_raw ====
WARNING:INSTANCE i-489C08A5:{}
WARNING:INSTANCE i-489C08A5:==== begin metadata ====
WARNING:INSTANCE i-489C08A5:None
WARNING:INSTANCE i-489C08A5:==== end metadata ====

As far as I can tell, that means the metadata service was up (ie,
something was at port 80 169.254.169.254 and it returned valid http with
empty data)

-- 
UEC guests sometimes fail on consuming user data
https://bugs.launchpad.net/bugs/566792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to