[Yahoo-eng-team] [Bug 1922801] [NEW] Write an integration test for GH: #780

2021-04-06 Thread Dan Watkins
Public bug reported: The code in https://github.com/canonical/cloud-init/pull/780 is in need of an integration test. Let's use this as a place to hash out the design of it and any framework changes, instead of the comments of a soon-to-be-landed PR. ** Affects: cloud-init Importance:

[Yahoo-eng-team] [Bug 1922742] [NEW] Failed: can't get Volume Group information from /dev/sda1

2021-04-06 Thread Dan Watkins
Public bug reported: When running tests in LXD VMs (LXD containers don't perform disk setup, as they don't have their own disks), I see: 2021-04-06 14:31:24,084 - helpers.py[DEBUG]: Running config-growpart using lock () 2021-04-06 14:31:24,084 - cc_growpart.py[DEBUG]: No 'growpart' entry in

[Yahoo-eng-team] [Bug 1922739] [NEW] AttributeError: 'DataSourceNoCloud' object has no attribute 'vendordata2_raw'

2021-04-06 Thread Dan Watkins
Public bug reported: On a test LXD VM instance, I see: 2021-04-06 14:05:11,296 - util.py[WARNING]: failed stage init 2021-04-06 14:05:11,302 - util.py[DEBUG]: failed stage init Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 652, in

[Yahoo-eng-team] [Bug 1921124] [NEW] Randomly-set credentials not available within the instance

2021-03-24 Thread Dan Watkins
in the instance, securely, so that these use cases are not regressed. [0] https://github.com/canonical/cloud- init/commit/b794d426b9ab43ea9d6371477466070d86e10668 ** Affects: cloud-init Importance: Undecided Assignee: Dan Watkins (oddbloke) Status: In Progress ** Changed in: cloud-init

[Yahoo-eng-team] [Bug 1905493] Re: cloud-init status --wait hangs indefinitely in a nested lxd container

2021-03-17 Thread Dan Watkins
Yep, that's what I've found; cloud-init is just waiting for its later stages to run, which are blocked by snapd.seeded.service exiting. ** Changed in: cloud-init Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is

[Yahoo-eng-team] [Bug 1829410] Re: vendor_data2 not supported

2021-03-09 Thread Dan Watkins
*** This bug is a duplicate of bug 1841104 *** https://bugs.launchpad.net/bugs/1841104 Marked as a duplicate: the good news is that we've released a fix for this! ** This bug has been marked a duplicate of bug 1841104 Openstack's vendor_data2.json is not handled -- You received this bug

[Yahoo-eng-team] [Bug 1829411] Re: vendor_data2 not supported

2021-03-09 Thread Dan Watkins
*** This bug is a duplicate of bug 1841104 *** https://bugs.launchpad.net/bugs/1841104 ** This bug is no longer a duplicate of bug 1829410 vendor_data2 not supported ** This bug has been marked a duplicate of bug 1841104 Openstack's vendor_data2.json is not handled -- You received

[Yahoo-eng-team] [Bug 1917322] [NEW] cloudinit.net.get_devicelist includes "bonding_masters" if present

2021-03-01 Thread Dan Watkins
Public bug reported: $ ls -l /sys/class/net/ total 0 lrwxrwxrwx 1 root root0 Feb 26 21:51 bond0 -> ../../devices/virtual/net/bond0 -rw-r--r-- 1 root root 4096 Feb 26 21:51 bonding_masters lrwxrwxrwx 1 root root0 Feb 26 21:51 enp5s0 ->

[Yahoo-eng-team] [Bug 1901011] Re: Azure temporary disk not present for instance type

2021-02-23 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 21.1. 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: Triaged => Fix Released -- You received this bug notification because you are a member of

[Yahoo-eng-team] [Bug 1915460] Re: no way to suppress host key info on console

2021-02-23 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 21.1. 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: In Progress => Fix Released -- You received this bug notification because you are a member

[Yahoo-eng-team] [Bug 1835584] Re: cloud-init might incorrectly consider reboot as new-instance during kernel upgrade or downgrade

2021-02-23 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 21.1. 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: In Progress => Fix Released -- You received this bug notification because you are a member

[Yahoo-eng-team] [Bug 1841104] Re: Openstack's vendor_data2.json is not handled

2021-02-23 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 21.1. 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

[Yahoo-eng-team] [Bug 1916540] Re: Release 21.1

