Print nicer message when user tries to add member that already exists

Bug #2039578 reported by Martin Kalcok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
microovn
Fix Committed
Medium
mj

Bug Description

Currently when user tries to generate new token (via `microovn cluster add`) with a name that already exists, microovn prints:

Error: Failed to create "internal_token_records" entry: UNIQUE constraint failed: internal_token_records.name

This is could be improved to convey more user-friendly message.

Frode Nordahl (fnordahl)
tags: added: good-first-bug
Frode Nordahl (fnordahl)
Changed in microovn:
assignee: nobody → mj (crypticcoder)
status: New → In Progress
Revision history for this message
Frode Nordahl (fnordahl) wrote :
Changed in microovn:
status: In Progress → Fix Committed
Frode Nordahl (fnordahl)
Changed in microovn:
importance: Undecided → Medium
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.