Azure / Azure/aksArc

[BUG] Access to the path '.Moc' is denied.

Open
#351 3 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
PowerShell
Stars
118
Forks
63
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Very strange,
"Applying platform configurations failed. Error: Access to the path '.Moc' is denied."

**To Reproduce**
Steps to reproduce the behavior:
just trying to deploy AKS service on Azure Stakc HCI

**Expected behavior**
Deploy Kubernetes Service should work from command line or from WAC

**Screenshots**
From Wac
Edge
![image](https://github.com/Azure/aks-hybrid/assets/6086602/38be0b20-394a-4678-a1e0-ae37d0205b5d)
![image](https://github.com/Azure/aks-hybrid/assets/6086602/09368da2-8d62-41d0-bc85-3fc9f40e0ae3)

Chrome
![image](https://github.com/Azure/aks-hybrid/assets/6086602/a8e52f8f-2280-449e-8ef5-607853cdf587)

from PSWH
![image](https://github.com/Azure/aks-hybrid/assets/6086602/1f5d5d49-fe58-46c2-be69-0e9ff5ee3444)

created new volume02
that didn't work

but when I created "volume1" it worked

![image](https://github.com/Azure/aks-hybrid/assets/6086602/9448204f-c55b-47ac-8c98-4040d9217198)

to be clear I used volume01 in my command (and in WAC, I don't even get a choice, its a drop down)

but when I create a new volume called "volume1" files appeared while using the volume01 in the command
![image](https://github.com/Azure/aks-hybrid/assets/6086602/5709155a-bd29-412a-be0c-575d2dee2dcc)

**Environment (please complete the following information):**
- OS: Azure Stack HCI 20349.1850
- Browser Edge & chrome,
- AKS-HCI Version 1.1.81
- Kubernetes Version 1.25.7

**Additional context**
![image](https://github.com/Azure/aks-hybrid/assets/6086602/900b1b0a-9632-4118-960e-d3d3a471deee)
![image](https://github.com/Azure/aks-hybrid/assets/6086602/34f8bc9c-8750-4b8f-9723-cb2cf1573d42)

**Collect log files**
- From a PowerShell Admin window run **Get-AksHciLogs**
[](URL)

I actually fully redeployed these host from scratch and got the same results.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the AKS deployment on Azure Stack HCI 20349.1850 with AKS-HCI 1.1.81 and Kubernetes 1.25.7, comparing volume01 with volume1 from PowerShell and WAC. Collect logs with Get-AksHciLogs and use them to investigate the '.Moc' access-denied error. Done means identifying the cause and documenting a verified fix or reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, kubernetes, powershell
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.