2021-02-23 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 21.1. 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: New => Fix Released -- You received this bug notification because you are a member of

[Yahoo-eng-team] [Bug 1916540] [NEW] Release 21.1

2021-02-22 Thread Dan Watkins
Public bug reported: This bug tracks cloud-init's upstream release of 21.1. == Release Notes == Cloud-init release 21.1 is now available The 21.1 release:  * spanned about 3 months  * had 24 contributors from 25 domains  * fixed 10 Launchpad issues Highlights:  - New datasource for UpCloud  -

[Yahoo-eng-team] [Bug 1915077] Re: genisoimage may be going away

2021-02-09 Thread Dan Watkins
** Also affects: cloud-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1915077 Title: genisoimage may be going away Status

[Yahoo-eng-team] [Bug 1377308] Re: booting cloud image without initramfs broken

2021-02-03 Thread Dan Watkins
Drive-by mark as Incomplete, as the way initramfses and cloud images interact has changed substantially since 2014. ** Changed in: cloud-init (Ubuntu Trusty) Status: Triaged => Won't Fix ** Changed in: cloud-init (Ubuntu) Status: Triaged => Incomplete ** Changed in: cloud-init

[Yahoo-eng-team] [Bug 1908287] Re: cloud-init exits early on ec2 after reboot

2021-01-13 Thread Dan Watkins
Correct, I think this is a pycloudlib issue. ** Changed in: cloud-init Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1908287 Title: cloud-init exits

[Yahoo-eng-team] [Bug 1911227] Re: cc_seed_random: unexpectedly appends cloud's random_seed to specified seed data

2021-01-13 Thread Dan Watkins
The PR has landed, as this is a doc and test change, we don't need to wait for a release to mark this Fix Released. ** Changed in: cloud-init Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed

[Yahoo-eng-team] [Bug 1910408] Re: Cubic appends characters to /etc/os-release and /etc/lsb-release breaking the new automated installation method for Ubuntu

2021-01-12 Thread Dan Watkins
Sounds like there's nothing for cloud-init here; thanks all! ** Changed in: cloud-init Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1910408 Title:

[Yahoo-eng-team] [Bug 1910835] Re: Azure IMDS publicKeys contain \r\n which prevents ssh access to vms using cloud-generated ssh keys.

2021-01-12 Thread Dan Watkins
** Changed in: cloud-init Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1910835 Title: Azure IMDS publicKeys contain \r\n which prevents ssh

[Yahoo-eng-team] [Bug 1911230] Re: `test_datasource_rbx_no_stacktrace` incorrectly runs on all clouds

2021-01-12 Thread Dan Watkins
Fixed in https://github.com/canonical/cloud-init/pull/770 (and as this is a testing change, no need to wait for a release to Fix Released it). ** Changed in: cloud-init Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo!

[Yahoo-eng-team] [Bug 1911227] [NEW] cc_seed_random: unexpectedly appends cloud's random_seed to specified seed data

2021-01-12 Thread Dan Watkins
Importance: Medium Assignee: Dan Watkins (oddbloke) Status: Triaged ** Tags: docs ** Changed in: cloud-init Status: New => Triaged ** Changed in: cloud-init Importance: Undecided => Medium ** Summary changed: - cc_seed_random: unexpectedly appends cloud's random_s

[Yahoo-eng-team] [Bug 1911230] [NEW] `test_datasource_rbx_no_stacktrace` incorrectly runs on all clouds

2021-01-12 Thread Dan Watkins
Public bug reported: It makes assumptions about the platform it's testing on, so should be limited to platforms where we expect it to work. ** Affects: cloud-init Importance: Medium Assignee: James Falcon (falcojr) Status: In Progress -- You received this bug notification

[Yahoo-eng-team] [Bug 1896532] Re: Ec2Datasource fails in environments without IMDSv2

2021-01-05 Thread Dan Watkins
Thanks for the update, David! I'll move this to Invalid, as there is now no work required on our end. (If you don't think that's correct, please do let us know, of course!) ** Changed in: cloud-init Status: Triaged => Invalid -- You received this bug notification because you are a

[Yahoo-eng-team] [Bug 1691489] Re: fstab entries written by cloud-config may not be mounted

2021-01-04 Thread Dan Watkins
** Changed in: cloud-init Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1691489 Title: fstab entries written by cloud-config may not be

[Yahoo-eng-team] [Bug 1905493] Re: cloud-init status --wait hangs indefinitely in a nested lxd container

