[Yahoo-eng-team] [Bug 1871925] [NEW] Server appears in "openstack server list" but "openstack server (show|delete|etc)" insists it doesn't exist

2020-04-09 Thread Lars Kellogg-Stedman
Public bug reported: We found a server that shows up in the output of "openstack server list": $ openstack server list | grep 705e3bb6-27a1-4b15-a37b-62f914fc221c | 705e3bb6-27a1-4b15-a37b-62f914fc221c | 1mg89chr-bc4a8-sh8xn-worker-slpnh | ERROR |

[Yahoo-eng-team] [Bug 1815990] [NEW] Failure with OpenStack datasource on bare metal servers

2019-02-14 Thread Lars Kellogg-Stedman
Public bug reported: I am booting Ubuntu 18.04 (so, cloud-init 18.4-0ubuntu1~18.04.1) on an OpenStack managed bare metal server. In order to activate the OpenStack data source, I have set an explicit data source on the kernel command line:   # cat /proc/cmdline   

[Yahoo-eng-team] [Bug 1815799] [NEW] Attempting to delete a baremetal server places server into ERROR state

2019-02-13 Thread Lars Kellogg-Stedman
Public bug reported: When deleting a baremetal server, we see: 2019-02-13 12:58:16.856 7 ERROR nova.compute.manager [instance: dcb4f055-cda4-4d61-ba8f-976645c4e92a] Traceback (most recent call last): 2019-02-13 12:58:16.856 7 ERROR nova.compute.manager [instance:

[Yahoo-eng-team] [Bug 1815791] [NEW] Race condition causes Nova to shut off a successfully deployed baremetal server

2019-02-13 Thread Lars Kellogg-Stedman
Public bug reported: When booting a baremetal server with Nova, we see Ironic report a successful power on: ironic-conductor.log:2019-02-13 10:52:15.901 7 INFO ironic.conductor.utils [req-774350ce-9392-4096-b66c-20ad3d794e4e 7a9b1ac45e084e7cbeb9cb740ffe8d08 41ea8af8d00e46438c7be3b182bbb53f -

[Yahoo-eng-team] [Bug 1807527] [NEW] RFE: allow the operator to control which floating ip pool is selected by default when allocating a new floating ip

2018-12-08 Thread Lars Kellogg-Stedman
gnee: Lars Kellogg-Stedman (larsks) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1807527 Title: RFE: allow the operator to control which f

[Yahoo-eng-team] [Bug 1778989] [NEW] Keystone client is unable to correctly look up names of federated users

2018-06-27 Thread Lars Kellogg-Stedman
Public bug reported: When looking up a user in a domain, one can generally do this: openstack user show --domain testdomain testuser Unfortunately, if testuser is a federated user, the above command will fail. For example:   $ openstack domain list -c ID -c Name   

[Yahoo-eng-team] [Bug 1769952] [NEW] test_net.TestGenerateFallbackConfig.test_unstable_names is sensitive to host environment

2018-05-08 Thread Lars Kellogg-Stedman
Public bug reported: The test_unstable_names test expects cloudinit.util.udevadm_settle to be called once: self.assertEqual(1, mock_settle.call_count) But cloudinit.net.find_fallback_nic inspects /proc/cmdline for the net.ifnames=0 parameter, and if found will not call udevadm_settle, which

[Yahoo-eng-team] [Bug 1767553] [NEW] compute resource tracker errors regarding stale allocations should be logged at WARNING instead of DEBUG

2018-04-27 Thread Lars Kellogg-Stedman
should be logged at WARNING priority so that it is visible. ** Affects: nova Importance: Undecided Assignee: Lars Kellogg-Stedman (larsks) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack

[Yahoo-eng-team] [Bug 1693265] [NEW] network_data.json should provide interface-scoped nameserver information

2017-05-24 Thread Lars Kellogg-Stedman
Public bug reported: Nova currently provides nameserver information in network_data.json as a globally-scoped "services" key. E.g., from https://specs.openstack.org/openstack/nova- specs/specs/liberty/implemented/metadata-service-network-info.html#rest- api-impact: { "links": [...],

[Yahoo-eng-team] [Bug 1693251] [NEW] cloud-init should configure networkmanager to not manage /etc/resolv.conf

2017-05-24 Thread Lars Kellogg-Stedman
Public bug reported: Currently, cloud-init adds nameserver entries directly to /etc/resolv.conf but does not configure namservers in per-interface configuration files. This could be problematic because information received from other sources (e.g., from another interface that is using dhcp)

[Yahoo-eng-team] [Bug 1670052] [NEW] cloud-init raises an exception when it sees more than 3 nameservers

2017-03-04 Thread Lars Kellogg-Stedman
Public bug reported: When running in an environment that provides more than 3 nameservers, cloud-init will raise a ValueError exception: Mar 04 18:03:01 localhost.localdomain cloud-init[901]: ValueError: Adding '8.8.8.8' would go beyond the '3' maximum name servers While that is a legitimate

[Yahoo-eng-team] [Bug 1669504] [NEW] net/sysconfig.py is broken with ipv4 + ipv6 interfaces

2017-03-02 Thread Lars Kellogg-Stedman
Public bug reported: Given a network configuration that includes ipv4 and ipv6 configuration for an interface, as in: "networks": [ { "id": "public-ipv6", "ip_address": "2604:A880:0400:00D0:::1714:F001/64", "link": "interface-public",

[Yahoo-eng-team] [Bug 1665441] [NEW] cloudinit/net/sysconfig.py does not parse network_data.json correctly

2017-02-16 Thread Lars Kellogg-Stedman
Public bug reported: In cloudinit/net/sysconfig.py, we see: elif len(iface_subnets) > 1: for i, iface_subnet in enumerate(iface_subnets, start=len(iface.children)): iface_sub_cfg = iface_cfg.copy()

[Yahoo-eng-team] [Bug 1658200] [NEW] Running tests via nosestests fails due to insufficient test isolation

2017-01-20 Thread Lars Kellogg-Stedman
Public bug reported: I don't know if we care about this or not, since it involves a test harness other than tox. Attempting to run the unittests using nosetests (nosetets tests/unittests) will fail because the _set_mock_metadata method appears to only run once...so tests that expect non-default

[Yahoo-eng-team] [Bug 1658174] [NEW] cloud-init fails to disable ecdsa-sha2-nitp521 keys

2017-01-20 Thread Lars Kellogg-Stedman
Public bug reported: cloud-init adds ssh_authorized_keys to the default user fedora and to root but for root it disables the keys with a prefix command that echoes the helpful message: 'Please login as the user "fedora" rather than the user "root".' However, if the key is of type

[Yahoo-eng-team] [Bug 1657130] [NEW] get_data in DataSourceOpenStack.py can time out if metadata service is slow

2017-01-17 Thread Lars Kellogg-Stedman
Public bug reported: cloud-init sometimes times out and fails to fetch metadata in the OpenStack environment when the Controller node is under high workload. The default timeout value is 5 seconds and it may be too small in some cases where the Controller node is too busy to respond to the

[Yahoo-eng-team] [Bug 1647910] [NEW] hostname is set incorrectly if localhostname is fully qualified

2016-12-06 Thread Lars Kellogg-Stedman
Public bug reported: If no data source is available and the local hostname is set to "localhost.localdomain", and /etc/hosts looks like: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 Then in sources/__init__.py in get_hostname: - util.get_hostname() will

[Yahoo-eng-team] [Bug 1647118] [NEW] cloud-init should use "dnf" for installing packages on fedora

2016-12-03 Thread Lars Kellogg-Stedman
Public bug reported: Recent fedora releases use "dnf" instead of "yum" for package management. While there is a compatible "yum" cli available, there's no guarantee that it will be available. cloud-init should use dnf if it is available. ** Affects: cloud-init Importance: Undecided

[Yahoo-eng-team] [Bug 1646966] [NEW] cloud-config.service is failing with a unicodedecodeerror

2016-12-02 Thread Lars Kellogg-Stedman
Public bug reported: With 0.7.8 on a CentOS 7 environment, I am seeing cloud-init fail (when called from cloud-config.service) with the following traceback: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 785, in _run_modules

[Yahoo-eng-team] [Bug 1646919] [NEW] reading from /sys/class/net/eth0/carriers raises IOError if interface is down

2016-12-02 Thread Lars Kellogg-Stedman
Public bug reported: If an interface is "down", reading from several of the sysfs files for that interface will return EINVAL, which causes Python to raise an IOError like this: Dec 02 18:11:09 citest.novalocal cloud-init[413]: [CLOUDINIT] util.py[DEBUG]: failed stage init-local

[Yahoo-eng-team] [Bug 1571629] [NEW] Azure data source contains hardcoded distribution-specific paths

2016-04-18 Thread Lars Kellogg-Stedman
Public bug reported: The Azure data source (in sources/helpers/azure.py) attempts to read the current DHCP lease from /var/lib/dhcp/dhclient.eth0.leases, but that path does not exist on, for example, RHEL/Fedora/CentOS environments (which appear to use /var/lib/dhclient/dhclient--eth0.lease).

[Yahoo-eng-team] [Bug 1536706] [NEW] rh_subscription plugin attemps connection even when no config is provided

2016-01-21 Thread Lars Kellogg-Stedman
Public bug reported: The rh_subscription plugin attempts to connect to the RHN servers even when no config is provided. This can introduce a large delay in the boot process if the local environment is dropping outbound packets. ** Affects: cloud-init Importance: Undecided Status:

[Yahoo-eng-team] [Bug 1532234] [NEW] Merging with data in /etc/cloud/cloud.cfg does not work as expected

2016-01-08 Thread Lars Kellogg-Stedman
Public bug reported: Given the following user-data: #cloud-config merge_how: 'list(append)+dict(recurse_array)+str()' disable_root: 0 users: - name: foobar gecos: Foo B. Bar lock-passwd: false passwd: secret - name: barfoo gecos: Bar B. Foo

[Yahoo-eng-team] [Bug 1461201] [NEW] Check for systemd (in distros/rhel.py) is fragile

2015-06-02 Thread Lars Kellogg-Stedman
Public bug reported: The existing cloud-init code determines if systemd is in use by looking at the distribution name and version. This is prone to error because: - RHEL derivatives other than CentOS (e.g., Scientific Linux) will fail this test, and - Distributions that are not derived from

[Yahoo-eng-team] [Bug 1437904] [NEW] generate_sample.sh uses MODULEPATH environment variable, conflicts with environment-modules

2015-03-29 Thread Lars Kellogg-Stedman
Public bug reported: The generate_sample.sh script refers to a MODULEPATH variable without clearing it first. On a system using the environment-modules package, MODULEPATH is a PATH-like environment variable, which leads generate_sample.sh to fail like this: No module named

[Yahoo-eng-team] [Bug 1437694] [NEW] FlavorDiskTooSmall exception should be communicated to client

2015-03-28 Thread Lars Kellogg-Stedman
Public bug reported: If you attempt to boot an image that is too large for a given flavor: $ nova boot --image fedora-21-cloud --flavor m1.tiny test0 The boot will of course fail, but the fault communicated to the client is: | fault| {message: Build of

[Yahoo-eng-team] [Bug 1423952] [NEW] It is impossible to delete an instance that has failed due to neutron/nova notification problems

2015-02-20 Thread Lars Kellogg-Stedman
Public bug reported: If you attempt to boot a nova instance without Neutron properly configured for neutron/nova notifications, the instance will eventually fail to spawn: [-] [instance: 1541a197-9f80-4ee5-a7d6-08e591aa83fd] Instance failed to spawn [instance:

[Yahoo-eng-team] [Bug 1411829] [NEW] CentOS 7 should be treated like RHEL 7 in dist/rhel.py

2015-01-16 Thread Lars Kellogg-Stedman
Public bug reported: cloudinit/dists/rhel.py contains the follow code to determine if systemd is in use: def uses_systemd(self): # Fedora 18 and RHEL 7 were the first adopters in their series (dist, vers) = util.system_info()['dist'][:2] major =

[Yahoo-eng-team] [Bug 1402813] [NEW] https://review.openstack.org/#/c/91722 breaks icehouse-juno live migration

2014-12-15 Thread Lars Kellogg-Stedman
Public bug reported: The changes introduced in https://review.openstack.org/#/c/91722 break live migration from Icehouse compute nodes to Juno compute nodes. This complicates the upgrade process since it means origin compute nodes must be upgraded at the same time as target compute nodes, which

[Yahoo-eng-team] [Bug 1392058] [NEW] nova fails attempting to enumerate libvirt disk images

2014-11-12 Thread Lars Kellogg-Stedman
Public bug reported: Nova (Icehouse) appears to be enumerating all available libvirt volumes (at least those in the default storage pool) during the Auditing locally available compute resources process. If these images are not readable by Nova it results in the following error: 2014-11-12

[Yahoo-eng-team] [Bug 1374663] [NEW] agent/linux/ip_lib.py does not correctly handle output from 'iproute2' command

2014-09-26 Thread Lars Kellogg-Stedman
.\n' This can cause failures in, e.g., neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py, which performs almost exactly the same iteration in the get_interface_by_ip() method. ** Affects: neutron Importance: Undecided Assignee: Lars Kellogg-Stedman (larsks) Status

[Yahoo-eng-team] [Bug 1374666] [NEW] Nova devref documentation on hooks is incorrect

2014-09-26 Thread Lars Kellogg-Stedman
Kellogg-Stedman (larsks) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1374666 Title: Nova devref documentation on hooks is incorrect Status

[Yahoo-eng-team] [Bug 1326907] [NEW] neutron-openvswitch-agent on fedora 20: SystemError: Unable to determine kernel version for Open vSwitch with VXLAN support.

2014-06-05 Thread Lars Kellogg-Stedman
, and it is demonstrably not stable. ** Affects: neutron Importance: Undecided Assignee: Lars Kellogg-Stedman (larsks) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https

[Yahoo-eng-team] [Bug 1302701] [NEW] Neutron refuses to delete instance associated with multiple floating addresses

2014-04-04 Thread Lars Kellogg-Stedman
Public bug reported: Neutron does not permit one to delete an instance that is associated with multiple floating ip addresses. Create an instance: nova boot ... --nic net-id=3ff9b903-e921-4752-a26f-cba8f1433992 --key- name lars test0 Add a second fixed ip address: nova add-fixed-ip test0

[Yahoo-eng-team] [Bug 1302796] [NEW] nova-compute (icehouse) exits with a misleading error when libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver

2014-04-04 Thread Lars Kellogg-Stedman
Public bug reported: In Havana, this was a valid setting: libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver The nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver class has been removed in Icehouse; if nova-compute is run with this setting in nova.conf, the resulting error

[Yahoo-eng-team] [Bug 1301036] Re: openstack.common.db.sqlalchemy.migration utf8 table check issue on initial migration

2014-04-02 Thread Lars Kellogg-Stedman
Glance was tracking this in https://bugs.launchpad.net/glance/+bug/1279000 ** Changed in: glance Status: New = Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1301036

[Yahoo-eng-team] [Bug 1286256] [NEW] If libguestfs hangs when provisioning an instance, nova will wait forever.

2014-02-28 Thread Lars Kellogg-Stedman
Public bug reported: In some situations (using nested KVM in an environment where nested KVM support is buggy), the appliance started by libguestfs will hang and the libguestfs-launched qemu process will never exit. This will cause the launched instance to get stuck in state=spawning forver (or

[Yahoo-eng-team] [Bug 1286257] [NEW] libguestfs appliances launched by nova will attempt to use KVM even if libvirt_type=qemu in nova.conf

2014-02-28 Thread Lars Kellogg-Stedman
Public bug reported: The value of libvirt_type in nova.conf is not respected when Nova launches libguestfs appliances. This can cause problems were an administrator has explicitly set libvirt_type=qemu to work around KVM issues (or to test qemu). Newer versions of libguestfs support the

[Yahoo-eng-team] [Bug 1278513] [NEW] Provide non-American English alias for nova boot --flavor

2014-02-10 Thread Lars Kellogg-Stedman
Public bug reported: The spelling of flavor in the Nova client is americanized. Those with a non-American English education might prefer to have aliases available for flavour in, e.g., nova boot and the various nova flavor-* commands. There is a precedent in the gnu/linux world in grep where

[Yahoo-eng-team] [Bug 1271333] [NEW] nova boot permits admin user to boot instances on networks belong to other tenants

2014-01-21 Thread Lars Kellogg-Stedman
Public bug reported: I have deployed OpenStack using RedHat's packstack tool by running packstack --allinone, which results in the following tenants: (keystone_admin)# keystone tenant-list +--+--+-+ |id|