← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942247] [NEW] Hotplug traceback on openstack bionic

 

Public bug reported:

On Openstack, when responding to a hotplug event, we traceback attempting to detect the updated metdata:
https://github.com/canonical/cloud-init/blob/main/cloudinit/cmd/devel/hotplug_hook.py#L143

This is due to the network data being set to None here:
https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceOpenStack.py#L117

We should gracefully handle getting no network metdata.

This doesn't prevent the hotplug action from completing successfully.
This is in the code to detect that metadata has been updated
successfully post hotplug.

** Affects: cloud-init
     Importance: Medium
         Status: Triaged

** Changed in: cloud-init
       Status: New => Triaged

** Changed in: cloud-init
   Importance: Undecided => Medium

** Description changed:

  On Openstack, when responding to a hotplug event, we traceback attempting to detect the updated metdata:
  https://github.com/canonical/cloud-init/blob/main/cloudinit/cmd/devel/hotplug_hook.py#L143
  
  This is due to the network data being set to None here:
  https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceOpenStack.py#L117
  
  We should gracefully handle getting no network metdata.
+ 
+ This doesn't prevent the hotplug action from completing successfully.
+ This is in the code to detect that metadata has been updated
+ successfully post hotplug.

-- 
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/1942247

Title:
  Hotplug traceback on openstack bionic

Status in cloud-init:
  Triaged

Bug description:
  On Openstack, when responding to a hotplug event, we traceback attempting to detect the updated metdata:
  https://github.com/canonical/cloud-init/blob/main/cloudinit/cmd/devel/hotplug_hook.py#L143

  This is due to the network data being set to None here:
  https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceOpenStack.py#L117

  We should gracefully handle getting no network metdata.

  This doesn't prevent the hotplug action from completing successfully.
  This is in the code to detect that metadata has been updated
  successfully post hotplug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1942247/+subscriptions



Follow ups