Hi Ajay,

I'm using fab with pre-build packages.
Cluster is:

    'cfgm': [host1, host2, host3],
    'openstack': [host1],
    'control': [host1, host2, host3],
    'compute': [host4, host5],
    'collector': [host1, host2, host3],
    'webui': [host1],
    'database': [host1, host2, host3],
    'build': [host_build],
    'storage-master': [host1],
    'storage-compute': [host4, host5],


== Contrail Control ==
supervisor-control:           active
contrail-control              initializing (Number of connections:4, Expected:5)
contrail-control-nodemgr      active
contrail-dns                  active
contrail-named                active

== Contrail Analytics ==
supervisor-analytics:         active
contrail-analytics-api        active
contrail-analytics-nodemgr    active
contrail-collector            active
contrail-query-engine         active
contrail-snmp-collector       active
contrail-topology             active

== Contrail Config ==
supervisor-config:            active
contrail-api:0                initializing (IFMap:IfMap connection down)
contrail-config-nodemgr       EXITED
contrail-device-manager       active
contrail-discovery:0          active
contrail-schema               active
contrail-svc-monitor          initializing (ApiServer:ApiServer connection down)
ifmap                         failed

== Contrail Web UI ==
supervisor-webui:             active
contrail-webui                active
contrail-webui-middleware     active

== Contrail Database ==
supervisor-database:          active
contrail-database             failed
contrail-database-nodemgr     active

== Contrail Support Services ==
supervisor-support-service:   active
rabbitmq-server               active

========Run time service failures=============
/var/crashes/core.contrail-svc-mo.3865.Contrail-Config1.1426241396
/var/crashes/core.contrail-snmp-c.3712.Contrail-Config1.1426241378
/var/crashes/core.contrail-device.3787.Contrail-Config1.1426241383
/var/crashes/core.contrail-svc-mo.2902.Contrail-Config1.1426241388
/var/crashes/core.contrail-device.2900.Contrail-Config1.1426241381


Taking setup_all step by step, everything goes ok until setup_vrouter which 
outputs reported behaviour and seems to break the database?

Node1:
database_status
contrail-database                FATAL      Exited too quickly (process log may 
have details)



Thanks,
Joao

From: Hampapur Ajay [mailto:[email protected]]
Sent: 12 March 2015 21:14
To: Joao Prino
Cc: [email protected]
Subject: Re: [opencontrail-dev] KeyError: 'name-to-id'

can you send the output of contrail-status? how was the cluster setup - 
pre-build packages? fab or otherwise? and can you describe the testbed?

thanks
ajay

On Mar 12, 2015, at 6:35 AM, Joao Prino wrote:


Hi,

Trying to deploy a 2.10 cluster and hitting this issue after verify_webui of 
the setup_all script.

2015-03-12 13:30:00:169081: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out: No handlers could be found for 
logger "vnc_api.vnc_api"
2015-03-12 13:30:30:267772: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out: Traceback (most recent call last):
2015-03-12 13:30:30:267980: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:   File 
"/opt/contrail/utils/provision_vrouter.py", line 186, in <module>
2015-03-12 13:30:30:268091: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:     main()
2015-03-12 13:30:30:268198: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:   File 
"/opt/contrail/utils/provision_vrouter.py", line 182, in main
2015-03-12 13:30:30:268288: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:     VrouterProvisioner(args_str)
2015-03-12 13:30:30:268376: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:   File 
"/opt/contrail/utils/provision_vrouter.py", line 42, in __init__
2015-03-12 13:30:30:268462: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:     
fq_name=['default-global-system-config'])
2015-03-12 13:30:30:268548: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:   File 
"/usr/lib/python2.7/dist-packages/vnc_api/gen/vnc_api_client_gen.py", line 
2122, in global_system_config_read
2015-03-12 13:30:30:268653: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:     (args_ok, result) = 
self._read_args_to_id('global-system-config', fq_name, fq_name_str, id, 
ifmap_id)
2015-03-12 13:30:30:268773: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:   File 
"/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 329, in 
_read_args_to_id
2015-03-12 13:30:30:268863: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:     return (True, 
self.fq_name_to_id(obj_type, fq_name))
2015-03-12 13:30:30:268961: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:   File 
"/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 436, in 
fq_name_to_id
2015-03-12 13:30:30:269057: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:     uri = 
self._action_uri['name-to-id']
2015-03-12 13:30:30:269165: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out: KeyError: 'name-to-id'
2015-03-12 13:30:30:269279: [[email protected]<mailto:[email protected]>] out: 
[[email protected]<mailto:[email protected]>] out:
2015-03-12 13:30:30:277638: [[email protected]<mailto:[email protected]>] out:
2015-03-12 13:30:30:277937: [[email protected]<mailto:[email protected]>] out: Fatal 
error: run() received nonzero return code 1 while executing!

All remaining operations fail with the same error when manually invoked.
Let me know if further logs are required.

Can anyone please assist?
Thanks in advance.

Cheers,
Joao

_______________________________________________
Dev mailing list
[email protected]<mailto:[email protected]>
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to