Trying to cancel a build on a host with invalid data doesn't provide any additional information to address the problem
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):
Steps to Reproduce:
Failed to cancel pending build
After clicking on cancel build from webui the build should canecl.
No paused/pending task with result as error.
Clicking on cancel build do not initiate any task.
All services are working on satellite.
Fixes #12544 - added errors from host to cancelBuild
Now the flash will contain detailed error messages.
#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.