Webhook creation got wrong URL

Bug #1521882 reported by Haiwei Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
High
Haiwei Xu

Bug Description

Currently when creating a webhook, a URL is created but it is not what we desired.

The url is something like:

 http://192.168.11.81:8774/v2.1/d59cb05324954496b86475cc9afbbd65/webhooks/d2a23df5-052f-4b19-bf09-bcc299b137a4/trigger?key=gAAAAABWXpwm34tEdGwtM8vr6ly-fseovLYLdALaQIxqR2L8-cWFQjr_uLET2U_fH9NdXKW1OuK_xqEr9eKz9Ze-3IhD979UCFN_fRa8RaeDtiTU0ToYtH2e1pS_JEtJv05qJ0MhpcoO

Notice that the PORT number and VERSION number are all related to Senlin( in fact it's Nova).

Haiwei Xu (xu-haiwei)
Changed in senlin:
assignee: nobody → Haiwei Xu (xu-haiwei)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (master)

Fix proposed to branch: master
Review: https://review.openstack.org/252258

Changed in senlin:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/252258
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=08a6ef45a5a634f150e1c26881b453ed86455a4b
Submitter: Jenkins
Branch: master

commit 08a6ef45a5a634f150e1c26881b453ed86455a4b
Author: Haiwei Xu <email address hidden>
Date: Wed Dec 2 16:38:54 2015 +0900

    Webhook creation refactor

    Currently when creating a webhook url, the service_get
    logic is wrong, this patch will fix it.

    Change-Id: I30cecd5310c902bcf892f311c0f1bce877c98993
    Closes-bug: #1521882

Changed in senlin:
status: In Progress → Fix Committed
Qiming Teng (tengqim)
Changed in senlin:
importance: Undecided → High
status: Fix Committed → Fix Released
milestone: none → mitaka-2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.