Bug #6160

False positive validation prevents saving network provisioned host with compute profile with image

Added by Ivan Necas over 3 years ago. Updated over 3 years ago.

Assigned To:Ivan Necas
Category:Host creation
Target version:Sprint 25
Difficulty: Bugzilla link:1111593
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.2Release relationshipAuto


1. add image to libvirt resource
2. create a compute profile for libvirt, include the image (doesn't seem to be have nothing selected)
3. perform network based provisioning
4. the the provisioning calls foreman at the end, it fails on

"Selected image does not belong to localhost (Libvirt)"]}"

The problem with image not being find in the compute resource was caused by http://projects.theforeman.org/issues/6159

However, there is no reason to do this validation for build-based provisioning.

Associated revisions

Revision f7b85549
Added by Ivan Necas over 3 years ago

Fixes #6160 - don't validate images for network based provisioning


#1 Updated by Dominic Cleal over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to Sprint 25
  • Release set to 1.5.2

#2 Updated by Ivan Necas over 3 years ago

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

#3 Updated by Bryan Kearney over 3 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1111593

Also available in: Atom PDF