yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56447
[Bug 1623094] [NEW] cloud-init in xenial crashes on "null" vif type in network_data.json
Public bug reported:
NOTE: this was originally reported in cpc-rax bug 1621968. Re-reporting
here for tracking purposes as requested. Please see that issue for log
files and more details.
In recent versions of cloud-init[1], we've found that when we attach a
configdrive to a cloud server cloud-init crashes before it has a chance
to complete its tasks - most critically, generating the SSH keys.
The root of this issue seems to be that cloud-init wants to parse the
included network config on the configdrive.. Our network config uses a
"null" vif type, which causes cloud-init to bomb out with an error like
this:
Sep 09 14:48:40 shtest2 cloud-init[2910]: ValueError: Unknown
network_data link type: None
[1]# dpkg -s cloud-init | grep ^Version
Version: 0.7.7~bzr1256-0ubuntu1~16.04.1
** Affects: cloud-init
Importance: Undecided
Status: New
--
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/1623094
Title:
cloud-init in xenial crashes on "null" vif type in network_data.json
Status in cloud-init:
New
Bug description:
NOTE: this was originally reported in cpc-rax bug 1621968. Re-
reporting here for tracking purposes as requested. Please see that
issue for log files and more details.
In recent versions of cloud-init[1], we've found that when we attach a
configdrive to a cloud server cloud-init crashes before it has a
chance to complete its tasks - most critically, generating the SSH
keys.
The root of this issue seems to be that cloud-init wants to parse the
included network config on the configdrive.. Our network config uses a
"null" vif type, which causes cloud-init to bomb out with an error
like this:
Sep 09 14:48:40 shtest2 cloud-init[2910]: ValueError: Unknown
network_data link type: None
[1]# dpkg -s cloud-init | grep ^Version
Version: 0.7.7~bzr1256-0ubuntu1~16.04.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1623094/+subscriptions
Follow ups