Project

General

Profile

Actions

Bug #32642

open

On failed Azure VM creation we are leaving behind artifacts that need to be removed

Added by Chris Roberts about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General Plugin Issues
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:
When a VM creation fails, we are leaving behind artifacts with the VM name in the Azure Resource Group.

We clean up a few things such as the disk image and VM metadata object, but we are leaving behind the network interface and reserved public IP

Version-Release number of selected component (if applicable):

Satellite 6.8.x
Foreman-Azure-RM-2.1.2

How reproducible:

Steps to Reproduce:
1. Install Satellite and connect to Azure Compute Resource
2. Create a VM and cause it to fail for whatever reason
3. Check Azure portal and see artifacts left behind with the vmname

Actual results:
Reserved IP address and NIC are left behind in the Resource Group

Expected results:
On failed VM rollback we remove everything

Actions #1

Updated by Chris Roberts about 3 years ago

  • Found in Releases 2.2.4 added
Actions

Also available in: Atom PDF