[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-05-01 Thread David Favor
Upgrade was done at host/machine level only.

When this is done all containers fail.

https://github.com/lxc/lxd/issues/4510 covers more information.

There appear to be many problems with bionic + LXD.

** Bug watch added: LXD bug tracker #4510
   https://github.com/lxc/lxd/issues/4510

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-05-01 Thread Scott Moser
Hi David,
Thank you for the information.

Its not clear to me what the problem is.

Please answer:
   Which OS did you ugprade from artful to bionic?  The host? the container? 
both?

I just successfully attempted a upgrade from an artful lxd container to
bionic lxd container (my host is bionic, my lxd is from the snap
packaging of lxd version 3.0.0).

% lxc launch ubuntu-daily:artful a1
% lxc exec a1 -- do-release-upgrade -d
# say 'Y' (yes) several times, reboot
% lxc list a1
$ lxc list a1
+--+-+---+---++---+
| NAME |  STATE  | IPV4  | IPV6 
 |TYPE| SNAPSHOTS |
+--+-+---+---++---+
| a1   | RUNNING | 10.145.210.191 (eth0) | 
fd42:6470:c1cd:249f:216:3eff:fe85:80bb (eth0) | PERSISTENT | 0 |
+--+-+---+---++---+

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread David Favor
** Attachment added: "cloud-init.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1768118/+attachment/5131120/+files/cloud-init.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread Scott Moser
cloud-init collect-logs

writes output to the current working directory named 'cloud-
init.tar.gz'.

Can you please attach that?

thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread David Favor
If you look closely at the cloud-init-output.log you'll see the DHCP
address never gets assigned + there's no errors or warnings about any
problems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread David Favor
Additional info.

Correct. I did a do-release-upgrade -d to update from Artful to Bionic.

Also, this machine installed Artful from scratch, so was using Netplan
networking.

I've run cloud-init collect-logs + this produces no output + even using
strace it's not clear where logs end up being deposited.

Let me know + I'll provide the logs.

Only network problems are in containers.

Also, if I simply copy a failing container over to another Artful
machine the container works fine, so it appears something's wrong with
container <-> machine plumbing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread David Favor
Ah... Maybe you're referring to standard cloud-init logs.

I've attached these two logs. If other logs are required, let me know.

** Attachment added: "cloud-init.log + cloud-init-output.log"
   
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1768118/+attachment/5131066/+files/cloud-init.logs.txz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread Ryan Harper
What's the process for upgrading from Artful to Bionic?

do-release-upgrade -d ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread Scott Moser
David,
After you've provided the information requested, please set the bug back to 
'New' status.
Thanks,
Scott

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread Scott Moser
Hi David,
Thank you for filing the bug.

Could you please run 'cloud-init collect-logs' and attach the output?

We're interested also in knowing what platform you are running on.
Is cloud-init installed on your container host ?  Is that running on a cloud 
platform?

Or, are you only having problems network problems in the containers?

** Changed in: cloud-init (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768118] Re: /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address assigned

2018-04-30 Thread David Favor
This is a high priority bug as it means any machine running many
containers, like hosting companies will destroy all connectivity to
containers if upgrade is done.

This means Bionic upgrades should not occur (when LXD containers
running), till this bug is fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768118

Title:
  /etc/netplan/50-cloud-init.yaml fails silently with no dhcp address
  assigned

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs