Compute Profile cannot be deleted after a new version of Pipeline is created after Editing

Description

Issue Summary

Deletion of compute profile fails with the error message Please delete all assignments before deleting the profile, after the pipeline is edited and the compute profile is changed.

Repro Steps

  1. Create a Compute Profile (let’s say my-profile1) from System Admin > Configuration > System Compute Profiles > Create New Profile > Dataproc > [Enter details] > click Create.

  2. Deploy a pipeline. For instance DatafusionQuickStart pipeline from Hub.

  3. In the pipeline page click on Configure > Compute Config > Select my-profile created in Step 1.

  4. In the profile details page see that the this pipeline shown as using this profile (my-profile1).

  5. Edit the pipeline by clicking Actions > Edit > Make changes to the Pipeline > Deploy.

  6. Now change the compte profile for the pipeline by clicking on Configure > Compute Config > Select profile other than my-profile .

  7. Now go back to the Profile details page for my-profile1, the pipeline using this profile won’t be shown.

  8. Disable the profile before deleting it.

  9. Try deleting the profile it will fail with the error Please delete all assignments before deleting the profile. [screenshot attached below]

 

Expectation

Profile should have got deleted after the compute profile for the pipeline was changed.

Notes

Probably this issue was introduced in 6.8.0 when LCM was introduced.

Release Notes

None

Attachments

1
  • 04 Apr 2024, 01:48 PM

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

UX Impact

Yes

Affects versions

Triaged

No

Size

M

Components

Fix versions

Priority

Created April 4, 2024 at 1:48 PM
Updated February 28, 2025 at 9:29 AM