2020-12-01 Thread Dan Watkins
Hi Ian, I've just launched such a container and I see a bunch of non-cloud-init errors in the log and when I examine `systemctl list-jobs`, I see that the two running jobs are systemd-logind.service and snapd.seeded.service: root@certain-cod:~# systemctl list-jobs JOB UNIT

[Yahoo-eng-team] [Bug 1812676] Re: cloud-init-per mishandles commands with dashes

2020-11-10 Thread Dan Watkins
** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1812676 Title: cloud-init-per mishandles commands with dashes

[Yahoo-eng-team] [Bug 1894887] [NEW] cloud-init's cc_lxd module fails to create a lxd bridge when running against lxd 4.0.3

2020-09-08 Thread Dan Watkins
Public bug reported: Between 3.0.3 (the lxd version in bionic) and 4.0.3 (the lxd version in focal), lxd has addressed an internal accounting bug regarding network interfaces and profiles. Specifically, this means that after `lxd init --auto --storage-backend dir` on each system, we see

[Yahoo-eng-team] [Bug 1531880] Re: Failed to start Initial cloud-init job (pre-networking)

2020-09-07 Thread Dan Watkins
Hey folks, I believe that this has been fixed in cloud-init 20.3 (specifically this commit: https://github.com/canonical/cloud- init/commit/0755cff078d5931e1d8e151bdcb84afb92bc0f02) so I'm going to move this to Fix Released. If you are seeing this error on an earlier version of cloud-init, it

[Yahoo-eng-team] [Bug 1885327] [NEW] util.mount_cb will create an unused temporary directory if the passed `device` is already mounted

2020-06-26 Thread Dan Watkins
Public bug reported: The tmpdir creation happens before (and around, as a contextmanager) the determination of whether or not a mount will be needed. This could be improved. ** Affects: cloud-init Importance: Wishlist Status: New -- You received this bug notification because you

[Yahoo-eng-team] [Bug 1884979] [NEW] util.mount_cb only supports passing through a single (positional) argument to the wrapped function

2020-06-24 Thread Dan Watkins
Public bug reported: This makes it difficult to use with a function that needs to take more than a single positional parameter, or any keyword arguments; you have to partially apply the function before calling mount_cb. I propose adding `args` and `kwargs` parameters, which will be passed to the

[Yahoo-eng-team] [Bug 1884618] Re: cloudinit.net refactor: is_connected

2020-06-23 Thread Dan Watkins
This function is actually unused, so we're dropping it in https://github.com/canonical/cloud-init/pull/453. ** Changed in: cloud-init Status: Triaged => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init.

[Yahoo-eng-team] [Bug 1884620] Re: cloudinit.net refactor: is_present

2020-06-23 Thread Dan Watkins
This function is actually unused, so we're dropping it in https://github.com/canonical/cloud-init/pull/453. ** Changed in: cloud-init Status: Triaged => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init.

[Yahoo-eng-team] [Bug 1884624] Re: cloudinit.net refactor: is_wireless

2020-06-23 Thread Dan Watkins
This function is actually unused, so we're dropping it in https://github.com/canonical/cloud-init/pull/453. ** Changed in: cloud-init Status: Triaged => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init.

[Yahoo-eng-team] [Bug 1884606] [NEW] cloudinit.net refactor: find_fallback_nic

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884603] [NEW] cloudinit.net refactor: device_devid

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884617] [NEW] cloudinit.net refactor: is_bridge

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884613] [NEW] cloudinit.net refactor: get_interfaces_by_mac

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884604] [NEW] cloudinit.net refactor: device_driver

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884609] [NEW] cloudinit.net refactor: get_ib_hwaddrs_by_interface

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884610] [NEW] cloudinit.net refactor: get_ib_interface_hwaddr

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884616] [NEW] cloudinit.net refactor: is_bond

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884605] [NEW] cloudinit.net refactor: extract_physdevs

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884607] [NEW] cloudinit.net refactor: generate_fallback_config

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884608] [NEW] cloudinit.net refactor: get_devicelist

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884615] [NEW] cloudinit.net refactor: interface_has_own_mac

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884611] [NEW] cloudinit.net refactor: get_interface_mac

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884612] [NEW] cloudinit.net refactor: get_interfaces

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884614] [NEW] cloudinit.net refactor: get_master

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884600] [NEW] cloudinit.net refactor: _get_current_rename_info

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884601] [NEW] cloudinit.net refactor: _rename_interfaces

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884602] [NEW] cloudinit.net refactor: apply_network_config_names

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884624] [NEW] cloudinit.net refactor: is_wireless

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884620] [NEW] cloudinit.net refactor: is_present

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884623] [NEW] cloudinit.net refactor: is_vlan

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884618] [NEW] cloudinit.net refactor: is_connected

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884619] [NEW] cloudinit.net refactor: is_physical

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884626] [NEW] cloudinit.net refactor: wait_for_physdevs

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884621] [NEW] cloudinit.net refactor: is_renamed

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884625] [NEW] cloudinit.net refactor: master_is_bridge_or_bond

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884622] [NEW] cloudinit.net refactor: is_up

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884627] [NEW] cloudinit.net refactor: get_dev_features

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884628] [NEW] cloudinit.net refactor: has_netfail_standby_feature

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884632] [NEW] cloudinit.net refactor: is_netfail_standby

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884629] [NEW] cloudinit.net refactor: is_netfailover

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884630] [NEW] cloudinit.net refactor: is_netfail_master

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884631] [NEW] cloudinit.net refactor: is_netfail_primary

