[murano][cfapi]external-context-middleware-raise-wrong-exception

Bug #1522838 reported by Nikolay Starodubtsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Nikolay Starodubtsev

Bug Description

When request comes to external context middleware without 'HTTP-Authorization' headers it raises 500 code error, should be passed 401 instead

Upstream bug: https://bugs.launchpad.net/murano/+bug/1522707

Tags: area-murano
Changed in mos:
importance: Undecided → High
assignee: nobody → Nikolay Starodubtsev (starodubcevna)
description: updated
Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/14415
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 8375d4aa6008fa2487f286614e5a6f03686026f4
Author: Nikolay Starodubtsev <email address hidden>
Date: Fri Dec 11 03:21:41 2015

Raise proper exception in ext context middleware.

Previously if request without 'HTTP-Authorization' header comes to
external context middleware it raised error code 500 Internal Server
Error instead of 401 Unauthorized.

Change-Id: I8285d24741bed5b541a4f8104422340c8594c695
Closes-Bug: #1522838

Changed in mos:
status: In Progress → Fix Committed
tags: added: murano
tags: added: area-murano
removed: murano
Revision history for this message
Victor Ryzhenkin (vryzhenkin) wrote :

VERSION:
  feature_groups:
    - mirantis
    - experimental
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "478"
  build_id: "478"
  fuel-nailgun_sha: "ae949905142507f2cb446071783731468f34a572"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "481ed135de2cb5060cac3795428625befdd1d814"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "420c6fa5f8cb51f3322d95113f783967bde9836e"
  fuel-ostf_sha: "ab5fd151fc6c1aa0b35bc2023631b1f4836ecd61"
  fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  fuelmenu_sha: "fac143f4dfa75785758e72afbdc029693e94ff2b"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "6c6b088a3d52dd0eaf43d59f3a3a149c93a07e7e"

Verified. Fix released.

Changed in mos:
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.