Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: The super constructor to "inherits" must not be null or undefined #274

Open
zufardhiyaulhaq opened this issue Feb 2, 2018 · 0 comments

Comments

@zufardhiyaulhaq
Copy link

zufardhiyaulhaq commented Feb 2, 2018

Hi, i try to integrate the contrail with openstack.
and its working. i can start the instance and the neutron is handle by contrail.

the problem is i cant open contrail WebUI. i try to install the webUI manually. but i get stuck when running the configuration.

[root@pod21-opencontrail-controller contrail-web-core]# node webServerStart.js
02/02/2018 04:16:02 PM - debug: Built Package List as:[{"parseURL.xml":[],"jobProcess.xml":[],"featureList.xml":[]},{"pkgName":"webController","parseURL.xml":[],"jobProcess.xml":[],"featureList.xml":[]}]
util.js:969
throw new TypeError('The super constructor to "inherits" must not ' +
^

TypeError: The super constructor to "inherits" must not be null or undefined
at Object.inherits (util.js:969:11)
at module.exports (/usr/src/contrail/contrail-web-core/node_modules/connect-redis/lib/connect-redis.js:137:8)
at Object. (/usr/src/contrail/contrail-web-core/webServerStart.js:79:42)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)

but when i start the jobServerStart.js, its working! anyone know whats happen?

[root@pod21-opencontrail-controller contrail-web-core]# node jobServerStart.js
02/02/2018 04:20:30 PM - info: Forking worker #1
02/02/2018 04:20:30 PM - info: Worker #1 is online.
02/02/2018 04:20:30 PM - debug: Redis: connect
02/02/2018 04:20:30 PM - debug: Redis: ready
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 2 done
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 3 done
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 4 done
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 5 done
promote method is deprecated, you don't need to call this anymore. You can safely remove it from your code now.
02/02/2018 04:20:30 PM - debug: Built Package List as:[{"parseURL.xml":[],"jobProcess.xml":[],"featureList.xml":[]},{"pkgName":"webController","parseURL.xml":[],"jobProcess.xml":[],"featureList.xml":[]}]
02/02/2018 04:20:30 PM - debug: Redis: connect
02/02/2018 04:20:30 PM - debug: Redis: connect
02/02/2018 04:20:30 PM - debug: Redis: connect
02/02/2018 04:20:30 PM - debug: Redis: ready
02/02/2018 04:20:30 PM - debug: Redis: ready
02/02/2018 04:20:30 PM - debug: Redis: ready
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 2 done
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 3 done
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 4 done
02/02/2018 04:20:30 PM - debug: Redis FLUSHDB 5 done
02/02/2018 04:20:31 PM - info: Job Server connected to port 3000
02/02/2018 04:20:31 PM - debug: Created a new Job with jobName:getVRoutersSummary
02/02/2018 04:20:31 PM - debug: Created a new Job with jobName:getVRoutersGenerators
02/02/2018 04:20:31 PM - debug: Redis: connect
02/02/2018 04:20:31 PM - debug: Redis: connect
02/02/2018 04:20:31 PM - debug: Redis: connect
02/02/2018 04:20:31 PM - debug: Redis: connect
02/02/2018 04:20:31 PM - info: Worker #1 listening on port: 3002
02/02/2018 04:20:31 PM - debug: Redis: ready
02/02/2018 04:20:31 PM - debug: Redis: ready
02/02/2018 04:20:31 PM - debug: Redis: ready
02/02/2018 04:20:31 PM - debug: Redis: ready
02/02/2018 04:20:31 PM - debug: Redis: connect
02/02/2018 04:20:31 PM - debug: Redis: connect
02/02/2018 04:20:31 PM - debug: Redis: ready
02/02/2018 04:20:31 PM - debug: Redis: ready
02/02/2018 04:20:31 PM - debug: DiscService Response Updated by process:22979 {"OpServer":[{"@publisher-id":"pod21-opencontrail-controller","port":8081,"ip-address":"10.210.210.20"}],"ttl":1757}
02/02/2018 04:20:31 PM - debug: DiscService Response Updated by process:22979 {"ApiServer":[{"@publisher-id":"pod21-opencontrail-controller","port":"9100","ip-address":"10.210.210.20"}],"ttl":940}
02/02/2018 04:20:31 PM - debug: DiscService Response Updated by process:22979 {"dns-server":[{"@publisher-id":"pod21-opencontrail-controller","port":"53","ip-address":"10.210.210.20"}],"ttl":563}

@zufardhiyaulhaq zufardhiyaulhaq changed the title Contrail WebUI cannot Start TypeError: The super constructor to "inherits" must not be null or undefined Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant