Skip to content

Resolve "Error 500 on route "/admin/application_settings/services/1882/edit" -> edit Prometheus Service Template"

What does this MR do?

Fixes admin Prometheus configuration view

Why was this MR needed?

A configuration banner that allows cluster creation is displayed on the Prometheus configuration page. This works fine if the service is being configured from the project settings configuration, but it fails with a 500 if the service is being configured from the Admin dashboard (since there's no project).

Bug probably introduced on: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16182

Screenshots (if relevant)

From the project settings

Screen_Shot_2018-02-26_at_2.28.26_PM

From the admin area

Screen_Shot_2018-02-26_at_2.28.33_PM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #43532 (closed)

Edited by Mayra Cabrera

Merge request reports