WARNINGs and failures in log on OVH public cloud
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Part of "make OVH work right" was brought up by Tobias in
https:/
After that, though we still see some warnings in the logs that is attached.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: cloud-init 18.3-39-
ProcVersionSign
Uname: Linux 4.18.0-7-generic x86_64
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CloudName: Other
Date: Thu Sep 13 16:37:09 2018
Ec2AMI: ami-00014f37
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: s1-2
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-init-
2018-09-13 16:34:54,017 - util.py[WARNING]: Getting data from <class 'cloudinit.
cloudinit.
Stderr: Error: Nexthop has invalid gateway.
2018-09-13 16:34:56,266 - openstack.
user_data.txt:
Related branches
- Server Team CI bot: Approve (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 1911 lines (+1094/-115)32 files modifiedbash_completion/cloud-init (+2/-0)
cloudinit/cmd/devel/__init__.py (+25/-0)
cloudinit/cmd/devel/parser.py (+4/-1)
cloudinit/cmd/devel/render.py (+90/-0)
cloudinit/cmd/devel/tests/test_render.py (+101/-0)
cloudinit/cmd/main.py (+15/-1)
cloudinit/handlers/__init__.py (+8/-3)
cloudinit/handlers/boot_hook.py (+5/-7)
cloudinit/handlers/cloud_config.py (+5/-10)
cloudinit/handlers/jinja_template.py (+137/-0)
cloudinit/handlers/shell_script.py (+3/-6)
cloudinit/handlers/upstart_job.py (+3/-6)
cloudinit/helpers.py (+4/-0)
cloudinit/log.py (+10/-2)
cloudinit/net/__init__.py (+7/-0)
cloudinit/net/tests/test_init.py (+8/-3)
cloudinit/sources/__init__.py (+31/-16)
cloudinit/sources/helpers/openstack.py (+18/-1)
cloudinit/sources/tests/test_init.py (+61/-14)
cloudinit/stages.py (+14/-8)
cloudinit/templater.py (+25/-3)
cloudinit/tests/helpers.py (+9/-0)
debian/changelog (+11/-0)
doc/rtd/topics/capabilities.rst (+12/-3)
doc/rtd/topics/datasources.rst (+47/-0)
doc/rtd/topics/format.rst (+17/-4)
tests/cloud_tests/testcases/base.py (+4/-4)
tests/unittests/test_builtin_handlers.py (+302/-22)
tests/unittests/test_datasource/test_openstack.py (+91/-1)
tests/unittests/test_handler/test_handler_etc_hosts.py (+1/-0)
tests/unittests/test_handler/test_handler_ntp.py (+1/-0)
tests/unittests/test_templating.py (+23/-0)
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 55 lines (+16/-3)3 files modifiedcloudinit/net/__init__.py (+7/-0)
cloudinit/net/tests/test_init.py (+8/-3)
cloudinit/sources/helpers/openstack.py (+1/-0)
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cloud-init: | |
importance: | Undecided → Medium |
Below is cloud-init log entries around the warning.
Here are the contents of the lease file that dhclient wrote: lease-file identifier 54.36.112.1;
# cat /run/dhclient-
lease {
interface "ens3";
fixed-address 54.36.113.86;
option subnet-mask 255.255.255.255;
option routers 54.36.112.1;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 213.186.33.99;
option dhcp-server-
option interface-mtu 1500;
option domain-name "openstacklocal";
renew 5 2018/09/14 03:08:26;
rebind 5 2018/09/14 13:45:08;
expire 5 2018/09/14 16:45:08;
}
2018-09-13 16:45:08,843 - util.py[DEBUG]: Reading from /var/tmp/ cloud-init/ cloud-init- dhcp-seeuch_ 6/dhcp. leases (quiet=False) cloud-init/ cloud-init- dhcp-seeuch_ 6/dhcp. leases cloud-init/ cloud-init- dhcp-seeuch_ 6/dhcp. leases (quiet=False) cloud-init/ cloud-init- dhcp-seeuch_ 6/dhcp. leases 86/255. 255.255. 255 search- OpenStackLocal: FAIL: no local data found from DataSourceOpenS tackLocal sources. DataSourceOpenS tack.DataSource OpenStackLocal' > failed sources. DataSourceOpenS tack.DataSource OpenStackLocal' > failed python3/ dist-packages/ cloudinit/ sources/ __init_ _.py", line 601, in find_source metadata( [EventType. BOOT_NEW_ INSTANCE] ): python3/ dist-packages/ cloudinit/ sources/ __init_ _.py", line 490, in update_metadata python3/ dist-packages/ cloudinit/ sources/ __init_ _.py", line 182, in get_data python3/ dist-packages/ cloudinit/ sources/ DataSourceOpenS tack.py" , line 131, in _get_data (self.fallback_ interface) : python3/ dist-packages/ cloudinit/ net/dhcp. py", line 63, in __enter__ __enter_ _()
2018-09-13 16:45:08,843 - util.py[DEBUG]: Read 442 bytes from /var/tmp/
2018-09-13 16:45:08,844 - util.py[DEBUG]: Reading from /var/tmp/
2018-09-13 16:45:08,844 - util.py[DEBUG]: Read 442 bytes from /var/tmp/
2018-09-13 16:45:08,844 - dhcp.py[DEBUG]: Received dhcp lease on ens3 for 54.36.113.
2018-09-13 16:45:08,844 - __init__.py[DEBUG]: Attempting setup of ephemeral network on ens3 with 54.36.113.86/32 brd 54.36.113.86
2018-09-13 16:45:08,844 - util.py[DEBUG]: Running command ['ip', '-family', 'inet', 'addr', 'add', '54.36.113.86/32', 'broadcast', '54.36.113.86', 'dev', 'ens3'] with allowed return codes [0] (shell=False, capture=True)
2018-09-13 16:45:08,848 - util.py[DEBUG]: Running command ['ip', '-family', 'inet', 'link', 'set', 'dev', 'ens3', 'up'] with allowed return codes [0] (shell=False, capture=True)
2018-09-13 16:45:08,850 - util.py[DEBUG]: Running command ['ip', 'route', 'show', '0.0.0.0/0'] with allowed return codes [0] (shell=False, capture=True)
2018-09-13 16:45:08,853 - util.py[DEBUG]: Running command ['ip', '-4', 'route', 'add', 'default', 'via', '54.36.112.1', 'dev', 'ens3'] with allowed return codes [0] (shell=False, capture=True)
2018-09-13 16:45:08,856 - handlers.py[DEBUG]: finish: init-local/
2018-09-13 16:45:08,856 - util.py[WARNING]: Getting data from <class 'cloudinit.
2018-09-13 16:45:08,856 - util.py[DEBUG]: Getting data from <class 'cloudinit.
Traceback (most recent call last):
File "/usr/lib/
if s.update_
File "/usr/lib/
result = self.get_data()
File "/usr/lib/
return_value = self._get_data()
File "/usr/lib/
with EphemeralDHCPv4
File "/usr/lib/
ephipv4.
Fi...