Project

General

Profile

Bug #12544

Trying to cancel a build on a host with invalid data doesn't provide any additional information to address the problem

Added by Brad Buckingham over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1247542
Description of problem:
Host provisioned from Satellite 6 but the profile is still in build mode and unable to cancel it.
Client is deployed and working fine.
Katello-agent and goferd packages are of latest version on client system.
goferd service working on client.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Failed to cancel pending build

Expected results:
After clicking on cancel build from webui the build should canecl.

Additional info:
No paused/pending task with result as error.
Clicking on cancel build do not initiate any task.
All services are working on satellite.

Associated revisions

Revision 9b1708f7 (diff)
Added by Shimon Shtein almost 4 years ago

Fixes #12544 - added errors from host to cancelBuild
Now the flash will contain detailed error messages.

Revision bfa131a8 (diff)
Added by Dominic Cleal almost 4 years ago

refs #12544 - replace ordered interpolation with named variables

History

#1 Updated by Dominic Cleal over 4 years ago

  • Status changed from New to Need more information

There could be a huge number of reasons for this, can you point to exactly what validation/orchestration step is failing here? At least provide logs.

#2 Updated by Ohad Levy over 4 years ago

  • Assignee changed from Ohad Levy to Shimon Shtein

#3 Updated by Ivan Necas almost 4 years ago

  • Subject changed from When try to cancel build in the hosts screen it errors with "Failed to cancel pending build" on Red Hat Satellite 6. to Trying to cancel a build on a host with invalid data doesn't provide any additional information to address the problem
  • Status changed from Need more information to New
  • Target version set to 1.6.1

I've renamed the subject of the issue. I agree that there is too many things that could be wrong
with the host to be able to address this in one issue. However, what all the issues have in common
is the error message not really be informative.

The solution to this issue should be letting the user know what exactly is not valid on the host
when the cancel build fails.

#4 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3770 added

#5 Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3773 added

#6 Updated by Shimon Shtein almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Dominic Cleal almost 4 years ago

  • Category set to Host creation
  • Legacy Backlogs Release (now unused) set to 160

Also available in: Atom PDF