← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1729906] Re: net-convert.py tool broken/stale - No module named 'configobj

 

James,

The missing module isi provided in ubuntu by python3-configobj. That
would be installed as a dependency of cloud-init.

If you have an ubuntu image up with cloud-init installed, then the net-
convert.py should "just work".

Please re-open bug if it does not.

** Changed in: cloud-init
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1729906

Title:
  net-convert.py tool broken/stale - No module named 'configobj

Status in cloud-init:
  Invalid

Bug description:
  Trying to use the `net-convert.py` tool, it seems its a bit crufty, to
  the point that it is broken.


  ./net-convert.py --network-data /home/ubuntu/virsh_isos/xenial_0/network-config --kind yaml --output-kind sysconfig -d target
  Traceback (most recent call last):
    File "./net-convert.py", line 14, in <module>
      from cloudinit.net import sysconfig
    File "/home/ubuntu/cloud-init/cloudinit/net/sysconfig.py", line 8, in <module>
      from cloudinit.distros.parsers import networkmanager_conf
    File "/home/ubuntu/cloud-init/cloudinit/distros/parsers/networkmanager_conf.py", line 7, in <module>
      import configobj
  ImportError: No module named 'configobj'

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1729906/+subscriptions


References