lp:~oddbloke/cloud-init/fix-azure

Created by Dan Watkins and last modified
Get this branch:
bzr branch lp:~oddbloke/cloud-init/fix-azure
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Watkins
Project:
cloud-init
Status:
Merged

Recent revisions

1061. By Dan Watkins

Read ovf-env.xml as bytes.

This should fix the Azure data source on Python 3, and is appropriate as
XML shouldn't really be read as a string.

1060. By Dan Watkins

Set LC_ALL=C for tox tests.

As Python 3 uses the locale it's running in to determine the encoding it
should use by default, we need this to (a) reproduce a problem we're
seeing on Azure, and (b) to have tests run consistently between
environments.

1059. By Scott Moser

fix usage of python2 'print'

1058. By Scott Moser

support for managing GPT partitions

Specifically, this is to support Azure's G-series VMs (which come with
disks up to 6500GB).

1057. By Scott Moser

tests/unittests/test_util.py: pep8

1056. By Scott Moser

mount_cb: fix scoping of an exception in python3

1055. By Scott Moser

some python3 fixes

This fixes the last set of WARN messages in my testing.
 * open /dev/console in text mode
 * move final message to be jinja template by default to avoid
   a warning about lack of cheetah.
 * write and read pickle'd contents in binary
 * some logging tests

Also:
 * add tool tox-venv for simple things like:
   tox-venv py34 /bin/bash

1054. By Scott Moser

python3 support.

This gives us functional python3 support. There are likely
still bugs, but instance boot on openstack is functional now.

1053. By Scott Moser

remove dependency on dmidecode on linux

on linux we can read dmi information from /sys rather than using
dmidecode binary, and thus removing a dependency.

1052. By Scott Moser

hostname: apply hostname same as is written

on RHEL, we were writing to persistent configuration the fqdn, but
invoking 'hostname' on the first boot with just the shortname. On 'reboot',
then the hostname would differ.

Now, whatever we write, invoke hostname with.

Also remove some duplicate code.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~cloud-init-dev/cloud-init/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers