R2.1 Build 26 Ubuntu 14.04 Multi-node setup
I had 3 pairs of (physical intf, logical intf) on a physical device br0 (Attached)
I selected 4 of these 6 ports and chose delete.
-----------
/var/log/contrail/contrail-webui-stdout.log has this and in the UI, after few seconds, i get a Timeout error (attached)
TypeError: Failed to parse JSON body: Cannot read property 'physical-interface' of null
at /usr/src/contrail/contrail-web-controller/webroot/config/physicaldevices/physicalinterfaces/api/physicalinterfacesconfig.api.js:90:56
at _asyncMap (/usr/lib64/node_modules/async/lib/async.js:190:13)
at async.forEach (/usr/lib64/node_modules/async/lib/async.js:94:25)
at _asyncMap (/usr/lib64/node_modules/async/lib/async.js:187:17)
at doPostJsonCb (/usr/src/contrail/contrail-web-core/src/serverroot/utils/common.utils.js:760:9)
at /usr/src/contrail/contrail-web-core/src/serverroot/utils/common.utils.js:902:13
at /usr/src/contrail/contrail-web-core/src/serverroot/common/configServer.api.js:23:9
at /usr/src/contrail/contrail-web-core/src/serverroot/web/api/configServer.main.api.js:97:13
at APIServer.sendParsedDataToApp (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:199:17)
at parsers.xml (/usr/lib64/node_modules/restler/lib/restler.js:440:9)
2015-02-10T19:22:56.939Z - ^[[31merror^[[39m: URL [http://10.204.217.7:9100/physical-interface/6f50c3b7-cf48-417a-89a4-8ffffbe7180c] returned error [{}]
2015-02-10T19:22:56.939Z - ^[[31merror^[[39m: Encountered broken link: /physical-interface/6f50c3b7-cf48-417a-89a4-8ffffbe7180c
2015-02-10T19:22:56.939Z - ^[[31merror^[[39m: REST Server Error: [TypeError: Failed to parse JSON body: Cannot read property 'physical-interface' of null]
at APIServer.retryMakeCall (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:169:13)
at Request.APIServer.makeCall (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:280:18)
at Request.EventEmitter.emit (events.js:99:17)
at Request.mixin._fireError (/usr/lib64/node_modules/restler/lib/restler.js:204:10)
at mixin._responseHandler (/usr/lib64/node_modules/restler/lib/restler.js:155:20)
at IncomingMessage.parsers.json (/usr/lib64/node_modules/restler/lib/restler.js:399:9)
at IncomingMessage.parsers.auto (/usr/lib64/node_modules/restler/lib/restler.js:388:21)
at Request.mixin._encode (/usr/lib64/node_modules/restler/lib/restler.js:194:29)
at mixin._responseHandler (/usr/lib64/node_modules/restler/lib/restler.js:153:16)
at Request.mixin._decode (/usr/lib64/node_modules/restler/lib/restler.js:169:7)
2015-02-10T19:23:43.102Z - ^[[34mdebug^[[39m: DiscService Response Updated by process:21838 {"ApiServer":[{"port":"9100","ip-address":"10.204.217.70"},{"port":"9100","ip-address":"10.204.217.69"},{"port":"9100","ip-address":"10.204.217.7"}],"ttl":6}
Now on build 2.10 28, when we do the same thing, we get 'Error in getting interfaces'
contrail- webui-stdout. log :
2015-02- 13T13:51: 26.151Z - ^[[31merror^[[39m: URL [http:// 10.204. 217.7:8082/ virtual- machine- interface/ 4ee9f86a- de45-40dd- b0d4-ae1ab1736e 24] returned error [{}]
/usr/src/ contrail/ contrail- web-controller/ webroot/ config/ ports/api/ portsconfig. api.js: 1916 'virtual- machine- interface' ]['uuid' ];
^ contrail/ contrail- web-controller/ webroot/ config/ ports/api/ portsconfig. api.js: 1916:52) contrail/ contrail- web-controller/ webroot/ config/ ports/api/ portsconfig. api.js: 1728:9 contrail/ contrail- web-controller/ webroot/ config/ ports/api/ portsconfig. api.js: 1745:9 contrail/ contrail- web-core/ src/serverroot/ common/ configServer. api.js: 23:9 contrail/ contrail- web-core/ src/serverroot/ web/api/ configServer. main.api. js:95:13 retryMakeCall (/usr/src/ contrail/ contrail- web-core/ src/serverroot/ common/ rest.api. js:176: 5) APIServer. makeCall (/usr/src/ contrail/ contrail- web-core/ src/serverroot/ common/ rest.api. js:280: 18) EventEmitter. emit (events.js:99:17) mixin._ fireError (/usr/lib64/ node_modules/ restler/ lib/restler. js:204: 10) responseHandler (/usr/lib64/ node_modules/ restler/ lib/restler. js:155: 20)
var uuid = vmiData[
TypeError: Cannot read property 'uuid' of undefined
at getReadDelVMICb (/usr/src/
at /usr/src/
at /usr/src/
at /usr/src/
at /usr/src/
at APIServer.
at Request.
at Request.
at Request.
at mixin._