Comment 4 for bug 1749983

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

Submitter: Zuul
Branch: master

commit c100c8f1888f8963ed5cf81661e52889d765d2b2
Author: Matt Riedemann <email address hidden>
Date: Fri Feb 16 11:31:10 2018 -0500

    Provide a hint when performing a volume action can't find the method

    There is no CLI for the os-force_detach volume action API, and while
    making a request for it with curl, I mistakenly used the Accept
    header rather than the Content-Type header and got the unhelpful
    error message:

      "There is no such action: None"

    We can provide some simple details in the error message about
    making sure the request body is correct and that the Content-Type
    header is specified to help the user.

    Change-Id: I00600c297e39c0dd097f9da80b1dccb38ee3d235
    Closes-Bug: #1749983