Comment 0 for bug 1263895

Revision history for this message
Egor Kotko (ykotko) wrote : Problem with nailgun on env deployed via fuel cli.

{"build_id": "2013-12-23_15-48-09", "ostf_sha": "2a59b9a850f5c612ef4e8617395a60c27305283f", "build_number":
"194", "nailgun_sha": "8d1e8f41106c72af441ab52bb909987d4db32774",
"fuelmain_sha": "025bfe2342120be347da255e4d68e283f54d7a60",
"astute_sha": "2ed6e2c122ae593c20f0e87156b32a468ccdbfd8", "release": "4.0",
"fuellib_sha": "2b61ec0e425bad9b016b6fa7f51b3d0f5b3a6f0a"}

Nailgun should return information about network ip ranges. But returns only vlan IDs instead.

"network_data": [
            {
                "dev": "eth1",
                "name": "floating",
                "vlan": 378
            },
            {
                "dev": "eth1",
                "name": "public",
                "vlan": 378

Steps to reproduce:
1. Deploy environment via cli (Centos, Nova Vlan manager)
2. Review json responce on the master node: curl http://localhost:8000/api/nodes?cluster_id=1 | python -m json.tool
3. Execute all Health Check tests

Expected result:
Health Check tests - should pass

Actual result:
fuel_health.config: DEBUG: Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/config.py", line 498, in prepare_config
    self._parse_nodes_cluster_id()
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/config.py", line 546, in _parse_nodes_cluster_id
    ip = public_network['ip'].split('/')[0]
KeyError: 'ip'