** Description changed:

- After cloud-init consumes its userdata, it continues using the initial
- userdata/system config and distro objects, and does not force them to be
- reloaded so modules about to be ran (or modules which will use the
- distro) will reflect this new data. After the program exits and the next
- 'stage' runs that stage though does reload the configuration correctly.
- It needs to be fixed for the init stage.
+ === Begin SRU Information ===
+ [Impact]
+  * if a user passes in cloud-config containing 'system_info', these changes
+    do not get applied.  The biggest fallout of this is that
+    the user cannot change the mirrors that are present in the built
+    in config.
+ 
+ [Test Case]
+  * Launch an instance with user-data containing:
+    #cloud-config
+    system_info:
+     package_mirrors:
+      - arches: [i386, amd64]
+        failsafe:
+          primary: http://us.archive.ubuntu.com/ubuntu
+        search:
+          primary:
+            - http://us.archive.ubuntu.com/ubuntu
+  * verify that mirror 'us.archive.ubuntu.com' is not used in
+    /etc/apt/sources.list as it should be.
+ 
+ [Regression Potential]
+  * The editing of system_info is broken.  This is unlikely to make
+    the situation worse.
+ 
+ === End SRU Information ===
+ 
+ 
+ After cloud-init consumes its userdata, it continues using the initial 
userdata/system config and distro objects, and does not force them to be 
reloaded so modules about to be ran (or modules which will use the distro) will 
reflect this new data. After the program exits and the next 'stage' runs that 
stage though does reload the configuration correctly. It needs to be fixed for 
the init stage.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1076811

Title:
  Cloud-init modules do not reflect loaded config

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to