[Touch-packages] [Bug 2060311] Re: Setting "optional: true" to overcome he timeout "Job systemd-networkd-wait-online" does no longer work with latest noble image

2024-04-18 Thread Chad Smith
Thanks Lukas: +1 on this changeset not degrading early boot install scenarios where systemd services are ordered After=systemd-networkd- wait-online.service Preliminary testing on Azure platform look good with accelerated networking enabled have confirmed dual-nic tests correctly configure the p

[Touch-packages] [Bug 2075337] Re: [SRU] py3clean fails when using alternate character set

2024-08-22 Thread Chad Smith
Since cloud-init is blocking our releases on this bug. I'll take this test plan and tag when finished -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to dh-python in Ubuntu. https://bugs.launchpad.net/bugs/2075337 Title: [SRU]

[Touch-packages] [Bug 2075337] Re: [SRU] py3clean fails when using alternate character set

2024-08-22 Thread Chad Smith
Verification script for noble - verify current failure with existing python3-defaults and cloud-init reinstall - verify success with python3-defaults from -proposed and cloud-init reinstall ** Attachment added: "sru-2075337.sh" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2

[Touch-packages] [Bug 2075337] Re: [SRU] py3clean fails when using alternate character set

2024-08-22 Thread Chad Smith
Verification logs success noble. csmith@midtown:~$ ./sru-2075337.sh + cat + SET_LOCALE_YAML='#cloud-config password: passw0rd chpasswd: { expire: False } ssh_pwauth: True locale: fr_FR ' + export LANG=en_AU.ISO-8859-1 + LANG=en_AU.ISO-8859-1 + for RELEASE in noble + NAME=sru-2075337-noble + lxc la

[Touch-packages] [Bug 2075337] Re: [SRU] py3clean fails when using alternate character set

2024-08-22 Thread Chad Smith
Adapted script to support installing sqt-launcher from universe in jammy. ** Attachment added: "sru-2075337.sh" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2075337/+attachment/5808150/+files/sru-2075337.sh -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1959054] Re: debhelper restarts services marked --no-restart-on-upgrade

2022-12-08 Thread Chad Smith
Note related bug if a package were to use debhelper-compat 10 vs 9 on focal. In Focal, debhelper-compat 10 will incorrectly introduce ignore the params dh_systemd_start --no-restart-on-upgrade --no-start And will still inject which will restart all services across package upgrade with

[Touch-packages] [Bug 1997124] Re: Netplan/Systemd/Cloud-init/Dbus Race

2023-01-19 Thread Chad Smith
The dbus race that is happening here is due to `networkctl reconfigure`[1] being run by netplan apply, failing to talk to dbus, and restarting systemd_networkd[2] at that point in time when systemd_network may actually be coming up and is in an indeterminate state. [1] https://github.com/cano

[Touch-packages] [Bug 2002445] Re: udev NIC renaming race with mlx5_core driver

2023-02-27 Thread Chad Smith
** Description changed: [Impact] On systems with mellanox NICs, udev's NIC renaming races with the mlx5_core driver's own configuration of subordinate interfaces. When the kernel wins this race, the device cannot be renamed as udev has attempted, and this causes systemd-network-online.targe

[Touch-packages] [Bug 2002445] Re: udev NIC renaming race with mlx5_core driver

