failure on Creation not helpful

Bug #1400527 reported by Amit Gandhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppy
Fix Released
Medium
Amit Gandhi

Bug Description

when creating a new service, sometimes a failure can occur at the provider level, or somewhere in Poppy.

Currently, the only indication of a failure is the status field on a GET request.

It would be helpful to be able to identify why a creation failed so that corrective action can be taken.

Changed in poppy:
assignee: nobody → Amit Gandhi (amit-gandhi)
Changed in poppy:
status: New → In Progress
Revision history for this message
Amit Gandhi (amit-gandhi) wrote :

a new error list will be returned with the service

"errors": []

if there are errors (because the service failed), it will appear similar to below with a list of messages:

"errors": [
  "message": "FastlyError: An error occurred while connecting to the fastly API, please try your request again. (Name 'www.google.com' already taken for customer '6t78y9ueijo')"
]

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to poppy (master)

Reviewed: https://review.openstack.org/142182
Committed: https://git.openstack.org/cgit/stackforge/poppy/commit/?id=532f3fc7d19468b53856298843ccf0c44b9ca0c7
Submitter: Jenkins
Branch: master

commit 532f3fc7d19468b53856298843ccf0c44b9ca0c7
Author: amitgandhinz <email address hidden>
Date: Mon Dec 15 16:54:19 2014 -0500

    Exposing the failure message to the user

    Closes-Bug: 1400527
    Change-Id: I18d7de4014912e9fbd1f82fb620d66e402d83b43

Changed in poppy:
status: In Progress → Fix Committed
Changed in poppy:
status: Fix Committed → Fix Released
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.