We have resolved the issue by just not base64 decoding;
- if 'random_seed' in metadata:
- random_seed = metadata['random_seed']
- try:
- metadata['random_seed'] = base64.b64decode(random_seed)
- except (ValueError, TypeError) as e:
- raise BrokenMetadata("Badly formatted metadata"
- " random_seed entry: %s" % e)
Could somebody help me with some information about why we try to get the random_seed and interpret it?
I can't figure it out; the commit where this was added was the same as the initial Openstack. Openstack documentation doesn't say if we should be injecting this somewhere either.
I'm trying to understand how this bug is considered fixed by the following commit; https:/ /git.launchpad. net/cloud- init/commit/ ?id=067516d7
We have resolved the issue by just not base64 decoding; 'random_ seed'] 'random_ seed'] = base64. b64decode( random_ seed) "Badly formatted metadata"
- if 'random_seed' in metadata:
- random_seed = metadata[
- try:
- metadata[
- except (ValueError, TypeError) as e:
- raise BrokenMetadata(
- " random_seed entry: %s" % e)
Could somebody help me with some information about why we try to get the random_seed and interpret it?
I can't figure it out; the commit where this was added was the same as the initial Openstack. Openstack documentation doesn't say if we should be injecting this somewhere either.