Bug 1441942
Summary: | [Eventing]: Unrelated error message displayed when path specified during a 'webhook-test/add' is missing a schema | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sweta Anandpara <sanandpa> | |
Component: | eventsapi | Assignee: | Aravinda VK <avishwan> | |
Status: | CLOSED ERRATA | QA Contact: | Sweta Anandpara <sanandpa> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.3 | CC: | amukherj, avishwan, nchilaka, rhs-bugs, storage-qa-internal | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.3.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-23 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1441945 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-21 04:37:54 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1441945, 1443349 | |||
Bug Blocks: | 1417151 |
Description
Sweta Anandpara
2017-04-13 07:07:57 UTC
Upstream patch sent https://review.gluster.org/17054 Downstream patch: https://code.engineering.redhat.com/gerrit/#/c/103716 Upstream 3.10 patch: https://review.gluster.org/17079 Verifying this on the build 3.8.4-23. I am able to see the below error, mentioning connection adapters. Aravinda, is this the expected error that is to be seen? I was assuming to see something related to 'invalid schema'. [root@dhcp47-121 ~]# gluster-eventsapi webhook-test 10.70.35.119:9001/listen +-----------------------------------+-------------+--------------------------------------------------------------------------+ | NODE | NODE STATUS | WEBHOOK STATUS | +-----------------------------------+-------------+--------------------------------------------------------------------------+ | dhcp47-113.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-114.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-115.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-116.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-117.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | localhost | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | +-----------------------------------+-------------+--------------------------------------------------------------------------+ [root@dhcp47-121 ~]# Also, the above error that is seen is only for 'webhook-test'. I do not see the same error when I try webhook-add directly. Webhook-add completes successfully! Is there a default protocol that is taken, if not explicitly specified. If yes, shouldn't it be considered for 'webhook-test' as well? [root@dhcp47-121 ~]# gluster-eventsapi webhook-test 10.70.35.119:9001/listen +-----------------------------------+-------------+--------------------------------------------------------------------------+ | NODE | NODE STATUS | WEBHOOK STATUS | +-----------------------------------+-------------+--------------------------------------------------------------------------+ | dhcp47-113.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-114.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-115.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-116.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | dhcp47-117.lab.eng.blr.redhat.com | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | | localhost | UP | NOT OK: No connection adapters were found for '10.70.35.119:9001/listen' | +-----------------------------------+-------------+--------------------------------------------------------------------------+ [root@dhcp47-121 ~]# gluster-eventsapi webhook-add 10.70.35.119:9001/listen +-----------------------------------+-------------+-------------+ | NODE | NODE STATUS | SYNC STATUS | +-----------------------------------+-------------+-------------+ | dhcp47-113.lab.eng.blr.redhat.com | UP | OK | | dhcp47-114.lab.eng.blr.redhat.com | UP | OK | | dhcp47-115.lab.eng.blr.redhat.com | UP | OK | | dhcp47-116.lab.eng.blr.redhat.com | UP | OK | | dhcp47-117.lab.eng.blr.redhat.com | UP | OK | | localhost | UP | OK | +-----------------------------------+-------------+-------------+ [root@dhcp47-121 ~]# gluster-eventsapi status Webhooks: http://10.70.35.21:9000/listen 10.70.35.119:9001/listen +-----------------------------------+-------------+-----------------------+ | NODE | NODE STATUS | GLUSTEREVENTSD STATUS | +-----------------------------------+-------------+-----------------------+ | dhcp47-113.lab.eng.blr.redhat.com | UP | OK | | dhcp47-114.lab.eng.blr.redhat.com | UP | OK | | dhcp47-115.lab.eng.blr.redhat.com | UP | OK | | dhcp47-116.lab.eng.blr.redhat.com | UP | OK | | dhcp47-117.lab.eng.blr.redhat.com | UP | OK | | localhost | UP | OK | +-----------------------------------+-------------+-----------------------+ [root@dhcp47-121 ~]# (In reply to Sweta Anandpara from comment #8) > Also, the above error that is seen is only for 'webhook-test'. I do not see > the same error when I try webhook-add directly. Webhook-add completes > successfully! > > Is there a default protocol that is taken, if not explicitly specified. > If yes, shouldn't it be considered for 'webhook-test' as well? No validations added during webhook-add, it registers whatever the url is added. But logs error while pushing messages on any event. Have raised bz 1449538 to assess the correctness of the url specified in 'gluster-eventsapi webhook-add' Moving the present BZ to verified in 3.3 with the logs pasted in comment 7 and 8. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2774 |