ERROR: os-net-config configuration failed

asked 2015-12-30 13:50:48 -0500

raza gravatar image

I am trying to install redhat openstack and getting the following error when installing overcloud.

    [heat-admin@overcloud-compute-0 ~]$sudo journalctl -u os-collect-config

    Dec 30 07:12:59 overcloud-compute-0.localdomain os-collect-config[8345]: ++ os-apply-config --key os_net_config --type raw --key-default ''
    Dec 30 07:12:59 overcloud-compute-0.localdomain os-collect-config[8345]: + NET_CONFIG='{"network_config": [{"dns_servers": ["172.16.228.254", "8.8.8.8"], "name": "nic1", "routes": [{"ip_netmask": "169.254.169.254/32", "next
    Dec 30 07:12:59 overcloud-compute-0.localdomain os-collect-config[8345]: + '[' -n '{"network_config": [{"dns_servers": ["172.16.228.254", "8.8.8.8"], "name": "nic1", "routes": [{"ip_netmask": "169.254.169.254/32", "next_hop
    Dec 30 07:12:59 overcloud-compute-0.localdomain os-collect-config[8345]: + os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] Using config file at: /etc/os-net-config/config.json
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] Using mapping file at: /etc/os-net-config/mapping.yaml
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] Ifcfg net config provider created.
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] nic1 mapped to: eth0
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] nic2 mapped to: eth1
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] adding interface: eth0
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: [2015/12/30 07:13:00 AM] [INFO] adding custom route for interface: eth0
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: Traceback (most recent call last):
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/bin/os-net-config", line 10, in <module>
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: sys.exit(main())
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 184, in main
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: obj = objects.object_from_json(iface_json)
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/lib/python2.7/site-packages/os_net_config/objects.py", line 40, in object_from_json
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: return OvsBridge.from_json(json)
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/lib/python2.7/site-packages/os_net_config/objects.py", line 320, in from_json
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: members.append(object_from_json(member))
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/lib/python2.7/site-packages/os_net_config/objects.py", line 38, in object_from_json
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: return Vlan.from_json(json)
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/lib/python2.7/site-packages/os_net_config/objects.py", line 274, in from_json
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: opts = _BaseOpts.base_opts_from_json(json)
    Dec 30 07:13:00 overcloud-compute-0.localdomain os-collect-config[8345]: File "/usr/lib ...
(more)
edit retag flag offensive close merge delete