Shutdown or Poweroff in Linux not registering in the Lab Services dashboard

%3CLINGO-SUB%20id%3D%22lingo-sub-1646616%22%20slang%3D%22en-US%22%3EShutdown%20or%20Poweroff%20in%20Linux%20not%20registering%20in%20the%20Lab%20Services%20dashboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1646616%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20do%20have%20lab%20services%20VMs%20in%20CentOS%208%20in%20particular%2C%20when%20I%20shutdown%20via%20the%20command%20line%20(shutdown%20-h%20now)%20it%20seems%20the%20Lab%20Services%20pool's%20status%2Fstate%20still%20running%20and%20quota%20hours%20still%20counting.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20have%20an%20idea%20what%20process%20or%20command%20that%20interface%20with%20it%20in%20the%20azure%3F%20so%20probably%20the%20issue%20is%20there%2C%20I%20tried%20to%20Power%20off%20via%20GUI%20asked%20me%20for%20an%20administrator%20password%20when%20my%20existing%20account%20is%20an%20admin%20one%20-%20seems%20also%20there's%20a%20policy%20in%20place%20over%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20does%20anyone%20experience%20with%20other%20Linux%20distributions%3F%20Or%20probably%20this%20features%20only%20works%20well%20on%20Windows%20OS%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

 

We do have lab services VMs in CentOS 8 in particular, when I shutdown via the command line (shutdown -h now) it seems the Lab Services pool's status/state still running and quota hours still counting. 

 

I don't have an idea what process or command that interface with it in the azure? so probably the issue is there, I tried to Power off via GUI asked me for an administrator password when my existing account is an admin one - seems also there's a policy in place over this.

 

Or does anyone experience with other Linux distributions? Or probably this features only works well on Windows OS?

 

 

1 Reply

@tahder Thank you for the question. Irrespective of OS type, if the OS shutdown command, or other shutdown mechanisms are used, it will not result in shutting down the VM. When this happens, from the perspective of Azure Lab Services, the VM is still being used.

 

Azure Lab Services' stop button needs to be used to turn off the VM or auto-shutdown settings can be configured. Hope this helps!