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

No listeners executed #145

Open
tkykm opened this issue May 9, 2018 · 6 comments
Open

No listeners executed #145

tkykm opened this issue May 9, 2018 · 6 comments

Comments

@tkykm
Copy link

tkykm commented May 9, 2018

I run this hubot using docker on ubuntu 16.04. Then intro was shown on slack successfully, but he always response "I'm sorry, I didn't understand that. Try typing '@oneview help' to see a list of my capabilities." no matte what i type such as "@oneview show dashboard".

And i found like below log. '[Wed May 09 2018 07:20:52 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all'

@danielreed
Copy link
Member

Does @oneview help return any response? It might be helpful if you could provide the entire hubot log for us to look at.

@tkykm
Copy link
Author

tkykm commented May 17, 2018

Thank you for reply. "@oneview help" does not return any response.

bash-4.3# bin/hubot --name $HUBOT_NAME $PARMS
npm WARN invalid config https-proxy=""
npm WARN invalid config Must be a full url with 'http://'
npm WARN hubot-help@0.2.2 requires a peer of coffee-script@^1.12.6 but none was installed.
[Thu May 17 2018 01:57:34 GMT+0000 (UTC)] DEBUG Loading adapter slack
[Thu May 17 2018 01:57:35 GMT+0000 (UTC)] DEBUG slack rtm client options: undefined
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.
[Thu May 17 2018 01:57:35 GMT+0000 (UTC)] DEBUG slack rtm start with options: {}
[Thu May 17 2018 01:57:36 GMT+0000 (UTC)] INFO Logged in as oneview of Cloud Core TU
[Thu May 17 2018 01:57:36 GMT+0000 (UTC)] INFO Slack client now connected
[Thu May 17 2018 01:57:36 GMT+0000 (UTC)] DEBUG Loading scripts from /home/docker/hubot/scripts
[Thu May 17 2018 01:57:37 GMT+0000 (UTC)] INFO Applying configuration from oneview-configuration.json file.
[Thu May 17 2018 01:57:37 GMT+0000 (UTC)] INFO Initializing NLP
[Thu May 17 2018 01:57:37 GMT+0000 (UTC)] INFO Initializing OneView client
[Thu May 17 2018 01:57:37 GMT+0000 (UTC)] DEBUG Parsing help for /home/docker/hubot/scripts/oneview.js
[Thu May 17 2018 01:57:37 GMT+0000 (UTC)] INFO /home/docker/hubot/scripts/oneview.js is using deprecated documentation syntax
[Thu May 17 2018 01:57:37 GMT+0000 (UTC)] DEBUG Loading scripts from /home/docker/hubot/src/scripts
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Connecting to SCMB on host 172.22.6.115
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Connected to SCMB. Waiting for messages.
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Successfully logged into host 172.22.6.115
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Logged into OneView.
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Applying configuration from json file.
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Configured with notification filters []
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (.*?)\/rest\/([a-zA-Z0-9_-]*?)\/([a-zA-Z0-9_-]*?) json\.$/i namedGroups: [ '', 'host', 'category', 'id' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (.*?)\/rest\/([a-zA-Z0-9_-]*?)\/([a-zA-Z0-9_-]*?) clean\.$/i namedGroups: [ '', 'host', 'category', 'id' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:turn|power) on (.*?)(?:\/rest\/server-hardware\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'serverId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:turn|power) off (.*?)(?:\/rest\/server-hardware\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'serverId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) all (?:server ){0,1}hardware\.$/i namedGroups: [ '' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (.*?)(?:\/rest\/server-hardware\/)([a-zA-Z0-9_-]*?) utilization\.$/i namedGroups: [ '', 'host', 'serverId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (.*?)(?:\/rest\/server-hardware\/)([a-zA-Z0-9_-]*?) all utilization\.$/i namedGroups: [ '', 'host', 'serverId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (?!\/rest\/server-profiles\/)(.*?)(?:\/rest\/server-hardware\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'serverId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (?:all ){0,1}(critical|ok|disabled|warning*?) (?:server ){0,1}hardware\.$/i namedGroups: [ '', 'status' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (?:all ){0,1}(powered on|powered off*?) (?:server ){0,1}hardware\.$/i namedGroups: [ '', 'powerState' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) all (?:server ){0,1}profiles\.$/i namedGroups: [ '' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (.*?)(?:\/rest\/server-profiles\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'profileId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (.*?)(?:\/rest\/server-profiles\/)([a-zA-Z0-9_-]*?) compliance(?: preview){0,1}\.$/i namedGroups: [ '', 'host', 'profileId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:update|make) (.*?)(?:\/rest\/server-profiles\/)([a-zA-Z0-9_-]*?) (?:compliance|compliant)\.$/i namedGroups: [ '', 'host', 'profileId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:turn|power) on (.*?)(?:\/rest\/server-profiles\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'profileId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:turn|power) off (.*?)(?:\/rest\/server-profiles\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'profileId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) (?:all ){0,1}(critical|ok|disabled|warning*?) (?:server ){0,1}profiles\.$/i namedGroups: [ '', 'status' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) all (?:server profile ){0,1}templates\.$/i namedGroups: [ '' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) available (?:hardware|targets) for (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'templateId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) profile[s]{0,1} (?:using|deployed from|deployed by) (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'templateId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:deploy|create) (\d+) profile[s]{0,1} (?:from|for|using) (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'count', 'host', 'templateId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:flex|grow)(?: the)? (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?) by (\d+)(?: profile| profiles| hardware| servers)?\.$/i namedGroups: [ '', 'host', 'templateId', 'count' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:undeploy|remove) (\d+) profile[s]{0,1} (?:from|that were deployed from|that were using) (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'count', 'host', 'templateId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:undeploy|remove) (\d+) server[s]{0,1} (?:from|that were deployed from|that were using) (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'count', 'host', 'templateId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:fix)(?: all)? compliance(?: issues)? for (.*?)(?:\/rest\/server-profile-templates\/)([a-zA-Z0-9_-]*?)\.$/i namedGroups: [ '', 'host', 'templateId' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /show (?:oneview ){0,1}(?:dashboard|status).$/i namedGroups: [ '' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) last ([0-9]*?) alerts\.$/i namedGroups: [ '', 'count' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /(?:get|list|show) all (active|locked|cleared){0,1}(?: ?)(critical|warning|ok|disabled){0,1}(?: ?)alerts(?: from ){0,1}(today|last 7 days|last 30 days){0,1}\.$/i namedGroups: [ '', 'state', 'status', 'time' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /help\.$/i namedGroups: [ '' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /What can you do(?: for me){0,1}\.$/i namedGroups: [ '' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO { /([a-zA-Z][a-z A-Z]*?) help\.$/i namedGroups: [ '', 'text' ] }
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server hardware: (Name: AzS-Node01, URI: 172.22.6.115/rest/server-hardware/35423251-4131-4753-4837-343757373030)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server hardware: (Name: AzS-Node02, URI: 172.22.6.115/rest/server-hardware/35423251-4131-4753-4837-343757365953)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server hardware: (Name: AzS-Node03, URI: 172.22.6.115/rest/server-hardware/35423251-4131-4753-4837-343757365956)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server hardware: (Name: AzS-Node04, URI: 172.22.6.115/rest/server-hardware/35423251-4131-4753-4837-343757365958)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server profile: (Name: AzS-Node03, URI: 172.22.6.115/rest/server-profiles/1d641509-f3bc-4820-9663-e56c9473928f)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server profile: (Name: AzS-Node01, URI: 172.22.6.115/rest/server-profiles/3a491904-505e-4478-b633-386999cdb8b2)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server profile: (Name: AzS-Node02, URI: 172.22.6.115/rest/server-profiles/ae1aeeb8-bf47-4e40-880c-b2a3f8cdb5f5)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server profile: (Name: AzS-Node04, URI: 172.22.6.115/rest/server-profiles/f46a97b4-feaf-4f58-ae52-b7863f734fed)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server profile template: (Name:  [Previous SPT Backup - SPP Version:2017.06.02.00], URI: 172.22.6.115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614da)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] INFO Found server profile template: (Name: AzS Scale Unit Nodes (DL380 Gen9), URI: 172.22.6.115/rest/server-profile-templates/ec056be0-865f-4669-a8f0-d7d6543f172a)
[Thu May 17 2018 01:57:38 GMT+0000 (UTC)] DEBUG Sending to #testbot: Hello, I'm oneview! Your OneView instance is currently showing:
	• 4 server(s).
	• 4 server profile(s).
	• 2 server profile template(s).
How can I assist you? Type '@oneview help' to learn what I can do.
[Thu May 17 2018 01:58:02 GMT+0000 (UTC)] DEBUG Received message: '@oneview help' in channel: testbot, from: tkykm
[Thu May 17 2018 01:58:02 GMT+0000 (UTC)] DEBUG Took 2ms to resolve dependencies, normalized string:  @oneview172.22.6.115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614dahelp.
[Thu May 17 2018 01:58:02 GMT+0000 (UTC)] DEBUG No listeners executed; falling back to catch-all
[Thu May 17 2018 01:58:02 GMT+0000 (UTC)] DEBUG Took 1ms to resolve dependencies, normalized string:  @oneview172172.22.6.115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614da22172.22.6.115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614da172.22.6.115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614da172.22.6.115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614da115/rest/server-profile-templates/e7774759-e237-429b-8fcf-25f0ff5614dahelp.
[Thu May 17 2018 01:58:02 GMT+0000 (UTC)] DEBUG Executing listener callback for Message '[object Object]'
[Thu May 17 2018 01:58:02 GMT+0000 (UTC)] DEBUG Sending to CAKUC0AD9: [object Object]

@danielreed
Copy link
Member

Thanks for providing the log. I'm not sure what's happening. Would it be possible for you to choose a different name for your bot, something other than oneview?

@tkykm
Copy link
Author

tkykm commented May 21, 2018

@danielreed Using another name - that is 'stack' was no effect to output

@danielreed
Copy link
Member

@tkykm have you tried manually building this project and not using the Docker install? We are not sure why the listeners are not working.

@tkykm
Copy link
Author

tkykm commented May 24, 2018

@danielreed Not yet. I will Try out manually building and debugging.

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

2 participants