← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1716773] [NEW] cloud-init doesn't cache network_config property in cache

 

Public bug reported:

When init net stage runs, it will restore the cloud object cache in
/var/lib/cloud/instance/obj.pkl

This cache dump is created before cloud-init processes the datasource,
which means some of the data cloud-init has fetched is not cached.

In particular, we've observed that the 'network_config' attribute is
populated and set in init-local mode, but when we run init-net; it will
re-run due to the underlying object value still be set to None (the
default) as we failed to cache the object after modifying it.

** 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/1716773

Title:
  cloud-init doesn't cache network_config property in cache

Status in cloud-init:
  New

Bug description:
  When init net stage runs, it will restore the cloud object cache in
  /var/lib/cloud/instance/obj.pkl

  This cache dump is created before cloud-init processes the datasource,
  which means some of the data cloud-init has fetched is not cached.

  In particular, we've observed that the 'network_config' attribute is
  populated and set in init-local mode, but when we run init-net; it
  will re-run due to the underlying object value still be set to None
  (the default) as we failed to cache the object after modifying it.

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


Follow ups