Graylog2 / Graylog2/graylog2-server

System/ContentPacks: Installed packs show 'install' action, cannot be uninstalled/deleted

Open
#6,888 0 comments 0 reactions 0 assignees View on GitHub
bug content-packs dashboards triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior

Installed content packs should show the `uninstall` action. `Delete` doesn't work since they are installed.

## Current Behavior

Installed content packs are highlighted as `installed`. The action is `install` not `uninstall` or similar.
`Delete` as action fails since the content pack still is installed.

## Possible Solution

Toggle the action based on the CP state.

## Steps to Reproduce (for bugs)

1. Create a dashboard
2. Add it to a content pack for later provisioning, ensure that the cp is installed
3. Show the content pack listing
4. Try to uninstall the installed content pack

Screen Shot 2019-11-28 at 12 56 00
Screen Shot 2019-11-28 at 13 02 18
Screen Shot 2019-11-28 at 13 02 35

## Context

Creating a dashboard within a content pack for later Vagrant provisioning.

## Your Environment

* Graylog Version: 3.1.3
* Elasticsearch Version: 6.8.5
* MongoDB Version: 4.0.0
* Operating System: CentOS 7
* Browser version: 78.0.3904.108

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.