[Yahoo-eng-team] [Bug 1717969] [NEW] Exhausting the task limit

2017-09-18 Thread Robert Schweikert
Public bug reported: Depending on distribution the default number of tasks (threads) maybe unexpectedly low or it may be the default systemd setting (512). Given that more and more installers and other code are taking advantage of multiprocessing capabilities it is becoming more likely that

[Yahoo-eng-team] [Bug 1718640] [NEW] systemd and config template expansion fail for SUSE distros

2017-09-21 Thread Robert Schweikert
Public bug reported: During install template expansion for SUSE distributions fails for config and systemd templates. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned

[Yahoo-eng-team] [Bug 1718649] [NEW] sysV-init SUSE integration is broken

2017-09-21 Thread Robert Schweikert
Public bug reported: On older SUSE distributions (SLES 11) the init script integration is broken. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweik

[Yahoo-eng-team] [Bug 1718675] [NEW] It should be possible to add repos in SUSE distros

2017-09-21 Thread Robert Schweikert
Public bug reported: It is not possible to add zypper repos via simple yaml config ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) --

[Yahoo-eng-team] [Bug 1726572] [NEW] ntp config handling inconsisten for SLES and openSUSE

2017-10-23 Thread Robert Schweikert
, but sles is not listed as a supported distribution. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) -- You received this bug notification because

[Yahoo-eng-team] [Bug 1734787] [NEW] btrfs resize fails if root is a subvolume and mounted as ro

2017-11-27 Thread Robert Schweikert
-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscri

[Yahoo-eng-team] [Bug 1739023] [NEW] cloud-init should support iproute2 tools

2017-12-19 Thread Robert Schweikert
Public bug reported: Older ifconig, route, netstat, and arp tools are being deprecated on Linux distributions. cloud-init should in all cases support the newer iproute2 tools. ifconfig used in: cloudinit/sources/DataSourceAzure.py cloudinit/netinfo.py tools/mock-meta.py netstat used

[Yahoo-eng-team] [Bug 1732966] [NEW] Gateway setting dropped for ConfigDrive in legacy network sysconfig code path

2017-11-17 Thread Robert Schweikert
Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) -- 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/1732

[Yahoo-eng-team] [Bug 1731619] [NEW] Support chrony as a client for ntp

2017-11-11 Thread Robert Schweikert
Public bug reported: At present cloud-init supports configuration for ntp, and timesyncd. chrony is yet another way to configure time keeping on a Linux system and should be supported. Tests on AWS have shown that chrony is more reliable with the EC2 timesource than ntp. ** Affects: cloud-init

[Yahoo-eng-team] [Bug 1733226] [NEW] cloud-init-local service fails on SUSE distros

2017-11-19 Thread Robert Schweikert
Public bug reported: openSUSE and SLES use wicked for network handling and not dhclient. The cloud-init-local code assumes dhclient and thus fails: # systemctl status cloud-init-local.service ● cloud-init-local.service - Initial cloud-init job (pre-networking) Loaded: loaded

[Yahoo-eng-team] [Bug 1731022] [NEW] host template expansion does not work on SUSE distros

2017-11-08 Thread Robert Schweikert
Public bug reported: On openSUSE and SUSE Linux Enterprise server the hostname is not written to /etc/hosts when managed_etc_hosts is enabled. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init

[Yahoo-eng-team] [Bug 1731035] [NEW] misleading error message for hosts file template expansion

2017-11-08 Thread Robert Schweikert
for template hosts.suse ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) -- You received this bug notification because you are a member of Ya

[Yahoo-eng-team] [Bug 1770462] [NEW] Allow empty stages

2018-05-10 Thread Robert Schweikert
_read_modules for item in cfg_mods: TypeError: 'NoneType' object is not iterable Rather than complaining cloud-init should handle this gracefully and just skip the stage and do nothing. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) St

[Yahoo-eng-team] [Bug 1745235] [NEW] distribution detection

2018-01-24 Thread Robert Schweikert
Public bug reported: Upstream Python has deprecated platform.linux_distribution()[1] and the implementation is being removed in 3.7. This has an effect on template rendering during install and possibly other places in the code during runtime. Options are to use an external module [2] or

[Yahoo-eng-team] [Bug 1799301] [NEW] SUSE sysconfig renderer enablement incomplete

2018-10-22 Thread Robert Schweikert
Public bug reported: With db50bc0d9 the sysconfig renderer was enabled for openSUSE and SUSE Linux Enterprise. This implementation is incomplete and network rendering for openSUSE and SLES is now completely broken. Message in cloud-init.log: stages.py[ERROR]: Unable to render networking.

[Yahoo-eng-team] [Bug 1799709] [NEW] service order is incorrect for SUSE distros

2018-10-24 Thread Robert Schweikert
Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) ** Merge proposal linked: https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/357752 -- You received this bug notification because you are a mem

[Yahoo-eng-team] [Bug 1799540] [NEW] ONBOOT not supported in SUSE distros

2018-10-23 Thread Robert Schweikert
or for ONBOOT=no as STARTMODE=manual. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) -- You received this bug notification because you are a mem

[Yahoo-eng-team] [Bug 1800854] [NEW] BOTOPROTO handling between RHEL/Centos/Fedora and SUSE distros is different

2018-10-31 Thread Robert Schweikert
Public bug reported: Looks like we need to figure out how to do distribution specific handling in sysconfig.py for the file content anyway. For a static network configuration on openSUSE and SLES BOTOPROTO must be set to "static", but based on the comment in sysconfig.py # grep

[Yahoo-eng-team] [Bug 1801364] [NEW] persisting OpenStack metadat fails

