Re: [Touch-packages] [Bug 1668347] Re: Unable to set bridge_portpriority with networkd

2017-11-29 Thread Ryan Harper
, once netplan has support for this syntax (which is almost identical to path-cost) Then cloud-init.net.netplan renderer will need an update to support generating netplan yaml with the correct structure. On Wed, Nov 29, 2017 at 9:52 AM, Ryan Harper <1668...@bugs.launchpad.net> wrote: >

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-11-30 Thread Ryan Harper
So, /dev/bcache/by-uuid is not getting created. That's the same kernel bug I filed. And, if they were, I think they'd get moved properly. init-bottom/udev script does the following: # Stop udevd, we'll miss a few events while we run init, but we catch up udevadm control --exit # move the /dev

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-11-30 Thread Ryan Harper
pfs to the rootfs; fall back to util-linux mount that does # not understand -o move mount -n -o move /dev ${rootmnt}/dev || mount -n --move /dev ${rootmnt}/dev Let's see if that helps resolve the "missing" symlinks. On Thu, Nov 30, 2017 at 10:27 AM, Ryan Harper wrote: > So

[Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-11-30 Thread Ryan Harper
** Bug watch added: Debian Bug tracker #844775 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844775 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1729145 Title: /d

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-11-30 Thread Ryan Harper
It looks like there is some ordering issues: This is a grep through /run/udev/links ; these are checked by udev-dev # find . -name 'b250*' ./\x2fdisk\x2fby-uuid\x2f0a270acb-56b8-4498-8bad-b3bb149fe869/b250:1 ./\x2fdisk\x2fby-uuid\x2f92b0868d-7e56-4956-8e55-2c90ebee4a72/b250:0 ./\x2fbcache\x2fby-u

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-11-30 Thread Ryan Harper
id/ and dname will point to that, which abstracts away whether it points to bcache0, 1 , or N. /dev/disk/by-dname/foo -> ../../../bcache/by-uuid/ -> ../../bcacheN On Thu, Nov 30, 2017 at 7:16 PM, Ryan Harper wrote: > It looks like there is some ordering issues: > > This is a gre

[Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-01 Thread Ryan Harper
Untested patch. Hoping to convey the change that's needed. - decouple emitting a cached_dev CHANGE uevent which includes dev.uuid and dev.label from bch_cached_dev_run() which only happens when a bcacheX device is bound to the actual backing block device (bcache0 -> vdb) - update bch_c

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-04 Thread Ryan Harper
Hi Joseph, Sorry, I didn't give that a compile either; I just wanted to show what the change could look like; Let me see if I can get that to at least compile. On Mon, Dec 4, 2017 at 11:18 AM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > It looks like env[] was declared in bch_ca

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-04 Thread Ryan Harper
Looks like those two kfree's in dev_run can be dropped since that was an exit after kmalloc'ing env entries which are now only done in bch_cached_dev_emit_change() which is only called by dev_run after it knows that the device is not yet running. On Mon, Dec 4, 2017 at 11:35 AM, R

[Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-04 Thread Ryan Harper
Revised patch, should fix error with kfree on env ** Patch added: "bcache_always_emit_backing_dev_change_uevent_v2.diff" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1729145/+attachment/5018329/+files/bcache_always_emit_backing_dev_change_uevent_v2.diff -- You received this bug notif

[Touch-packages] [Bug 1736556] Re: mount can exit (success) when it fails

2017-12-05 Thread Ryan Harper
Can you attach: blkid output ls -al /dev/disk/by-label /proc/mounts Testing locally on Xenial, and mount always says something isn't found. % tail -n1 /etc/fstab LABEL=METADATA /mnt vfatdefaults, 0 0 (foudres) ~ % sudo mount -l - /mnt mount: can't find LABEL=METADATA strace of

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-05 Thread Ryan Harper
Thanks! I'll give it a try today. On Tue, Dec 5, 2017 at 3:43 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > I built an Artful test kernel with the path provided by Ryan. The test > kernel can be downloaded from: > > http://kernel.ubuntu.com/~jsalisbury/lp1729145/ > > Can those

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-05 Thread Ryan Harper
333685 -> ../../bcache2 ├── 57e009b1-6bf4-42ea-abe0-334b10941a0b -> ../../bcache0 ├── 7ce7dc32-7da9-42a8-899a-5d21ed7ea714 -> ../../bcache3 └── 92d882d8-38cd-4537-847b-6f9c40ba67b4 -> ../../bcache1 2 directories, 6 files On Tue, Dec 5, 2017 at 4:00 PM, Ryan Harper wrote: > Th

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-05 Thread Ryan Harper
Thanks for doing the cleanup; Patch looks good and I approve. Signed-off-by: Ryan Harper On Tue, Dec 5, 2017 at 4:59 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > In the final patch we submit for SRU, it will also include your Signed- > off-by, I just forgot to a

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-07 Thread Ryan Harper
Here's the Zesty test; all looks good. ubuntu@ubuntu:~$ cat /etc/cloud/build.info build_name: server serial: 20171207 ubuntu@ubuntu:~$ uname -a Linux ubuntu 4.10.0-40-generic #44~lp1729145 SMP Wed Dec 6 16:21:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux ubuntu@ubuntu:~$ tree /dev/bcache /dev/bcache

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-07 Thread Ryan Harper
Tested the xenial update. I had one boot where the links didn't get created, but I cannot recreate that issue now. On Thu, Dec 7, 2017 at 9:56 AM, Ryan Harper wrote: > Here's the Zesty test; all looks good. > > ubuntu@ubuntu:~$ cat /etc/cloud/build.info > build_name: ser

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-07 Thread Ryan Harper
Confirmed bionic works as expected. I suspect you can send that upstream with my SoB faster than I can. Definitely interested in seeing if they'll take something like that. On Thu, Dec 7, 2017 at 1:21 PM, Joseph Salisbury < joseph.salisb...@canonical.com> wrote: > Thanks for testing and the patc

Re: [Touch-packages] [Bug 1729145] Re: /dev/bcache/by-uuid links not created after reboot

2017-12-12 Thread Ryan Harper
On Tue, Dec 12, 2017 at 5:52 AM, Dimitri John Ledkov wrote: > Once the kernel is fixed, are there any changes that are required to > systemd/udev? > No changes needed. > > ** Changed in: systemd (Ubuntu Bionic) >Status: New => Incomplete > > -- > You received this bug notification beca

[Touch-packages] [Bug 1737592] Re: no zfs module in initramfs

2017-12-21 Thread Ryan Harper
Testing a zfsroot deploy without zfs present, curtin will trigger an install of the full linux-image-generic package during the install deps check. This produces this output: [7.696444] cloud-init[1214]: Cloud-init v. 17.1 running 'modules:config' at Thu, 21 Dec 2017 21:39:54 +. Up 6.72

[Touch-packages] [Bug 1749722] Re: NTP: take into account systemd-timesyncd where present

2018-02-15 Thread Ryan Harper
** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1749722 Title: NTP: take into account systemd-

[Touch-packages] [Bug 1749722] Re: NTP: take into account systemd-timesyncd where present

2018-02-16 Thread Ryan Harper
Some further looking at the systemd side, Bionic no longer carries the override conf (disable-with-time-daemon.conf) in favor of updating each client's systemd unit to use: Conflicts=systemd-timesyncd.service Conflicts will ensure that the target service is stopped if the current unit is started.

Re: [Touch-packages] [Bug 1749722] Re: NTP: take into account systemd-timesyncd where present

2018-02-19 Thread Ryan Harper
On Mon, Feb 19, 2018 at 9:33 AM, Dimitri John Ledkov wrote: > I think cloud-init is the oracle of information of which ntp daemon to > use, and which ntp servers to use. Thus on bionic+ cloud-init, when > configuring ntp, should also "disable systemd-timesyncd" if some > alternative NTP server is

[Touch-packages] [Bug 1750884] Re: [2.4, bionic] /etc/resolv.conf not configured correctly in Bionic, leads to no DNS resolution

2018-02-22 Thread Ryan Harper
I gave the "loopback" trick a go like so: root@b1:~# cat /etc/systemd/network/10-netplan-lo.network [Match] Name=lo [Network] Address=127.0.0.1 DNS=10.90.90.1 Domains=maaslab maas root@b1:~# networkctl status --all ● 1: lo Link File: n/a Network File: /etc/systemd/network/10-netplan-l

[Touch-packages] [Bug 1732002] Re: cloud images in lxc get ipv6 address

2018-02-26 Thread Ryan Harper
I've got a branch which would have cloud-init disable accept-ra unless cloud-init has an explicit ipv6 configuration (static or dhcp6). This only affects the solicitation effort, ipv6 link-local is of course, unaffected as is explicit ipv6 configuration. I believe LXD is in a position to know if

[Touch-packages] [Bug 1749722] Re: NTP: take into account systemd-timesyncd where present

2018-02-26 Thread Ryan Harper
** Merge proposal linked: https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/339438 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1749722 Title: NT

Re: [Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2018-08-29 Thread Ryan Harper
On Wed, Aug 29, 2018 at 8:41 AM Dimitri John Ledkov wrote: > > Do we need this in bionic? Yes > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1671951 > > Title: > networkd should allow configuring IPV6 MTU > > To man

[Touch-packages] [Bug 1789758] [NEW] bluetooth headphones a2dp profile does not function after suspend

2018-08-29 Thread Ryan Harper
Public bug reported: 1) lsb_release -rd Description:Ubuntu 18.04.1 LTS Release:18.04 2) $ apt-cache policy bluez bluez: Installed: 5.48-0ubuntu3.1 Candidate: 5.48-0ubuntu3.1 Version table: *** 5.48-0ubuntu3.1 500 500 http://us.archive.ubuntu.com/ubuntu bionic-updates/ma

[Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2018-09-28 Thread Ryan Harper
Actually there needs to be changes to netplan to emit the correct IPV6BytesMtu setting to networkd; and then cloud-init can emit the correct netplan yaml for that. This feature is on the netplan roadmap here: https://trello.com/c/nIjLIRSG/6-support-ipv6-mtu-bytes-configuration ** Also affects:

Re: [Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2018-09-28 Thread Ryan Harper
This may now be a cloud-init bug if the support is there since this is a network-config v1 -> cloud-init renders netplan. On Fri, Sep 28, 2018 at 9:12 AM Scott Moser wrote: > > Hm... > > Our tests show that this is not fixed in cosmic or bionic. > > https://jenkins.ubuntu.com/server/job/curtin-vm

[Touch-packages] [Bug 1573982] Re: LVM boot problem - volumes not activated after upgrade to Xenial

2017-11-06 Thread Ryan Harper
** Changed in: curtin Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/1573982 Title: LVM boot problem - volumes not activated after upgrade to

[Touch-packages] [Bug 1575779] Re: hostnamectl fails under lxd unpriv container

2017-11-09 Thread Ryan Harper
Likely related, but in Artful systemd-networkd is setting the hostname and has a 10 second timeout: # systemctl status --no-pager -l systemd-networkd ● systemd-networkd.service - Network Service Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled) A

Re: [Touch-packages] [Bug 1575779] Re: hostnamectl fails under lxd unpriv container

2017-11-09 Thread Ryan Harper
I can confirm that if I set PrivateNetwork=no that hostnamed runs and boot is magically 10 seconds faster. On Thu, Nov 9, 2017 at 1:46 PM, Stéphane Graber wrote: > Someone with systemd knowledge should check what PrivateNetwork actually > does. The name implies it's unsharing a new network names

[Touch-packages] [Bug 1510619] Re: Wily: add machine fails using kvm and lxcbr0

2015-10-27 Thread Ryan Harper
Currently looking at updatin lxc package to have lxc-net run After =network-online.target which should ensure that ifup on auto interfaces has run, meaning ethX interfaces will have obtained and IP and at that point then lxc-net can check if something is squating on 10.0.3.X network and switch to a

[Touch-packages] [Bug 1510619] Re: Wily: add machine fails using kvm and lxcbr0

2015-10-28 Thread Ryan Harper
https://lists.linuxcontainers.org/pipermail/lxc- devel/2015-October/012630.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1510619 Title: Wily: add machine fails using kvm

[Touch-packages] [Bug 1510972] [NEW] bsdtar default file name is /dev/st0

2015-10-28 Thread Ryan Harper
Public bug reported: 1. % lsb_release -rd Description:Ubuntu Wily Werewolf (development branch) Release:15.10 2. % apt-cache policy bsdtar bsdtar: Installed: 3.1.2-11build1 Candidate: 3.1.2-11build1 Version table: *** 3.1.2-11build1 0 500 http://us.archive.ubuntu.com/u

[Touch-packages] [Bug 1457540] [NEW] cannot convert lv to type thing-pool on trusty

2015-05-21 Thread Ryan Harper
Public bug reported: 1. $ lsb_release -rd Description:Ubuntu 14.04.2 LTS Release:14.04 2. $ apt-cache policy lvm2 lvm2: Installed: 2.02.98-6ubuntu2 Candidate: 2.02.98-6ubuntu2 Version table: *** 2.02.98-6ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64

[Touch-packages] [Bug 1384503] Re: rsync fails on large files with compression

2015-06-23 Thread Ryan Harper
I've attempted to reproduce this issue but I've not been able to at this point with stock 14.04 rsync versions between two 14.04 (up-to-date) systems. It may be highly dependent on the actual data; if you can reproduce this with something publicly available (like a large iso catted together multip

[Touch-packages] [Bug 1472369] [NEW] lxcbr0 missing after starting lxc-net.service

2015-07-07 Thread Ryan Harper
Public bug reported: 1. % lsb_release -rd Description:Ubuntu Wily Werewolf (development branch) Release:15.10 2. % apt-cache policy lxc lxc: Installed: 1.1.2-0ubuntu3 Candidate: 1.1.2-0ubuntu3 Version table: *** 1.1.2-0ubuntu3 0 500 http://us.archive.ubuntu.com/ubuntu/

[Touch-packages] [Bug 1721156] [NEW] networkd does not set bridge forward delay value correctly

2017-10-03 Thread Ryan Harper
Public bug reported: 1) # lsb_release -rd Description:Ubuntu Artful Aardvark (development branch) Release:17.10 2) # apt-cache policy systemd systemd: Installed: 234-2ubuntu10 Candidate: 234-2ubuntu10 Version table: *** 234-2ubuntu10 500 500 http://archive.ubuntu.com/ub

[Touch-packages] [Bug 1721156] Re: networkd does not set bridge forward delay value correctly

2017-10-03 Thread Ryan Harper
It turns out that if STP is enabled, then one cannot disable the forward delay, and a value < 2 is not compatible with STP. If I set stp: false in netplan, then we get: # cat /run/systemd/network/10-netplan-br0.netdev [NetDev] Name=br0 Kind=bridge [Bridge] AgeingTimeSec=250 Priority=22 ForwardD

[Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2017-10-04 Thread Ryan Harper
** Branch linked: lp:~raharper/curtin/trunk.vmtest-remove-bug-timers -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1671951 Title: networkd should allow configuring IPV6 M

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules because of reconfiguration rate-limiting

2017-10-04 Thread Ryan Harper
I re-ran the recreate on a daily artful image, updated cloud-init in the image to use the udevadm trigger as before and noticed that it still fails to apply the MTU to the second interface. Taking the suggestion of including a udevadm control reload, I further modified the image to add that reload

Re: [Touch-packages] [Bug 1697730] Re: Long boot time due to systemd-networkd-wait-online.service failure

2017-06-13 Thread Ryan Harper
And what about /etc/netplan/*.yaml and /run/systemd/network/* If you can attach the journal binary file, we can query the state independently from you tar up /run/log/journal/ Thanks On Tue, Jun 13, 2017 at 11:33 AM, Stefan Bader wrote: > #> ifquery --list > lo > > #> ip link show > 1: lo:

[Touch-packages] [Bug 1697730] Re: Long boot time due to systemd-networkd-wait-online.service failure

2017-06-14 Thread Ryan Harper
This is annoying: % journalctl -D var/log/journal -o short-precise Journal file var/log/journal/1fe5c5ed88c14c81bd52acb9f96f3a18/system.journal uses an unsupported feature, ignoring file. -- No entries -- Why can't xenial systemd journalctl read an artful one? That seems like a terrible idea w.r

[Touch-packages] [Bug 1697730] Re: Long boot time due to systemd-networkd-wait-online.service failure

2017-06-14 Thread Ryan Harper
It looks a lot like this issue: https://github.com/systemd/systemd/issues/1645 Where DHCP works, it has an ip and can sync time and other items, but the wait service isn't happy. On Wed, Jun 14, 2017 at 10:46 AM, Steve Langasek < steve.langa...@canonical.com> wrote: > The journal shows, two min

Re: [Touch-packages] [Bug 1697730] Re: Long boot time due to systemd-networkd-wait-online.service failure

2017-06-14 Thread Ryan Harper
What does your networkctl status eth0 show? On Wed, Jun 14, 2017 at 11:34 AM, Ryan Harper wrote: > It looks a lot like this issue: > > https://github.com/systemd/systemd/issues/1645 > > Where DHCP works, it has an ip and can sync time and other items, but the > wait service i

Re: [Touch-packages] [Bug 1697730] Re: Long boot time due to systemd-networkd-wait-online.service failure

2017-06-14 Thread Ryan Harper
This is a known issue w.r.t waiting for IPV6 LL, on Xenial KVM, qemu -net user does not provide IPV6 LL response (yakkety and newer do), so there's a delay; it does sound like the IPV6 LL timeout is longer than it used to be as I've seen a 5 to 10 second delay in VMs launched on KVM on xenial, but

[Touch-packages] [Bug 1673860] Re: systemd-resolved unit should run Before=network-online.target

2017-03-31 Thread Ryan Harper
I just tested the zesty-proposed version and it works as expected. % lxc launch ubuntu-daily:zesty z1 Creating z1 Starting z1 # confirm current version of systemd % lxc exec z1 -- apt-cache policy systemd systemd: Installed: 232-19 Candidate: 232-19 Version table: *** 232-19 500

[Touch-packages] [Bug 1671606] Re: DNS server from vpn connection is not being used after network-manager upgrade to 1.2.6-0ubuntu0.16.04.1

2017-04-05 Thread Ryan Harper
onf(8) DefaultDependencies=no -Before=networking.service +Before=network-pre.target +Wants=network-pre.target ** Changed in: resolvconf (Ubuntu) Status: Confirmed => Invalid ** Changed in: resolvconf (Ubuntu) Assignee: Ryan Harper (raharper) => (unassigned) -- You receiv

[Touch-packages] [Bug 1671606] Re: DNS server from vpn connection is not being used after network-manager upgrade to 1.2.6-0ubuntu0.16.04.1

2017-04-05 Thread Ryan Harper
@Mercury Hi, please note that the change I've made is *only* against the resolvconf task; as you say and document the issue (and potential fix) is against dnsmasq; ergo there is no need for a resolvconf patch/change. You mention: "and resolvconf was not properly tracking how interfaces were add

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-01-18 Thread Ryan Harper
Something isn't working here. I also typo'd the test-case, in particular, the change to the cloud-init.service unit didn't specify 'systemd-networkd-wait-online.service', the sed command missed the 'd' in networkd. When I fix that, I find that systemd-networkd-resolvconf-update.service does NOT r

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-01-18 Thread Ryan Harper
systemd-networkd-resolvconf-update.service uses default dependencies which will only run after sysinit.target, however cloud-init.service needs to run before sysinit.target; systemd apparently dropped running the service due to the inconsistent order. Adding a DefaultDependencies=no to systemd-net

Re: [Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-07 Thread Ryan Harper
On Tue, Mar 7, 2017 at 6:27 AM, Dimitri John Ledkov wrote: > Should one not restart systemd-networkd after writing out .link et.al. > units? > systemd-networkd only deals with .netdev and .network files; .link files are handled by udev This occurs during boot, before systemd-networkd starts.

Re: [Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-07 Thread Ryan Harper
On Tue, Mar 7, 2017 at 9:41 AM, Dimitri John Ledkov wrote: > On 7 March 2017 at 14:37, Ryan Harper <1669...@bugs.launchpad.net> wrote: > > On Tue, Mar 7, 2017 at 6:27 AM, Dimitri John Ledkov < > launch...@surgut.co.uk> > > wrote: > > > >> Should one n

Re: [Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-08 Thread Ryan Harper
On Wed, Mar 8, 2017 at 5:03 AM, Dimitri John Ledkov wrote: > I wonder if following should be done (in netplan code that does the re- > trigger, or outside after .link files modified): > > $ sync > $ udevadm control --reload > $ udevadm trigger --verbose --subsystem-match=net --action=add > > This

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-03-08 Thread Ryan Harper
@racb I verified systemd 229-4ubuntu17 with both ifupdown and networkd configuration. The specific packages and features is somewhat complicated due to the different scenarios and change in networking behavior in yakkety+ I've attached a chart with details. Also viewable here: http://paste.ubu

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-03-08 Thread Ryan Harper
Details about different release vs. network backend requirements ** Attachment added: "lp1649931-release-network-matrix.txt" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1649931/+attachment/4833940/+files/lp1649931-release-network-matrix.txt -- You received this bug notification be

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-09 Thread Ryan Harper
Here's the journal from a boot which fails. ** Attachment added: "netplan-udev-fail-journal.tgz" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1669564/+attachment/4834860/+files/netplan-udev-fail-journal.tgz -- You received this bug notification because you are a member of Ubuntu To

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-09 Thread Ryan Harper
Script to generate a zesty cloud-image that can recreate the issue. ** Attachment added: "01-netplan-udev-recreate.sh" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1669564/+attachment/4834861/+files/01-netplan-udev-recreate.sh -- You received this bug notification because you are a

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-09 Thread Ryan Harper
Script which launches the image created with the previous script to recreate issue. ** Attachment added: "02-netplan-udev-launch.sh" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1669564/+attachment/4834862/+files/02-netplan-udev-launch.sh -- You received this bug notification becau

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-09 Thread Ryan Harper
I've attached the requested journal. I've also attached two scripts which can be used to recreate the issue for further investigation. ** Changed in: systemd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1671951] [NEW] networkd should allow configuring IPV6 MTU

2017-03-10 Thread Ryan Harper
Public bug reported: 1) Zesty 2) systemd-232-19 3) I need to configure the IPV6 MTU for tunneling by adding an IPv6MTUBytes=1480 value in the .network file for an interface with an IPV6 static address in the [Network] section 4) networkd does not parse or read the value and does not apply this

[Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2017-03-10 Thread Ryan Harper
** Patch added: "ipv6_mtu.debdiff" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1671951/+attachment/4835554/+files/ipv6_mtu.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.

[Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2017-03-10 Thread Ryan Harper
I've a build of this fix here: https://launchpad.net/~raharper/+archive/ubuntu/cloud-init-dev (systemd=232-19ubuntu3~fixbuild1) I've tested this minimally in a Zesty VM and it's successfully applies an IPV6MTU in addition to the device mtu (if that's also included). -- You received this bug not

[Touch-packages] [Bug 1673860] [NEW] systemd-resolved unit should run Before=network-online.target

2017-03-17 Thread Ryan Harper
Public bug reported: 1) Xenial, Yakkety and Zesty; (Xenial is affected if you're using networkd and resolved, but it's not the default) 2) 229-4ubuntu16, 231-9ubuntu3, 232-18ubuntu1 respectively to (1) 3) DNS resolution should be available once systemd has reached 'network-online.target' state

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-03-17 Thread Ryan Harper
I've moved the systemd-resolved issue for unit ordering out of this bug/SRU into a new one so we can finish out this SRU and handle this last change to systemd-resolved separately. https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1673860 -- You received this bug notification because you ar

Re: [Touch-packages] [Bug 1673860] Re: systemd-resolved unit should run Before=network-online.target

2017-03-23 Thread Ryan Harper
Working it now, sorry for the delay On Thu, Mar 23, 2017 at 1:07 PM, Brian Murray wrote: > Missing SRU information regarding Impact, Test Case, Regression > Potential. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/16

[Touch-packages] [Bug 1673860] Re: systemd-resolved unit should run Before=network-online.target

2017-03-23 Thread Ryan Harper
** Description changed: + === Begin SRU Template === + [Impact] + + For releases using systemd-resolved (yakkety and zesty); the unit + configuration does not require that the service be active before + allowing systemd to reach 'network-online.target' which is a special + target used to allow ot

[Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2017-03-28 Thread Ryan Harper
This also needs some discussion w.r.t how to handle IPV6-only devices; namely if you want to set the IPV6 MTU to something higher than the underlying device's current setting then the device MTU would need to be raised as well. That needs to be implemented and added to the patch. -- You received

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules because of reconfiguration rate-limiting

2017-08-09 Thread Ryan Harper
Revisting this on an artful image, and nothing besides the driver replug (what netplan apply does) appears to work to process .link files. Something changed I suspect in systemd w.r.t the builtin-test setup_net_link path which would process .link files. -- You received this bug notification beca

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-02-03 Thread Ryan Harper
** Patch added: "xenial-dns-before-online-target-lp1649931-v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1649931/+attachment/4812597/+files/xenial-dns-before-online-target-lp1649931-v2.debdiff -- You received this bug notification because you are a member of Ubuntu Tou

[Touch-packages] [Bug 1663725] [NEW] root on raid device doesn't get /dev/disk/by-id/md-{name, uuid} symlinks after boot

2017-02-10 Thread Ryan Harper
Public bug reported: ubuntu@ubuntu:~$ lsb_release -rd Description:Ubuntu Zesty Zapus (development branch) Release:17.04 ubuntu@ubuntu:~$ uname -a Linux ubuntu 4.9.0-15-generic #16-Ubuntu SMP Fri Jan 20 15:28:49 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux ubuntu@ubuntu:~$ apt-cache pol

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-02-15 Thread Ryan Harper
** Description changed: Currently resolvconf and systemd-networkd don't ensure DNS has been configured before allowing network-online.target to be reached. This was discussed in https://launchpad.net/bugs/1636912 however it was not a regression since there aren't any users of networkd +

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-02-21 Thread Ryan Harper
I've verified the SRU test with the package in Xenial proposed. I've also updated an UbuntuCore16 image with uses networkd and cloud-init to validate that early networking which requires dns for resolving urls works. ** Tags removed: verification-needed ** Tags added: verification-done -- You

[Touch-packages] [Bug 1668347] [NEW] Unable to set bridge_portpriority with networkd

2017-02-27 Thread Ryan Harper
Public bug reported: 1. root@ubuntu:/run/systemd/network# lsb_release -rd Description:Ubuntu Zesty Zapus (development branch) Release:17.04 2. root@ubuntu:/run/systemd/network# apt-cache policy systemd systemd: Installed: 232-18ubuntu1 Candidate: 232-18ubuntu1 Version table: **

[Touch-packages] [Bug 1669564] [NEW] udevadm trigger subsystem-match=net doesn't always run rules

2017-03-02 Thread Ryan Harper
Public bug reported: root@ubuntu:~# lsb_release -rd Description:Ubuntu Zesty Zapus (development branch) Release:17.04 root@ubuntu:~# apt-cache policy udev udev: Installed: 232-18ubuntu1 Candidate: 232-18ubuntu1 Version table: *** 232-18ubuntu1 500 500 http://archive.ubun

[Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-03-02 Thread Ryan Harper
** Description changed: - root@ubuntu:~# lsb_release -rd + 1. root@ubuntu:~# lsb_release -rd Description:Ubuntu Zesty Zapus (development branch) Release:17.04 - root@ubuntu:~# apt-cache policy udev + + 2. root@ubuntu:~# apt-cache policy udev udev: - Installed: 232-18ubuntu1 -

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-03-06 Thread Ryan Harper
** Description changed: Currently resolvconf and systemd-networkd don't ensure DNS has been configured before allowing network-online.target to be reached. This was discussed in https://launchpad.net/bugs/1636912 however it was not a regression since there aren't any users of networkd +

[Touch-packages] [Bug 1649931] Re: systemd-networkd needs to ensure DNS is up before network-online.target

2017-03-06 Thread Ryan Harper
For yakkety resolvconf update; I've updated the SRU test-case to include a more general netplan config for bringing up ethernet devices; the previous version only worked on lxd (or instances with devices named eth0). With the above change; it looks like yakkety/zesty (due to running systemd-resol

Re: [Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-05-02 Thread Ryan Harper
On Tue, May 2, 2017 at 3:05 AM, Dimitri John Ledkov wrote: > Looking at the journal files from the netplan-udev that fail, I see that > links are already renamed, before cloud-init renders things: > > Mar 09 17:51:12 ubuntu kernel: virtio_net virtio0 ens3: renamed from eth0 > Mar 09 17:51:12 ubun

Re: [Touch-packages] [Bug 1669564] Re: udevadm trigger subsystem-match=net doesn't always run rules

2017-05-02 Thread Ryan Harper
On Tue, May 2, 2017 at 8:54 AM, Dimitri John Ledkov wrote: > Ideally, the following should happen: > * boot > * Created link configuration context > > * Check if link configuration needs reloading -> appears in the debug logs > * New MTU is successfully applied > Let me put in the cloud-init se

Re: [Touch-packages] [Bug 1636708] Re: ifup -a does not start dependants last, causes deadlocks with vlans/bonding

2017-05-08 Thread Ryan Harper
On Mon, May 8, 2017 at 9:06 AM, Dimitri John Ledkov wrote: > I thought we have systemd hotplugging as well, can we not generate > I'm not sure what this means > depedencies that ifup@bond0.5.service Wants= and After= > ifup@bond0.service? and prevent all of these locks? > Wants= and AFter= ar

Re: [Touch-packages] [Bug 1636708] Re: ifup -a does not start dependants last, causes deadlocks with vlans/bonding

2017-05-09 Thread Ryan Harper
On Tue, May 9, 2017 at 10:32 AM, Dimitri John Ledkov wrote: > Maybe this is easier to read. > > root@xnox-iad-nr5:~# journalctl -o short-monotonic -u ifup@bond0.service > -- Logs begin at Tue 2017-05-09 10:57:18 UTC, end at Tue 2017-05-09 > 15:22:34 UTC. -- > [6.740201] xnox-iad-nr5 systemd[1

Re: [Touch-packages] [Bug 1689410] Re: nplan with networkd + resolvconf without resolved, results in no DNS resolution

2017-05-09 Thread Ryan Harper
On Tue, May 9, 2017 at 11:23 AM, Steve Langasek < steve.langa...@canonical.com> wrote: > Hi Ryan, > > On Tue, May 09, 2017 at 02:20:17PM -, Dimitri John Ledkov wrote: > > > it does create the yaml and call generate, but it's not > > sufficient to create the symlink IIRC due to the code in net

Re: [Touch-packages] [Bug 1671951] Re: networkd should allow configuring IPV6 MTU

2017-05-17 Thread Ryan Harper
On Wed, May 17, 2017 at 1:14 PM, Dimitri John Ledkov wrote: > I'm very naive, so please bear with me if this is a silly question. As > far as I can tell the existing MTU setting in networkd will apply to > both ipv4 and ipv6 simultaniously. Are you arguing that you want > specific control of MTU

Re: [Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-06-30 Thread Ryan Harper
On Tue, Jun 30, 2020 at 6:35 AM Balint Reczey <1861...@bugs.launchpad.net> wrote: > @raharper I've forwarded the systemd fix for you with minimal tidying of > the commit message https://github.com/systemd/systemd/pull/16317 Thanks! > > -- > You received this bug notification because you are su

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-02 Thread Ryan Harper
@ddstreet I'm not sure where upstream is going just yet. For Ubuntu; I think 1) Adjusting the bcache-tools patch to use the full path to bcache- super-show should change; 2) If we fix (1) then I think we can drop the systemd patch from a bug fixing perspective; on the openSUSE image I did testi

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Ryan Harper
@Rafael For bcache-tools changes, bcache-export-cached-uuid needs the full path to bcache-super-show, as PATH is not exported when running from udev. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-21 Thread Ryan Harper
@Rafael It's in both places: https://github.com/koverstreet/bcache-tools/pull/1 I can update the PR there as well; though I don't think upstream cares as Kent's working on bcachefs instead of bcache AFAICT. > I see that you are trying to come up with something nor relying in the kernel fix (to

[Touch-packages] [Bug 1888726] Re: systemd-udevd regression: some renamed network interfaces stuck in "pending" state

2020-09-09 Thread Ryan Harper
@Dan Just ran into this issue in curtin's vmtest for network_vlan on groovy. I can confirm that if the netplan config includes the driver match on the physical interfaces, then the vlans come up just fine. I was thinking that netplan could inject the driver of the underlying device into the match

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ryan Harper
Note, the whitespace damage in the patch is not needed, just my text client cleaning up trailing whitespace. With this patch applied, vgscan --mknodes no longer creates block devices in /dev/mapper root@ubuntu:/dev/mapper# ls -al total 0 drwxr-xr-x 2 root root 120 Apr 28 16:31 . drwxr-xr-x 1

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ryan Harper
This patch configures the dm_task to use the DM_UDEV_DISABLE_LIBRARY_FALLBACK udev flag to prevent calls to dm_mknodes() from using the library fallback code. Another possible fix would be to obtain a different return code from vgscan.c where it does not detect any VGs and then calls the mknode p

[Touch-packages] [Bug 1874501] Re: vgscan --mknodes creates block device multipath nodes in /dev/mapper

2020-04-28 Thread Ryan Harper
I don't think this is the right fix. We need to test that it doesn't prevent vgscan from finding and creating /dev/vg/lv device files outside of of multipath. The real fix involves: 1) omitting the call to vgmknodes if there are no volume groups present 2) if vgnodes are present, device_mapp

[Touch-packages] [Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-18 Thread Ryan Harper
I would very much agree with xnox (it's a duplicate) (and Dan, nothing for curtin to do); curtin generated dname rules rely upon pointing to a /dev/bcache/by- uuid/* symlink which is currently broken per https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941 which at this time points

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Ryan Harper
I guess I don't understand why we see this in focal. The two events in Colin's trace always happen on any Ubuntu kernel. We should see if we can get another udev trace on bionic that captures both CHANGE events, one will be from the bcache driver itself, and one is from the block layer. THe orde

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-20 Thread Ryan Harper
That doesn't explain why they show up sometimes, but not all of the time. There are 3 devices in play here. * The backing device, let's say /dev/vda; this is where we want to store the data. * The caching device, let's say /dev/vdb; this holds the cache. * The bcache device; this only appears

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-21 Thread Ryan Harper
Digging deeper and walking through this in a focal vm, I'm seeing some strange things. Starting with a clean disk, and just creating the backing device like so: make-bcache -B /dev/vdb We see /dev/bcache0 get created with vdb as the backing device. Now, after this, I see: /dev/bcache/by-uuid/

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-21 Thread Ryan Harper
@Balint I do not thing the fix you're released is correct, can you upload a new version without the scripts? Also, we should fix make-bcache -B to ensure that cset.uuid is not initialized; that may be why the kernel thinks it should emit the CACHED_UUID if the suerpblock of the device has a cset.

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
OK. I've reviewed the kernel code, and there are no unexpected changes w.r.t the CACHED_UUID change event. So I don't think we will need any kernel changes which is good. With the small change to the 60-persistent-storage.rules to not attempt to create a /dev/disk/by-uuid symlink for the backing

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-22 Thread Ryan Harper
debdiff of the changes ** Attachment added: "bcache-tools-debdiff-1.0.8-4_to_1.0.8-4ubuntu1" https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941/+attachment/5375722/+files/bcache-tools-debdiff-1.0.8-4_to_1.0.8-4ubuntu1 -- You received this bug notification because you are a m

<    1   2   3   4   >