Comment 21 for bug 1807615

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

By the way, Ed, in your cloud-init attachments https://bugs.launchpad.net/juju/+bug/1807615/comments/6 I can see the following:

  File "/usr/lib/python3/dist-packages/cloudinit/net/netplan.py", line 236, in _render_content
    if network_state.version == 2:
AttributeError: 'NoneType' object has no attribute 'version'

# ...

2018-12-15 07:21:08,859 - stages.py[WARNING]: Failed to rename devices: Failed to apply network config names. Found bad network config version: None

# ...
Cloud-init v. 18.4-0ubuntu1~18.04.1 running 'modules:config' at Sat, 15 Dec 2018 07:21:15 +0000. Up 9.00 seconds.

Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  Temporary failure resolving 'archive.ubuntu.com'

This has since been worked around in Juju

https://bugs.launchpad.net/juju/+bug/1804493
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1798117

and is coming as an SRU for cloud-init (not yet in main for bionic at the time of writing):

https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1813346

Could you use Juju 2.4.7 instead 2.4.4?