cloud-init fails to initialize with virtual router

Solution In Progress - Updated -

Issue

  • We are running into this bug and it appears like the fix is in latest cloud-init 19.x version.

  • However, latest Red Hat cloud-init build is 18.5-12.

  • Can we check if the fix could be back ported to the latest Red Hat cloud-init version?

  • We have the exact same error message as the upstream bug:

2020-06-02 19:17:15,641 - util.py[WARNING]: failed stage init
failed run of stage init
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 652, in status_wrapper
    ret = functor(name, args)
  File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 362, in main_init
    init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
  File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 649, in apply_network_config
    netcfg, src = self._find_networking_config()
  File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 636, in _find_networking_config
    if self.datasource and hasattr(self.datasource, 'network_config'):
  File "/usr/lib/python3.6/site-packages/cloudinit/sources/DataSourceOpenStack.py", line 115, in network_config
    self.network_json, known_macs=None)
  File "/usr/lib/python3.6/site-packages/cloudinit/sources/helpers/openstack.py", line 645, in convert_net_json
    'Unknown network_data link type: %s' % link['type'])
ValueError: Unknown network_data link type: vrouter

Environment

  • Red Hat OpenStack Platform 16.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content