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.
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 state.version == 2:
if network_
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
# ... 18.04.1 running 'modules:config' at Sat, 15 Dec 2018 07:21:15 +0000. Up 9.00 seconds.
Cloud-init v. 18.4-0ubuntu1~
Err:1 http:// archive. ubuntu. com/ubuntu bionic InRelease ubuntu. com'
Temporary failure resolving 'archive.
This has since been worked around in Juju
https:/ /bugs.launchpad .net/juju/ +bug/1804493 /bugs.launchpad .net/ubuntu/ +source/ cloud-init/ +bug/1798117
https:/
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?