[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853926: cloud-init depends on net-base



On Thu, Feb 02, 2017 at 02:22:12PM +0100, Thomas Goirand wrote:
> I don't see how Jessie would be affected, as there, net-base is
> still an essential package.

You are correct, and it certainly is installed into the AMIs in
question. I think the suggested cause is incorrect.


From the debug log:

Feb  3 13:41:13 localhost [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.7 running 'init' at Fri, 03 Feb 2017 02:41:13 +0000. Up 6.61 seconds.
Feb  3 13:41:13 localhost [CLOUDINIT] util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
Feb  3 13:41:13 localhost [CLOUDINIT] util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:4
Feb  3 13:41:13 localhost [CLOUDINIT] util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
Feb  3 13:41:13 localhost [CLOUDINIT] util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
Feb  3 13:41:13 localhost [CLOUDINIT] util.py[WARNING]: Route info failed: Unexpected error while running command.#012Command: ['netstat', '-rn']#012Exit code: 1#012Reason: -#012Stdout: 'Kernel IP routing table\nDestination     Gateway         Genmask         Flags   MSS Window  irtt Iface\n'#012Stderr: ''
Feb  3 13:41:13 localhost [CLOUDINIT] util.py[DEBUG]: Route info failed: Unexpected error while running command.#012Command: ['netstat', '-rn']#012Exit code: 1#012Reason: -#012Stdout: 'Kernel IP routing table\nDestination     Gateway         Genmask         Flags   MSS Window  irtt Iface\n'#012Stderr: ''#012Traceback (most recent call last):#012  File "/usr/lib/python3/dist-packages/cloudinit/netinfo.py", line 199, in route_pformat#012    routes = route_info()#012  File "/usr/lib/python3/dist-packages/cloudinit/netinfo.py", line 99, in route_info#012    (route_out, _err) = util.subp(["netstat", "-rn"])#012  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1684, in subp#012    cmd=args)#012cloudinit.util.ProcessExecutionError: Unexpected error while running command.#012Command: ['netstat', '-rn']#012Exit code: 1#012Reason: -#012Stdout: 'Kernel IP routing table\nDestination     Gateway         Genmask         Flags   MSS Window  irtt Iface\n'#012Stderr: ''


Standard output:

Cloud-init v. 0.7.7 running 'init-local' at Fri, 03 Feb 2017 02:41:12 +0000. Up 5.69 seconds.
Cloud-init v. 0.7.7 running 'init' at Fri, 03 Feb 2017 02:41:13 +0000. Up 6.61 seconds.
2017-02-03 13:41:13,763 - util.py[WARNING]: Route info failed: Unexpected error while running command.
Command: ['netstat', '-rn']
Exit code: 1
Reason: -
Stdout: 'Kernel IP routing table\nDestination     Gateway         Genmask         Flags   MSS Window  irtt Iface\n'
Stderr: ''
ci-info: +++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+----------------------------+-----------+-------+-------------------+
ci-info: | Device |  Up  |          Address           |    Mask   | Scope |     Hw-Address    |
ci-info: +--------+------+----------------------------+-----------+-------+-------------------+
ci-info: |   lo   | True |         127.0.0.1          | 255.0.0.0 |   .   |         .         |
ci-info: |   lo   | True |          ::1/128           |     .     |  host |         .         |
ci-info: |  eth0  | True |             .              |     .     |   .   | **:**:**:**:**:** |
ci-info: |  eth0  | True | ****::**:****:****:****/** |     .     |  link | **:**:**:**:**:** |
ci-info: +--------+------+----------------------------+-----------+-------+-------------------+
ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-Adam

Attachment: signature.asc
Description: Digital signature


Reply to: