Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1846292

Summary: [azure] MachineWithNoRunningPhase firing for stale machines in OCP 4.3
Product: OpenShift Container Platform Reporter: Vedanti Jaypurkar <vjaypurk>
Component: Cloud ComputeAssignee: Alexander Demicev <ademicev>
Cloud Compute sub component: Other Providers QA Contact: Jianwei Hou <jhou>
Status: CLOSED NOTABUG Docs Contact:
Severity: medium    
Priority: unspecified CC: ademicev, agarcial, mgugino, wking
Version: 4.3.zFlags: agarcial: needinfo+
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-25 18:43:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Alberto 2020-06-11 10:21:23 UTC
Thanks Vedanti Jaypurkar.
Setting needs +info as per https://bugzilla.redhat.com/show_bug.cgi?id=1759659#c13 to clarify if creds have been manipulated somehow.

Comment 2 Alberto 2020-06-19 07:56:55 UTC
Still needing more info, tagging with upcomingSprint label.

Comment 4 W. Trevor King 2020-06-26 18:29:46 UTC
Copying the redacted error into a public comment for the search engines:

  Machine error: failed to delete machine "REDACTED": failed to delete machine: failed to delete vm REDACTED in resource group REDACTED: compute.VirtualMachinesClient#Delete: Failure sending request: StatusCode=403 -- Original Error: Code="AuthorizationFailed" Message="The client 'REDACTED' with object id 'REDACTED' does not have authorization to perform action 'Microsoft.Compute/virtualMachines/delete' over scope '/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Compute/virtualMachines/REDACTED' or the scope is invalid. If access was recently granted, please refresh your credentials."

Comment 5 Alberto 2020-07-01 14:44:13 UTC
may be caused by same than https://bugzilla.redhat.com/show_bug.cgi?id=1836141

Comment 6 Alexander Demicev 2020-07-01 14:54:28 UTC
Hi,
Can you verify that the used service principal has rights within that tenant? Looks like Azure RBAC config issue.

Comment 7 Alberto 2020-07-02 15:39:40 UTC
can we please also have must gather logs?

Comment 8 Alberto 2020-07-09 16:26:55 UTC
we plan to clarify on this during the next sprint.

Comment 11 Michael Gugino 2020-08-25 18:43:57 UTC
The attached case is closed without comment.  This appears to be an expired credential on the user's cloud account.  If the problem persists and the requested info becomes available, please re-open this BZ or file a new one.