** Description changed:

  === Begin SRU Template ===
  [Impact]
  When a config drive provides network_data.json on Azure OpenStack,
  cloud-init will fail to configure networking.
  
  Console log and /var/log/cloud-init.log will show:
   ValueError: Unknown network_data link type: hyperv
  
  This woudl also occur when the type of the network device as declared
- to cloud-init was 'hw_veb', 'hyperv', or 'vhostuser'.
+ to cloud-init was 'hw_veb', 'hyperv', 'vhostuser' or 'vrouter'.
  
  [Test Case]
  Launch an instance with config drive on hyperv cloud.
  
  [Regression Potential]
  Low to none.   cloud-init is relaxing requirements and will accept things
  now that it previously complained were invalid.
  === End SRU Template ===
  
  We have discovered an issue when booting Xenial instances on OpenStack
  environments (Liberty or newer) and Hyper-V compute nodes using config
  drive as metadata source.
  
  When applying the network_config.json, cloud-init fails with this error:
  http://paste.openstack.org/show/RvHZJqn48JBb0TO9QznL/
  
  The fix would be to add 'hyperv' as a link type here:
  /usr/lib/python3/dist-packages/cloudinit/sources/helpers/openstack.py, line 
587
  
  Related bugs:
-  * bug 1674946: cloud-init fails with "Unknown network_data link type: dvs
-  * bug 1642679: OpenStack network_config.json implementation fails on Hyper-V 
compute nodes
+  * bug 1674946: cloud-init fails with "Unknown network_data link type: dvs
+  * bug 1642679: OpenStack network_config.json implementation fails on Hyper-V 
compute nodes

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1642679

Title:
  The OpenStack network_config.json implementation fails on Hyper-V
  compute nodes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to