Project

General

Profile

Actions

Bug #4221

closed

Unable to delete Compute Resource/Deassociate Compute Profile

Added by Dmitry Sakun about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sam Kottler
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'm getting the following error message when trying to delete VMware compute resource:

----
ERROR: update or delete on table "compute_resources" violates foreign key constraint "compute_attributes_compute_resource_id_fk" on table "compute_attributes" DETAIL: Key (id)=(3) is still referenced from table "compute_attributes".
----

If Compute Resource is not associated with any Compute Profiles deletion works just fine but it looks like it's not possible to deassociate compute profile.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #3178: add ability to apply a virtual hardware template at hostgroup levelClosedJoseph Magen10/01/2013Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #3178: add ability to apply a virtual hardware template at hostgroup level added
Actions #2

Updated by Dominic Cleal about 10 years ago

  • translation missing: en.field_release changed from 4 to 5
Actions #3

Updated by Dominic Cleal about 10 years ago

  • Target version set to 1.9.1
Actions #4

Updated by Sam Kottler about 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Sam Kottler
Actions #5

Updated by Sam Kottler about 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #6

Updated by Sam Kottler about 10 years ago

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

Also available in: Atom PDF