chef / chef/chef-server

If USAG exists in an org for a user accepting an invite, invite process fails

Open
#310 3 comments 0 reactions 1 assignee View on GitHub

@marcparadise is already working on this.

Since May 28, 2015.

Status: To be prioritized Triage: Confirmed Type: Enhancement
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Sometimes USAGs get created as part of an org association request that fails halfway through, and this hanging USAG conflicts when adding USAGs during invitations.

method=PUT; path=/users/someuser/association_requests/1bda9eda555383fab4f813b3d79491e7; status=500; req_id=8f5763af-03b8-4adc-b004-d0fdc3c3cfd1; org_name=someorg; msg={usag_creation_failed,{conflict,<<"duplicate key value violates unique cons"...>>}}

Can we just ignore duplicate USAGs for this scenario and complete the invite?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.