Skip to content

Instantly share code, notes, and snippets.

@prometheanfire
Created August 21, 2016 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prometheanfire/bc3d3f4808462886f13e9e2147b183ef to your computer and use it in GitHub Desktop.
Save prometheanfire/bc3d3f4808462886f13e9e2147b183ef to your computer and use it in GitHub Desktop.
failed run of stage init
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/cloudinit/cmd/main.py", line 530, in status_wrapper
ret = functor(name, args)
File "/usr/lib64/python3.4/site-packages/cloudinit/cmd/main.py", line 277, in main_init
init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
File "/usr/lib64/python3.4/site-packages/cloudinit/stages.py", line 631, in apply_network_config
netcfg, src = self._find_networking_config()
File "/usr/lib64/python3.4/site-packages/cloudinit/stages.py", line 618, in _find_networking_config
if self.datasource and hasattr(self.datasource, 'network_config'):
File "/usr/lib64/python3.4/site-packages/cloudinit/sources/DataSourceConfigDrive.py", line 159, in network_config
self.network_json, known_macs=self.known_macs)
File "/usr/lib64/python3.4/site-packages/cloudinit/sources/helpers/openstack.py", line 608, in convert_net_json
known_macs = net.get_interfaces_by_mac()
File "/usr/lib64/python3.4/site-packages/cloudinit/net/__init__.py", line 365, in get_interfaces_by_mac
mac = get_interface_mac(name)
File "/usr/lib64/python3.4/site-packages/cloudinit/net/__init__.py", line 350, in get_interface_mac
return read_sys_net(ifname, "address", enoent=False)
File "/usr/lib64/python3.4/site-packages/cloudinit/net/__init__.py", line 37, in read_sys_net
contents = util.load_file(sys_dev_path(devname, path))
File "/usr/lib64/python3.4/site-packages/cloudinit/util.py", line 1198, in load_file
with open(fname, 'rb') as ifh:
NotADirectoryError: [Errno 20] Not a directory: '/sys/class/net/bonding_masters/address'
------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment