When deploying a node via juju2 and maas2, I see on /var/log/cloud-init-output.log
"""
Creating config file /etc/default/grub with new version
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-45-generic
Found initrd image: /boot/initrd.img-4.4.0-45-generic
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
done
Setting up grub-gfxpayload-lists (0.7) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Setting up swapspace version 1, size = 64 GiB (68719472640 bytes)
no label, UUID=c7d0c98c-ff0c-484e-910c-88e94554be85
Disabling IPv6 privacy extensions config may not apply. /tmp/tmpx9eidt44/target/etc/sysctl.d/10-ipv6-privacy.conf exists, but could not be read.
Traceback (most recent call last):
File "/curtin/curtin/commands/apply_net.py", line 140, in _disable_ipv6_privacy_extensions
contents = util.load_file(cfg)
File "/curtin/curtin/util.py", line 322, in load_file
return fp.read(read_len) if read_len else fp.read()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 277: ordinal not in range(128)
Replacing config file /etc/default/grub with new version
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-45-generic
"""
Deploy continues till completion.
$ dpkg-query -W maas
maas 2.0.0+bzr5189-0ubuntu1~16.04.1
$ dpkg-query -W juju
juju 1:2.0.0-0ubuntu1~16.04.2~juju1
$ lsb_release -d
Description: Ubuntu 16.04.1 LTS
Please let me know if you need further information.
Can you attach the target file contents?
etc/sysctl. d/10-ipv6- privacy. conf
What image was being deployed?