Project

General

Profile

Bug #33251

usability issues with updating a repository with invalid data

Added by Justin Sherrill over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Ansible Collections
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

There are a few usability issues when updating a repository with invalid data:

1. remote update is an async task, but is not being tracked, so invalid data is not noticed
2. We could do better about handling some ansible requirement errors (not a dict, no collections key)
3. We need to do a test remote create at update time before we get to the update run phase, also the error coming back from pulp is ugly


Related issues

Related to Katello - Bug #33370: Could not update repository with URL (ISE 500 in logs) when url was not previously setClosed

Associated revisions

Revision 821d49fa (diff)
Added by Justin Sherrill over 1 year ago

Fixes #33251 - improve repository update for ansible coll

  • adds more validations to catch errors sooner
  • tracks remote update as an async task
  • does a test remote creation in the plan phase of repository update
    and reformats the error to be more user friendly

Revision e783d0e6 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #33251 - vcr updates

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9555 added

#2 Updated by Justin Sherrill over 1 year ago

  • Bugzilla link set to 1962189

#3 Updated by Chris Roberts over 1 year ago

  • Triaged changed from No to Yes
  • Target version changed from Katello 4.3.0 to Katello 4.2.0

#4 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.3.0 added

#5 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Justin Sherrill over 1 year ago

  • Related to Bug #33370: Could not update repository with URL (ISE 500 in logs) when url was not previously set added

Also available in: Atom PDF