ddclient 3.8.2-2ubuntu2 causes networking to fail on GCE

Asked by Dwight Lyle

Regardless of the /etc/ddclient.conf settings, simply installing the ddclient 3.8.2-2ubuntu2 package causes networking to completely fail after restarting an instance on Google Compute Engine (GCE). The serial console outputs the following errors repeatedly:

May 2 22:36:37 ubuntu-test kernel: [ 139.218755] ll header: 00000000: 42 01 0a f0 00 17 42 01 0a f0 00 01 08 00 B.....B.......
May 2 22:36:37 ubuntu-test kernel: [ 139.292581] IPv4: martian source x.x.x.x from x.x.x.x, on dev ens4

I tested this on two GCE images.

ubuntu-1604-xenial-v20170330
ubuntu-1604-xenial-v20160429

This does not seem to be a GCE bug because other Ubuntu images work fine with ddclient and function as expected.

ubuntu-1704-zesty-v20170413 with ddclient 3.8.3-1.1ubuntu1
ubuntu-1404-trusty-v20170424 with ddclient 3.8.1-1ubuntu2

Steps to reproduce:
1. Create a new network (not a legacy network) with default ports (22 for SSH etc).
2. Create a new Ubuntu instance using a 1604 image from GCE.
3. SSH into the instance and install ddclient. Set the config file with any contents.
4. Restart the instance.
5. Try to SSH to the instance or look at the serial console output to see the errors.

Release info:
Description: Ubuntu 16.04.2 LTS
Release: 16.04

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Dwight Lyle
Solved:
Last query:
Last reply:
Revision history for this message
Dwight Lyle (dwightjl) said :
#1

I was able to revive my instance by attaching the boot disk to another instance and deleting the files in the package file list: http://packages.ubuntu.com/xenial/all/ddclient/filelist

The instance started up with functional networking like normal and I was able to complete the uninstall process with apt-get.

Revision history for this message
Dwight Lyle (dwightjl) said :
#2

I was able to get ddclient running by installing 3.8.3 from the Zesty repository.

1. Edit /etc/apt/sources.list and added the following line:

         deb http://archive.ubuntu.com/ubuntu zesty universe

2. Install ddclient 3.8.3 from Zesty.

          sudo apt-get update && sudo apt-get install ddclient/zesty

Still wondering if we need to open a bug against the package in the Xenial repository.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Sounds like a bug to me. Please report it.

Revision history for this message
Dwight Lyle (dwightjl) said :
#4