** Description changed:

- The ConfigDrive datasource fails to provision on ConfigDrive capable
- clouds that use "interfaces" rather than "network-interfaces". This is
- only seen on 12.04.
+ [SRU Justification]
  
- meta_data.json:
+ [IMPACT] The ConfigDrive datasource fails to provision on ConfigDrive
+ capable clouds that use "interfaces" rather than "network-interfaces".
+ 
+ This is only seen on 12.04. As a result, some Cloud providers are unable
+ to use Cloud-init to provision Ubuntu Instances
+ 
+ [FIX] The fix is simple: allow for both "network-interfaces" and
+ "interfaces" when reading the meta-data.
+ 
+ [REGRESSION POTENTIAL] This is a mild-risk change. CloudDrive has been
+ implemented by many Cloud Providers and this change implements a new set
+ of behavior. The most likely scenerio is that Cloud-init on Ubuntu 12.04
+ will start work where it has been broken previously.
+ 
+ [TEST CASES 1] :
+ 1. Build new images from proposed
+ 2. Boot image on Cloud w/ "instance" as the metadata value
+ 3. Boot image on Cloud w/ "network-interfaces" as the metadata value
+ 4. Check to make sure that cloud-init provisioned with out errors
+ 
+ [TEST CASE 2]:
+ 1. Build existing Ubuntu image on ConfigDrive provisioned cloud
+ 2. Check for any errors in the logs
+ 3. Upgrade cloud-init
+ 4. Reboot and check for errors in logs
+ 5. Create a new instance from existing instance
+ 6. Check for errors in the log.
+ 
+ 
+ The following meta_data.json is from an instance showing the problem:
  {
      "domain": "foobar.com",
      "files": [
          []
      ],
      "hostname": "utl-precise-0904-88f2e9",
      "meta": {
          "dsmode": "net"
      },
      "name": "utl-precise-0904-88f2e9",
      "network_config": {
          "content_path": "/content/interfaces"
      },
      "public_keys": {
          "177313": "<REDACTED FOR READABILITY>"
      },
      "uuid": "9ba148b1-74d2-7f3f-2e8d-68746513d09f"
  }

** Summary changed:

- ConfigDrive fails to provision when network interface key is "interfaces"
+ [SRU] ConfigDrive fails to provision when network interface key is 
"interfaces"

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

Title:
  [SRU] ConfigDrive fails to provision when network interface key is
  "interfaces"

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

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

Reply via email to