2020-06-22 Thread Dan Watkins
Public bug reported: This bug is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the function named in the title of this bug. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1884599] [NEW] cloudinit.net refactor: TEST BUG

2020-06-22 Thread Dan Watkins
Public bug reported: This bug report is tracking part of the refactor of cloudinit.net into cloudinit.distros.networking, specifically the refactoring of the named function. See [0] for further details. [0] https://cloudinit.readthedocs.io/en/latest/topics/hacking.html

[Yahoo-eng-team] [Bug 1883666] Re: readdocs: MAAS datasource section is empty and link is broken

2020-06-19 Thread Dan Watkins
As this is a doc bug and the fix is available on ReadTheDocs, I'm going to mark this Fix Released. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init.

[Yahoo-eng-team] [Bug 1883903] [NEW] cc_final_message will create /var/lib/cloud/instance as a directory if the symlink does not exist

2020-06-17 Thread Dan Watkins
Public bug reported: cc_final_message calls util.write_file, which calls ensure_dir; if nothing has caused the symlink to be created, then this means that /var/lib/cloud/instance will be a directory, and future boots will fail because they fail to remove it (because it's a directory, so can't

[Yahoo-eng-team] [Bug 1124384] Re: Configuration reload clears event that others jobs may be waiting on

2020-06-17 Thread Dan Watkins
** No longer affects: cloud-init -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1124384 Title: Configuration reload clears event that others jobs may be waiting on Status in

[Yahoo-eng-team] [Bug 1879103] Re: Unattended installation user data conflict

2020-06-16 Thread Dan Watkins
OK, it sounds like cloud-init is behaving as we expect it to, so I'm going to mark our task as Invalid. Do comment (and change status to New, if you can) if you think that's incorrect. ** Changed in: cloud-init Status: Confirmed => Invalid -- You received this bug notification because

[Yahoo-eng-team] [Bug 1883122] [NEW] `cloud-init status` should distinguish between "permanently disabled" and "disabled for this boot"

2020-06-11 Thread Dan Watkins
Public bug reported: Using ds-identify and a systemd generator, cloud-init can detect that it should disable itself for a particular boot when there is nothing for it to do. However, if on the next boot a datasource becomes applicable (e.g. a NoCloud/ConfigDrive device is presented to the

[Yahoo-eng-team] [Bug 1883124] [NEW] `cloud-init status` reports "disabled" for a boot when it did run

2020-06-11 Thread Dan Watkins
Public bug reported: Steps to reproduce, on a booted instance: $ cloud-init status done $ touch /etc/cloud/cloud-init.disabled $ cloud-init status disabled While this is accurate on one sense (cloud-init _is_ now disabled) it obscures the fact that cloud-init did run for this boot. It is both

[Yahoo-eng-team] [Bug 1880701] [NEW] `cloud-init query` cannot be used to determine the current datasource

2020-05-26 Thread Dan Watkins
Public bug reported: On a lxd container, which uses the NoCloud datasource[0], the only place where "NoCloud" is queryable is in `datasource_list`: # cloud-init query -a | grep -B1 -A2 NoCloud "datasource_list": [ "NoCloud", "None" ], With ds-identify enabled, you probably _can_ take

[Yahoo-eng-team] [Bug 1879356] [NEW] `cloud-init devel schema --annotate` fails for integer keys which do not roundtrip through string representation

2020-05-18 Thread Dan Watkins
Public bug reported: When using the new snap.commands schema (introduced in https://github.com/canonical/cloud-init/pull/364), it's possible to trigger a bug in our assertion code. Specifically, this file will fail validation (correctly, because `123` is an integer and not a string):

[Yahoo-eng-team] [Bug 1876941] [NEW] Document that network-config MAC addresses should be lower case

2020-05-05 Thread Dan Watkins
Public bug reported: Currently users may see failures if using upper-case MAC addresses in network configuration, because cloud-init does not appropriately normalise the case of MAC addresses in all situations. https://cloudinit.readthedocs.io/en/latest/topics/network-config- format-v2.html

[Yahoo-eng-team] [Bug 1876795] [NEW] `cloud-init analyze` should emit a useful error message if it finds no log lines to process

2020-05-04 Thread Dan Watkins
Public bug reported: When run on the log output from Amazon Linux 2 (see bug 1876323), `analyze` fails to find any log lines to process. Currently, it treats this as a normal situation and emits: $ cloud-init analyze show -i ~/Downloads/uhJNysgm.txt -- Boot Record 01 -- The total time elapsed

[Yahoo-eng-team] [Bug 1876794] [NEW] `cloud-init analyze` depends on the upstream-shipped log format to function

2020-05-04 Thread Dan Watkins
Public bug reported: This is a more general version of bug 1876323: `cloud-init analyze` relies on the log format that upstream ships in order to detect log lines. This means that if logging configuration by users or downstream packagers diverges (as is the case on Amazon Linux 2, for example),

[Yahoo-eng-team] [Bug 1876323] [NEW] `cloud-init analyze` fails to produce useful output on Amazon Linux 2 due to log format configuration

2020-05-01 Thread Dan Watkins
Public bug reported: When running `cloud-init analyze show` against a log file from an Amazon Linux 2 instance (e.g. https://pastebin.com/uhJNysgm), no useful output is produced: $ cloud-init analyze show -i ~/Downloads/uhJNysgm.txt -- Boot Record 01 -- The total time elapsed since completing an

[Yahoo-eng-team] [Bug 1876139] Re: Groovy cloud-images failing during growpart

2020-04-30 Thread Dan Watkins
OK, a binary wasn't relocated, but the dependency from util-linux -> fdisk was dropped (in https://launchpad.net/ubuntu/+source/util- linux/2.34-0.1ubuntu3): util-linux (2.34-0.1ubuntu3) focal; urgency=medium * Drop dependency from util-linux to fdisk. The transition to split-out fdisk

[Yahoo-eng-team] [Bug 1874875] [NEW] cloudinit.sources.NetworkConfigSource can be refactored to an enum

2020-04-24 Thread Dan Watkins
Public bug reported: It is currently implemented as a namedtuple, because it was written when the codebase supported Python 2 (where using an enum would have introduced a new dependency). As enum is in the stdlib in all our supported Python releases, we can now use it without that constraint.

[Yahoo-eng-team] [Bug 1874866] [NEW] Add more Python versions to cloud-init's Travis CI

2020-04-24 Thread Dan Watkins
Public bug reported: Currently we run cloud-init's unit tests twice in Travis: * once on Python 3.6 with the latest versions of our dependencies from PyPI, and * once on Python 3.5 with the versions of our dependencies that are in xenial (but installed from PyPI, rather than apt) We currently

[Yahoo-eng-team] [Bug 1869306] Re: Users module errors for users of same SSH key type with existing user

2020-04-20 Thread Dan Watkins
Actually I think that may have been a red herring, I think "- name:trent" was the actual problem: that's parsed as ["name:trent"], not {"name": "trent"}. Which then means that the parser expects the following line to be a list item, and it's a mapping item, hence the blow up. Regardless, glad

[Yahoo-eng-team] [Bug 1873910] [NEW] Nightly CI builds are failing because due to missing get_interfaces_by_mac mocking

2020-04-20 Thread Dan Watkins
Assignee: Dan Watkins (daniel-thewatkins) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Dan Watkins (daniel-thewatkins) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. ht

[Yahoo-eng-team] [Bug 1872813] Re: cloud-init fails to detect iSCSI root on focal Oracle instances

2020-04-14 Thread Dan Watkins
** Also affects: open-iscsi (Ubuntu) Importance: Undecided Status: New ** Changed in: cloud-init Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init.

[Yahoo-eng-team] [Bug 1872813] [NEW] cloud-init fails to detect iSCSI root on focal Oracle instances

2020-04-14 Thread Dan Watkins
cle.py#L194-L198, we can see that this path is only taken if _is_iscsi_root returns False. ** Affects: cloud-init Importance: Undecided Assignee: Dan Watkins (daniel-thewatkins) Status: In Progress ** Changed in: cloud-init Assignee: (unassigned) => Dan Watkins (daniel-thewatkins

[Yahoo-eng-team] [Bug 1871858] [NEW] cloud-init should support parsing ssh_config/sshd_config files with Include directives

2020-04-09 Thread Dan Watkins
Public bug reported: In OpenSSH 8.2[0], support for Include directives in ssh_config and sshd_config was introduced. In Debian/Ubuntu version 1:8.2p1-1 [1], Include directives were added to the config files shipped in the package (and in 1:8.2p1-4, the directories themselves were added).

[Yahoo-eng-team] [Bug 1871859] [NEW] cloud-init should write ssh_config.d/sshd_config.d snippets (when supported) instead of modifying config files

2020-04-09 Thread Dan Watkins
Public bug reported: In OpenSSH 8.2[0], support for Include directives in ssh_config and sshd_config was introduced. In Debian/Ubuntu version 1:8.2p1-1 [1], Include directives were added to the config files shipped in the package (and in 1:8.2p1-4, the directories themselves were added). Where

[Yahoo-eng-team] [Bug 1861460] Re: cloud-init should parse initramfs rendered netplan if present

2020-04-07 Thread Dan Watkins
Ryan has started work on this, moving to In Progress. ** Changed in: cloud-init Status: Invalid => Triaged ** Changed in: cloud-init Status: Triaged => In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to

[Yahoo-eng-team] [Bug 1869155] Re: Cloud-init uses macaddress keyword on s390x where MAC addresses are not necessarily stable/unique across reboots

2020-03-31 Thread Dan Watkins
cloud-init isn't the source of this configuration, so I'm marking our task Incomplete and adding subiquity (which I believe generates this config). (Regardless, I've responded to a couple of things below for background.) > I think with the right tooling (ip, ifconfig, ethtool or even the

[Yahoo-eng-team] [Bug 1867043] Re: Daily builds failing due to missing pytest

2020-03-11 Thread Dan Watkins
** Changed in: cloud-init Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1867043 Title: Daily builds failing due to missing pytest Status

[Yahoo-eng-team] [Bug 1867043] [NEW] Daily builds failing due to missing pytest

2020-03-11 Thread Dan Watkins
Public bug reported: e.g. https://launchpadlibrarian.net/468666983/buildlog_ubuntu-xenial- amd64.cloud- init_20.1-2345-gd5dbbd1-0ubuntu1+1465~trunk~ubuntu16.04.1_BUILDING.txt.gz http_proxy= make PYVER=python3 check make[2]: Entering directory '/<>' python3 -m pytest -v tests/unittests cloudinit

[Yahoo-eng-team] [Bug 1860789] Re: ssh_authkey_fingerprints must use sha256 not md5

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Also affects: cloud-init Importance: Undecided Status: New ** Changed in: cloud-init Status: New => Fix Released

[Yahoo-eng-team] [Bug 1860795] Re: cc_set_passwords is too short for RANDOM

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Also affects: cloud-init Importance: Undecided Status: New ** Changed in: cloud-init Status: New => Fix Released

[Yahoo-eng-team] [Bug 1861412] Re: cloud-init crashes with static network configuration

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Also affects: cloud-init Importance: Undecided Status: New ** Changed in: cloud-init Status: New => Fix Released

[Yahoo-eng-team] [Bug 1863943] Re: do not log imdsv2 token headers

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. 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

[Yahoo-eng-team] [Bug 1863954] Re: Release 20.1

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. 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: New => Fix Released -- You received this bug notification because you are a member of

[Yahoo-eng-team] [Bug 1861921] Re: cloud tests ssh time out

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. 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: In Progress => Fix Released -- You received this bug notification because you are a member

[Yahoo-eng-team] [Bug 1781781] Re: /swap.img w/fallocate has holes

2020-02-20 Thread Dan Watkins
This bug is believed to be fixed in cloud-init in version 20.1. 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

  1   2   3   >