canonical / canonical/cloud-init

5 second delay failing to communicate with OpenStack HTTP endpoint during boot on Oracle Cloud Infrastructure

Open
#3,392 1 comment 0 reactions 0 assignees View on GitHub
bug launchpad
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

This bug was originally filed in Launchpad as [LP: #1833446](https://bugs.launchpad.net/cloud-init/+bug/1833446)

Launchpad details

affected_projects = []

assignee = None
assignee_name = None
date_closed = None
date_created = 2019-06-19T16:38:17.567216+00:00
date_fix_committed = None
date_fix_released = None
id = 1833446
importance = medium
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1833446
milestone = None
owner = oddbloke
owner_name = Dan Watkins
private = False
status = confirmed
submitter = oddbloke
submitter_name = Dan Watkins
tags = ['oci']
duplicates = []

_Launchpad user **Dan Watkins(oddbloke)** wrote on 2019-06-19T16:38:17.567216+00:00_

The eventual traceback:

2019-06-19 16:27:02,468 - util.py[DEBUG]: Failed fetching meta-data/ from url http://169.254.169.254/latest/meta-data/
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/ec2_utils.py", line 178, in _get_instance_metadata
response = caller(md_url)
File "/usr/lib/python3/dist-packages/cloudinit/url_helper.py", line 107, in read_file_or_url
exception_cb=exception_cb)
File "/usr/lib/python3/dist-packages/cloudinit/url_helper.py", line 306, in readurl
raise excps[-1]
cloudinit.url_helper.UrlError: 404 Client Error: Not Found for url: http://169.254.169.254/latest/meta-data/

(I can confirm several minutes after instance launch that I still see the same 404 error.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.