2018-11-02 Thread Robert Schweikert
Public bug reported: Persistsing OpenStack metadata may fail. OpenStack has an entry named "random_seed" in the metadata [1]. This entry is treaded specially in the openstack.py helper when the metadat is read [2]. The attempt to decode the read data my result in a string that is not utf-8

[Yahoo-eng-team] [Bug 1812117] [NEW] route files are not written on SUSE distros

2019-01-16 Thread Robert Schweikert
Public bug reported: On SUSE distros the routes need to be written to ifroute-* files. At present the sysconfig renderer does not write the default routes to ifroute-* files, rather the default rout information is set in ifcfg-*. However the values DEFROUTE=yes and IPV6_DEFAULTGW have no meaning

[Yahoo-eng-team] [Bug 1812853] [NEW] should not write an "empty" resolve.conf file

2019-01-22 Thread Robert Schweikert
Public bug reported: If the user does not supply any dns resolution information in the configuartion cloud-init should not write a resolv.conf file that just contains the header. Putting a basically empty resolv.conf file in place prevents other tools to write the resolv.conf file as it is

[Yahoo-eng-team] [Bug 1810859] [NEW] ds-identify runs too early

2019-01-07 Thread Robert Schweikert
Public bug reported: ds-identify is executed from a systemd generator [1]. Based on my understanding of the intention of both this creates a non resolvable timing conflict. Generators run very early in the boot process. The cloud-init generator runs ds-identify which in turn runs "blkid" to

[Yahoo-eng-team] [Bug 1792799] [NEW] Host environment bleeds into test for mirror access testing

2018-09-16 Thread Robert Schweikert
psdcw1kdi/etc/hosts (quiet=False) tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got security mirror: shit ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) --

[Yahoo-eng-team] [Bug 1793193] [NEW] A locked user triggers an exception

2018-09-18 Thread Robert Schweikert
Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjschwei) -- 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/1793193 Ti

[Yahoo-eng-team] [Bug 1817368] [NEW] udev needs to be triggered if rules are written to a new file

2019-02-22 Thread Robert Schweikert
Public bug reported: On a VM with many interfaces it is possible that udev is slow. This may lead to the situation that 70-persistent-net.rules is being written to by cloud-init while also being written to by the net rules generator (75 -persistent-net-generator.rules). This may lead to

[Yahoo-eng-team] [Bug 1817230] [NEW] SUSE network configuration for IPv6 static addresses

2019-02-21 Thread Robert Schweikert
Public bug reported: The sysconfig renderer uses IPV6ADDR IPV6ADDR_SECONDARIES but this is not part of the set of names understood on SUSE distros it should be IPADDR6 IPADDR6_? ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New

[Yahoo-eng-team] [Bug 1813812] [NEW] expecting metadata server is reachable on the lexical first interface

2019-01-29 Thread Robert Schweikert
Public bug reported: In OpenStack it is possible to configure a network setup such that the metadata server is accessible via a "secondary" NIC, for example eth1. In such a setup cloud-init fails to locate the proper NIC to access the metadata server. ** Affects: cloud-init Importance:

[Yahoo-eng-team] [Bug 1849296] [NEW] reslov.conf gets clobbered

2019-10-22 Thread Robert Schweikert
Public bug reported: User changes applied by cloud-init to /etc/resolv.conf may get clobbered. The netconfig tool manages a symlink from /etc/resolv.conf to /var/run/netconfig/resolv.conf. When cloud-init writes dns information it opens the file, i.e. in this case /var/run/netconfig/resolv.conf

[Yahoo-eng-team] [Bug 1849378] [NEW] sysconfig renderer not detected on SLE distros

2019-10-22 Thread Robert Schweikert
Public bug reported: Not sure why this is showing up now in a number of instances as the code has been there for quite some time. sysconfig.py contains def available_sysconfig(target=None): expected = ['ifup', 'ifdown'] search = ['/sbin', '/usr/sbin'] for p in expected: if

[Yahoo-eng-team] [Bug 1845252] [NEW] Azure data source assumes network is driven via dhcpclient

2019-09-24 Thread Robert Schweikert
Public bug reported: The Azure data source assumes that the network is set up by dhcpclient. During cloud-init initialization the following traceback is generated: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/cloudinit/sources/DataSourceAzure.py", line 668, in

[Yahoo-eng-team] [Bug 1860164] [NEW] cloud-init generates a traceback if a default route already exists during ephemeral network setup

2020-01-17 Thread Robert Schweikert
2083, in subp cmd=args) ProcessExecutionError: Unexpected error while running command. This is a regression from 19.1 on SUSE where exiting routes were simply skipped. ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-i

[Yahoo-eng-team] [Bug 1858808] [NEW] On SUSE mixed static and dhcp setups are no properly configured

2020-01-08 Thread Robert Schweikert
6 and IPv4 configurations are defined, or if only one protocol is used and the IP is static ** Affects: cloud-init Importance: Undecided Assignee: Robert Schweikert (rjschwei) Status: New ** Changed in: cloud-init Assignee: (unassigned) => Robert Schweikert (rjsch

[Yahoo-eng-team] [Bug 1883907] [NEW] EC2 data source does not properly return the instance ID when cached data exists

2020-06-17 Thread Robert Schweikert
Public bug reported: When creating an AMI from a running instance without cleaning the cloud- init cache an instance from the new AMI is no properly identified as a new instance and none of the PER_INSTANCE tasks will be executed. The problem is that the Ec2 data source will return the cached

[Yahoo-eng-team] [Bug 1936823] [NEW] Azure data source assumes use of dhclient

2021-07-19 Thread Robert Schweikert
Public bug reported: The Azure data source assumes that all Linux distros use dhclient. Location of a lease file is hard coded to """ LEASE_FILE = '/var/lib/dhcp/dhclient.eth0.leases' """ and if the file is not found the data source reports errors: """ Failed to read