[RHEV] 'hosted-engine deploy' failed with "Failed to execute stage 'Misc configuration': 'GATEWAY'" error message.

Solution Verified - Updated -

Issue

  • hosted-engine --deploy command failed with the below error message:
[ INFO  ] Waiting for VDSM hardware info
[ INFO  ] Waiting for VDSM hardware info
[ INFO  ] Configuring the management bridge
[ ERROR ] Failed to execute stage 'Misc configuration': 'GATEWAY'
[ INFO  ] Stage: Clean up
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
  • In the setup logs below error messages are available:
2014-03-12 13:53:32 INFO otopi.plugins.ovirt_hosted_engine_setup.system.vdsmenv vdsmenv._connect:82 Waiting for VDSM hardware info
2014-03-12 13:53:33 INFO otopi.plugins.ovirt_hosted_engine_setup.system.vdsmenv vdsmenv._connect:82 Waiting for VDSM hardware info
2014-03-12 13:53:34 DEBUG otopi.plugins.ovirt_hosted_engine_setup.system.vdsmenv vdsmenv._connect:79 {'status': {'message': 'Done', 'code': 0}, 'info': {'systemProductName': 'IBM System x3550 M4 Server -[7914AC1]-', 'systemSerialNumber': 'KQ9VY71', 'systemFamily': 'System X', 'systemVersion': '09', 'systemUUID': '58F807E4-BC3C-3B0F-8D88-72AE16B03600', 'systemManufacturer': 'IBM'}}
2014-03-12 13:53:34 DEBUG otopi.context context.dumpEnvironment:441 ENVIRONMENT DUMP - BEGIN
2014-03-12 13:53:34 DEBUG otopi.context context.dumpEnvironment:456 ENV OVEHOSTED_VDSM/vdsClient=instance:'<vdsClientGluster.GlusterService instance at 0x31e2878>'
2014-03-12 13:53:34 DEBUG otopi.context context.dumpEnvironment:458 ENVIRONMENT DUMP - END
2014-03-12 13:53:34 DEBUG otopi.context context._executeMethod:123 Stage misc METHOD otopi.plugins.ovirt_hosted_engine_setup.network.bridge.Plugin._misc
2014-03-12 13:53:34 INFO otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:189 Configuring the management bridge
2014-03-12 13:53:35 DEBUG otopi.plugins.ovirt_hosted_engine_setup.network.bridge bridge._misc:198 getVdsCaps for eth0: {'addr': 'xxx.xxx.xxx.xxx', 'cfg': {'UUID': 'c48748f2-f72e-4273-ae00-04a462398553', 'MASK': '255.255.255.128', 'IPADDR': 'xxx.xxx.xxx.xxx', 'DEVICE': 'eth0', 'BOOTPROTO': 'static', 'HWADDR': '90:E2:BA:4E:DD:84', 'TYPE': 'Ethernet', 'ONBOOT': 'yes'}, 'ipv6addrs': ['fe80::92e2:baff:fe4e:dd84/64'], 'mtu': '1500', 'netmask': '255.255.255.0', 'hwaddr': '90:e2:ba:4e:dd:84', 'speed': 1000}
2014-03-12 13:53:35 DEBUG otopi.context context._executeMethod:137 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/otopi/context.py", line 127, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py", line 231, in _misc
    'gateway=%s' % caps['cfg']['GATEWAY'],
KeyError: 'GATEWAY'
2014-03-12 13:53:35 ERROR otopi.context context._executeMethod:146 Failed to execute stage 'Misc configuration': 'GATEWAY'
2014-03-12 13:53:35 DEBUG otopi.transaction transaction.abort:131 aborting 'File transaction for '/etc/ovirt-hosted-engine/firewalld/hosted-console.xml''

Environment

  • Red Hat Enterprise Virtualization 3.3

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