2023-02-27 Thread Chad Smith
** Description changed: [Impact] On systems with mellanox NICs, udev's NIC renaming races with the mlx5_core driver's own configuration of subordinate interfaces. When the kernel wins this race, the device cannot be renamed as udev has attempted, and this causes systemd-network-online.targe

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-14 Thread Chad Smith
Thank you all for your attention on this bug. Sorry my earlier comment on this bug was ill-informed and incorrect. I'm able to reproduce this as well through the server installer qemu/kvm based installs as well so I can confirm as well that this isn't/wasn't NetworkManager and systemd-networkd

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-14 Thread Chad Smith
I'm also going back to the tabular network state printed out by in cloud-init.service shows: that the primary network interface is still down at this point in boot, which it shouldn't be. cloud-init should be waiting on the presence of link up before starting it's cloud- init.service (network boot

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-14 Thread Chad Smith
I can confirm Dan's validation that After=systemd-resolved.service doesn't buy us anything here because, although systemd-resolved.service is up, NetworkManager.service && NetworkManager-wait-online.service don't finish bringing link up for related network devices until After=dbus.service timef

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-14 Thread Chad Smith
TLDR: My earlier suggestion to retry in cloud-init.service while awaiting DNS is not viable when thinking about NetworkManager. NetworkManager.service is After=sysinit.target due to After=dbus.service and cloud-init.service is Before=sysinit.target. NetworkManager is the only service bringing up th

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-14 Thread Chad Smith
This issue with NetworkManager.service and systemd is reminiscent of the related feature request against systemd-networkd https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1636912 that also points out the ordering issues. -- You received this bug notification because you are a member of Ubun

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-14 Thread Chad Smith
While retries on DNS resolution failures does not work for cloud- init.service for environments running NetworkManager.service (desktop live ISOs), I have found that the retries work where systemd-networkd is bringing up network config (server live ISOs). This is because cloud- init.service is Afte

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-22 Thread Chad Smith
Short-term solution here will likely be for livecd-rootfs to augment cloud-init.service which drops `Before=sysinit.target` and adds an `After=NetworkManager-wait-online.service`. This is quite a bit like what redhat and derivatives have done for a while. Redhat and derivitatives have an `After=Net

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-23 Thread Chad Smith
Short-term proposal update: Looks like we can't get away with suppplemental systemd drop-ins in /etc/systemd/system/cloud-init.service.d by themselves in livecd-roots because we need to remove the "Before=sysinit.target" from the default shipped cloud-init.service config. Systemd drop-ins are

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-23 Thread Chad Smith
PR up for discussion on this ordering change in livecd https://code.launchpad.net/~chad.smith/livecd-rootfs/+git/livecd- rootfs/+merge/439586 ** Changed in: cloud-init Assignee: (unassigned) => Chad Smith (chad.smith) -- You received this bug notification because you are a member of Ubu

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-23 Thread Chad Smith
** Changed in: cloud-init Status: Triaged => In Progress -- 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/2008952 Title: DNS failure while trying to fetch user-data

[Touch-packages] [Bug 2002445] Re: udev NIC renaming race with mlx5_core driver

2023-03-25 Thread Chad Smith
Test script referenced in the bug description https://paste.ubuntu.com/p/Xkc7bSZ8fB/ ** Description changed: [Impact] On systems with mellanox NICs, udev's NIC renaming races with the mlx5_core driver's own configuration of subordinate interfaces. When the kernel wins this race, the device

[Touch-packages] [Bug 2002445] Re: udev NIC renaming race with mlx5_core driver

2023-03-25 Thread Chad Smith
Jammy success for proposed launches, rename race seen and properly handled without delaying boot time due to systemd-networkd-wait- online.target. *** 249.11-0ubuntu3.9 500 500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd

[Touch-packages] [Bug 2002445] Re: udev NIC renaming race with mlx5_core driver

2023-03-25 Thread Chad Smith
Kinetic success for proposed launches, rename race seen and properly handled without delaying boot time due to systemd-networkd-wait-online.target. *** 251.4-1ubuntu7.3 500 500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main a

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-03-27 Thread Chad Smith
jsonschema 2.6.0 is now dropped from latest ubuntu-desktop-snap version 0+get.98600e08 in stable channel as of a couple hours ago per this issue/fix[1]. This resolves issues with curtin Tracebacks on jsonschema.validate(). Additionally cloud-init has a PR in progress[2] to avoid registering a stric

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-10-27 Thread Chad Smith
@robert, looks like we should reject this queued upload and put up a separate set of uploads. Recommending reject here and we can work this & next week to get you MRs to support current best-practices for interacting with ua status.json. -- You received this bug notification because you are a mem

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-10-29 Thread Chad Smith
I'm hesitant for your to revert on the focal branches as I don't have context on if there is tooling that consumes those branches directly in the project. I don't think it's too much for me to get you and/or Robert a patch for this now. Today is good for me and I'll push a couple PRs for you and Ro

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-02 Thread Chad Smith
** Description changed: + [Impact] + + * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status` + * This logic resu

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-02 Thread Chad Smith
** Description changed: [Impact] - * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status` - * This logic resu

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-02 Thread Chad Smith
** Description changed: [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic resu

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-02 Thread Chad Smith
** Description changed: [Impact]   * Error messages emitted to software-properties-gtk console "[Errno 2] No such file or directory: '/var/lib/ubuntu-advantage/status.json'" due to incorrect expectation that status.json file is written when non-root runs `ua status`   * This logic resu

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-11-02 Thread Chad Smith
# Focal desktop results: SUCCESS 1. # install proposed $ cat > setup_proposed.sh

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-02 Thread Chad Smith
# Focal desktop results: SUCCESS 1. # install proposed $ cat > setup_proposed.sh

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-03 Thread Chad Smith
# Impish desktop results: SUCCESS # Note non-LTS doesn't have ESM-infra of ESM-Apps support/availability so no Extend... link should be present on Updates tab 1. # install proposed $ cat > setup_proposed.sh

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-11-03 Thread Chad Smith
# Impish desktop results: SUCCESS non-LTS has neither ESM-Infra nor ESM-Apps support or availability. # so 1. it will not expose "Extend..." links to provide ESM information in Updates tab # and 2. When attached no ESM information will be represented in Updates tab 1. # install proposed $ cat

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-11-03 Thread Chad Smith
@brian-murray the verification-done-impish tag may be unnecessary here by me. My above verification on impish may have just been supplemental as 0.99.13 already had released which provided ESM awareness on Impish. That said, I revalidated this because the current 0.99.13.1 also touched that same lo

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-03 Thread Chad Smith
# Hirsute desktop results: SUCCESS non-LTS has neither ESM-Infra nor ESM-Apps support or availability. # so 1. it will not expose "Extend..." links to provide ESM information in Updates tab # and 2. When attached no ESM information will be represented in Updates tab 1. # install proposed $ cat

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-11-03 Thread Chad Smith
# Hirsute desktop results: SUCCESS non-LTS has neither ESM-Infra nor ESM-Apps support or availability. # so 1. it will not expose "Extend..." links to provide ESM information in Updates tab # and 2. When attached no ESM information will be represented in Updates tab 1. # install proposed $ cat

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-11-04 Thread Chad Smith
I think there was an omission on the latest bionic upload it doesn't contain the fixes that were added for focal, hirsute and impish. I've put up a PR that cherry-picks those fixes into the bionic branch that would need review and upload before I can validate and set verification-done-bionic on th

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-04 Thread Chad Smith
** Also affects: software-properties (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to software-properties in Ubuntu. https://bugs.launchpad.net/bugs/1939732 Title:

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-05 Thread Chad Smith
** Changed in: software-properties (Ubuntu Bionic) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to software-properties in Ubuntu. https://bugs.launchpad.net/bugs/1939732 Title: report ava

[Touch-packages] [Bug 1939732] Re: report availability of Ubuntu Advantage ESM services on unattached machines

2021-11-18 Thread Chad Smith
# Success testing on Bionic Desktop installer 1. Validate current behavior from bionic-updates csmith@downtown:~$ IP=`uvt-kvm ip ubuntu18.04` csmith@downtown:~$ ssh csmith@$IP Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-84-generic x86_64) * Documentation: https://help.ubuntu.com * Management

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-11-18 Thread Chad Smith
# Success testing on Bionic Desktop installer 1. Validate current behavior from bionic-updates csmith@downtown:~$ IP=`uvt-kvm ip ubuntu18.04` csmith@downtown:~$ ssh csmith@$IP Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-84-generic x86_64) * Documentation: https://help.ubuntu.com * Management

[Touch-packages] [Bug 1953525] [NEW] debian control should express a package dependency on ubuntu-advantage-tools

2021-12-07 Thread Chad Smith
Public bug reported: ./softwareproperties/gtk/utils.py relies on presence of ua command delivered by ubuntu-advantage-tools. This deb should probably express at least a Recommends on ubuntu-advantage-tools. ** Affects: software-properties (Ubuntu) Importance: Undecided Status: New

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-04-03 Thread Chad Smith
I can now confirm successful autoinstall runs with FQDN in kernel commandline in Desktop live installer ISOs dated 20230403. This allows cloud-init.service to be ordered `After=NetworkManager.service NetworkManager-wait-online.service` which ensures devices and resolved are both 'up' and active by

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-04-07 Thread Chad Smith
I can confirm success manually launching images via kvm in virt-manager that live desktop image builds as of 20230403 images in `/cdrom/.disk/info` have the proper systemd service ordering which places cloud-init.service `After=NetworkManager.service NetworkManager- wait-online.service`. Which allo

[Touch-packages] [Bug 2008952] Re: DNS failure while trying to fetch user-data

2023-04-11 Thread Chad Smith
Closing the cloud-init task here as invalid because we have livecd- rootfs overlay config files allow for cloud-init.service to get ordered After=NetworkManager.service which solves the immediate DNS issues in early boot. Long-term cloud-init will need to spec out options to prefer ordering after N

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-06-09 Thread Chad Smith
** Description changed: - add_cloud_info() in data/general-hooks/ubuntu.py needs an overhaul. + [ Impact ] + Apport reported bug add invalid bug tags such as `uec-images` which no longer has meaning or `ec2-images` on openstack. Since cloud-init is installed in all these images and detects the

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-06-09 Thread Chad Smith
** Description changed: - [ Impact ] - Apport reported bug add invalid bug tags such as `uec-images` which no longer has meaning or `ec2-images` on openstack. Since cloud-init is installed in all these images and detects the correct datasource, leverage cloud-init's instance-data.json or cloud

[Touch-packages] [Bug 1997124] Re: Netplan/Systemd/Cloud-init/Dbus Race

2022-12-05 Thread Chad Smith
Confirmed that we need dbus.socket in cloud-init.service as the dependency chain doesn't explicitly define that ordering dependency. We'll need this for netplan apply to work without a race -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is su

[Touch-packages] [Bug 1915471] [NEW] FFe: base-files update MOTD help text formatting

2021-02-11 Thread Chad Smith
Public bug reported: [Description] Provide updated messaging text and formatting for MOTD 10-help-text related to text message organization, layout and verbiage. Minor improvements for cleaner formatting of messages greeting ssh attaches to a machine. [Rationale] MOTD messaging is one of the p

[Touch-packages] [Bug 1917677] [NEW] ubuntu: ucf tracking of valid known md5sums should be limited to only those md5sums that affect a given distro release

2021-03-03 Thread Chad Smith
Public bug reported: Currently the project tracks all valid md5sums of permutations of 50unattended-upgrades.conf in a single md5sum file that contains every md5sum of every historic version of all unique distros: 50unattended-upgrades.Debian 50unattended-upgrades.Devuan 50unattended-upgrades.

[Touch-packages] [Bug 1915547] Re: Users are prompted by ucf on upgrade from Trusty to Xenial

2021-03-03 Thread Chad Smith
> For this SRU, I'd therefore expect to see being added only the hashes involved in the specific issue being fixed - presumably only one - rather than 117. Usually the above never comes up, but I think it's relevant when there are 117, rather than the one or two entries that are common. > Similarl

[Touch-packages] [Bug 1915547] Re: Users are prompted by ucf on upgrade from Trusty to Xenial

2021-03-23 Thread Chad Smith
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1915547 Title: Users are prompted by ucf o

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-03-26 Thread Chad Smith
Thanks @robert-ancell for setting up the PPA. I tested on Xenial Ubuntu Desktop LiveCD and would like to report Failure on this implementation. Your use of subprocess is passing capture_output on xenial and that is raising an error in python before calling ua client. On a system attached to esm

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-03-26 Thread Chad Smith
Another thing to note/expect: ua client in release in xenial and bionic at the moment is a completed incompatible commandine (which we are planning on SRUing prior to Xenial ESM, so `ua status --format=json` will not work on something < version 20. I'm fairly certain you shouldn't care to support

[Touch-packages] [Bug 1732522] Re: [2.3] Ephemeral boot environment does not renew DHCP leases

2021-07-01 Thread Chad Smith
** Changed in: cloud-init Status: Incomplete => Invalid -- 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/1732522 Title: [2.3] Ephemeral boot environment does not rene

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-07-14 Thread Chad Smith
@robert-ancell and @corradoventu those errors are due to running software-properties-gtk as non-root user on a system that is not attached to any ubuntu-advantage services. The /var/lib/ubuntu-advantage/status.json file is only created by a root user via an `sudo ua status` or `sudo ua attach ` c

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-07-14 Thread Chad Smith
Also per #2 above, if we were to drop the `ua status` call from utils.py:get_ua_status() that would also mitigate the perceived "time cost" corradoventu mentioned because `ua status` does reach out to the internet to contracts.canonical.com to check service availability for your running distro/kern

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-07-14 Thread Chad Smith
Ultimately if we decide to go with #2 here's a patch that I think would limit both the time cost of a remote uRL query and the noisy logging: --- /usr/lib/python3/dist-packages/softwareproperties/gtk/utils.py 2021-06-10 23:20:22.0 -0600 +++ /usr/lib/python3/dist-packages/softwarepro

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-07-14 Thread Chad Smith
Ultimately if we decide to go with #2 here's a patch that I think would limit both the time cost of a remote uRL query and the noisy logging: --- /usr/lib/python3/dist-packages/softwareproperties/gtk/utils.py 2021-06-10 23:20:22.0 -0600 +++ /usr/lib/python3/dist-packages/softwareprop

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-07-14 Thread Chad Smith
miniamlly as in the patch above, I think we probably need a pre-flight check of os.path.exists( UA_STATUS_JSON) so we don't emit those Errno messages due to failed file opens -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to sof

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-07-19 Thread Chad Smith
>> Is there a reason why the ua client doesn't do this itself internally, i.e. it gives you fresh json or returns the cached copy if it can't do the update? Currently the only "time" during which ubuntu-advantage-tools (UA client) could perform the logic to exec 'sudo ua status' is during postinst

[Touch-packages] [Bug 1939732] [NEW] report availability of Ubuntu Advantage ESM services on unattached machines

2021-08-12 Thread Chad Smith
Public bug reported: Release: bionic/focal Version: 0.96.24.32 (bionic) Issue: Software & Updates GTK UI doesn't report availability of UBuntu Advantage ESM Infra or ESM Apps services on unattached machines Steps to repropduce: Launch software-properties-gtk from the commandline. See unexpecte

[Touch-packages] [Bug 1920836] Re: Show Extended Security Maintenence status

2021-08-12 Thread Chad Smith
Thank you for this submission. I was awaiting feedback on this bug to determine if you'd like to solve the outstanding issue that Extend... links aren't presented on the software-properties-gtk UI for unattached machines (and/or) dropping the error messages from the console. But, as you mentioned e

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-06-29 Thread Chad Smith
Regression discovered for focal-proposed due to type annotations not being parsed on python 3.8. this resulted in tracebacks from python when importing cloud-init's apport/general-hooks module: ..ERROR: hook /usr/share/apport/general-hooks/cloud-init.py crashed: Traceback (most recent call la

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-06-29 Thread Chad Smith
Filed a bug tracking focal-proposed regression https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2025376 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1724623 Title

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-06-29 Thread Chad Smith
SRU Verification script ** Description changed: [ Impact ] Apport reported bug add invalid bug tags such as `uec-images` which no longer has meaning or `ec2-images` on openstack. Since cloud-init is installed in all these images and detects the correct datasource, leverage cloud-init's ins

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-06-29 Thread Chad Smith
SUCCESSFUL verification on Jammy, Kinetic and Lunar. No tracebacks, all expected CloudArchitecture, CloudName, CloudPlatform and CloudRegion are present when expected for openstack or ec2/aws. No missing apport report keys from orig to -proposed. Long logs of test run below Jammy/Kinetic/Lunar: $

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-07-06 Thread Chad Smith
** Changed in: cloud-init (Ubuntu Lunar) Status: New => Fix Committed ** Description changed: [ Impact ] Apport reported bug add invalid bug tags such as `uec-images` which no longer has meaning or `ec2-images` on openstack. Since cloud-init is installed in all these images and detec

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-07-06 Thread Chad Smith
SRU validation Focal, Jammy, Kinetic and Lunar successes. ** Attachment added: "sru-1724623.log" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1724623/+attachment/5684387/+files/sru-1724623.log -- You received this bug notification because you are a member of Ubuntu Touch seeded pack

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-07-06 Thread Chad Smith
SRU validation Focal, Jammy, Kinetic and Lunar successes. ** Attachment added: "sru-1724623.log" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1724623/+attachment/5684388/+files/sru-1724623.log -- You received this bug notification because you are a member of Ubuntu Touch seeded pack

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-07-06 Thread Chad Smith
SRU validation Focal, Jammy, Kinetic and Lunar successes. ** Attachment added: "sru-1724623.log" https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1724623/+attachment/5684389/+files/sru-1724623.log ** Tags removed: block-proposed-focal regression-proposed verification-needed verification

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-07-13 Thread Chad Smith
While SRU verification did test lunar. I had forgotten the original release of 23.1 was already published to lunar containing the cloud-init changes for apport/general-hooks/cloud-init.py and apport/package- hooks/cloud-init.py that we are verifying here. I've marked Lunar task as fix-released si

[Touch-packages] [Bug 1724623] Re: Update ubuntu cloud info

2023-07-13 Thread Chad Smith
Updated test script asserting specific cloud-init version 23.2.1 as lunar was not installing from lunar-proposed by default without apt install -tlunar-proposed. also changed test to specifically assert expected CloudName/PlatformSubplatform or Region and collect FAILED logs otherwise Test veri

[Touch-packages] [Bug 2030788] Re: "localectl set-x11-keymap" doesn't work in mantic

2023-08-28 Thread Chad Smith
This bug is fix released in cloud-init 23.3-0ubuntu1 in Ubuntu mantic. ** Changed in: cloud-init (Ubuntu) Status: Fix Committed => Fix Released -- 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 2030788] Re: "localectl set-x11-keymap" doesn't work in mantic

2023-08-29 Thread Chad Smith
et up keymap/layout? ** Summary changed: - "localectl set-x11-keymap" doesn't work in mantic + Usability: "localectl set-x11-keymap" doesn't work in mantic ** Changed in: cloud-init (Ubuntu) Assignee: (unassigned) => Chad Smith (chad.smith) -- You received t

[Touch-packages] [Bug 2033926] Re: NTP module broken in mantic

2023-09-05 Thread Chad Smith
Closing this issue as it was a debian/control problem in systemd- timesyncd that dropped "Provides: time-daemon" from the package declarations in systemd 253.5-1ubuntu3. This prevented apt resolver in mantic from properly recognizing the conflicts between systemd-timesyncd and ntpsec. So the resolv

[Touch-packages] [Bug 2033926] Re: NTP module broken in mantic

2023-09-05 Thread Chad Smith
Marking the cloud-init task here as invalid as this is a systemd packaging issue that was resolved in 253.5-1ubuntu4 -- 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/2033926

[Touch-packages] [Bug 1835581] Re: networkd-dhcp4 does not set prefsrc for dhcp-provided classless or static routes

2019-08-02 Thread Chad Smith
Manual validate of fix in -proposed systemd on bionic, disco and eoan (eoan expected broken until followup to systemd-242 SRU is queued). Azure uses DHCP classless routes and their backplane security blocks all secondary IP traffic to either their IMDS service or externally bound traffic. Attache

[Touch-packages] [Bug 1835581] Re: networkd-dhcp4 does not set prefsrc for dhcp-provided classless or static routes

2019-08-02 Thread Chad Smith
Manual validate of fix in -proposed systemd on bionic, disco and eoan (eoan expected broken until followup to systemd-242 SRU is queued). Azure uses DHCP classess routes and blocks all secondary IP traffic to their IMDS service or external bound traffic. Attached are success logs on Azure vms, sh

[Touch-packages] [Bug 1855616] Re: apport tries to hit ec2 metadata service if cloud-init is installed

2019-12-08 Thread Chad Smith
I'll have to double check on UEC images and whether cloud-init is included in those image types, but we should be able to depend on the following function that that is the case: def add_cloud_info(report): # EC2 and Ubuntu Enterprise Cloud instances try: instance_data = json.loads(

[Touch-packages] [Bug 1857051] [NEW] Please add ${distro_id}ESM:${distro_codename}-infra-security and ${distro_id}ESM:${distro_codename}-apps-security to allowed origins (on Ubuntu)

2019-12-19 Thread Chad Smith
Public bug reported: ESM -infra-security and -apps-security will need to participate in unattended upgrades. ** Affects: unattended-upgrades (Ubuntu) Importance: Undecided Status: New ** Affects: unattended-upgrades (Ubuntu Trusty) Importance: Undecided Status: New *

[Touch-packages] [Bug 1823376] Re: Please add ${distro_id}ESM:${distro_codename}-security to allowed origins (on Ubuntu)

2019-12-19 Thread Chad Smith
This bug was fixed (and seems available in Eoan and Focal) but this feature Unattended upgrades setting was not backported to trusty, xenial or bionic. Please consider this backport to support ESM -security origins on trusty, xenial and bionic. ** Also affects: unattended-upgrades (Ubuntu Xenial)

[Touch-packages] [Bug 1857051] Re: Please add ${distro_id}ESM:${distro_codename}-infra-security and ${distro_id}ESM:${distro_codename}-apps-security to allowed origins (on Ubuntu)

2019-12-19 Thread Chad Smith
** Summary changed: - Please add ${distro_id}ESM:${distro_codename}-infra-security and t${distro_id}ESM:${distro_codename}-apps-securityo allowed origins (on Ubuntu) + Please add ${distro_id}ESM:${distro_codename}-infra-security and ${distro_id}ESM:${distro_codename}-apps-security to allowed o

[Touch-packages] [Bug 1857051] Re: Please add ${distro_id}ESM:${distro_codename}-infra-security and ${distro_id}ESM:${distro_codename}-apps-security to allowed origins (on Ubuntu)

2020-01-16 Thread Chad Smith
** Description changed: ESM -infra-security and -apps-security will need to participate in unattended upgrades. + + + Currently /etc/apt/apt.conf.d/50unattended-upgrades provides: + Unattended-Upgrade::Allowed-Origins { + "${distro_id}ESM:${distro_codename}"; + } + + + Given that t

[Touch-packages] [Bug 1857051] Re: Please add ${distro_id}ESM:${distro_codename}-infra-security and ${distro_id}ESMApps:${distro_codename}-apps-security to allowed origins (on Ubuntu)

2020-01-17 Thread Chad Smith
** Changed in: unattended-upgrades (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1857051 Title: Please add ${distro_

[Touch-packages] [Bug 1759307] Re: missing dependency on isc-dhcp-client (dhclient)

2018-03-27 Thread Chad Smith
** Changed in: cloud-init (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1759307 Title: missing dependency on isc

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
Ahh brian, sorry for this delay here, I forgot to subscribe to the bug. So those variable changes where actually because I had update apport on a zesty machine but accidentally diffed against xenial source. I'll put up an official upstream apport merge proposal and link it here so we can proceed w

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
** Branch linked: lp:~chad.smith/apport/add-multichar-response-for-long- lists -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not accept

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
Yeah that feels like a premature optomization as that limits your interface options significantly (to only 9 valid choices). I'm suprised there haven't been any other bugs related to this, but maybe there aren't a lot of cli use-cases out there with complex bug-reporting choices. I've attached a

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
Just tested on artful both above and below the prompt choice threshold of 10 and bug reporting works. Input of "9" for single digits choices versus "13" for multi-digit choices both work now for choice prompts with long lists. Short choice list prompts retain their single character responses. --

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-09 Thread Chad Smith
** Description changed: - the newly added cloud-init apport support shows a list of cloud - providers and asks the user to select one. There are currently 18 - options. For any option > 10, apport will just take the '1' that is - typed as the answer. + === Begin SRU Template === + [Impact] + Pac

[Touch-packages] [Bug 1240757] Re: Bridge not created if bind9 is on

2015-10-16 Thread Chad Smith
Looks like the proper syntax for the listen-on named config is either Just tested on MAAS dns service which fails > 75% of the time when brought up in a vm due to timing issues. The proposed "listen-on { ! 10.0.3.1; };" cannot be parsed by bind because ! is supposed to be outside the addres

[Touch-packages] [Bug 1240757] Re: Bridge not created if bind9 is on

2015-10-16 Thread Chad Smith
hmm, I should've validated this statement above further on deployments. I am seeing other errors with bind with the above suggestion. I'll debug more and present results. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in

[Touch-packages] [Bug 1240757] Re: Bridge not created if bind9 is on

2015-10-16 Thread Chad Smith
Ok attempt #2. Looks like the original clause below didn't match any addresses so I was getting connection refused messages listen-on { ! 10.0.3.1; }; What I found worked on my end was specifying a secondary address match list 'any' which we fall through to match any ipv4 address that is not

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-18 Thread Chad Smith
This quick fix worked on my side http://paste.ubuntu.com/25715415/ allows for two char reading if choices> 10 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title:

[Touch-packages] [Bug 1867029] Re: Package ifupdown breaks network configuration by cloud-init

2020-04-15 Thread Chad Smith
** Changed in: cloud-init Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ifupdown in Ubuntu. https://bugs.launchpad.net/bugs/1867029 Title: Package ifupdown breaks network config

[Touch-packages] [Bug 1867029] Re: Package ifupdown breaks network configuration by cloud-init

2020-05-08 Thread Chad Smith
This bug is believed to be fixed in cloud-init in version 20.2. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a membe

[Touch-packages] [Bug 1857051] Re: Please add ${distro_id}ESM:${distro_codename}-infra-security and ${distro_id}ESMApps:${distro_codename}-apps-security to allowed origins (on Ubuntu)

2020-01-28 Thread Chad Smith
Balint, It looks like this is addressed by: https://github.com/mvo5/unattended-upgrades/pull/244 which has now merged. Do we know if that branch going to be SRU'd to Trusty, Xenial and Bionic ** Changed in: unattended-upgrades (Ubuntu) Status: New => In Progress -- You received this bu

[Touch-packages] [Bug 1823376] Re: Please add ${distro_id}ESM:${distro_codename}-security to allowed origins (on Ubuntu)

2020-02-18 Thread Chad Smith
I think this bug is replaced by the work here. archive nmames for ESMApps and ESMInfa are now: "${distro_id}ESM:${distro_codename}-infra-security"; "${distro_id}ESMApps:${distro_codename}-apps-security"; The original request in this bug can be dropped as this repo archive is deprecated: "$

[Touch-packages] [Bug 1823376] Re: Please add ${distro_id}ESM:${distro_codename}-security to allowed origins (on Ubuntu)

2020-02-18 Thread Chad Smith
I think this bug is replaced by the work here: https://bugs.launchpad.net/ubuntu/+source/unattended- upgrades/+bug/1857051 ESM archive names for ESMApps and ESMInfa are now: "${distro_id}ESM:${distro_codename}-infra-security"; "${distro_id}ESMApps:${distro_codename}-apps-security"; The origi

  1   2   >