Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed at stage "init" beccause it could not parse "ip addr show" #4105

Closed
ubuntu-server-builder opened this issue May 12, 2023 · 3 comments
Closed
Labels
bug Something isn't working correctly launchpad Migrated from Launchpad won't fix This doesn't fit the project plans.

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1816210

Launchpad details
affected_projects = ['cloud-init (Ubuntu)']
assignee = None
assignee_name = None
date_closed = None
date_created = 2019-02-16T01:40:53.457292+00:00
date_fix_committed = None
date_fix_released = None
id = 1816210
importance = undecided
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1816210
milestone = None
owner = falcojr
owner_name = James Falcon
private = False
status = triaged
submitter = septatrix
submitter_name = Nils K
tags = ['amd64', 'apport-bug', 'bionic', 'uec-images']
duplicates = []

Launchpad user Nils K(septatrix) wrote on 2019-02-16T01:40:53.457292+00:00

Environment: Virtuozzo
Cloud provider: Strato AG Germany

Cloud-init was manually installed after first boot to simplify server setup.

Minimal cloud-init configuration which leads to failure:

#cloud-config
cloud_init_modules:
- users-groups

users:
- name: username

Output of "ip addr show":

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/void
inet 127.0.0.1/32 scope host venet0
valid_lft forever preferred_lft forever
inet 85.214.226.67/32 brd 85.214.226.67 scope global venet0:0
valid_lft forever preferred_lft forever
inet6 2a01:238:427f:2300:c8a3:3e40:399f:3ddd/128 scope global
valid_lft forever preferred_lft forever
inet6 ::2/128 scope global
valid_lft forever preferred_lft forever

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cloud-init 18.4-0ubuntu1~18.04.1
Uname: Linux 4.15.0 x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CloudName: Other
Date: Sat Feb 16 02:34:53 2019
PackageArchitecture: all
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
logs.tgz: Error: [Errno 2] No such file or directory: '/tmp/cloud-init-logs.tgz'
modified.conffile..etc.cloud.cloud.cfg: [deleted]
modified.conffile..etc.cloud.cloud.cfg.d.05_logging.cfg: [deleted]
modified.conffile..etc.cloud.cloud.cfg.d.README: [deleted]
user_data.txt: Error: [Errno 2] No such file or directory: '/var/lib/cloud/instance/user-data.txt'

@ubuntu-server-builder ubuntu-server-builder added bug Something isn't working correctly launchpad Migrated from Launchpad labels May 12, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Nils K(septatrix) wrote on 2019-02-16T01:40:53.457292+00:00

Launchpad attachments: NonfreeKernelModules.txt,Dependencies.txt,ProcCpuinfoMinimal.txt,ProcEnviron.txt,cloud-init-log-warnings.txt,cloud-init-output.log.txt.txt

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Chad Smith(chad.smith) wrote on 2019-02-19T15:12:33.617832+00:00

Thank you for filing this bug, this is an issue and cloud-init will need to properly parse link/void interface types

@holmanb holmanb added the won't fix This doesn't fit the project plans. label May 28, 2024
@holmanb
Copy link
Member

holmanb commented May 28, 2024

This code path only runs when using old versions of iproute2 (~8 years old). The new codepath does not have the same issue. I don't forsee parsing old versions to get fixed, so I'm going to close this.

@holmanb holmanb closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly launchpad Migrated from Launchpad won't fix This doesn't fit the project plans.
Projects
None yet
Development

No branches or pull requests

2 participants