Bug #6099

New Host screen is eating Fog Errors

Added by Bryan Kearney almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assigned To:Greg Sutcliffe
Category:Host creation
Target version:Sprint 26
Difficulty:easy Bugzilla link:1105674
Found in release:nightly Pull request:
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1105674
See https://bugzilla.redhat.com/show_bug.cgi?id=1105671.

I mis-configrued the ami for my compute resource. When I attempted to create a new host I briefly saw an error, but then the screen was redirected. The only way to debug the issue was to look at the logs. I would have expected an error message on the screen which gave me the error condition.

The actual logs are attached. Per Greg, the error message was

"Fog error: The image id '[ami-e08efbd0]' does  not exist"

foreman-compute-1.6.0.13-1.el6sat.noarch
dhcp137-115.rdu.redhat.com-foreman-proxy-1.0-1.noarch
foreman-ovirt-1.6.0.13-1.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-2.el6sat.noarch
foreman-gce-1.6.0.13-1.el6sat.noarch
ruby193-rubygem-foreman_hooks-0.3.5-2.el6sat.noarch
ruby193-rubygem-foreman_bootdisk-2.0.6-1.1.el6sat.noarch
rubygem-hammer_cli_foreman-0.1.1-5.el6sat.noarch
foreman-vmware-1.6.0.13-1.el6sat.noarch
ruby193-rubygem-foreman_discovery-1.3.0-0.1.rc2.el6sat.noarch
foreman-postgresql-1.6.0.13-1.el6sat.noarch
foreman-selinux-1.6.0-3.el6sat.noarch
dhcp137-115.rdu.redhat.com-foreman-client-1.0-1.noarch
ruby193-rubygem-foreman-redhat_access-0.0.4-1.el6sat.noarch
foreman-libvirt-1.6.0.13-1.el6sat.noarch
foreman-proxy-1.6.0.6-1.el6sat.noarch
foreman-1.6.0.13-1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.5.7-2.el6sat.noarch


Related issues

Related to Foreman - Bug #4414: 500 error when image cannot be found during host creation New 02/23/2014

Associated revisions

Revision c67f9c5e
Added by Greg Sutcliffe almost 4 years ago

Fixes #6099 - Bubble Fog::Errors up to Host

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Category set to Host creation

#2 Updated by Dominic Cleal almost 4 years ago

  • Related to Bug #4414: 500 error when image cannot be found during host creation added

#3 Updated by Greg Sutcliffe almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Greg Sutcliffe
  • Target version set to Sprint 25
  • Difficulty set to easy
  • Found in release set to nightly

#4 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version changed from Sprint 25 to Sprint 26

#5 Updated by Dominic Cleal almost 4 years ago

  • Release set to 1.6.0

#6 Updated by Greg Sutcliffe almost 4 years ago

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

Also available in: Atom PDF